2019-08-02 15:06:53 +00:00
## v0.6.0 (2019-08-02)
* Fix compatibility issues for Crystal 0.30.0. ([#108](https://github.com/crystal-lang/crystal-db/pull/108), thanks @bcardiff )
* Fix `BeginTransaction#transaction` rollback due to protocol error. ([#101](https://github.com/crystal-lang/crystal-db/pull/101), thanks @straight -shoota)
* CI includes Crystal nightly. ([#106](https://github.com/crystal-lang/crystal-db/pull/106), thanks @bcardiff )
* Add the Cassandra driver. ([#94](https://github.com/crystal-lang/crystal-db/pull/94), thanks @kaukas )
* Several docs improvements. ([#99](https://github.com/crystal-lang/crystal-db/pull/99), [#96 ](https://github.com/crystal-lang/crystal-db/pull/96 ), [#107 ](https://github.com/crystal-lang/crystal-db/pull/107 ), thanks @nickelghost , @greenbigfrog , @MatthiasWinkelmann )
## v0.5.1 (2018-11-07)
2018-11-07 18:52:37 +00:00
* Fix `QueryMethods#query_one?` handling no rows. ([#86](https://github.com/crystal-lang/crystal-db/pull/86), thanks @robdavid )
* Documentation improvements. ([#87](https://github.com/crystal-lang/crystal-db/pull/87), [#82 ](https://github.com/crystal-lang/crystal-db/pull/82 ), [#76 ](https://github.com/crystal-lang/crystal-db/pull/76 ), thanks @wontruefree , @Heaven31415 , @vtambourine )
2017-12-29 23:20:37 +00:00
## v0.5.0 (2017-12-29)
* Fix compatibility issues for crystal 0.24.0. No changes in the api.
2017-12-29 22:53:39 +00:00
## v0.4.4 (2017-12-29)
* Allow query results to be read as named tuples directly (see [#56 ](https://github.com/crystal-lang/crystal-db/pull/56 ), thanks @Nephos )
* Fix sqlite samples in documentation (see [#71 ](https://github.com/crystal-lang/crystal-db/pull/71 ), thanks @hinrik )
2017-11-08 02:30:34 +00:00
## v0.4.3 (2017-11-07)
* Fix connections were not released when building invalid statements. (see [#65 ](https://github.com/crystal-lang/crystal-db/pull/65 ), thanks @crisward )
* Fix some exceptions were not deriving from `DB::Error` . (see [#70 ](https://github.com/crystal-lang/crystal-db/pull/70 ), thanks @exts )
2017-04-21 20:24:28 +00:00
## v0.4.2 (2017-04-21)
* Fix compatibility issues for crystal 0.22.0
2017-04-10 16:45:24 +00:00
## v0.4.1 (2017-04-10)
* Add spec helper for drivers. [#48 ](https://github.com/crystal-lang/crystal-db/pull/48 )
* Add `#query_each` . [#18 ](https://github.com/crystal-lang/crystal-db/issues/18 )
* Fix `#read(T.class)` to deal better with unhandled types.
2017-03-20 18:33:26 +00:00
## v0.4.0 (2017-03-20)
* Add `DB.connect` to create non pooled connections
* Add `Database#checkout` to allow explicit checkout/release connection (see #38 )
* Fix `Mapping.from_rs` closes the result_set
* Fix `Mapping` works with nilable types (see #40 , thanks @RX14 )
2016-12-24 23:43:32 +00:00
## v0.3.3 (2016-12-24)
* Fix compatibility issues for crystal 0.20.3
2016-12-16 14:57:44 +00:00
## v0.3.2 (2016-12-16)
* Allow connection pool retry logic in `#scalar` queries.
2016-12-15 17:47:10 +00:00
## v0.3.1 (2016-12-15)
* Add ConnectionRefused exception to flag issues when opening new connections.
2016-12-14 18:21:33 +00:00
## v0.3.0 (2016-12-14)
2016-12-14 15:25:32 +00:00
* Add support for non prepared statements. [#25 ](https://github.com/crystal-lang/crystal-db/pull/25 )
* Add support for transactions & nested transactions. [#27 ](https://github.com/crystal-lang/crystal-db/pull/27 )
2016-12-14 18:21:33 +00:00
* Add `Bool` and `Time` to `DB::Any` .
2016-12-07 16:09:37 +00:00
## v0.2.2 (2016-12-06)
This release requires crystal 0.20.1
2016-10-22 23:05:15 +00:00
2016-10-22 00:49:16 +00:00
* Changed default connection pool size limit is now 0 (unlimited).
2016-12-07 16:09:37 +00:00
* Fixed allow new connections right away if pool can be increased.
## ~~v0.2.1 (2016-12-06)~~ [YANKED]
2016-10-22 23:05:15 +00:00
2016-10-23 00:52:15 +00:00
## v0.2.0 (2016-10-20)
2016-10-22 23:05:15 +00:00
2016-10-23 00:52:15 +00:00
* Fixed release DB connection if an exception occurs during execution of a query (thanks @ggiraldez )
## ~~v0.1.1 (2016-09-28)~~ [YANKED]
2016-10-22 23:05:15 +00:00
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 ).
2016-10-23 00:52:15 +00:00
* 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 )
2016-10-22 23:05:15 +00:00
2016-10-23 00:52:15 +00:00
* Added mappings. JSON/YAML-like mapping macros (thanks @spalladino ) [more ](https://github.com/crystal-lang/crystal-db/pull/2 )
2016-10-22 23:05:15 +00:00
2016-10-23 00:52:15 +00:00
* Changed require ResultSet implementors to just implement `read` , optionally implementing `read(T.class)` .
2016-10-22 23:05:15 +00:00
2016-10-23 00:52:15 +00:00
## v0.1.0 (2016-06-24)
2016-10-22 23:05:15 +00:00
* Initial release