Releases: sbt/sbt
1.12.0-M1
๐ updates
- Adds Scala 3.8 REPL support by @eed3si9n in #8349
- Updates
semanticdbVersionto 4.14.1 by @xuwei-k in #8342
behind the scenes
new contributors
Full Changelog: v1.11.7...v1.12.0-M1
1.11.7
๐ updates
- Adds
--sun-misc-unsafe-memory-access=allowand--enable-native-access=ALL-UNNAMEDflags to suppress JDK 25 warnings by @eed3si9n in #8304 - Backports JDK 25 JEP-512/JEP-445 Main run by @eed3si9n in #8303
- fix: Fixes
runMaintask for JEP-512/JEP-445 Main by @xuwei-k in #8316 - Adds ability to filter
UpdateReportby configurations by @mdedetrich in sbt/librarymanagement#547
๐ bug fixes
- fix: Fixes sbt 0.13 launching by @eed3si9n in sbt/launcher#136
๐ฌ behind the scenes
- ci: Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #8273
- deps: Updates sbt-giter8-resolver version by @xuwei-k in #8309
- test: Fixes
fallback-dependencies-inter-projecttest by @xuwei-k in #8319 - test: Fixes
run/daemon-exittest by @xuwei-k in #8320 - test: Update test dependencies by @xuwei-k in #8317
Full Changelog: v1.11.6...v1.11.7
2.0.0-RC6
See sbt 2.0 change summary for the overall changes in sbt 2.0.
๐ bug fixes
- fix: Fixes binary compatibility issue in 2.0.0-RC5 by setting
contrabandScala3enumtofalseby @eed3si9n in #8310 - fix: Fixes Giter8 integration by @eed3si9n in #8302
- fix: Fixes PluginCross by @eed3si9n in #8312
updates
- Support JDK 25 JEP-512/JEP-445 Main run by @eed3si9n + @lrytz in #8303 and sbt/zinc#1601
๐ฌ behind the scene
- ci: Updates mima setting by @xuwei-k in #8292
- ci: Updates Scalafmt config, and reformats build files by @xuwei-k in #8293
- test: Enables some scripted tests by @xuwei-k in #8295
- refactor: Removes some
format: offcomments by @xuwei-k in #8298 - test: Enables some scripted tests by @xuwei-k in #8296
- Merge 1.11.x by @eed3si9n in #8311
- ci: Removes unused code in
project/Dependencies.scalaby @xuwei-k in #8306
Full Changelog: v2.0.0-RC5...v2.0.0-RC6
2.0.0-RC5
See sbt 2.0 change summary for the overall changes in sbt 2.0.
changes with compatibility implications
- Updates Contraband to generate
givens instead ofimplicit lazy valby @xuwei-k in sbt/contraband#188 - Updates Contraband to generate
enuminstead ofcase objectby @xuwei-k in sbt/contraband#207 - Update to Contraband 0.8.0 by @eed3si9n in #8287
updates
- deps: Scala 3.7.3 by @xuwei-k in #8276
- Adds Auto aggregate
.autoAggregateonProjectby @eed3si9n in #8290 - Adds
runTaskUnhandledtoExtractedby @BillyAutrey in #8283
๐ bug fixes
- fix: Fixes removeN operator
--=by @eed3si9n in #8260 - fix: Fixes forked test error handling on JDK 17 by @eed3si9n in #8271
- fix: Catches Gson parsing error during forked tests by @eed3si9n in #8282
๐ฌ behind the scene
- deps: Update to Zinc 2.0.0-M8 by @eed3si9n in #8289
- docs: Fixes Scaladoc comment by @xuwei-k in #8261
- docs: Updates README by @xuwei-k in #8266
- refactor: Deletes unused
internalpackage code by @xuwei-k in #8267 - refactor: Uses Java try-with-resources syntax in WorkerMain.java by @xuwei-k in #8269
- refactor: Deletes internal/ProjectMatrixReference.scala by @xuwei-k in #8270
- test: Fixes
client-test.ymlCI by pinningsbt/setup-sbtversion by @xuwei-k in #8277 - ci: Bump actions/setup-python from 5 to 6 by @dependabot[bot] in #8272
- ci: Update sbt plugins and test dependencies by @xuwei-k in #8280
- ci: Adds JDK 25 tests by @xuwei-k in #8284
- refactor: Merge 1.11.x branch by @eed3si9n in #8285
- test: Migrate weaver group id to
org.typelevelby @zainab-ali in #8265
new contributors
- @BillyAutrey made their first contribution in #8283
- @zainab-ali made their first contribution in #8265
Full Changelog: v2.0.0-RC4...v2.0.0-RC5
1.11.6
๐ sbt launcher 1.5.0
- Update launcher code base to to Scala 3.7.2 by @eed3si9n in sbt/launcher#126
- refactor: Adds
-Xsource:3option by @xuwei-k in sbt/launcher#117 - deps: Removes Apache Ivy dependency from launcher by @eed3si9n in sbt/launcher#127
๐ bug fixes
- fix: Fixes internal dependency classpath #8249 by @azdrojowa123 in #8257
- fix: Fixes client-side run on JDK 8 by @eed3si9n in #8259
๐ฌ behind the scene
- ci: FIxes building sbtn locally for Aarch64 / arm64 by @eed3si9n in #8258
- ci: Bump actions/checkout from 4 to 5 by @dependabot[bot] in #8246
Full Changelog: v1.11.5...v1.11.6
2.0.0-RC4
See sbt 2.0 change summary for the overall changes in sbt 2.0.
๐ bug fixes
- fix: Fixes Java-only tests by @eed3si9n in #8238
- fix: Fixes
exportJarsfalse support by @eed3si9n in #8240 / #8247 - fix: Fixes
setcommand error handling by @eed3si9n in #8250 - fix: Removes
-Wconf:cat=unused-nowarn:sinLoad.scalaby @xuwei-k in #8215 - fix: Fixes sbt 1.x cross building under
-Xlintby @eed3si9n in #8221 - fix: Works around syncFile issue by @eed3si9n in #8223
๐ฌ behind the scene
- deps: Removes scala-reflect dependency by @xuwei-k in #8214
- deps: Removes log4j by @eed3si9n in #8253
- ci: Bump actions/checkout from 4 to 5 by @dependabot[bot] in #8216
- ci: Bump actions/setup-java from 4 to 5 by @dependabot[bot] in #8228
- refactor: Removes
sbt-projectmatrixin template by @xuwei-k in #8239 - ci: Updates
dependabot.ymlsetting by @xuwei-k in #8245 - deps: Zinc 2.0.0-M7 by @eed3si9n in #8251
- ci: Removes typesafe ivy resolver by @xuwei-k in #8254
- ci: Removes scala-xml
libraryDependencySchemesby @xuwei-k in #8252 - refactor: Merge 1.11.x by @eed3si9n in #8237
Full Changelog: v2.0.0-RC3...v2.0.0-RC4
1.11.5
changes with compatibility implications
- sbtn is built using
ubuntu-22.04image, which will require similar Linux version with glibc 2.32 and above.
๐ features and other updates
- Adds Scala 3.8.0 support. See below
- Adds Scala Nightly repository resolver. See below
- Adds
--jvm-clientto thesbtrunner script to launch JVM client. See below - Central Repository publishing: Shows validation errors if present by @unkarjedy in #8191
- Central Repository publishing: Includes the root subproject name into the deployment by @jeanmarc in #8219
- Reduces sbtn outputs by @eed3si9n in #8234
Scala Nightly repository
Scala Team now publishes nightlies to a dedicated Artifactory instance. sbt 1.11.5 adds a new resolver for this:
resolvers += Resolver.scalaNightlyRepository
ThisBuild / scalaVersion := "3.8.0-RC1-bin-20250823-712d5bc-NIGHTLY"
Compile / scalacOptions += "-language:experimental.captureChecking"This was contributed by @hamzaremmal in sbt/librarymanagement#532
Scala 3.8.0 support
Scala 3.8.0 will in-source the Scala standard library (scala-library) instead of using one from Scala 2.13. sbt 1.11.5 relaxes the Coursier same-version enforcement to support Scala 3.8.0.
This was pair programmed by @hamzaremmal + @eed3si9n during Scala Days 2025 as #8226
sbt --jvm-client
sbt 1.11.5 runner script adds new --jvm-client flag to launch the JVM version of the thin client. The implementation is the Scala code which sbtn is based on. This will be useful on platforms or CPU architectures that we do not build sbtn.
This was contributed by @eed3si9n in #8232
๐ฌ behind the scene
- ci: Uses sbt 1.11.4 by @eed3si9n in #8192
- ci: Adds clean.yml by @eed3si9n in #8227
- ci: Bump actions/setup-java from 4 to 5 by @dependabot[bot] in #8229
- ci: Split server-test by @eed3si9n in #8233
- deps: Bump to lm 1.11.5 by @eed3si9n in #8231
new contributors
- @jeanmarc made their first contribution in #8219
- @hamzaremmal made their first contribution in #8226
Full Changelog: v1.11.4...v1.11.5
2.0.0-RC3
See sbt 2.0 change summary for the overall changes in sbt 2.0.
Changes since sbt 2.0.0-RC2
- fix: Support annotated definitions in build.sbt by @Duhemm in #8205
- Uses
scala.transientto denote the empty cache level by @eed3si9n in #8210 - deps: Bump to sjson-new 0.14.0-M4, which moves some of the JSON codecs into the
JsonFormatcompanion by @eed3si9n in #8209 - Auto reload by default by @eed3si9n in #8211
Behind the scene
- ci: Update mima setting by @xuwei-k in #8206
- docs: Update
ResolverFunctions#reorganizeAppResolverscomment by @xuwei-k in #8208 - docs: Banner by @eed3si9n in #8213
Full Changelog: v2.0.0-RC2...v2.0.0-RC3
2.0.0-RC2
See sbt 2.0 change summary for the overall changes in sbt 2.0.
Changes with compatibility implications
- Defaults all tasks to be a cached task by @eed3si9n in #8161
- Removes
IntegrationTestconfiguration by @eed3si9n in #8184 - Unifies various dependencyTree-related tasks to
dependencyTreeinput task by @eed3si9n in #8199 - Changes the test task type from
UnittoTestResultby @eed3si9n in #8181 - Changes the
testForkedParallelsetting totrueby default by @eed3si9n in #8193
Feature enhancements
- deps: Scala 3.7.2 by @xuwei-k in #8179
- Scala compiler plugin remote cache support by @eed3si9n in #8101
- Support debug output for macros by @eed3si9n in #8140
- Update forked test to use a new worker implementation by @eed3si9n in #8170
Bug fixes
- fix: Cache SemanticDB output when not includ in the JAR by @bjaglin in #8086
- fix: Fixes action cache capturing absolute paths by @eed3si9n in #8099
- fix: Fixes the task macro by @eed3si9n in #8106
- fix: Ports eval workaround for Windows by @eed3si9n in #8107
- fix: Fixes ContTestMacro by @xuwei-k in #8116
- fix: Support minus sign in project names by @Duhemm in #8168
- fix: Fixes the forked test by waiting for the stdio to connect by @eed3si9n in #8180
- fix: Fixes caching issue during
reloadby @eed3si9n in #8200
Behind the scene
- deps: Updates sjson-new etc by @xuwei-k in #8165
- ci: Run some CI on JDK 8 by @eed3si9n in #8169
- ci: Update dataclass-scalafix by @xuwei-k in #8164
- test: Adds caching tests by @eed3si9n in #8105
- test: Test ScalaDoc by @eed3si9n in #8186
- refactor: Clean up EvaluateTask by @eed3si9n in #8108
- refactor: Adds
usingif explicitly providing arguments to methods defined withimplicitby @xuwei-k in #8111 + #8114 - refactor: Removes unused imports by @xuwei-k in #8110 / #8113
- refactor: Removes RefThenConfig extension toString method by @xuwei-k in #8112
- refactor: Updates append macro to pass in the given evidence by @xuwei-k in #8115
- refactor: Simplifies
previousmacro by @xuwei-k in #8118 - refactor: Remove deprecated methods by @eed3si9n in #8121
- refactor: Merge branch 1.10.x into develop by @eed3si9n in #8124
- refactor: Merge branch 1.11.x by @eed3si9n in #8138 + #8182
- refactor: Remove unused code by @eed3si9n in #8183
- refactor: Hides Ivy related classes by @eed3si9n in #8196
Full Changelog: v1.11.3...v2.0.0-RC2
2.0.0-RC1
2.0.0-RC1 is dead on arrival. Please use 2.0.0-RC2 instead.