Repository navigation
Releases
v4.0.0-RC2
RC2 of slick v4.0.0 with major cleanup to examples. Examples are now using the dot (method) syntax instead of infix. See #3685
What's Changed
Highlights 🎉
- Build and release against a minimum required Java version of 17 by @nafg in #3203
- Slick 4 by @hvesalai in #3542
Enhancements ✨
- Generated columns in codegen, binary incompatible by @MarmaladeSky in #3168
- Add nextNonNull for cases where the developer asserts that the SQL value is not NULL #3149 by @raphael-speyer-da in #3160
- feat!: AVG should always return Double by @nafg in #3188
- Add .forShare to support SELECT ... FOR SHARE by @lexi-lambda in #3271
- Re-implement
stripMarginfor plain sql interpolator by @dwickern in #3332
Bugs fixed 🐛️
- Fix mapTo compiling when it shouldn't on Scala 3 by @xuwei-k in #3156
- Fix H2 codegen VARCHAR length issue and update AVG docs by @nafg in #3192
- Fix
insertAllwith empty collections generating invalid SQL by @emmanuel-ferdman in #3351
Chores 🛠
- Update mcr.microsoft.com/mssql/server Docker tag to v2025 by @renovate[bot] in #3155
- Update dependency com.github.sbt:sbt-ci-release to v1.11.0 by @renovate[bot] in #3157
- Update dependency sbt/sbt to v1.11.0 by @renovate[bot] in #3158
- Update dependency com.oracle.database.jdbc.debug:ojdbc8_g to v21.18.0.0 by @renovate[bot] in #3162
- Update dependency com.github.sbt:sbt-ci-release to v1.11.1 by @renovate[bot] in #3163
- Update dependency sbt/sbt to v1.11.1 by @renovate[bot] in #3164
- Update dependency sbt/sbt to v1.11.2 by @renovate[bot] in #3165
- Major release should not be blocked by binary-incompatibility by @MarmaladeSky in #3171
- Sonatype snapshot resolvers warning correction by @MarmaladeSky in #3174
- Update dependency sbt/sbt to v1.11.3 by @renovate[bot] in #3175
- Update postgresql to 42.7.7 by @scala-steward in #3166
- Refactor Shape.primitiveShape to use Rep.TypedRep instead of ConstColumn by @nafg in #3179
- Make Versioning settings take precedence over CiReleasePlugin (by "requiring" it) by @nafg in #3180
- Update scala3-library to 3.3.4 by @slick-scala-steward[bot] in #3022
- Update scala3-library to 3.3.6 by @scala-steward in #3152
- Add CLAUDE.md by @nafg in #3182
- Fix noisy compatibility report comments on dependency PRs by @nafg in #3178
- Refactor sequence DDL builders to use built-in support traits for better code reuse by @nafg in #3186
- DRY Table DDLs that add a unique constraint in lieu of creating a unique index by @nafg in #3187
- chore(deps): update dependency com.typesafe:config to v1.4.4 by @renovate[bot] in #3189
- Update dependency com.h2database:h2 to v2 by @renovate[bot] in #2461
- docs: Update CLAUDE.md with cross-database testing instructions and c… by @nafg in #3191
- refactor: Remove Java 8 reference from SQL Server dependency by @nafg in #3195
- ci.yml: the testing-only java version doesn't need to be LTS by @nafg in #3194
- chore(deps): update dependency org.xerial:sqlite-jdbc to v3.50.2.0 by @renovate[bot] in #2688
- Use stable Java matrix names to avoid Mergify updates by @nafg in #3201
- Speed up CI by disabling Scaladoc diagrams by @nafg in #3202
- Pin dependencies for java 11 on main branch by @nafg in #3206
- Tell renovate to target java17 branch by @nafg in #3210
- Update renovate configuration for SQL Server and Derby packages by @nafg in #3212
- Fix scala-steward config: change prefix to suffix for SQL Server versions by @nafg in #3216
- Fix Renovate configuration: replace allowedVersions with versionPattern for SQL Server packages by @nafg in #3220
- Fix Renovate configuration: replace invalid versionPattern with allowedVersions regex by @nafg in #3224
- chore(deps): update dependency com.microsoft.sqlserver:mssql-jdbc to v7.4.1.jre11 by @renovate[bot] in #3205
- Update mssql-jdbc to 12.10.1.jre11 by @scala-steward in #3228
- Fix SQL Server 2025 docker-compose.yml container crashes on Intel hybrid CPUs by @nafg in #3229
- Fix Renovate configuration: update package rules for SQL Server and A… by @nafg in #3231
- test-dbs improvements by @nafg in #3230
- chore(deps): update dependency org.apache.derby:derby to v10.15.2.0 (main) by @renovate[bot] in #3232
- Set up a GitHub Actions workflow for Copilot Agent to use (vibe-kanban) by @nafg in #3236
- chore(deps): update dependency com.zaxxer:hikaricp to v6.3.1 (main) by @renovate[bot] in #3238
- chore(deps): update dependency org.xerial:sqlite-jdbc to v3.50.3.0 (main) by @renovate[bot] in #3240
- Update HikariCP to 6.3.2 by @scala-steward in #3242
- chore(deps): update dependency com.zaxxer:hikaricp to v7 (main) by @renovate[bot] in #3244
- Update mysql-connector-j to 9.4.0 by @scala-steward in #3246
- chore(deps): update dependency com.oracle.database.jdbc.debug:ojdbc8_g to v21.19.0.0 (main) by @renovate[bot] in #3248
- chore(deps): update dependency sbt/sbt to v1.11.4 (main) by @renovate[bot] in #3252
- chore(deps): update actions/download-artifact action to v5 (main) by @renovate[bot] in #3254
- chore(deps): update dependency com.zaxxer:hikaricp to v7.0.1 (main) by @renovate[bot] in #3257
- chore(deps): update actions/checkout action to v5 (main) by @renovate[bot] in #3259
- chore(deps): update dependency com.microsoft.sqlserver:mssql-jdbc to v13 (main) by @renovate[bot] in #3262
- chore(deps): update dependency com.github.sbt:sbt-ci-release to v1.11.2 (main) by @renovate[bot] in #3263
- chore(deps): update dependency com.zaxxer:hikaricp to v7.0.2 (main) by @renovate[bot] in #3269
- chore(deps): update actions/setup-java action to v5 (main) by @renovate[bot] in #3272
- Remove obsolete SecurityManager code for JDK 25 compatibility by @nafg with @Copilot in #3266
- chore(deps): update dependency sbt/sbt to v1.11.5 (main) by @renovate[bot] in #3275
- chore(deps): update actions/github-script action to v8 (main) by @renovate[bot] in #3277
- chore(deps): update dependency sbt/sbt to v1.11.6 (main) by @renovate[bot] in #3279
- chore(deps): update dependency com.typesafe:config to v1.4.5 (main) by @renovate[bot] in #3281
- chore(deps): update dependency org.postgresql:postgresql to v42.7.8 (main) by @renovate[bot] in #3284
- chore(deps): update dependency com.h2database:h2 to v2.4.240 (main) by @renovate[bot] in #3286
- Update logback-classic to 1.5.19 by @scala-steward in #3288
- chore(deps): update dependency sbt/sbt to v1.11.7 (main) by @renovate[bot] in #3290
- Update scala-collection-compat to 2.14.0 by @scala-steward in #3295
- Update mssql-jdbc to 13.2.1.jre11 by @scala-steward in #3302
- Update scala3-library to 3.3.7 by @scala-steward in #3305
- chore(deps): update dependency ch.qos.logback:logback-classic to v1.5.20 (main) by @renovate[bot] in #3307
- chore(deps): update dependency org.scoverage:sbt-scoverage to v2.4.0 (main) by @renovate[bot] in #3312
- chore(deps): update github artifact actions (main) (major) by @renovate[bot] in #3316
- chore(deps): update dependency com.mysql:mysql-connector-j to v9.5.0 (main) by @renovate[bot] in #3320
- chore(deps): update dependency org.xerial:sqlite-jdbc to v3.5...
v4.0.0-RC1
Slick 4.0.0-RC1
First release candidate for Slick 4.0 — a major, breaking release. As a release candidate, APIs may still change before the final 4.0.0.
Headline: Slick is no longer tied to Future
Slick's execution layer is now polymorphic over the effect type, so Slick is no longer Future-only. The query DSL, SQL compiler pipeline, DBIOAction and its combinators, the Effect phantom types (Read/Write/Schema/Transactional), all database profiles, and all SQL generation are unchanged — what changed is how you construct a database and run actions. Version 4 ships three ready-made facades:
| Facade | Module | Effect type | Stream type |
|---|---|---|---|
slick.future.Database |
slick-future |
scala.concurrent.Future |
Reactive Streams DatabasePublisher[T] |
slick.cats.Database |
slick (core) |
cats.effect.IO |
fs2.Stream[IO, T] |
slick.zio.Database |
slick-zio |
zio.Task |
zio.stream.ZStream[Any, Throwable, T] |
Upgrading from Slick 3 (breaking)
Full guide at https://scala-slick.org/doc/4.0.0-RC1/migrating-to-slick4.html
If you use the existing Future API and are not already on Cats Effect or ZIO, switch to the slick-future module — it keeps Future and Reactive Streams where they were. db.run(a) still returns Future[R]; the main changes are:
- Add the dependency:
"com.typesafe.slick" %% "slick-future" % "4.0.0-RC1" - Import from its new home:
import slick.future.Database - Construct differently:
DatabaseConfig.forConfig[P]("mydb")→Database.open(dc)/Database.use(dc)(f). The oldDatabase.forConfig,AsyncExecutor, anddb.shutdownare removed. map/flatMaponDBIOActionno longer take an implicitExecutionContext.
See the Migrating to Slick 4 guide for the full mechanical checklist. Slick 4 supports Scala 2.12, 2.13, and 3.
Tremendous thanks to @hvesalai for the Slick 4 rework (#3542)!!
What's Changed
Highlights 🎉
- Slick 4 by @hvesalai in #3542
- Build and release against a minimum required Java version of 17 by @nafg in #3203
Enhancements ✨
- Generated columns in codegen, binary incompatible by @MarmaladeSky in #3168
- Add nextNonNull for cases where the developer asserts that the SQL value is not NULL #3149 by @raphael-speyer-da in #3160
- feat!: AVG should always return Double by @nafg in #3188
- Add .forShare to support SELECT ... FOR SHARE by @lexi-lambda in #3271
- Re-implement
stripMarginfor plain sql interpolator by @dwickern in #3332 - Simplify DatabaseConfig and facad Database factory methods by @hvesalai in #3543
Bugs fixed 🐛️
- Fix mapTo compiling when it shouldn't on Scala 3 by @xuwei-k in #3156
- Fix H2 codegen VARCHAR length issue and update AVG docs by @nafg in #3192
- Fix
insertAllwith empty collections generating invalid SQL by @emmanuel-ferdman in #3351 - Fix .withStatementParameters (or any other CleanUpAction) in streams by @hvesalai in #3557
Chores 🛠
- Update mcr.microsoft.com/mssql/server Docker tag to v2025 by @renovate[bot] in #3155
- Update dependency com.github.sbt:sbt-ci-release to v1.11.0 by @renovate[bot] in #3157
- Update dependency sbt/sbt to v1.11.0 by @renovate[bot] in #3158
- Update dependency com.oracle.database.jdbc.debug:ojdbc8_g to v21.18.0.0 by @renovate[bot] in #3162
- Update dependency com.github.sbt:sbt-ci-release to v1.11.1 by @renovate[bot] in #3163
- Update dependency sbt/sbt to v1.11.1 by @renovate[bot] in #3164
- Update dependency sbt/sbt to v1.11.2 by @renovate[bot] in #3165
- Major release should not be blocked by binary-incompatibility by @MarmaladeSky in #3171
- Sonatype snapshot resolvers warning correction by @MarmaladeSky in #3174
- Update dependency sbt/sbt to v1.11.3 by @renovate[bot] in #3175
- Update postgresql to 42.7.7 by @scala-steward in #3166
- Refactor Shape.primitiveShape to use Rep.TypedRep instead of ConstColumn by @nafg in #3179
- Make Versioning settings take precedence over CiReleasePlugin (by "requiring" it) by @nafg in #3180
- Update scala3-library to 3.3.4 by @slick-scala-steward[bot] in #3022
- Update scala3-library to 3.3.6 by @scala-steward in #3152
- Add CLAUDE.md by @nafg in #3182
- Fix noisy compatibility report comments on dependency PRs by @nafg in #3178
- Refactor sequence DDL builders to use built-in support traits for better code reuse by @nafg in #3186
- DRY Table DDLs that add a unique constraint in lieu of creating a unique index by @nafg in #3187
- chore(deps): update dependency com.typesafe:config to v1.4.4 by @renovate[bot] in #3189
- Update dependency com.h2database:h2 to v2 by @renovate[bot] in #2461
- docs: Update CLAUDE.md with cross-database testing instructions and c… by @nafg in #3191
- refactor: Remove Java 8 reference from SQL Server dependency by @nafg in #3195
- ci.yml: the testing-only java version doesn't need to be LTS by @nafg in #3194
- chore(deps): update dependency org.xerial:sqlite-jdbc to v3.50.2.0 by @renovate[bot] in #2688
- Use stable Java matrix names to avoid Mergify updates by @nafg in #3201
- Speed up CI by disabling Scaladoc diagrams by @nafg in #3202
- Pin dependencies for java 11 on main branch by @nafg in #3206
- Tell renovate to target java17 branch by @nafg in #3210
- Update renovate configuration for SQL Server and Derby packages by @nafg in #3212
- Fix scala-steward config: change prefix to suffix for SQL Server versions by @nafg in #3216
- Fix Renovate configuration: replace allowedVersions with versionPattern for SQL Server packages by @nafg in #3220
- Fix Renovate configuration: replace invalid versionPattern with allowedVersions regex by @nafg in #3224
- chore(deps): update dependency com.microsoft.sqlserver:mssql-jdbc to v7.4.1.jre11 by @renovate[bot] in #3205
- Update mssql-jdbc to 12.10.1.jre11 by @scala-steward in #3228
- Fix SQL Server 2025 docker-compose.yml container crashes on Intel hybrid CPUs by @nafg in #3229
- Fix Renovate configuration: update package rules for SQL Server and A… by @nafg in #3231
- test-dbs improvements by @nafg in #3230
- chore(deps): update dependency org.apache.derby:derby to v10.15.2.0 (main) by @renovate[bot] in #3232
- Set up a GitHub Actions workflow for Copilot Agent to use (vibe-kanban) by @nafg in #3236
- chore(deps): update dependency com.zaxxer:hikaricp to v6.3.1 (main) by @renovate[bot] in #3238
- chore(deps): update dependency org.xerial:sqlite-jdbc to v3.50.3.0 (main) by @renovate[bot] in #3240
- Update HikariCP to 6.3.2 by @scala-steward in #3242
- chore(deps): update dependency com.zaxxer:hikaricp to v7 (main) by @renovate[bot] in #3244
- Update mysql-connector-j to 9.4.0 by @scala-steward in #3246
- chore(deps): update dependency com.oracle.database.jdbc.debug:ojdbc8_g to v21.19.0.0 (main) by @renovate[bot] in #3248
- chore(deps): update dependency sbt/sbt to v1.11.4 (main) by @renovate[bot] in #3252
- chore(deps): update actions/download-artifact action to v5 (main) by @renovate[bot] in #3254
- chore(deps): update dependency com.zaxxer:hikaricp to v7.0.1 (main) by @renovate[bot] in #3257
- chore(deps): update actions/checkout action to v5 (main) by @renovate[bot] in #3259
- chore(deps): update dependency com.microsoft.sqlserver:mssql-jdbc to v13 (main) by @renovate[bot] in #3262
- chore(deps): update dependency com.github.sbt:sbt-ci-release to v1.11.2 (main) by @renovate[bot] in #3263
- chore(deps): update dependency com.zaxxer:hikaricp to v7.0.2 (main) by @renovate[bot] in #3269
- chore(deps): update actions/setup-java...
v3.6.1
What's Changed
Bugs fixed 🐛️
- fix Scala 3 TableQuery macro by @xuwei-k in #3151
- don't mess with columns order, closes #3146 by @OlegYch in #3147
- fix
mapTomacro by @xuwei-k in #3148 - allow different projections of same table, closes #3144 by @OlegYch in #3145
Chores 🛠
- Update dorny/test-reporter action to v2 by @renovate in #3134
- Update dependency sbt/sbt to v1.10.11 by @renovate in #3136
- Update dependency ch.qos.logback:logback-classic to v1.5.18 by @renovate in #3137
- Update dependency com.zaxxer:HikariCP to v6.3.0 by @renovate in #3138
- Update scala-compiler, scala-library to 2.13.16 by @scala-steward in #3114
- Update sbt-ci-release to 1.9.3 by @scala-steward in #3135
- Update dependency org.scoverage:sbt-scoverage to v2.3.1 by @renovate in #3108
- Update dependency com.mysql:mysql-connector-j to v9.3.0 by @renovate in #3150
Other Changes
Full Changelog: v3.6.0...v3.6.1
v3.6.0
What's Changed
Breaking ⚠️
Enhancements ✨
- Invoker.first: Fix error message formatting by @nafg in #3083
- Adding KeepAlive config to HikariCPJdbcDataSource. Fixes #3071 by @ahaklife in #3119
Bugs fixed 🐛️
Documentation improvements 📃️
- Update samples snippet links by @nafg in #3025
- Added scala3 migration instructions by @zhaodaye2022 in #3121
Chores 🛠
- Update dependency org.slf4j:slf4j-api to v2.0.14 by @renovate in #2985
- Update dependency com.oracle.database.jdbc.debug:ojdbc8_g to v21.15.0.0 by @renovate in #2987
- Update slf4j-api to 2.0.15 by @slick-scala-steward in #2988
- Update dependency com.typesafe:sbt-mima-plugin to v1.1.4 by @renovate in #2990
- Update dependency org.slf4j:slf4j-api to v2.0.16 by @renovate in #2989
- Update sbt-sonatype to 3.11.2 by @slick-scala-steward in #2991
- Update sbt-ci-release to 1.6.0 by @scala-steward in #2996
- Update dependency ch.qos.logback:logback-classic to v1.5.7 by @renovate in #2998
- Update dependency org.xerial.sbt:sbt-sonatype to v3.11.3 by @renovate in #3001
- Update dependency com.github.sbt:sbt-ci-release to v1.6.1 by @renovate in #2995
- Update dependency org.scoverage:sbt-scoverage to v2.1.1 by @renovate in #3003
- Update postgresql to 42.7.4 by @slick-scala-steward in #3005
- Update sbt-scoverage to 2.2.0 by @slick-scala-steward in #3008
- Update scala-compiler, scala-library to 2.12.20 by @slick-scala-steward in #3007
- Update logback-classic to 1.5.8 by @slick-scala-steward in #3011
- .mergify.yml: update to fix deprecations by @nafg in #3012
- Update sbt to 1.10.2 by @slick-scala-steward in #3013
- Update dependency com.zaxxer:HikariCP to v6 by @renovate in #3014
- Update scala-compiler, scala-library to 2.13.15 by @slick-scala-steward in #3017
- Update sbt-scoverage to 2.2.1 by @slick-scala-steward in #3015
- Scala 2.13.15 scoverage 2.2.1 by @nafg in #3020
- Update dependency ch.qos.logback:logback-classic to v1.5.9 by @renovate in #3032
- Update sbt-ci-release to 1.7.0 by @slick-scala-steward in #3031
- Update dependency org.xerial.sbt:sbt-sonatype to v3.12.0 by @renovate in #3034
- Update sbt-sonatype to 3.12.1 by @slick-scala-steward in #3035
- Update dependency org.xerial.sbt:sbt-sonatype to v3.12.2 by @renovate in #3036
- Update logback-classic to 1.5.10 by @slick-scala-steward in #3038
- Update logback-classic to 1.5.11 by @slick-scala-steward in #3044
- Update sbt-ci-release to 1.8.0 by @slick-scala-steward in #3045
- Update mysql-connector-j to 9.1.0 by @slick-scala-steward in #3046
- Update sbt-scoverage to 2.2.2 by @slick-scala-steward in #3049
- Update sbt to 1.10.3 by @slick-scala-steward in #3052
- Install
sbtexplicitly during Github Action run by @Friendseeker in #3043 - Update sbt-ci-release to 1.9.0 by @scala-steward in #3056
- Update logback-classic to 1.5.12 by @slick-scala-steward in #3058
- Update Oracle docker image by @nafg in #3097
- Update ojdbc8_g to 21.16.0.0 by @scala-steward in #3078
- Update dependency org.freemarker:freemarker to v2.3.34 by @renovate in #3100
- Update dependency sbt/sbt to v1.10.7 by @renovate in #3059
- Update hsqldb to 2.7.4 by @slick-scala-steward in #3062
- Update dependency com.zaxxer:HikariCP to v6.2.1 by @renovate in #3068
- Update HikariCP to 6.2.1 by @slick-scala-steward in #3074
- Update paxExamVersion to v4.14.0 by @renovate in #3080
- Update dependency ch.qos.logback:logback-classic to v1.5.15 by @renovate in #3085
- Update logback-classic to 1.5.16 by @scala-steward in #3112
- Update dependency com.mysql:mysql-connector-j to v9.2.0 by @renovate in #3117
- Update dependency org.scala-lang.modules:scala-collection-compat to v2.13.0 by @renovate in #3122
- Update dependency com.oracle.database.jdbc.debug:ojdbc8_g to v21.17.0.0 by @renovate in #3124
- Update dependency ch.qos.logback:logback-classic to v1.5.17 by @renovate in #3128
- Update dependency org.slf4j:slf4j-api to v2.0.17 by @renovate in #3129
- Update sbt, scripted-plugin to 1.10.9 by @scala-steward in #3131
- Update dependency sbt/sbt to v1.10.10 by @renovate in #3132
Other Changes
New Contributors
- @Friendseeker made their first contribution in #3043
- @ahaklife made their first contribution in #3119
- @zhaodaye2022 made their first contribution in #3121
Full Changelog: v3.5.2...v3.6.0
v3.5.2
Note: this release requires a minimum Java version of 11
What's Changed
Highlights 🎉
- Add
DBIO#void,DBIO#as,DBIO.unitby @iRevive in #2911 - Add
DBIO#traverseby @iRevive in #2929 - Minimum Java version of 11 by @nafg in #2960
- Added HList::: concat by @sofoklis in #2962
- HList_apply_Idx by @sofoklis in #2967
- Strip null chars from postgres string jdbc type on setValue by @jdrphillips in #2944
Documentation improvements 📃️
- fix typo by @xuwei-k in #2964
- Add cookbook entry showing how to distinguish DBIOActions by Effect type at runtime by @alexklibisz in #2968
Chores 🛠
- version-policy-check.yml: Fix missing scala version and allow manual trigger by @nafg in #2926
- Let version policy prevent merging by @nafg in #2928
- Set versionPolicyIntention to BumpMajor by @nafg in #2954
- Update sbt-version-policy to 3.2.1 by @slick-scala-steward in #2946
- Update sbt to 1.10.0 by @slick-scala-steward in #2952
- Update scala-collection-compat to 2.12.0 by @slick-scala-steward in #2951
- Update sbt-scoverage to 2.0.12 by @slick-scala-steward in #2953
- Update dependency com.mysql:mysql-connector-j to v8.4.0 by @renovate in #2936
- Update scala-compiler, scala-library to 2.13.14 by @slick-scala-steward in #2949
- Update ojdbc8_g to 21.14.0.0 by @slick-scala-steward in #2958
- Update hsqldb to 2.7.2 by @slick-scala-steward in #2725
- Update HikariCP to 5.1.0 by @slick-scala-steward in #2851
- Update dependency ch.qos.logback:logback-classic to v1.5.6 by @renovate in #2676
- Update dependency org.hsqldb:hsqldb to v2.7.3 by @renovate in #2727
- Update freemarker to 2.3.33 by @slick-scala-steward in #2965
- Update dependency org.xerial.sbt:sbt-sonatype to v3.11.0 by @renovate in #2971
- Update mysql-connector-j to 9.0.0 by @slick-scala-steward in #2972
- Update sbt-scoverage to 2.1.0 by @slick-scala-steward in #2975
- Update sbt to 1.10.1 by @slick-scala-steward in #2977
- Update sbt-sonatype to 3.11.1 by @scala-steward in #2983
New Contributors
- @jdrphillips made their first contribution in #2944
Full Changelog: v3.5.1...v3.5.2
v3.5.1
What's Changed
Highlights 🎉
Chores 🛠
- Update dependency org.postgresql:postgresql to v42.7.3 by @renovate in #2917
- Update dependency org.slf4j:slf4j-api to v2.0.13 by @renovate in #2923
- Update actions/upload-artifact action to v4 by @renovate in #2893
- Update paradox-theme-generic, sbt-paradox to 0.10.7 by @scala-steward in #2919
Other Changes
- Add slick-compat-collection to MiMa exclude filter by @mdedetrich in #2913
- Set versionPolicyIntention to BumpMinor by @nafg in #2916
- Fix test-report step 1 by @nafg in #2924
Full Changelog: v3.5.0...v3.5.1
v3.5.0
What's Changed
Highlights 🎉
- Drop support for old SQL Server versions by @nafg in #2558
- Insert multiple rows using a single SQL statement by @jkugiya in #2398
- Adds insertOrUpdateAll by @jkugiya in #2397
- Fix SQL Server tests. Drops JTDS by @nafg in #2560
- Drop scala 2.12 by @nafg in #2633
- Add -Xsource:3 to scalacOptions by @nafg in #2662
- Remove some more advanced HList features by @nafg in #2693
- Remove specialization by @nafg in #2695
- Remove
MappedTotrait (single-param case classes extending it were mapped automatically to the underlying type) by @nafg in #2698 - Remove
tsqlinterpolator, andstripMarginmethod for Plain SQL queries. by @nafg in #2696 - un-deprecate
countDistinctmethod by @xuwei-k in #2649 - Remove deprecated features by @nafg in #2710
- Revert drop scala 212 by @mdedetrich in #2734
- #2701 Add conditional filterNot methods (filterNotIf/filterNotOpt) support by @sebastianrozyczka in #2751
- Scala 3 support by @nafg in #2687
Enhancements ✨
- Attach base statement as child for asTry dumpInfo by @natefitzgerald in #2584
- More type-safe way of expressing profiles' support of RowsPerStatement.All by @nafg in #2612
- Add exceptionOverrideClassName config for HikariCP by @jsoizo in #2621
- Make
binterpolator not use macros by @nafg in #2684 - Restore ability to concat sql strings, closes #1161 by @OlegYch in #2796
- MappedProjection: make the source type no longer part of the API by @nafg in #2854
- Fix
getOrElsetype inference issue in Scala 3, closes #2761 by @OlegYch in #2803
Bugs fixed 🐛️
- Handle in-use count errors by @nafg in #2619
- BasicBackend#DatabaseDef#releaseSession: null out the session first, … by @nafg in #2620
- Postgres date and time boundary conditions by @JamesMcIntosh in #2643
- avoid deprecated
java.net.URLconstructor by @xuwei-k in #2691 - OracleProfile: restore parentheses by @nafg in #2697
- For some reason searching by dates in some timezones occasionally fails on Oracle 11g XE, avoid them in tests by @OlegYch in #2685
- Fixed behavior of
insertOrUpdateon tables with auto_increment option by @jkugiya in #2785 - Replace filter on aggregates with CASE, closes #2235 by @OlegYch in #2832
- Support referencing group keys in nested query, closes #2422 by @OlegYch in #2877
Documentation improvements 📃️
- Document using the generic jdbc profile by @ElectricWound in #2586
- build.sbt: set site description setting by @nafg in #2623
- Document tupled workaround for Scala 3 by @mdedetrich in #2760
- Fix scaladoc -sourcepath issues by @nafg in #2769
- schemas.md: improve Mapped Tables section by @nafg in #2770
- upgrade.md: Add initial 3.5.0 section by @nafg in #2773
- upgrade.md: fix sections by @nafg in #2805
- upgrade.md: mention the change to MappedProjection from PR #2854 by @nafg in #2860
Chores 🛠
- Update slf4j-api to 2.0.0 by @scala-steward in #2549
- Update slf4j-api to 2.0.1 by @scala-steward in #2554
- Update dependency com.typesafe:sbt-mima-plugin to v1.1.1 by @renovate in #2555
- Drop Java 8 support by @nafg in #2557
- CompatReportPlugin: use details/summary tags by @nafg in #2559
- Update sbt-scoverage to 2.0.3 by @scala-steward in #2553
- Update logback-classic to 1.4.1 by @scala-steward in #2552
- Update dependency com.zaxxer:HikariCP to v5 by @renovate in #2463
- Update scala-compiler, scala-library to 2.12.17 by @scala-steward in #2556
- Update dependency org.scoverage:sbt-scoverage to v2.0.4 by @renovate in #2561
- Update dependency org.slf4j:slf4j-api to v2.0.2 by @renovate in #2562
- Update dependency org.slf4j:slf4j-api to v2.0.3 by @renovate in #2563
- build.sbt: versionPolicyIntention: BumpMajor by @nafg in #2565
- build.sbt: testAll should run versionPolicyCheck on actual modules by @nafg in #2566
- Update dependency org.scalatestplus:testng-7-5 to v3.2.14.0 by @renovate in #2564
- Update dependency ch.qos.logback:logback-classic to v1.4.2 by @renovate in #2568
- Update dependency ch.qos.logback:logback-classic to v1.4.3 by @renovate in #2569
- Update dependency ch.qos.logback:logback-classic to v1.4.4 by @renovate in #2574
- Update dependency org.scoverage:sbt-scoverage to v2.0.5 by @renovate in #2576
- Update hsqldb to 2.7.0 by @scala-steward in #2511
- Update sbt to 1.7.2 by @scala-steward in #2582
- Update ibmcom/db2 Docker tag to v11.5.8.0 by @renovate in #2585
- Update mysql-connector-java to 8.0.31 by @scala-steward in #2580
- Update dependency org.scoverage:sbt-scoverage to v2.0.6 by @renovate in #2587
- .mergify.yml: don't require signing Lightbend CLA by @nafg in #2590
- Update dependency org.hsqldb:hsqldb to v2.7.1 by @renovate in #2592
- Use scala version wildcards for ci.yml matrix by @nafg in #2594
- Update sbt-ci-release to 1.5.11 by @scala-steward in #2593
- Update scala-compiler, scala-library to 2.13.10 by @slick-scala-steward in #2577
- Update paradox-theme-generic, sbt-paradox to 0.10.3 by @slick-scala-steward in #2596
- Update dependency ch.epfl.scala:sbt-version-policy to v2.1.0 by @renovate in #2597
- use
CollectionConvertersinstead of deprecatedJavaConvertersby @xuwei-k in #2599 - add explicit types for implicits by @xuwei-k in #2598
- Update sbt to 1.7.3 by @slick-scala-steward in #2600
- Revert "Update sbt to 1.7.3" by @nafg in #2601
- Update sqlite-jdbc to 3.39.4.0 by @slick-scala-steward in #2603
- Update sbt to 1.7.3 by @scala-steward in #2604
- Update sbt to 1.8.0 by @slick-scala-steward in #2605
- Update dependency org.xerial:sqlite-jdbc to v3.39.4.1 by @renovate in #2606
- Update dependency org.slf4j:slf4j-api to v2.0.4 by @renovate in #2607
- Update dependency ch.qos.logback:logback-classic to v1.4.5 by @renovate in #2608
- Update dependency org.xerial:sqlite-jdbc to v3.40.0.0 by @renovate in #2609
- Update dependency org.postgresql:postgresql to v42.5.1 by @renovate in #2610
- Update dependency org.slf4j:slf4j-api to v2.0.5 by @renovate in #2611
- Update scala-collection-compat to 2.9.0 by @slick-scala-steward in #2613
- pr-compat-report-generate.yml: use -no-colors and switch to GH Environment Files by @nafg in #2616
- pr-compat-report-generate.yml: give up on piping and do the writing within SBT by @nafg in #2617
- Update dependency com.oracle.database.jdbc.debug:ojdbc8_g to v21.8.0.0 by @renovate in #2618
- Update dependency org.slf4j:slf4j-api to v2.0.6 by @renovate in #2624
- Restore Java 8 support by @nafg in #2622
- Update dependency org.scalatestplus:testng-7-5 to v3.2.15.0 by @renovate in #2629
- Update sbt to 1.8.2 by @scala-steward in #2630
- Publish with JDK 8 again by @nafg in #2632
- Update dependency org.f...
v3.5.0-RC1
What's Changed
Bugs fixed 🐛️
Chores 🛠
- Update logback-classic to 1.3.12 by @scala-steward in #2864
- Update actions/setup-java action to v4 by @renovate in #2866
- Update logback-classic to 1.3.13 by @scala-steward in #2867
- Update logback-classic to 1.3.14 by @scala-steward in #2870
- Update dependency org.postgresql:postgresql to v42.7.1 by @renovate in #2873
- Update dependency sbt/sbt to v1.9.8 by @renovate in #2875
- Update dependency org.slf4j:slf4j-api to v2.0.10 by @renovate in #2881
- Update slf4j-api to 2.0.11 by @scala-steward in #2884
- Update dependency com.mysql:mysql-connector-j to v8.3.0 by @renovate in #2885
- Update dependency com.lightbend.paradox:sbt-paradox to v0.10.6 by @renovate in #2886
- Update ts-graphviz/setup-graphviz action to v2 by @renovate in #2887
- Update dependency org.slf4j:slf4j-api to v2.0.12 by @renovate in #2888
- Only run inliner in CI by @mdedetrich in #2889
Full Changelog: v3.5.0-M5...v3.5.0-RC1
v3.5.0-M5
What's Changed
Enhancements ✨
- Restore ability to concat sql strings, closes #1161 by @OlegYch in #2796
- MappedProjection: make the source type no longer part of the API by @nafg in #2854
- Fix
getOrElsetype inference issue in Scala 3, closes #2761 by @OlegYch in #2803
Bugs fixed 🐛️
- Fixed behavior of
insertOrUpdateon tables with auto_increment option by @jkugiya in #2785 - Replace filter on aggregates with CASE, closes #2235 by @OlegYch in #2832
Documentation improvements 📃️
- Document tupled workaround for Scala 3 by @mdedetrich in #2760
- Fix scaladoc -sourcepath issues by @nafg in #2769
- schemas.md: improve Mapped Tables section by @nafg in #2770
- upgrade.md: Add initial 3.5.0 section by @nafg in #2773
- upgrade.md: fix sections by @nafg in #2805
- upgrade.md: mention the change to MappedProjection from PR #2854 by @nafg in #2860
Chores 🛠
- fix warning in
TransactionTestby @xuwei-k in #2762 - Update dependency com.lightbend.paradox:sbt-paradox to v0.10.4 by @renovate in #2764
- Update dependency com.lightbend.paradox:sbt-paradox to v0.10.5 by @renovate in #2765
- Update paradox-theme-generic, sbt-paradox to 0.10.5 by @slick-scala-steward in #2766
- Try Scala 3.3.1-RC3 by @nafg in #2758
- Update scala3-library to 3.3.1-RC4 by @slick-scala-steward in #2768
- build.sbt: default scala version to 2.13 by @nafg in #2771
- CompatReportPlugin: Remove
<detail>/<summary>by @nafg in #2772 - build.sbt: buildCompatReport: include header by @nafg in #2775
- Update dependency com.mysql:mysql-connector-j to v8.1.0 by @renovate in #2777
- Update sbt-version-policy to 2.1.2 by @slick-scala-steward in #2778
- Update dependency com.typesafe:sbt-mima-plugin to v1.1.3 by @renovate in #2780
- Update sbt-mima-plugin to 1.1.3 by @slick-scala-steward in #2781
- Update dependency sbt/sbt to v1.9.3 by @renovate in #2786
- Update sbt-version-policy to 2.1.3 by @slick-scala-steward in #2787
- Update logback-classic to 1.3.9 by @slick-scala-steward in #2789
- Update logback-classic to 1.3.10 by @slick-scala-steward in #2792
- Update logback-classic to 1.3.11 by @slick-scala-steward in #2794
- Update scala3-library to 3.3.1-RC5 by @slick-scala-steward in #2797
- Update ojdbc8_g to 21.11.0.0 by @slick-scala-steward in #2798
- Explicitly handle this.type soundness reported as error since Scala 3.4.x by @WojciechMazur in #2801
- Only use scala-collection-compat for Scala 2.12 by @mdedetrich in #2747
- Fix incorrect POM filter with case sensitivity by @mdedetrich in #2804
- Update scala3-library to 3.3.1-RC6 by @slick-scala-steward in #2806
- Add scalac inliner options for Scala 2 by @mdedetrich in #2808
- Update sbt to 1.9.4 by @slick-scala-steward in #2812
- Update scala3-library to 3.3.1-RC7 by @slick-scala-steward in #2813
- Update dependency org.slf4j:slf4j-api to v2.0.8 by @renovate in #2817
- Update slf4j-api to 2.0.8 by @slick-scala-steward in #2816
- Update dependency org.slf4j:slf4j-api to v2.0.9 by @renovate in #2819
- Update actions/checkout action to v4 by @renovate in #2820
- Update dependency org.scalatestplus:testng-7-5 to v3.2.17.0 by @renovate in #2821
- Update scala3-library to 3.3.1 by @slick-scala-steward in #2823
- Update dependency org.scoverage:sbt-scoverage to v2.0.9 by @renovate in #2824
- add explicit type by @xuwei-k in #2825
- Update dependency sbt/sbt to v1.9.5 by @renovate in #2829
- Update sbt to 1.9.5 by @slick-scala-steward in #2830
- Update dependency sbt/sbt to v1.9.6 by @renovate in #2833
- Update sbt to 1.9.6 by @slick-scala-steward in #2834
- Hide old compatibility changes report by @xuwei-k in #2840
- add explicit type by @xuwei-k in #2838
- Revert "Hide old compatibility changes report" by @nafg in #2841
- Test on JDK 21 instead of 17 and fix by @xuwei-k in #2839
- Scala 2.13.12 by @xuwei-k in #2842
- Update typesafe:config to 1.4.3 by @slick-scala-steward in #2844
- Update dependency sbt/sbt to v1.9.7 by @renovate in #2846
- Update sbt to 1.9.7 by @slick-scala-steward in #2847
- Update dependency com.mysql:mysql-connector-j to v8.2.0 by @renovate in #2850
- Update actions/github-script action to v7 by @renovate in #2857
- Update dependency org.xerial.sbt:sbt-sonatype to v3.10.0 by @renovate in #2859
- Update dependency org.postgresql:postgresql to v42.7.0 by @renovate in #2861
New Contributors
- @WojciechMazur made their first contribution in #2801
Full Changelog: v3.5.0-M4...v3.5.0-M5
v3.5.0-M4
What's Changed
Highlights 🎉
- Revert drop scala 212 by @mdedetrich in #2734
- #2701 Add conditional filterNot methods (filterNotIf/filterNotOpt) support by @sebastianrozyczka in #2751
- Scala 3 support by @nafg in #2687
Chores 🛠
- Update dependency org.xerial.sbt:sbt-sonatype to v3.9.19 by @renovate in #2712
- Update sbt-sonatype to 3.9.19 by @slick-scala-steward in #2713
- Update sbt-ci-release to 1.5.12 by @slick-scala-steward in #2715
- Update dependency org.xerial.sbt:sbt-sonatype to v3.9.20 by @renovate in #2716
- Update sbt to 1.8.3 by @slick-scala-steward in #2718
- Update dependency org.scalatestplus:testng-7-5 to v3.2.16.0 by @renovate in #2721
- Update sbt-sonatype to 3.9.21 by @slick-scala-steward in #2722
- Update ojdbc8_g to 21.10.0.0 by @slick-scala-steward in #2723
- Update sbt to 1.9.0 by @slick-scala-steward in #2728
- Update dependency org.scoverage:sbt-scoverage to v2.0.8 by @renovate in #2730
- Update sbt-scoverage to 2.0.8 by @slick-scala-steward in #2729
- Update dependency ch.epfl.scala:sbt-version-policy to v2.1.1 by @renovate in #2732
- Update scala-compiler, scala-library to 2.13.11 by @slick-scala-steward in #2737
- Update logback-classic to 1.3.8 by @slick-scala-steward in #2740
- Update scala-compiler, scala-library to 2.12.18 by @slick-scala-steward in #2741
- Update actions/upload-artifact action to v3 by @renovate in #2744
- Update dependency org.scala-lang.modules:scala-collection-compat to v2.11.0 by @renovate in #2749
- Update scala-collection-compat to 2.11.0 by @slick-scala-steward in #2748
- Update dependency sbt/sbt to v1.9.1 by @renovate in #2752
- Update mysql client dependency by @xuwei-k in #2754
- Update sbt to 1.9.2 by @slick-scala-steward in #2757
Other Changes
- A few cleanups by @nafg in #2717
- Remove headOption extension method for ReadAheadIterator by @nafg in #2719
- Remove usage of reflection to support pre-JDBC 4.1 (pre-Java 7) by @nafg in #2720
- Some cleanup by @nafg in #2739
New Contributors
- @mdedetrich made their first contribution in #2734
- @sebastianrozyczka made their first contribution in #2751
Full Changelog: v3.5.0-M3...v3.5.0-M4