Skip to content

Update sbt to 2.0.1 - #491

Closed
scala-steward wants to merge 1 commit into
nafg:masterfrom
scala-steward:update/sbt-2.0.1
Closed

Update sbt to 2.0.1#491
scala-steward wants to merge 1 commit into
nafg:masterfrom
scala-steward:update/sbt-2.0.1

Conversation

@scala-steward

Copy link
Copy Markdown
Contributor

About this PR

📦 Updates org.scala-sbt:sbt from 1.12.13 to 2.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.conf file.

Have a fantastic day writing Scala!

⚙ Adjust future updates

Add this to your .scala-steward.conf file to ignore future updates of this dependency:

updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

Or, add this to slow down future updates of this dependency:

dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]
labels: library-update, early-semver-major, semver-spec-major, version-scheme:early-semver, commit-count:1

@coderabbitai

coderabbitai Bot commented Jun 30, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The project/build.properties file is updated to bump the SBT build tool version from 1.12.13 to 2.0.1.

SBT Version Bump

Layer / File(s) Summary
SBT version update
project/build.properties
sbt.version changed from 1.12.13 to 2.0.1.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Poem

A hop, a skip, the version flies,
From one-point-twelve to two-point-oh it rises!
The build.properties, one line changed,
The bunny's build tools rearranged.
🐇 SBT 2.0.1 — how grand!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly states the main change: updating sbt to 2.0.1.
Description check ✅ Passed The description directly matches the change by describing the sbt version update and related release notes.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

📥 Commits

Reviewing files that changed from the base of the PR and between 941d0ac and 1822f0b.

📒 Files selected for processing (1)
  • project/build.properties

Comment thread project/build.properties
@@ -1 +1 @@
sbt.version=1.12.13
sbt.version=2.0.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 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/*.sbt

Repository: 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:


🌐 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:


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`.

@mergify

mergify Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@scala-steward

Copy link
Copy Markdown
Contributor Author

Superseded by

@scala-steward
scala-steward deleted the update/sbt-2.0.1 branch July 14, 2026 18:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant