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
e09139b553
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)
|
## 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)
|
* 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
|
name: db
|
||||||
version: 0.10.0
|
version: 0.10.1
|
||||||
|
|
||||||
authors:
|
authors:
|
||||||
- Brian J. Cardiff <bcardiff@manas.tech>
|
- Brian J. Cardiff <bcardiff@manas.tech>
|
||||||
|
|
||||||
crystal: 0.35.0
|
crystal: ">= 0.35.0, < 2.0.0"
|
||||||
|
|
||||||
license: MIT
|
license: MIT
|
||||||
|
|
|
@ -8,7 +8,7 @@ module DB
|
||||||
# Once defined, `ResultSet#read(t)` populates properties of the class from the
|
# Once defined, `ResultSet#read(t)` populates properties of the class from the
|
||||||
# `ResultSet`.
|
# `ResultSet`.
|
||||||
#
|
#
|
||||||
# ```crystal
|
# ```
|
||||||
# require "db"
|
# require "db"
|
||||||
#
|
#
|
||||||
# class Employee
|
# class Employee
|
||||||
|
@ -28,7 +28,7 @@ module DB
|
||||||
#
|
#
|
||||||
# You can also define attributes for each property.
|
# You can also define attributes for each property.
|
||||||
#
|
#
|
||||||
# ```crystal
|
# ```
|
||||||
# class Employee
|
# class Employee
|
||||||
# DB.mapping({
|
# DB.mapping({
|
||||||
# title: String,
|
# title: String,
|
||||||
|
|
|
@ -9,7 +9,7 @@ module DB
|
||||||
#
|
#
|
||||||
# ### Example
|
# ### Example
|
||||||
#
|
#
|
||||||
# ```crystal
|
# ```
|
||||||
# require "db"
|
# require "db"
|
||||||
#
|
#
|
||||||
# class Employee
|
# 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
|
# Similar to `JSON::Field`, there is an annotation `DB::Field` that can be used to set serialization behavior
|
||||||
# on individual instance variables.
|
# on individual instance variables.
|
||||||
#
|
#
|
||||||
# ```crystal
|
# ```
|
||||||
# class Employee
|
# class Employee
|
||||||
# include DB::Serializable
|
# 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.
|
# Including this module is functionally identical to passing `{strict: false}` to `DB.mapping`: extra columns will not raise.
|
||||||
#
|
#
|
||||||
# ```crystal
|
# ```
|
||||||
# class Employee
|
# class Employee
|
||||||
# include DB::Serializable
|
# include DB::Serializable
|
||||||
# include DB::Serializable::NonStrict
|
# include DB::Serializable::NonStrict
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module DB
|
module DB
|
||||||
VERSION = "0.10.0"
|
VERSION = "0.10.1"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue