crystal-db v0.11.0 Release Notes

Release Date: 2022-01-27 // over 1 year ago
    • 🛠 Fix Connection#transaction method to return the block value as the result. (#159, #160, thanks @bcardiff)
    • ➕ Add DB::ColumnTypeMismatchError error with column and type information. (#156, thanks @jwoertink, @bcardiff)
    • 👌 Improve DB::MappingException error. (#129, thanks @straight-shoota)
    • Close connection resource when connection is lost. (#155, thanks @stakach, @bcardiff)
    • Discard closed connections in the pool when they are returned. (#154, thanks @stakach)
    • 🛠 Fix typo in Mode.from_rs argument type. (#142, thanks @dukeraphaelng)
    • 👷 Migrate CI to GitHub Actions. (#147, #152, thanks @oprypin, thanks @straight-shoota)

    🚀 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.


Previous changes from v0.10.1

    • ➕ Add docs for DB::Database#setup_connection (#139, thanks @jgaskins)