Slick 2.1.0-M2

May 28 2014
by Stefan Zeiger

We have just released Slick 2.1.0-M2, the second milestone for Slick 2.1. 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/2.1.0-M2. Builds are available for Scala 2.10 (2.10.4 recommended) and 2.11.

These are the major new features in this miletone:
  • Insert-or-update support which makes use of native databases features where possible, falling back to a client-side emulation otherwise.
  • Parameters for take and drop calls (required for pagination) can now be used in precompiled queries.
  • Official support for Scala 2.11 releases.
  • Configure database connections through Typesafe Config, in a format which is compatible with Play’s database configuration (but no support for connection pools yet).
  • New documentation in the user manual, including a chapter for migrating from SQL to Slick.
  • TestKit is more flexible and easier to use. You can now use it to test your own extensions for Slick against the standard databases supported by Slick. Less configuration is required due to the use of Typesafe Config with sensible defaults.
  • We don’t use sample projects like slick-examples anymore. All samples come in the form of Activator templates with an integrated tutorial. They are tied to a Slick major version but evolve separately from minor releases.

Note that this is not a production-ready or beta release. In particular, the manual has not yet been updated to reflect all the changes and new features (but there are unit tests and scaladoc comments for them). The Slick Extensions package has been published along with this milestone release. Please provide feedback on the stability and API of this milestone release if you encounter any problems.

Here is a complete list of changes since 2.1.0-M1
  • 6d160ee Release 2.1.0-M2
  • d74adb5 Fix docs TOC depth
  • b937743 Update Scala version to 2.11.1
  • 60e7e89 User uppercase identifiers in InsertTest.testInsertOrUpdateAutoInc.
  • c823c59 More flexibility for TestKit
  • 17c298f Use Typesafe Config for database configurations
  • 542e642 Improve from SQL to Slick documentation, add operators comparison
  • 03a3eb4 Various documentation improvements for 2.1
  • 76efe03 Add from SQL to Slick documentation
  • d1d6a91 Fix the build failure from merging tmp/issue-742 & tmp/insert-or-update
  • bde4ad2 OSGi bundle improvements:
  • d2ac664 Restrict Shape.provenShape to only allow unpacked types in ProvenShape.
  • 5234454 Fix some bugs in comprehension fusion.
  • dd15e41 Support Unit values in Query return types.
  • cfee5bb Revert the hconsShape workaround.
  • f91370f Enforce maxRows in PositionedResultIterator.
  • be2ff65 Prevent some initialization order problems
  • 4fa915c Add insertOrUpdate to InsertInvoker.
  • 27ba43d More improvements for Inserts.
  • 6992328 Improve Inserts
  • 0b77999 Allow non-literal constant values for Query.take and Query.drop
  • 21f85e9 Do not escape columns named tag in generated code
  • 889dae9 Don’t patch type changes from OptionApply in hoistClientOps.

Past News Items

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](/community/process.html) and [code of conduct](/community/conduct.html) for Slick, both of which are based on [Play Framework's](https://playframework.com/community-process). Back in 2008 [I](https://github.com/szeiger) 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](http://slick.typesafe.com/) 3.1.1. The artifacts are available on Maven Central, as usual. You can find the source code here: . Please see for...
Oct 09 2015
We are happy to announce the release of [Slick](http://slick.typesafe.com/) 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...
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: . Builds for Scala 2.10 and 2.11 are available from...
Sep 25 2015
We have just released Slick 3.1.0-RC2, the second release candidate for Slick 3.1.0. You can find the source code here: . Builds for Scala 2.10 and 2.11 are available from...