diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bca529..79e8605 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/shard.yml b/shard.yml index b4917a2..bb490ff 100644 --- a/shard.yml +++ b/shard.yml @@ -1,9 +1,9 @@ name: db -version: 0.10.0 +version: 0.10.1 authors: - Brian J. Cardiff -crystal: 0.35.0 +crystal: ">= 0.35.0, < 2.0.0" license: MIT diff --git a/src/db/mapping.cr b/src/db/mapping.cr index 5543e50..b6e7ed7 100644 --- a/src/db/mapping.cr +++ b/src/db/mapping.cr @@ -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, diff --git a/src/db/serializable.cr b/src/db/serializable.cr index 63b6579..4559af4 100644 --- a/src/db/serializable.cr +++ b/src/db/serializable.cr @@ -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 diff --git a/src/db/version.cr b/src/db/version.cr index 6157155..ca58a3d 100644 --- a/src/db/version.cr +++ b/src/db/version.cr @@ -1,3 +1,3 @@ module DB - VERSION = "0.10.0" + VERSION = "0.10.1" end