Slick 3.3.0

January 30 2019
by Renato Cavalcanti

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
  • Added support for java.time columns #1872

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]

Support for java.time columns

If you used custom mappings for java.time types before Slick 3.3.0, please review the default mappings now used by Slick 3.3.0.

The Slick 3.3.0 mappings take precedence over any MappedColumnTypes you may have defined for the java.time columns. The update guide provides additional information.

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

Update: This post was updated 5 Feb 2019 to note the java.time changes.

Past News Items

Aug 16 2022
If you use Slick, please try 3.4.0-RC3 by changing the version in your build. After a week, if no regressions have been reported we will G-d willing release 3.4.0 (final)....
Apr 23 2021
Slick is community-maintained. Planning for future releases, including for Scala 3, is in progress. Please help if you can! For details, visit [this ticket](https://github.com/slick/slick/issues/2198).
Sep 09 2020
We have just released Slick 3.3.3 You can find the source code here: . Builds for Scala 2.11, 2.12 and 2.13 are available from Maven Central, as usual. ## Highlights...
Jan 30 2019
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...
Mar 23 2018
We have just released Slick 3.2.3. You can find the source code here: https://github.com/slick/slick/tree/v3.2.3. Builds for Scala 2.11 and 2.12 are available from Maven Central, as usual. From 3.2.0 on,...
Mar 06 2018
We have just released Slick 3.2.2. You can find the source code here: https://github.com/slick/slick/tree/v3.2.2. Builds for Scala 2.11 and 2.12 are available from Maven Central, as usual. From 3.2.0 on,...
Jul 20 2017
We have just released Slick 3.2.1. You can find the source code here: https://github.com/slick/slick/tree/3.2.1. Builds for Scala 2.11 and 2.12 are available from Maven Central, as usual. From 3.2.0 on,...
Feb 24 2017
We have just released Slick 3.2.0. You can find the source code here: https://github.com/slick/slick/tree/3.2.0. Builds for Scala 2.11 and 2.12 are available from Maven Central, as usual. From this release...