mirror of
https://gitea.invidious.io/iv-org/shard-crystal-db.git
synced 2024-08-15 00:53:32 +00:00
1.8 KiB
1.8 KiB
v0.4.0 (2017-03-20)
- Add
DB.connectto create non pooled connections - Add
Database#checkoutto allow explicit checkout/release connection (see #38) - Fix
Mapping.from_rscloses the result_set - Fix
Mappingworks with nilable types (see #40, thanks @RX14)
v0.3.3 (2016-12-24)
- Fix compatibility issues for crystal 0.20.3
v0.3.2 (2016-12-16)
- Allow connection pool retry logic in
#scalarqueries.
v0.3.1 (2016-12-15)
- Add ConnectionRefused exception to flag issues when opening new connections.
v0.3.0 (2016-12-14)
-
Add support for non prepared statements. #25
-
Add support for transactions & nested transactions. #27
-
Add
BoolandTimetoDB::Any.
v0.2.2 (2016-12-06)
This release requires crystal 0.20.1
-
Changed default connection pool size limit is now 0 (unlimited).
-
Fixed allow new connections right away if pool can be increased.
v0.2.1 (2016-12-06) [YANKED]
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.
-
Added connection pool.
DB.openworks with a underlying connection pool. UseDatabase#using_connectionto ensure the same connection is been used across multiple statements. more -
Added mappings. JSON/YAML-like mapping macros (thanks @spalladino) more
-
Changed require ResultSet implementors to just implement
read, optionally implementingread(T.class).
v0.1.0 (2016-06-24)
- Initial release