Slick 3.2.0
We have just released Slick 3.2.0. You can find the source code here: https://github.com/slick/slick/tree/3.2.0. Builds for Scala 2.11 and 2.12 are available from Maven Central, as usual. From this release on, Slick requires Java 8. Older JVMs are no longer supported.
This is the first version of Slick with official support for Scala 2.12.
These are the major changes in Slick 3.2:
- The Slick profiles (previously called “drivers”) for DB2, Oracle and SQL Server are now part of the core open source release. There is no separate Slick Extensions release anymore.
- Important bug fixes for asynchronous execution of database actions and other parts of the codebase.
- Logging of statement parameters.
- Improved documentation.
- Strip margins of multi-line SQL interpolator strings.
- JMX monitoring for AsyncExecutor workloads.
You can find details about upgrading from Slick 3.1 in the Migration Guide. Except for the version number Slick 3.2.0 is identical to Slick 3.2.0-RC1.
This release contains contributions by the following committers since 3.1.1 (in alphabetical order):
A1kmm, AtkinsChang, ChristopherDavenport, Diagoras, Falmarri, Gacko, Ophirr33, Sumith1896, TakumiSakamoto, TimothyKlim, alexmojaki, alias1, anand-singh, anvyzhang, balagez, bdrupieski, becompany, bomgar, coutoPL, d6y, dangerousben, dant3, djx314, frosforever, hellomaya, hepin1989, hvesalai, igstan, ikr0m, jkinkead, jnavila, knoldus, kwark, lastland, mgenereu, mkotsbak, mustajarvi, mwegrz, naferx, nafg, paul-porter, savulchik, slick, smootoo, stewSquared, szeiger, teozkr, tminglei, trevorsibanda, virusdave, wsargent, xavier-fernandez, xevix
Here is a complete list of changes since 3.1.1
4ce95aaeRelease 3.2.0-RC17fb013e4Add migration guide and remove 3.1 bincompat shims50411ba3Change some type params in Shape.e96bfd25Fix unique constraints on H26ed7333aRequire maxConnections in DataSourceJdbcDataSourcefff1c21cFix a typo in JdbcBackend.scala.11292e56Bump HikariCP to latest version (v2.5.1)0e869e94make generated case classes final by default.30d9c413Fix zip join regression on SQL Serverdbe94de6Disable SMALLSERIAL test case on Postgres667ffd54Fix CI problems:54caa47aFixed documentation on ColumnOptions65a209e8Fix sbt failures on AppVeyor2372b5e9Improving readability.9e8a8adbFix a typobf2b0dbeMark countDistinct as deprecated #16515cfbd2efMergeLIMITon top ofDISTINCTdea877f0Unified expansion of table types with same baseIdentityf83fb1c0Upgrade scala to 2.12.0 and sbt to 0.13.13bbeb956bReplace nbsp by proper space in SQL setup scriptd80eb850Escape code generator default string9d2da02eUpdate CONTRIBUTING.mde884c9e4Moving to non-overloaded method name - #1192ffbd9cc0Update README.md26b0be84Fix typo in queries.rst9ce52564Add newline to end of postgres.sql test script34de0351JdbcModelBuilder handles normal BigDecimal defaults07b9c987Fixes #1557, #10008a38fe74Fix BigDecimal Default value issue in Oracle51e14f27MySQL modelbuilder schema name (#1528)f9982326add ‘override’ for scala/scala#533154df14c0ReadAheadIterator headOptionReverseCompatibility Altered To Final Value Classa6e1260eAdjust comment.82d39b41Replace fakeNullable with asOption. Backward compatibility.e29c0914Adding option to wrap exposedType in an Option even though the column is nota69b6761remove duplicate word443af071SQlServer use Short instead of Byte for TINYINT5e611cf9Update Readme to add build status link to slick appveyor build5f3cee40Use DELETE instead of TRUNCATE for DB2fd6c6378Fixed DB2 truncate statement15350e67Add table truncate featureb9e8730cAdded possible cause to shape implictNotFound error248bf188Improve mysql string type inference2e323a9fFix mysql codegen numeric defaulte53c400cFix compile error if postgres is not enable in test-dbsf632d10eAdd test case to text, varchar, char with default value.41ceb9ecSupport numeric default value both 9.4 and 9.5+, fix testcase878538bbtest against postgresql 9.4d11238e8Fix default value generation for postgresql columns include #1123, testcase.707795f4Generate MySQL DELETE queries more amenable to optimizations47f62a96Update orm-to-slick.rst029396dcUpdate queries.rst03a22d31Implement Implicit Class with Extension Methodfb9a496fRemoved headOption from ReadAheadIterator6e8b1bb8Add DB2,Oracle into travis build and add Appveyor build for SQLServer6a617046Improve error messsage for returning a non-AutoInc column on unsupported DBMS97758946Adding overloaded sequence method for Option, simple test - #1192c5d504a2Exclude derby from test ‘testInsertOrUpdatePlainWithFuncDefinedPK’a0eb1ee1Improvements to teskit for simplifying tests using action-based queries5dd4f31fFixing tminglei/slick-pg#288 and slick/slick#9666b59d0fcImplemented O.Unique Column Optionb33d506eUpdate Scala versions to 2.11.8 + 2.12.0-M5d3a933ceExpose AsyncExecutor workload to monitoring via JMX84dc188efixes issue 127455786626Ignore sqlite indices generated by autoindex feature.deae7c85slick-migration-api is now released from slick 3.x297f9965Add flyways migration13fbd7f4Update queries.rstdd4c8a65Edit the migration.rst.d388e3f3Document the available database migration tools.034ca4b8Fixed codegen cyclic dependency on table ‘Table’ and added testsf3626f33Provide more options for the AsyncExecutorbf556125added: test for forceInsertQuery fixesd00eaf73fixed: forceInsertQuery with identical values issue8143d26aMatch tutorial prose with code samples and new API2a06b58cAdd JDBC statement parameter logging778269a6Include hikaricp in Getting Started dependencies.93a33472Add note on batch insert behaviour8bab1566Fix error in the test.1f493265Add quoting of table names and fk in ALTER TABLE for MySQL50528fffFix AutoInc for H2.ecd2f156Add quoting of table names and fk in ALTER TABLE for MySQLe8817bc3Treat non-constant UUID defaults as no default.919609feSelectForUpdate support0b8e05b9Remove parens from codegen example URIf505312dUpdate CodeGenerator.scala067c5a4dUpdate docs to include code generator with a config URI04e67f6eadd text type to postgres column builder59452e22minor versions dependencies update150068ddUpdate database.rsta5b497a2Actually pass the typeName to JdbcModelBuilder.jdbcTypeToScala6caaea3aAdd database rollback documentation.acf9bd5dMake poolName configurable again to support JMXebd93486Bump up sbt version to 0.13.91e5b1908Update CONTRIBUTING.md528eb170Hardcode ignoreInvalidDefaults to true1a9cb1ebUpdate Typesafe copyright header current year81b6919bAdd Slick Extensions drivers11196d73Add init call to getParrentLogger per PR comments9c73813aFix of #1400 - race in DriverDataSource.init49e8fe50Update queries.rst6cf07efdFix some issues found using static code analysis tools86a2e76eUse ‘for’ loops instead of ‘while’ ones on ‘JdbcTypesComponent.scala’372bf61fDBType doesn’t work at slick 3.117a0267aReplace TableQuery’s obsolete “ddl” method name with “schema” in docs147a28d7remove deprecated view bound codeba9f9981slick add explicit return type for implicit conversion06af1ed5small typo886a14d0fix some spelling/grammar errors in the docs4d07e94eslick #1334 add DBIOAction.collectc9354371Change deprecated TableQuery referencec9d84db8Fix Sphinx warning caused by too short underline.00f3ea7fAdd documentation for building Sphinx documentation.221905a1Add custom ‘circle.yml’ for running all the test using the oraclejdk8ef671539Throw exception on non boolean argument to ignoreInvalidDefaults8fe849e7Added ignoreInvalidDefaults parameter to codegen main method280b5e90Add an example of using a subselect in a delete.24a27406Update the example data url1f2df845+slick #1333 add zipWith to DBIOAction48122359+slick #1329 add flatten to DBIOAction2e6a35efRemove duplicate reactive-streams bundle from osgitests/osgiBundleFilesf8fde989Some documentation improvements9fe32269fix transaction for postgresql upsert9e88a9baAdd strip margin functionality to SQL-interpolated stringse46a0a53Package structure refactoringca19b6e0Also generatesetandupdateinmapTofast-path converters.de88a610Generate Fast Path Converters in.mapTo3e297601Move simple Fast Path API up toRelationalProfiled980dbb2Add a macro-based operator for mapping projections to case classes44687335Some simplifications that were enabled by bug fixes in Scala 2.11ef65d0b2Run Reactive Streams tests with ScalaTest20aed4caRequire Java 8 and Scala 2.11
