doobie v0.2.1 Release Notes

  • ๐Ÿš€ This is a minor follow-up release, primarily to add support for some PostgreSQL features and other odds and ends reported by users. Thanks to users and contributors for their help!

    โž• Additions:

    • โž• Added Transactor to wrap an existing DataSource. See Chapter 12 for more information.
    • โž• Added support for PostGIS and PostgreSQL enum types. See Chapter 13 for more information.
    • โž• Added combinators for batch updates. See Chapter 7 for more information.
    • โž• Added Composite support for HList; anywhere you could map a product or tuple type in 0.2.0 you can now also use a shapeless HList.
    • โž• Added Atom support for scalaz.Maybe; anywhere you could map an Option type in 0.2.0 you can now also use Maybe.
    • โž• Added .optionT method on Query and Query0.
    • โž• Added an example that exposes a PostgreSQL NOTIFY channel as an scalaz-stream Process.

    ๐Ÿ‘Œ Improvements:

    • The 22-parameter limit on the sql interpolator has been increased to 50, and should go away entirely by 0.3.0 at the latest. There are no other arity limits in doobie.
    • โšก๏ธ All Query and Update constructions are now supported for typechecking with Specs2 and YOLO mode.
    • Many improvements in book of doobie.
    • Tidied up examples a bit.

    โฌ†๏ธ Upgrades:

    • โšก๏ธ Updated to Scala 2.11.6.
    • โšก๏ธ Updated to scalaz 7.1.1 and scalaz-stream 0.6a
    • โšก๏ธ Updated to tut 0.3.1 (build only; not user-facing).
    • โšก๏ธ Updated to Specs2 3.9.4

    ๐Ÿ› Bug Fixes:

    • ๐Ÿ›  Fixed problem with typechecking BOOLEAN column mappings.
    • ๐Ÿ›  Fixed driver classloading problem with HikariTransactor.