Update sbt to 2.0.1 - #491
Conversation
📝 WalkthroughWalkthroughThe SBT Version Bump
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@project/build.properties`:
- Line 1: The sbt 2.0.1 upgrade is blocked by the old `sbt-coveralls` plugin
declared in `project/plugins.sbt`, since it does not appear to have an sbt
2.x-compatible artifact. Remove that plugin or replace it with a version/plugin
that supports sbt 2.x, then verify the build still loads with the new
`sbt.version` setting in `build.properties`.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 0b0b05e8-1ecf-4d01-85f7-55010df3b4c8
📒 Files selected for processing (1)
project/build.properties
| @@ -1 +1 @@ | |||
| sbt.version=1.12.13 | |||
| sbt.version=2.0.1 | |||
There was a problem hiding this comment.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
# Check Scala version in build.sbt
rg -n "scalaVersion" build.sbt project/build.sbt
# Check plugin versions for sbt 2.x compatibility
cat project/plugins.sbt 2>/dev/null || echo "No plugins.sbt found"
# Check for any scalaVersion or crossScalaVersions settings
rg -n "scalaVersion|crossScalaVersions" build.sbt project/*.sbtRepository: nafg/slick-migration-api
Length of output: 672
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf '\n== repo files ==\n'
git ls-files | sed -n '1,200p'
printf '\n== build.sbt ==\n'
cat -n build.sbt
printf '\n== project/build.properties ==\n'
cat -n project/build.properties
printf '\n== project/plugins.sbt ==\n'
cat -n project/plugins.sbt
printf '\n== sbt-related mentions ==\n'
rg -n "sbt\\.version|scalaVersion|crossScalaVersions|sbt-" .Repository: nafg/slick-migration-api
Length of output: 4002
🌐 Web query:
sbt 2.0.1 release latest stable 2.1.x official
💡 Result:
As of June 30, 2026, sbt 2.0.1 is the latest stable release in the 2.x series [1][2]. Sbt 2.0.0 was released on June 14, 2026 [3][4], marking the beginning of the new major series which is based on Scala 3 constructs and features a Bazel-compatible cache system [5][1][4]. While the 2.x series is the current major version, the 1.x series remains active, with sbt 1.12.13 being the most recent release in that line (as of June 21, 2026) [6][7]. You can track the official releases and documentation via the following resources: - Official Releases: https://github.com/sbt/sbt/releases [8] - Official Downloads: https://www.scala-sbt.org/download/ [7] - sbt 2.0 Change Summary: https://www.scala-sbt.org/2.x/docs/en/changes/sbt-2.0-change-summary.html [5]
Citations:
- 1: https://eed3si9n.com/sbt-2.0.1
- 2: Update sbt to 2.0.1 zio/zio-sbt#684
- 3: https://github.com/sbt/sbt/releases/tag/v2.0.0
- 4: https://eed3si9n.com/sbt-2.0.0
- 5: https://www.scala-sbt.org/2.x/docs/en/changes/sbt-2.0-change-summary.html
- 6: https://github.com/sbt/sbt/releases/tag/v1.12.13
- 7: https://www.scala-sbt.org/download/
- 8: https://github.com/sbt/sbt/releases
🌐 Web query:
sbt-scoverage 2.4.4 sbt 2.0 compatibility sbt-coveralls 1.3.15 sbt-ci-release 1.11.2 sbt 2.0.1
💡 Result:
The compatibility of the requested plugins with sbt 2.0.1 is summarized below: sbt-scoverage 2.4.4: This version is compatible with sbt 2.x [1][2]. It is explicitly listed as supporting sbt 2.x in the Scala Index, and the release history shows explicit integration with sbt 2.0.0-RC releases [1][3]. sbt-ci-release 1.11.2: This version is compatible with sbt 2.x [4][5]. It is cross-published for both sbt 1.x and sbt 2.x [4][6]. sbt-coveralls 1.3.15: Based on available metadata, this version is published for sbt 1.x (targeting Scala 2.12) and does not appear to have a dedicated sbt 2.x artifact (e.g., suffixed with _sbt2_3) [7][8]. As of June 2026, there is no official indication that sbt-coveralls 1.3.15 supports sbt 2.0.1 [7][8]. General Context for sbt 2.0: sbt 2.x plugins are typically published with an _sbt2_3 suffix to denote compatibility with the new build definition system based on Scala 3 [9]. Plugins that lack this specific artifact are generally not compatible with the sbt 2.x plugin ecosystem [9].
Citations:
- 1: https://index.scala-lang.org/scoverage/sbt-scoverage/artifacts/sbt-scoverage/2.4.4?binary-version=_sbt2_3
- 2: https://index.scala-lang.org/scoverage/sbt-scoverage/artifacts/sbt-scoverage?stableOnly=true
- 3: https://github.com/scoverage/sbt-scoverage/releases/tag/v2.4.0
- 4: https://github.com/sbt/sbt-ci-release/releases/tag/v1.11.2
- 5: https://github.com/sbt/sbt-ci-release/releases
- 6: https://index.scala-lang.org/sbt/sbt-ci-release/artifacts/sbt-ci-release/1.11.2?binary-version=_sbt2_3
- 7: https://index.scala-lang.org/scoverage/sbt-coveralls/artifacts/sbt-coveralls/1.3.15
- 8: https://index.scala-lang.org/scoverage/sbt-coveralls/artifacts/sbt-coveralls/1.3.15?binary-version=_2.12_1.0
- 9: https://www.scala-sbt.org/2.x/docs/en/changes/sbt-2.0-change-summary.html
Remove or replace sbt-coveralls before the sbt 2.0.1 bump. project/plugins.sbt:2 uses sbt-coveralls 1.3.15, which doesn’t appear to publish an sbt 2.x artifact and can block the build from loading.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@project/build.properties` at line 1, The sbt 2.0.1 upgrade is blocked by the
old `sbt-coveralls` plugin declared in `project/plugins.sbt`, since it does not
appear to have an sbt 2.x-compatible artifact. Remove that plugin or replace it
with a version/plugin that supports sbt 2.x, then verify the build still loads
with the new `sbt.version` setting in `build.properties`.
|
Tick the box to add this pull request to the merge queue (same as
|
|
Superseded by |
About this PR
📦 Updates org.scala-sbt:sbt from
1.12.13to2.0.1⚠📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a
.scala-steward.conffile.Have a fantastic day writing Scala!
⚙ Adjust future updates
Add this to your
.scala-steward.conffile to ignore future updates of this dependency:Or, add this to slow down future updates of this dependency: