mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
Release 0.10.1 (#149)
This commit is contained in:
parent
eaddae7d71
commit
0415deebbb
5 changed files with 12 additions and 8 deletions
|
@ -1,3 +1,7 @@
|
|||
## v0.10.1 (2021-03-22)
|
||||
|
||||
* Add docs for `DB::Database#setup_connection` ([#139](https://github.com/crystal-lang/crystal-db/pull/139), thanks @jgaskins)
|
||||
|
||||
## v0.10.0 (2020-09-30)
|
||||
|
||||
* Fix mutex deadlock in setup_connection. ([#128](https://github.com/crystal-lang/crystal-db/pull/128), thanks @straight-shoota)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
name: db
|
||||
version: 0.10.0
|
||||
version: 0.10.1
|
||||
|
||||
authors:
|
||||
- Brian J. Cardiff <bcardiff@manas.tech>
|
||||
|
||||
crystal: 0.35.0
|
||||
crystal: ">= 0.35.0, < 2.0.0"
|
||||
|
||||
license: MIT
|
||||
|
|
|
@ -8,7 +8,7 @@ module DB
|
|||
# Once defined, `ResultSet#read(t)` populates properties of the class from the
|
||||
# `ResultSet`.
|
||||
#
|
||||
# ```crystal
|
||||
# ```
|
||||
# require "db"
|
||||
#
|
||||
# class Employee
|
||||
|
@ -28,7 +28,7 @@ module DB
|
|||
#
|
||||
# You can also define attributes for each property.
|
||||
#
|
||||
# ```crystal
|
||||
# ```
|
||||
# class Employee
|
||||
# DB.mapping({
|
||||
# title: String,
|
||||
|
|
|
@ -9,7 +9,7 @@ module DB
|
|||
#
|
||||
# ### Example
|
||||
#
|
||||
# ```crystal
|
||||
# ```
|
||||
# require "db"
|
||||
#
|
||||
# class Employee
|
||||
|
@ -32,7 +32,7 @@ module DB
|
|||
# Similar to `JSON::Field`, there is an annotation `DB::Field` that can be used to set serialization behavior
|
||||
# on individual instance variables.
|
||||
#
|
||||
# ```crystal
|
||||
# ```
|
||||
# class Employee
|
||||
# include DB::Serializable
|
||||
#
|
||||
|
@ -52,7 +52,7 @@ module DB
|
|||
#
|
||||
# Including this module is functionally identical to passing `{strict: false}` to `DB.mapping`: extra columns will not raise.
|
||||
#
|
||||
# ```crystal
|
||||
# ```
|
||||
# class Employee
|
||||
# include DB::Serializable
|
||||
# include DB::Serializable::NonStrict
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module DB
|
||||
VERSION = "0.10.0"
|
||||
VERSION = "0.10.1"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue