April 29 2015
We have just released Slick 3.0.0, a.k.a. “Reactive Slick”. You can find the source code here: https://github.com/slick/slick/tree/3.0.0. Builds for Scala 2.10 (2.10.4+ recommended) and 2.11 are available from Maven Central, as usual.
These are the major new features in Slick 3.0:
- A new API for composing and executing database actions.
- Support for the Reactive Streams API for streaming results from the database.
- 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.
- A new macro-based implementation of the Plain SQL API with optional compile-time checking and type inference for embedded SQL statements.
- Many small improvements and bug fixes in the schema code generator.
- Optional multi-line formatting and indenting of generated SQL code for more readable debug output.
The commercial Slick Extensions package with closed-source drivers for Oracle, DB/2 and SQL Server has been published to the Typesafe repository. See the manual for details on adding it to your build.
Here is a complete list of changes since 2.1.0:
c22cfdfBump version numbers
e9ab330Set version to 3.0.0-RC3
1d77b9dUpgrade to Reactive Streams 1.0.0.RC4:
c86e36bSome small documentation fixes
7b79d6dDeprecate the JdbcDriver object
0e2c0d4Add dependency information for slick-codegen to manual
e8e0871More efficient implementation of DBIO.sequence:
8e329b0Return correct name for default drivers in BasicDriver.toString:
4707487Update Testkit chapter in the manual from the Activator template
e03f16dRemove unnecessary restriction to
1398565Update dependencies and version number for 3.0.0-RC2
59917d7Improve documentation after internal review
4183591Bring back Database.close (via java.io.Closeable)
a9f95abReplace Database.close with Database.shutdown for asynchronous closing:
9e11f07Distinguish between high- and low-priority jobs in AsyncExecutor:
5acc8fcHandle Exceptions from runInContext correctly:
df1e346Deprecate Database.withSession and remove usages of this method
8bf0152Correctly propagate the AsyncExecutor in Database.forDataSource
a6ff0d3Lazily instantiate the ExecutionContext in AsyncExecutor:
73ad13dChange all DBIO subtypes to put Effect type parameters last.
1b37a85Return a single Int instead of a Vector[Int] from the sqlu interpolator.
a633204Export scala.slick packages through OSGi
bd0c9c4Try to prevent some spurious failures on Travis CI
58a1db9Proper treatment of CHAR(1) columns in JdbcModelBuilder:
7f0f62fMake code generator tests usable from other slick-extensions:
25370cbFix bugs detected by Slick Extensions upgrade:
13bf805- fix typo in list of code generating tests
12faf5dUpgrade to Reactive Streams 1.0.0.RC3
648184cPackage structure and project layout refactoring:
9c730c0Upgrade to Reactive Streams 1.0.0.RC2:
DatabaseConfigas a higher-level configuration abstraction:
#$support in the macro-based Plain SQL interpolation:
62ddadcMacro-based PlainSQL API Implemented TypedStaticQuery as tsql
d63a018UUID regression testkit:
5af0d9bDistinguish between BLOB and BYTEA in PostgreSQL model builder
ec7f2aaUse TestDB for code generator tests:
cc8d3f0Proper support for string lengths:
41c717aSupport fetch size in statement parameters.
965604cUse force-insert semantics for inserting from queries and expressions.
0e58e7dDeprecate the Direct Embedding
0ba0dd5Remove the blocking API that was introduced in 3.0.0-M1
2f64c79Rename Action to DBIO:
86974bdSimplify SQLBuilder and formatting/indenting:
SqlTypeargument in code generator.
b1dca21Make ColumnOptions more modular:
7272180Use unconstrained text type as default on PostgreSQL
6cec3f7Prefer prepareStatement(sql) instead of prepareStatement(sql, Int, Int)
a3eec4fSupport transaction isolation levels
6ea7fdbGeneric fusion implementation for FlatMapAction and CleanupAction:
706f2b1Allow the SQL statements to be overridden in SqlActions.
a325f5eRun a user-defined init function on all created JDBC Statements
3315a3bRefactoring of ActionContext:
dc687deAvoid long nested sequences of SchemaDescription.++ in generated code:
62d5e92Quote illegal identifiers in generated Scala sources.
58c4ed5Make ‘desiredColumnOrder’ in code generator non-final.
a645205Support statement parameters in the new Action-based API.
b1c5b66Switch JDBC metadata API and code generator to the new API.
c92a615Fix typo in orm-to-slick.rst
d4f019fMove profile-level Action definitions outside of profiles.
5cd423fDeprecate Invoker convenience methods and iteratees
7d576c8Properly deprecate .Implicit and .simple in all profile levels
30c135eUpgrade to sbt 0.13.7
e9274ecImprove build system for documentation:
a6e3b9bFurther modularization of Slick:
4ab4a6bSwitch Direct Embedding over to the new Action-based API.
ac37f1cUpdate documentation for 3.0:
e6562c7Simplify Action Effect handling:
06d1ca0Increase timeout for Reactive Streams TCK tests.
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.
7a1d119modified to use GlobalConfig.
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
cb8183dAdded support for string function repeat.
57aa9e7Workaround to pass Travis CI.
7a58f7fTry for SQL String Indentation.
Past News Items
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,...
Feb 24 2017
We have just released Slick 3.2.0. You can find the source code here: . Builds for Scala 2.11 and 2.12 are available from Maven Central, as usual. From this release...