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 existingDataSource
. 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 forHList
; anywhere you could map a product or tuple type in 0.2.0 you can now also use a shapelessHList
. - โ Added
Atom
support forscalaz.Maybe
; anywhere you could map anOption
type in 0.2.0 you can now also useMaybe
. - โ Added
.optionT
method onQuery
andQuery0
. - โ Added an example that exposes a PostgreSQL
NOTIFY
channel as an scalaz-streamProcess
.
๐ 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
andUpdate
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
.
- โ Added