Releases: sbt/sbt
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:3
option 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
exportJars
false support by @eed3si9n in #8240 / #8247 - fix: Fixes
set
command error handling by @eed3si9n in #8250 - fix: Removes
-Wconf:cat=unused-nowarn:s
inLoad.scala
by @xuwei-k in #8215 - fix: Fixes sbt 1.x cross building under
-Xlint
by @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-projectmatrix
in template by @xuwei-k in #8239 - ci: Updates
dependabot.yml
setting 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
libraryDependencySchemes
by @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.04
image, 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-client
to thesbt
runner 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.transient
to 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
JsonFormat
companion 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#reorganizeAppResolvers
comment 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
IntegrationTest
configuration by @eed3si9n in #8184 - Unifies various dependencyTree-related tasks to
dependencyTree
input task by @eed3si9n in #8199 - Changes the test task type from
Unit
toTestResult
by @eed3si9n in #8181 - Changes the
testForkedParallel
setting totrue
by 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
reload
by @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
using
if explicitly providing arguments to methods defined withimplicit
by @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
previous
macro 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.
1.11.4
Updates
- fix: Fixes sbt plugin cross building by @eed3si9n in sbt/librarymanagement#528
- fix: Fixes
sonaUploadRequestTimeout
by scoping globally by @eed3si9n in #8190
Full Changelog: v1.11.3...v1.11.4
1.11.3
updates
- Adds
sonaUploadRequestTimeout
setting to configure the upload timeout when publishing to the Central Repo by @guizmaii in #8171 - fix: Adds support for
pluginCrossBuild/sbtBinaryVersion
"1.3", which is used by IntelliJ Scala plugin (fixes #8166) by @unkarjedy in #8167 - fix: Fixes the import order to satisfy SemanticDB by @inglor in #8162
new contributors
Full Changelog: v1.11.2...v1.11.3
1.11.2
updates
- fix: Fixes intermittent NullPointerError in
update
task by reverting the use ofWeakReference
s by @mrdziuban in coursier/sbt-coursier#564 - Adds
Resolver.sonatypeCentralSnapshots
,Resolver.sonatypeCentralRepo(...)
and deprecatesResolver.sonatypeOssRepos(...)
,Opts.resolver.sonatypeOssReleases
,Opts.resolver.sonatypeOssSnapshots
, etc by @eed3si9n in sbt/librarymanagement#517 / #8156
Full Changelog: v1.11.1...v1.11.2
1.11.1
updates
- fix: Fixes memory leak in
update
task by @mrdziuban in coursier/sbt-coursier#563 - fix: Default
sbtPluginPublishLegacyMavenStyle
to false by @eed3si9n in #8148 - fix: Adds
sonaDeploymentName
toexcludeLintKeys
by @rtyley in #8143
behind the scene
Full Changelog: v1.11.0...v1.11.1