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

Sep 18 2022
Slick 3.4.0 was released and published to Maven Central, with 281 merged pull requests, many from the community. A pull request that could cause issues was then rolled back, so...
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: . Builds for Scala 2.11 and 2.12 are available from Maven Central, as usual. ## These are...
Mar 23 2018
We have just released Slick 3.2.3. You can find the source code here: . 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: . 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: . Builds for Scala 2.11 and 2.12 are available from Maven Central, as usual. From 3.2.0 on,...