From 1ae4e84b20253fe3894d41e1ed7326bd9f1e53bc Mon Sep 17 00:00:00 2001 From: "slick-scala-steward[bot]" <243981+slick-scala-steward[bot]@users.noreply.github.com> Date: Sat, 17 Oct 2026 21:58:13 +0000 Subject: [PATCH 1/4] Update scala-library to 3.10.0 --- .github/workflows/ci.yml | 2 +- build.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b72ce5b..ebef870 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - scala: [2.13.18] + scala: [3.10.0] java: [temurin@17] runs-on: ${{ matrix.os }} steps: diff --git a/build.sbt b/build.sbt index dd42751..074a8cb 100644 --- a/build.sbt +++ b/build.sbt @@ -4,7 +4,7 @@ name := "slick-codegen-example" inThisBuild( List( - scalaVersion := "2.13.18", + scalaVersion := "3.10.0", scalacOptions += "-Xsource:3", githubWorkflowPublishTargetBranches := Seq(), githubWorkflowBuild += WorkflowStep.Sbt(List("run")), From 7bc765e1e63bb7a7a48ab7ba5ef9fa9008912f72 Mon Sep 17 00:00:00 2001 From: "slick-scala-steward[bot]" <243981+slick-scala-steward[bot]@users.noreply.github.com> Date: Sat, 17 Oct 2026 21:58:25 +0000 Subject: [PATCH 2/4] Regenerate GitHub Actions workflow Executed command: sbt githubWorkflowGenerate --- .mergify.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.mergify.yml b/.mergify.yml index c179d29..5d19f67 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -9,7 +9,7 @@ pull_request_rules: - author=scala-steward - author=slick-scala-steward[bot] - author=renovate[bot] - - check-success=Build and Test (ubuntu-latest, 2.13.18, temurin@17) + - check-success=Build and Test (ubuntu-latest, 3.10.0, temurin@17) actions: queue: name: default From 0163b59beb9b7deed6395a852950830a5547114a Mon Sep 17 00:00:00 2001 From: Naftoli Gugenheim <98384+nafg@users.noreply.github.com> Date: Tue, 20 Oct 2026 14:31:33 -0400 Subject: [PATCH 3/4] Drop -Xsource:3, which Scala 3 ignores Co-Authored-By: Claude Opus 5.5 --- build.sbt | 1 - 1 file changed, 1 deletion(-) diff --git a/build.sbt b/build.sbt index 074a8cb..6a397ca 100644 --- a/build.sbt +++ b/build.sbt @@ -5,7 +5,6 @@ name := "slick-codegen-example" inThisBuild( List( scalaVersion := "3.10.0", - scalacOptions += "-Xsource:3", githubWorkflowPublishTargetBranches := Seq(), githubWorkflowBuild += WorkflowStep.Sbt(List("run")), githubWorkflowJavaVersions := Seq(JavaSpec.temurin("17")) From 91b2c9565306f5a21a76f3fb9a04569c53a18f11 Mon Sep 17 00:00:00 2001 From: Naftoli Gugenheim <98384+nafg@users.noreply.github.com> Date: Wed, 21 Oct 2026 07:33:26 -0400 Subject: [PATCH 4/4] Silence warnings in slick-codegen output Scala 3.10 warns about the `Row.apply _` eta-expansion that slick-codegen 4.0.0-RC2 emits in Tables.scala. It is not fixable in this repo, so filter warnings from src_managed only; hand-written sources still warn. Co-Authored-By: Claude Opus 5.5 --- build.sbt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index 6a397ca..91031ad 100644 --- a/build.sbt +++ b/build.sbt @@ -17,7 +17,11 @@ mergifyExtraConditions := Seq( (Attr.Author :== "renovate[bot]") ) -scalacOptions += "-deprecation" +scalacOptions ++= Seq( + "-deprecation", + // Tables.scala is generated by slick-codegen; its warnings can only be fixed in slick-codegen + "-Wconf:src=src_managed/.*:s" +) run / fork := true val slickVersion = "4.0.0-RC2"