doobie v0.9.0 Release Notes

Release Date: 2020-04-05 // 4 months ago

Previous changes from v0.8.8

  • This is a follow-up to 0.8.7 which caused some runtime failures due to a change in the way the java.time.Instant mapping was defined. Mappings for temporal types now require an explicit import.

    📦 | Defining Package | Import | | --- | --- | | java.sql | import doobie.implicits.javasql._ | | java.time (JSR-310) | import doobie.implicits.javasql._ |

    Prior to v0.8.7 there were instances for Instant and LocalDate that were derived via the java.sql types Timestamp and Date, respectively. These are now hidden, but if you want the old behavior you can import them.

    Legacy Instance Import
    Instant import doobie.implicits.legacy.instant._
    LocalDate import doobie.implicits.legacy.localdate._

    Thanks to Andras Zsamboki for sorting this out.

    ➕ Additional contributions:

    • 📚 Quill logging now works with doobie. Logs go to a logger called "DoobieContext" which can be enabled as described in the Quill documentation.
    • There is a new trivial example in the example/ module demonstrating a no-op interpreter.