doobie v0.8.8 Release Notes

Release Date: 2019-12-20 // over 4 years ago
  • 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.