Slick v3.3.0 Release Notes

Release Date: 2019-01-31 // about 5 years ago
  • ๐Ÿš€ We have just released Slick 3.3.0
    You can find the source code here: https://github.com/slick/slick/tree/v3.3.0.
    ๐Ÿ— Builds for Scala 2.11 and 2.12 are available from Maven Central, as usual.

    These are the major changes in Slick 3.3.0:

    • ๐Ÿ‘ MySQL driver 6.x support #1924
    • โฌ†๏ธ Upgrade to Reactive Streams v1.0.2 #1927
    • ๐Ÿ›  Fix critial bug in AsyncExcutor #1856
    • โž• Add support for Postgres citext #1848
    • โž• Added filterOpt and filterIf to Query. #1909
    • โž• Added createIfNotExists and dropIfExists schema methods #1704

    ๐Ÿ‘€ See GitHub for the full list of commits and the issues and pull requests assigned to the 3.3 milestone.

    Migration

    Create / Drop If Not Exists

    There is no major changes in the API except for the addition of createIfNotExists and dropIfExistsPhase. This has only impact on database profile developers. Regular users are not impacted by it.

    ๐Ÿ‘ In other to support createIfNotExists and dropIfExistsPhase, the following changes were made:

    • slick.jdbc.JdbcStatementBuilderComponent#TableDDLBuilder.createTable receives not a checkNotExists: Boolean as argument
    • slick.jdbc.JdbcStatementBuilderComponent#TableDDLBuilder.dropTable receives not a ifExists: Boolean as argument
    • slick.sql.SqlProfile#DDL.apply has two more arguments createIfNotExists: Iterable[String] and dropIfExists: Iterable[String]

    Credits

    ๐Ÿš€ This release contains contributions by the following committers since 3.2.3:

    Asamsig, ElfoLiNk, GlulkAlex, adeperio, chipz, hirofumi, hvesalai, marcospereira, matthiassig12, smootoo, stefanholzmueller, sullis, trevorsibanda and xuwei-k