Skip to content

Commit

Permalink
Release 0.10.1 (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian J. Cardiff authored Mar 22, 2021
1 parent eaddae7 commit 0415dee
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions src/db/mapping.cr
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module DB
# Once defined, `ResultSet#read(t)` populates properties of the class from the
# `ResultSet`.
#
# ```crystal
# ```
# require "db"
#
# class Employee
Expand All @@ -28,7 +28,7 @@ module DB
#
# You can also define attributes for each property.
#
# ```crystal
# ```
# class Employee
# DB.mapping({
# title: String,
Expand Down
6 changes: 3 additions & 3 deletions src/db/serializable.cr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module DB
#
# ### Example
#
# ```crystal
# ```
# require "db"
#
# class Employee
Expand All @@ -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
#
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/db/version.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module DB
VERSION = "0.10.0"
VERSION = "0.10.1"
end

0 comments on commit 0415dee

Please sign in to comment.