Slick 3.2.0-M1

July 04 2016
by Stefan Zeiger

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 here: https://github.com/slick/slick/tree/3.2.0-M1. Builds are available for Scala 2.11 and 2.12.0-M5. From this release on, Slick requires Java 8. Older JVMs are no longer supported.

These are the major changes in this miletone:
  • The Slick profiles (previously called “drivers”) for DB2, Oracle and SQL Server are now part of the core open source release. There is no separate Slick Extensions release anymore.
  • Important bug fixes for asynchronous execution of database actions and other parts of the codebase.
  • Logging of statement parameters.
  • Improved documentation.

Note that this is not a production-ready or beta release. Parts of the user manual may be out of date. None of the standard Activator templates have been updated yet.

Please provide feedback on the stability and API of this milestone release if you encounter any problems.

This is the first release made under the new Community Process. It contains contributions by the following committers (in alphabetical order):

A1kmm, AtkinsChang, Falmarri, Sumith1896, alexmojaki, balagez, bdrupieski, bomgar, d6y, dant3, hellomaya, hepin1989, jkinkead, jnavila, knoldus, kwark, lastland, mgenereu, mkotsbak, mustajarvi, naferx, nafg, paul-porter, savulchik, smootoo, stewSquared, szeiger, teozkr, trevorsibanda, virusdave, wsargent, xavier-fernandez, xevix

Here is a complete list of changes since 3.1.1
  • a19a4b3 Release 3.2.0-M1
  • b33d506 Update Scala versions to 2.11.8 + 2.12.0-M5
  • 84dc188 fixes issue 1274
  • deae7c8 slick-migration-api is now released from slick 3.x
  • 297f996 Add flyways migration
  • 13fbd7f Update queries.rst
  • dd4c8a6 Edit the migration.rst.
  • d388e3f Document the available database migration tools.
  • 034ca4b Fixed codegen cyclic dependency on table ‘Table’ and added tests
  • f3626f3 Provide more options for the AsyncExecutor
  • 8143d26 Match tutorial prose with code samples and new API
  • 2a06b58 Add JDBC statement parameter logging
  • 778269a Include hikaricp in Getting Started dependencies.
  • 93a3347 Add note on batch insert behaviour
  • 8bab156 Fix error in the test.
  • 1f49326 Add quoting of table names and fk in ALTER TABLE for MySQL
  • ecd2f15 Add quoting of table names and fk in ALTER TABLE for MySQL
  • e8817bc Treat non-constant UUID defaults as no default.
  • 919609f SelectForUpdate support
  • 0b8e05b Remove parens from codegen example URI
  • f505312 Update CodeGenerator.scala
  • 067c5a4 Update docs to include code generator with a config URI
  • 04e67f6 add text type to postgres column builder
  • 59452e2 minor versions dependencies update
  • 150068d Update database.rst
  • a5b497a Actually pass the typeName to JdbcModelBuilder.jdbcTypeToScala
  • 6caaea3 Add database rollback documentation.
  • acf9bd5 Make poolName configurable again to support JMX
  • ebd9348 Bump up sbt version to 0.13.9
  • 1e5b190 Update CONTRIBUTING.md
  • 528eb17 Hardcode ignoreInvalidDefaults to true
  • 1a9cb1e Update Typesafe copyright header current year
  • 81b6919 Add Slick Extensions drivers
  • 11196d7 Add init call to getParrentLogger per PR comments
  • 9c73813 Fix of #1400 - race in DriverDataSource.init
  • 49e8fe5 Update queries.rst
  • 6cf07ef Fix some issues found using static code analysis tools
  • 86a2e76 Use ‘for’ loops instead of ‘while’ ones on ‘JdbcTypesComponent.scala’
  • 372bf61 DBType doesn’t work at slick 3.1
  • 17a0267 Replace TableQuery’s obsolete “ddl” method name with “schema” in docs
  • 147a28d remove deprecated view bound code
  • ba9f998 = slick add explicit return type for implicit conversion
  • 06af1ed small typo
  • 886a14d fix some spelling/grammar errors in the docs
  • 4d07e94 + slick #1334 add DBIOAction.collect
  • c935437 Change deprecated TableQuery reference
  • c9d84db Fix Sphinx warning caused by too short underline.
  • 00f3ea7 Add documentation for building Sphinx documentation.
  • 221905a Add custom ‘circle.yml’ for running all the test using the oraclejdk8
  • ef67153 Throw exception on non boolean argument to ignoreInvalidDefaults
  • 8fe849e Added ignoreInvalidDefaults parameter to codegen main method instead of hard coding to false
  • 280b5e9 Add an example of using a subselect in a delete.
  • 24a2740 Update the example data url
  • 1f2df84 +slick #1333 add zipWith to DBIOAction
  • 4812235 +slick #1329 add flatten to DBIOAction
  • 2e6a35e Remove duplicate reactive-streams bundle from osgitests/osgiBundleFiles
  • f8fde98 Some documentation improvements
  • 9fe3226 fix transaction for postgresql upsert
  • e46a0a5 Package structure refactoring
  • ca19b6e Also generate set and update in mapTo fast-path converters.
  • de88a61 Generate Fast Path Converters in .mapTo
  • 3e29760 Move simple Fast Path API up to RelationalProfile
  • d980dbb Add a macro-based operator for mapping projections to case classes
  • 4468733 Some simplifications that were enabled by bug fixes in Scala 2.11
  • ef65d0b Run Reactive Streams tests with ScalaTest
  • 20aed4c Require Java 8 and Scala 2.11

Past News Items

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: . 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...
Oct 02 2015
We have just released Slick 3.1.0-RC3, the third release candidate for Slick 3.1.0. You can find the source code here: https://github.com/slick/slick/tree/3.1.0-RC3. Builds for Scala 2.10 and 2.11 are available from...