mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
26 lines
845 B
Markdown
26 lines
845 B
Markdown
|
# v0.2.0 (2016-10-20)
|
||
|
|
||
|
## Fixed
|
||
|
|
||
|
* Release DB connection if an exception occurs during execution of a query (thanks @ggiraldez)
|
||
|
|
||
|
# ~~v0.1.1 (2016-09-28)~~ [YANKED]
|
||
|
|
||
|
This release requires crystal 0.19.2
|
||
|
|
||
|
Note: v0.1.1 is yanked since is incompatible with v0.1.0 [more](https://github.com/crystal-lang/crystal-mysql/issues/10).
|
||
|
|
||
|
## Added
|
||
|
|
||
|
* Connection pool. `DB.open` works with a underlying connection pool. Use `Database#using_connection` to ensure the same connection is been used across multiple statements. [more](https://github.com/crystal-lang/crystal-db/pull/12)
|
||
|
|
||
|
* Mappings. JSON/YAML-like mapping macros (thanks @spalladino) [more](https://github.com/crystal-lang/crystal-db/pull/2)
|
||
|
|
||
|
## Changed
|
||
|
|
||
|
* Require ResultSet implementors to just implement `read`, optionally implementing `read(T.class)`.
|
||
|
|
||
|
# v0.1.0 (2016-06-24)
|
||
|
|
||
|
* Initial release
|