v0.10.0
Scala 3
This is the first non-milestone release that supports Scala 3 (versions 3.0.0-M2 and 3.0.0-M3, as well as 2.12 and 2.13 as before).
Remainder is the same as release notes from 0.10.0-M2.
Differences between Scala 2 and Scala 3 versions
- The
postgres-circe
,quill
,scalatest
, andspecs2
modules are not yet available for Scala 3, pending releases of upstream dependencies. - Shapeless is not used in the Scala 3 version. Instances are derived via
Tuple
andProduct
rather thanHList
andGeneric
. Get
andPut
instances cannot be derived for unaryAnyVal
s in Scala 3. See scala/scala3#7023
Global Changes
Most end users should note:
- The
enum
package has been renamedenumerated
. For Scala 2 users anenum
object remains behind as a bridge. - Deprecated JDBC and Postgres Driver methods have been removed from the Free APIs.
Advanced users should note:
- doobie no longer relies on
TypeTag
, it usesTypeName
instead. - Line number macros have been internalized; there is no longer a dependency on
lihaoyi/sourcecode
.
Contributors should note:
- Tests have been migrated from specs2 to MUnit.