We have just released Slick 3.0.0-M1, the first milestone for “Reactive Slick”. 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.0.0-M1. Builds are available for Scala 2.10 (2.10.4 recommended) and 2.11.
These are the major new features in this miletone:
- A new API for composing and executing database actions.
- Improved configuration of database connections via Typesafe Config, including built-in support for HikariCP.
- Support for nested Option types and non-primtive Option types in the Lifted Embedding.
- Properly typed outer join operators based on the improved Option support.
Note that this is not a production-ready or beta release. Only parts of the manual have been updated, including the Introduction, the Getting Started guide and the new chapter on Databases & Actions. There is a new section in the Migration Guide for upgrading from Slick 2.1. Slick Extensions is not available for this release and 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.
Here is a complete list of changes since 2.1.0
efbe6f6Bump version numbers:
4d42528Add concurrency stress test for streaming API:
80929a6Documentation plus minor improvements and fixes:
273b957Update to Reactive Streams 1.0.0.M3 and fix remaining PR review issues:
688d7f2Convert more test cases and add missing features:
d862e0fOptimize the streaming engine and fix some bugs:
9ad62a9Implement streaming via Reactive Streams API:
6a85767Convert several test cases to the new API.
8ef6cdeAdd basic transaction support for database actions.
09590fdImplement session pinning for database Actions:
66a9b41Basic implementation of action monad and asynchronous execution engine:
bf17772Use HikariCP by default (instead of no connection pooling):
4569c52Simplify connection pool configuration
cc92c26Simplify thread pool configuration:
423e78cRemove the option to disable auto-commit for new connections.
e4dddcdRemove BoneCP support and drop configuration compatibility with Play.
812100eAdd HikariCP support in addition to BoneCP.
bb58103Add primitives and configuration for async execution of blocking I/O
0ea777aFix broken build due to merging nested options support
8d4a02fEnsure generated file ends with a newline character.
9cdf7ecMake comment format match others in file.
ef5f9a8Avoid indenting blank lines, to avoid trailing whitespace.
8225a8fAdd Option-extended joins:
75583dcLifted Embedding encoding of nested and multi-column Option types:
de389a4Remove the Column type.
777dbebAdd SimpleLiteral factory (and fix one unrelated unchecked warning)
82b258fUse Unicode symbols in tree and table dumps for better readability.
f54d272Add BoneCP support to Database.forConfig.
369ad73Use application.conf for Slick settings.
61d032bCorrected docs to use “inSet” instead of “inSeq”
b0b0252Fix forceInsertAll for single argument
770d0a1Update build for 2.2.0-SNAPSHOT