Slick 3.2.2

March 06 2018
by Heikki Vesalainen

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, Slick requires Java 8. Older JVMs are no longer supported.

This is the first version of Slick released from automated releases.

This release contains mostly fixes and is intended to be binary compatible with 3.2.1.

These are the major changes in Slick 3.2.2:
  • 70dfd2f Prevent stack overflow when running DBIO actions by trampolining
  • 1625f85 Propagating max connections when using DataSourceJdbcDataSource
  • a7ffe07 Skip missing sourceDataType in ResultSet when reading an MColumn
  • 5e4f5e7 Fixed SQL Server schema name bug that prevented from getting tables
  • c79d50c Change default maxConnections to be the same as numThreads
  • 56a99ed Fix deadlocks in connection and thread pooling by preventing bad configurations or warning about them
  • 77c9748 Fix ManagedArrayBlockingQueue size not to show always 0 when it is paused
  • c5fb9f4 Keep Bind around GroupBy and don’t merge aggregates into GroupBy
  • 4fd9289 Set proper priority for AndThen and Seq continuations
  • 64653b8 Throws an exception if insertOrUpdate() is called on a table without primary keys
  • 4a9561b Adds multi-word type support in SQLite codegen.
  • 436fb55 Catch exceptions in CleanUpAction
  • 50bef88 Add null password support to DatabaseUrlDataSource
  • 936e096 Ignore ClientSideOp in projection mapping
  • f732b6c Add capability to check if numbers are unsigned when using CodeGen
  • 9803a38 Place each node of a union in parentheses for PostgreSQL
  • d099bd3 Update slf4j-api to version 1.7.25
  • 7648411 Do not generate constructor methods for more than 254 columns
  • 4fb8faf Fix issue with union and limit

You can find details about upgrading from Slick 3.1 in the Upgrade Guide.

This release contains contributions by the following committers since 3.2.1(in alphabetical order):

akshanshjain95, Alexander Samsig, Denys Zadorozhnyi, Derek Williams, Heikki Vesalainen, Kuppuswamy Anandhan, Max Dube, Nafer Sanabria, Renato Cavalcanti, Richard Dallaway, Ryan Peters, Sean Sullivan, Stefan Zeiger, Vic, Zack Grannan

Here is a complete list of commits since 3.2.1
  • 1caf62e Release 3.2.2
  • ea6bfd6 Downgrade to config 1.2.1 in this branch only
  • 527587b update to ornate 0.5, don’t crossbuild site
  • 002e4f1 Set Sonatype credentials in Global
  • 0db5bde added hvesalai to developers in Build.scala
  • 26a04e6 Add deploy key for slic/doc to secrets.tar.enc
  • 9275f0d adds extended documentation about usaged of named JNDI datasources
  • 70dfd2f trampoline chained actions
  • 1625f85 propagating max connections when using DataSourceJdbcDataSource
  • a7ffe07 Skip sourceDataType in ResultSet when reading an MColumn
  • 5e4f5e7 fixed SQL Server schema name bug that prevented from getting tables
  • 1b2e4f0 tests need the same amount of connections, which means more threads in the new default model
  • c79d50c Default maxConnections == numThreads
  • 56a99ed Fix #1614, Fix #1807: require and warn about bad configurations that can result in deadlocks
  • 3d4e7c1 Don’t run so many cycles of SlickInUseCountTest
  • 77c9748 Made ManagedArrayBlockingQueue size not show 0 when it is paused. Cleaned up code.
  • c5fb9f4 Keep Bind around GroupBy and don’t merge aggregates into GroupBy
  • 4fd9289 AndThen and Seq continuations
  • 64653b8 Fixes #1699. Throws an exception if insertOrUpdate() is called on a table without primary keys;
  • 4a9561b Fixes #1771. Adds multi-word type support in SQLite codegen.
  • 4c19e16 fixed SQL Server schema name bug that prevented from getting tables
  • 436fb55 Fix #1585
  • 50bef88 Add null password support to DatabaseUrlDataSource
  • f715411 Scala 2.12.4
  • 936e096 Ignore ClientSideOp in projection mapping
  • 1104bf8 Add failing test
  • 580c7bc Add imports to more manual pages
  • b338917 add documentation for O.Unique
  • f732b6c issue #1769
  • 9803a38 Place each node of a union in parentheses for PostgreSQL too
  • 62e427c Add tests of parentheses-for-union-queries for PostgreSQL too
  • dc7a516 upgrade to Postgres JDBC driver 42.1.4
  • 08c20d3 Scala 2.12.3
  • c4fb737 Updated JdbcActionComponent.scala
  • d099bd3 update typesafe config & slf4j-api to lastest version
  • 7648411 Do not generate constructor methods for more than 254 columns
  • f3ff5ac bump derby version for test
  • 4fb8faf fix #1424 - issue with union and limit

Past News Items

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...
Feb 10 2017
We have just released Slick 3.2.0-RC1, the first release candidate for Slick 3.2.0. You can find the source code here: https://github.com/slick/slick/tree/3.2.0-RC1. Builds for Scala 2.11 and 2.12 are available from...
Dec 05 2016
We have just released Slick 3.2.0-M2, the second milestone for Slick 3.2. It should show up on Maven Central within the next few hours. You can find the source code...
Jul 04 2016
We have just released Slick 3.2.0-M1, the first milestone for Slick 3.2. It should show up on Maven Central within the next few hours. You can find the source code...
Mar 18 2016
I’d like to draw your attention to the new community process and code of conduct for Slick, both of which are based on Play Framework’s. Back in 2008 I started...
Feb 01 2016
Because nearly every application is driven by some sort of data source, we invested in building Slick, a Functional Relational Mapping (FRM) library for Scala that makes it easy to...