Slick 2.0.0-M1
June 07 2013
We have just released Slick 2.0.0-M1, the first milestone for Slick 2.0. 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.0.0-M1.
These are the major new features added in this miletone:
- Refactored profile and driver architecture to support non-SQL databases
- A query interpreter and in-memory driver
- Code generator phase incorporated into the query compiler
- Query scheduling
- Full type information available in query ASTs
- Support for server-side Option conversions (e.g. .getOrElse on a computed Option column)
- Improved direct embedding
Note that this is not a production-ready or beta release. In particular, the manual has not yet been updated to reflect the changes and new features (but there are unit tests and scaladoc comments for them). The Slick Extensions package is not available for this milestone release.
Here is a complete list of changes since 1.0.1:
2b45d1fBump version number to 2.0.0-M1054382eMerge pull request #162 from slick/tmp/distributed-driver65be9d6Merge pull request #122 from slick/tmp/memory-driver65a0c21Remove TableSymbol.aa88230A simpler encoding of ‘from’ refs in Query objects.96c338cA first working version of distributed querying.ca7b178Simplify the early query compiler phases8aa7242Move assignTypes phase further up8b15deeAdd DistributedProfile/Driver/Backend.3a6202aClean up cname/confName confusion in TestKit400c5b6Switch UnionTest and TemplateTest to RelationalProfile.1429ebcSplit up ScalarFunctionTest into Relational and Jdbc parts.65c94abSwitch PagingTest and PrimaryKeyTest to RelationalProfile.a09b77cSwitch NestingTest and NewQuerySemanticsTest to RelationalProfile.67582b4Split MiscTest into RelationalMiscTest and JdbcMiscTest.688961aSwitch ColumnDefaultTest and ForeignKeyTest to RelationalProfile.8008e34Make joins work in QueryInterpreter.6e3dc09Move BigDecimal support and ColumnType aliases up to RelationalProfile.e5e0b53First cut of HeapBackend + MemoryProfile implementations.b5ffa2fRefactor code generator + insert compiler phases7aafec5Add insertion to BasicProfile.44cdd0cMove more functionality up to Basic/Relational/SqlProfile.378d2e0Move Table and Sequence into RelationalProfile, DDL into BasicProfile.d74c374Move QueryTemplate functionality up into BasicProfile.035e809TestKit refactoring to support non-JdbcDriver tests.394b83fCreate a new RelationalProfile for relational non-SQL data stores.c84a049Merge all changes from 1.0.1-RC1 back into master.5ad68bbMerge pull request #149 from slick/tmp/matchSymbols3ee3803Merge pull request #139 from slick/tmp/test-for-issue3645ea275direct embedding: renamed -> annotation to slickOp(erator)-
fb0f32ddirect embedding: added meaningful tests forand &&. Remove incomplete implementation of size. 33b053edirect embedding: symbol based mapping of main methods9645133direct embedding refactoring654c3c5direct embedding: symbol-based and easier to read method mapping scala to slick159125fdirect embedding: mapping to more generic slick typesae4f087New test case for issue #36, works as intended.a180000matching column types via symbols instead of namesb7735b8Merge pull request #103 from ndeverge/apidocacad723Merge pull request #127 from slick/tmp/dont-lift-bound-rows3806205Merge pull request #128 from slick/tmp/fix-doctests421c6e3Update the syntax used by the documentation snippets.6e839c6Propagate the type of “count” operations through the query compiler.2e5dc1bThrow an exception when trying to lift a bound table row to a Query.bf45e42Revert cd8cbea5a4c31fbabb25075038a202577263c39b due to broken build.adb4f57Merge pull request #109 from slick/tmp/switch-dbprops58d7babMerge pull request #90 from nafg/patch-2d7a1e82Merge pull request #91 from aloiscochard/topic/querytemplate-functioncd8cbeadirect embedding match tuples via symbols (fixes macro paradise incompatibility mentioned in https://github.com/slick/slick/pull/112/files#L4R106)0603804Set path to databases.properties through system property.d847994Merge pull request #106 from slick/tmp/irrefutable-filter-conditions237306cRemove Filter nodes with a LiteralNode(true) as the filter condition.a81db73Add the title and version at the generated API doc2451ed2Merge pull request #99 from slick/tmp/remove-old-type-encoding90abb12added type mapping to direct embedding (fixes tests)06e058eFurther marginalization of Columns.06bec9bRemove the old type encoding.518a498Remove dependency on linearizers from constraint handling and templates.de5c5b1Bring the design of InsertInvoker closer to the other invokers.1b0c3b8Use the new JdbcCodeGen phase for UpdateInvoker3467dcbUse the new JdbcCodeGen phase for DeleteInvoker09d17aaSwitch QueryExecutor over to the new execution model.12c746eAdd the ability to perform result set updates to the compiled mappings.f0a28baCompile client-side mapping to JDBC-specific conversion functions.3d17ecbEncode MappedProjections in the AST.cef0c6cAdd option for setting a build target dir.d0e43d8Merge branch ‘1.0’9c3f117Merge pull request #89 from slick/topic/codegen-phase2da1f305Make the test run on Access via JdbcOdbcDriver again.607a788Make Invoker a subtype of Function1f35a8d9Update src/main/scala/scala/slick/util/iter/Iteratee.scalac652c17Make convertToComprehensions work on typed trees.c6c968fBug fix: Memoize on the target node instead of the ref in localizeRefs.1008bf2Remove an unnecessary createSelect() call in comprehension fusion.4398eafMake fuseComprehensions work on typed trees88d6029Bug fix: Reuse SymbolNamer when copying the CompilerStatedf1735bMake fixRowNumberOrdering work on typed trees36c4882Remove mutability from QueryCompiler state (except for the SymbolNamer)96bab55Proper translation of Option conversions into SQL.c76e1fcHoist client ops up into ResultSetMapping and make that fully typed.ecf304aPreserve column type information in some compiler phases.d5fa2aaAdd “Self” type to Node for better return types.ef9bd95Replace ExtendedProfile and ExtendedDriver with deprecated type aliases.90c3e37Pass fully compiled ASTs to invokers and executors.51096f6Remove OldTest.53af1c5Add codeGen phase to generate SQL code within the AST.ee0b3fdMerge branch ‘1.0’1626447Encode Option conversions into the AST and remove deprecated methods.607ff31Merge branch ‘1.0’0a9dea6direct embedding null ordering support5f63606direct embedding better exceptions for wrong use of internal functionsfa64ec1reverse ordering for direct embedding/collections (aka descending)1a20e72direct embedding sortBy (ignoring Ordering[_]) for now limited to scalar values and tuples8f2b270direct embedding now supports nullable/Optioncdc16bcMerge branch ‘1.0’5d0a003Merge remote-tracking branch ‘slick/1.0’ into masterb2cd356Fix import to use scala.slick instead of slick3f44665Merge branch ‘master’ of git@github.com:slick/slick.git7876b09Merge branch ‘1.0’f6fcd88Merge branch ‘1.0’53215d2refactored QueryableTesteb8cbaddirect embedding: added drop and take9fbbf3b! and != support for direct embeddingc5f16b7Use the shiny new type information in the query AST for better casts.bee3333Fix typing of Comprehension nodes & assign types after relational phases.4b5ebeaBuild against Scala 2.10.0-RC3 and bump Slick version91582a6Merge pull request #63 from paulp/local-scalafaaa4a7Narrow down ProductNode.apply to require a Seq[Node]2c198c1Keep type information in all AST nodes.1603604Expose local scala home as a system property.f346209Enable building against locally compiled Scala version.32a65f7Remove deprecated featuresbec5613Allow fusion if the inner Comprehension is a Union wrapper.797e811Remove old-style aggregation functions.df40f1dFix lifting of aggregation functions which reference other generators.2f7b933Fix statement logging (broken by the backend refactoring)21bef4cBug fix: Correctly relabel selects of implicit joins in relabelUnions.84a29adMerge branch ‘1.0’ into topic/backend-refactoring2271685Simplify DefNode: No need to implement nodePostGeneratorChildren any moree7458ceSimplify RefNode: Only one Symbol per Node alloweda568b8fRemove the non-“Simple” Node, DefNode and RefNode versions.02cf916Remove nodeMapNodes and simplify mapOrNone49cb16dMerge branch ‘master’ into topic/backend-refactoring92f191fMerge branch ‘master’ into topic/backend-refactoring02d5224Simplify construction of typed standard library calls474dd82Merge branch ‘master’ into topic/backend-refactoring47c98acFix op handling in Column.forNode and use this instead of WrappedColumn.af0aca8Remove TypeMapper abstraction.df2060cAlways perform TypeMapperDelegate lookup through typeInfoFor2371e05Further preparations for moving type information into the AST2b4c49cFurther disentanglement of AST/compiler and lifted embedding.81ab87aPrint types of Typed nodes in AST dumps04a47b5Add type information to all standard library callsd7cb723Allow building with JDK 6 and JDK 74dfdddeRemove some cruftb37ca03Move SQL utils down from JdbcProfile to SqlProfilee172ea2Refactor BasicProfile into BasicProfile, SqlProfile and JdbcProfile6d0f93cExpose Database in JDBC Session and add UnmanagedSessionb3c672dDon’t use path-dependent types for the Backend from the Driver.94a5587Backend cake with path-dependent types in driver - almost working.
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,...
