Skip to content

Releases: crystal-lang/crystal-db

v0.13.1

21 Dec 13:02
3eaac85
Compare
Choose a tag to compare
  • Gracefully allow spec helper to fail on older crystal. (#202, thanks @bcardiff)

v0.13.0

11 Dec 22:32
7fff589
Compare
Choose a tag to compare
  • (breaking-change) Deprecate DB.mapping. (#196, thanks @straight-shoota)
  • (breaking-change) Drop Pool#checkout_some, make PoolStatement a 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 PoolResourceLost and ConnectionLost constructors. (#199, thanks @lachlan)
  • Fix inflight counter on ConnectionRefused. (#184, thanks @jgaskins)
  • Fix max_idle_pool_size race condition. (#186, thanks @bcardiff)
  • Fix DB::DriverSpecs#with_db connection_string query param support. (#192, thanks @lachlan)
  • Update docs regarding ConnectionBuilder. (#188, thanks @bcardiff)
  • Add reference to DB::Serializable in docs. (#197, thanks @straight-shoota)
  • Add link to crystal-tds. (#193, thanks @wonderix)

Notes for driver implementors

  • Use new constructors to preserve the underlying reason of a PoolResourceLost or ConnectionLost constructors (See #199)

v0.12.0

23 Jun 16:51
851091e
Compare
Choose a tag to compare

Note: The breaking-change introduced in this release does not affect consumers of the library, only driver implementors.

v0.11.0

28 Jan 02:15
e3f1a30
Compare
Choose a tag to compare

This release requires Crystal 1.0.0 or later.

Note: For drivers implementations #156 adds a abstract def next_column_index : Int32 to ResultSet so there is a breaking-change that does not affect consumers of the library.

v0.10.1

28 Jan 02:15
0415dee
Compare
Choose a tag to compare
  • Add docs for DB::Database#setup_connection (#139, thanks @jgaskins)

v0.10.0

30 Sep 13:40
bd45602
Compare
Choose a tag to compare

This release requires Crystal 0.35.0 or later.

v0.9.0

06 Apr 23:14
ed686ad
Compare
Choose a tag to compare

v0.8.0

02 Jan 20:19
7e83f8e
Compare
Choose a tag to compare
v0.8.0

v0.7.0

02 Jan 20:19
2b95d69
Compare
Choose a tag to compare
v0.7.0

v0.6.0

02 Jan 20:19
Compare
Choose a tag to compare
v0.6.0