Slick 3.2.1

July 20 2017
by Trevor Sibanda

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

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

These are the major changes in Slick 3.2.1:
  • fb9258a1c fixes race-condition using unpinned/flatMapped DBIOActions, leading to missing decreaseInUseCount calls and possible stall of ManagedBlockingArrayQueue* Important bug fixes for asynchronous execution of database actions and other parts of the codebase.
  • 3728a2092 regression: final actually breaks compilation
  • 3f5c6753b fixing part 1 of #1408, flatmaps in the tail position of a query are unrolled into nested bind clauses* Strip margins of multi-line SQL interpolator strings.
  • 8b342b4a1 Integrate the four official Activator templates into the manual.
  • ddb75a0f9 Fix ambiguity for MappedProjection Shape
  • 21045bbf2 use mix of Java/scala reflection to retrieve inUseCount on 2.12.x

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.0(in alphabetical order):

astorije, cvogt , deusaquilus, kuppuswamy, kwark, njouanin, olafurpg, stewSquared, szeiger, trevorsibanda

Here is a complete list of changes since 3.2.0
  • 29d6591f8 Release 3.2.1
  • 3728a2092 regression: final actually breaks compilation
  • 4c0130cb3 [backport] Fix ambiguity for MappedProjection Shape
  • f21a58af4 Backport #1745 to 3.2.0 (#1754)
  • ddb75a0f9 Fix ambiguity for MappedProjection Shape
  • bc823febc Improve SQLite timestamp parsing
  • 4a401b4db Try “inUseCount” as field name
  • 2b5ee55c6 Remove repQueryActionExtensionMethods
  • fb9258a1c fixes race-condition using unpinned/flatMapped DBIOActions, leading to missing decreaseInUseCount calls and possible stall of ManagedBlockingArrayQueue
  • 3c842c31a allow to set code generator class dynamically (#1748)
  • c9c6dd08a Make parentheses-for-union-queries specific to MySQL
  • aeb7bb769 Add test cases for limit and orderby with union
  • c5b0e6ce8 Place each node of a union in parentheses
  • c150be955 Add more dbms to codegen tests
  • 21045bbf2 use mix of Java/scala reflection to retrieve inUseCount on 2.12.x
  • 899c5f39a fixes race-condition using unpinned/flatMapped DBIOActions, leading to missing decreaseInUseCount calls and possible stall of ManagedBlockingArrayQueue
  • 474c04a38 Fix mysql parse b’0’
  • 7a560e358 fix import lost in merge with 1733
  • e04e93f4b MySQL smallint type should map to scala Int
  • 65a59491f Remove unused imports.
  • 86114fa0f when varchar length is unspecified, default to longvarchar in hsqldb
  • 72116ade5 Only decrypt secrets.tar.enc on travis release builds
  • ee4395cbd Fix typo in doc.
  • 89c938b6a Automate the publishing of docs from tag releases
  • 79698f91a Tag-based publishing to Sonatype
  • 066dc86d7 Add support for postgresql as an alternative to DSN scheme (#1723)
  • fba9a43a9 SQLite assume TEXT as datatype if not provided
  • 8b342b4a1 Integrate the four official Activator templates into the manual.
  • 7922989cf Use correct ClassLoader for loading default app config
  • 97103ee4f regression: final actually breaks compilation
  • b53817901 Fix syntactical typo in Getting Started
  • 60e5041b3 Update versions for 3.3
  • 575f21bbc Testing transitivity
  • 14e0ce5cb Transitively handle nested binds
  • 3f5c6753b fixing part 1 of #1408, flatmaps in the tail position of a query are unrolled into nested bind clauses

Past News Items

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...
Dec 15 2015
We are happy to announce the release of Slick 3.1.1. The artifacts are available on Maven Central, as usual. You can find the source code here: https://github.com/slick/slick/tree/3.1.1. Please see http://slick.typesafe.com/docs/...
Oct 09 2015
We are happy to announce the release of Slick 3.1.0. These are the major new features compared to Slick 3.0.0: New query compiler back-end. The main goal is to avoid...