crystal-lang/crystal-db v0.13.1 has been released and the following drivers are up to date ![]()
- will/crystal-pg v0.28.0
- crystal-lang/crystal-mysql v0.16.0
- crystal-lang/crystal-sqlite3 v0.21.0
The highlights of this release cycle are:
- (breaking-change) Deprecate
DB.mapping. (#196, thanks @straight-shoota) - (breaking-change) Drop
Pool#checkout_some, makePoolStatementa struct. (#200, thanks @bcardiff) - Simplifications and performance improvements on pool statements. (#200, thanks @bcardiff)
- Allow `prepared_statements_cache=false`` option to disable prepared statements cache. (#194, #198, thanks @bcardiff)
- Add exception cause support to
PoolResourceLostandConnectionLostconstructors. (#199, thanks @lachlan) - Fix inflight counter on
ConnectionRefused. (#184, thanks @jgaskins) - Fix max_idle_pool_size race condition. (#186, thanks @bcardiff)
Notes for driver implementors
- Use new constructors to preserve the underlying reason of a
PoolResourceLostorConnectionLostconstructors (See #199)