Skip to content

Commit

Permalink
Release 0.11.0 (#157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian J. Cardiff authored Jan 27, 2022
1 parent 27ade07 commit e3f1a30
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## v0.11.0 (2022-01-27)

* Fix `Connection#transaction` method to return the block value as the result. ([#159](https://github.com/crystal-lang/crystal-db/pull/159), [#160](https://github.com/crystal-lang/crystal-db/pull/160), thanks @bcardiff)
* Add `DB::ColumnTypeMismatchError` error with column and type information. ([#156](https://github.com/crystal-lang/crystal-db/pull/156), thanks @jwoertink, @bcardiff)
* Improve `DB::MappingException` error. ([#129](https://github.com/crystal-lang/crystal-db/pull/129), thanks @straight-shoota)
* Close connection resource when connection is lost. ([#155](https://github.com/crystal-lang/crystal-db/pull/155), thanks @stakach, @bcardiff)
* Discard closed connections in the pool when they are returned. ([#154](https://github.com/crystal-lang/crystal-db/pull/154), thanks @stakach)
* Fix typo in `Mode.from_rs` argument type. ([#142](https://github.com/crystal-lang/crystal-db/pull/142), thanks @dukeraphaelng)
* Migrate CI to GitHub Actions. ([#147](https://github.com/crystal-lang/crystal-db/pull/147), [#152](https://github.com/crystal-lang/crystal-db/pull/152), thanks @oprypin, thanks @straight-shoota)

This release requires Crystal 1.0.0 or later.

Note: For drivers implementations [#156](https://github.com/crystal-lang/crystal-db/pull/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 (2021-03-22)

* Add docs for `DB::Database#setup_connection` ([#139](https://github.com/crystal-lang/crystal-db/pull/139), thanks @jgaskins)
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Common db api for crystal. You will need to have a specific driver to access a d
* [SQLite](https://github.com/crystal-lang/crystal-sqlite3)
* [MySQL](https://github.com/crystal-lang/crystal-mysql)
* [PostgreSQL](https://github.com/will/crystal-pg)
* [ODBC](https://github.com/naqvis/crystal-odbc)
* [Cassandra](https://github.com/kaukas/crystal-cassandra)

## Installation
Expand Down Expand Up @@ -81,7 +82,7 @@ Issues not yet addressed:
- [x] Data type extensibility. Allow each driver to extend the data types allowed.
- [x] Transactions & nested transactions. [#27](https://github.com/crystal-lang/crystal-db/pull/27)
- [x] Connection pool.
- [ ] Logging
- [x] Logging
- [ ] Direct access to `IO` to avoid memory allocation for blobs.

## Contributing
Expand Down
4 changes: 2 additions & 2 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: db
version: 0.10.1
version: 0.11.0

authors:
- Brian J. Cardiff <bcardiff@manas.tech>

crystal: ">= 0.35.0, < 2.0.0"
crystal: ">= 1.0.0, < 2.0.0"

license: MIT
2 changes: 1 addition & 1 deletion src/db/version.cr
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module DB
VERSION = "0.10.1"
VERSION = "0.11.0"
end

0 comments on commit e3f1a30

Please sign in to comment.