3.3.0 (2018-03-27)
For use with Akka 2.5.x only, please use the 2.8.0 release for Akka 2.4
Changes since v3.2.0
Dependencies upgrades
- Akka 2.5.9 -> 2.5.11
- Scala 2.12.4 -> 2.12.5
- Slick 3.2.1 -> 3.2.3 (see special note)
- Sbt 0.13.15 to 1.1.1
Slick 3.2.3 special note
Since Slick 3.2.2, the maxConnections
must equal numThreads
. This is to prevent some situations where a deadlock could occur. A warning will be emitted in case maxConnections > numThreads
and a runtime exception will be thrown if maxConnections < numThreads
. Therefore the best possible configuration is maxConnections == numThreads
. See slick/slick#1855 for detailed information.
The reference configuration of this plugin has them set to numThreads = 20
and maxConnections = 20
. You may use other values, but make sure both are equal.
Fixes and improvements
- Ensure that the journal sequence actor name is unique when multiple read journals are used
- Aligned numThreads and maxConnections in the reference config and test configs.
- Merged #165. Scripts enhancements. Thanks to Dmitriy Zakomirnyi.
- Merged #163. Upgrade to sbt-scalariform 1.8.2. Thanks to Sullis
- Merged #174. Make the use of sys.addShutdownHook(db.close()) configurable. Thanks to Daniel Keller
- Merged #167. Upgrade from SBT 0.13.x to SBT 1.1.1 . Thanks to Sullis