Skip to content

v0.10.0

Compare
Choose a tag to compare
@tpolecat tpolecat released this 05 Jan 20:06

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, and specs2 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 and Product rather than HList and Generic.
  • Get and Put instances cannot be derived for unary AnyVals in Scala 3. See scala/scala3#7023

Global Changes

Most end users should note:

  • The enum package has been renamed enumerated. For Scala 2 users an enum 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 uses TypeName 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.