Releases: sbt/sbt
Releases · sbt/sbt
Release list
2.0.1
🐛 bug fixes
- fix: Fixes sbt runner parsing
build.propertieswith whitespaces by @anatoliykmetyuk in #9374 - fix: Fixes global plugin loading by @eed3si9n in #9391 / #9380
- fix: Fixes sbt runner support on OpenBSD by @eed3si9n in #9394
- fix: Fixes
--allow-emptyand--sbt-createby @anatoliykmetyuk in #9370 - fix: Fixes BSP
publishDiagnosticspropagation by @anatoliykmetyuk in #9376 - fix: Fixes macro expansion for higher-kinded type arguments by @tanishiking in #9377
- fix: Fixes IllegalAccessError analyzing Java compiled with
--add-exportsby @jozanek in sbt/zinc#1714 / sbt/zinc#1729 - fix: Fixes incremental compilation of inlined constants in Java by @jozanek in sbt/zinc#1721
- fix: Fixes incremental compilation of Java annotation usage by @jozanek in sbt/zinc#1722
- fix: Fixes incremental compilation of transitive Java super types by @jozanek in sbt/zinc#1732
🚀 updates
- perf: Update Coursier to version 2.1.25-M26 by @retronym in #9382
- perf: Improves performance of incremental test by @mrdziuban + @yhefamly in #9253 + #9364
behind the scenes
- ci: sbt-salad-days by @eed3si9n in #9362
- Update to sbtn 2.0.0-69fa1968 by @eed3si9n in #9398
- deps: Zinc 2.0.1 by @eed3si9n in #9399
Full Changelog: v2.0.0...v2.0.1
1.12.13
🐛 bug fixes
- fix: Fixes file permissions by @eed3si9n + @xuwei-k in sbt/io#527 / #9350
- fix: Fixes
ArrayIndexOutOfBoundsExceptionerror when Unix domain socket is closed by @merlinorg in sbt/ipcsocket#77
Full Changelog: v1.12.12...v1.12.13
2.0.0
Full Changelog: v1.12.12...v2.0.0
1.12.12
bug fixes
- fix: Fixes console that references Java module classes on JDK 9+ by @BrianHotopp in #9327
- fix: Fixes
sbt --versionto now show JDK warnings on JDK 25 by @bitloi in #8822 - fix: Fixes stdout/stderr not displaying on sbtn by @BrianHotopp in #9265
- fix: Ensure resources are copied atomically by @anatoliykmetyuk in #9196
behind the scenes
- Update sbtn to 2.0.0-f0d2fae4 by @eed3si9n in #9334
- test: Make custom-scala-org scripted test hermetic by @BrianHotopp in #9260
- ci: Skip 2.13 modules from graph submission by @eed3si9n in #9328
Full Changelog: v1.12.11...v1.12.12
2.0.0-RC16
2.0.0-RC15
🐛 bug fixes
- fix: ByteStream chunked upload/download by @eed3si9n in #9298
- fix: Fixes publishing platform-specific artifacts (like Scala Native) by @arashi01 in #9293
- fix: Fixes cross build caching by @eed3si9n in #9305
- deps: Update to Scala 3.8.4 by @xuwei-k + @eed3si9n in #9302 / sbt/io#522
Full Changelog: v2.0.0-RC14...v2.0.0-RC15
2.0.0-RC14
🐛 bug fixes
- fix: Fixes Scala Native artifact publishing by @anatoliykmetyuk in #9118
- fix: Fix duplicate autoplugins packageBin mappings by @anatoliykmetyuk in #9255
- perf: Parallelize dependency resolution when no progress bar is rendered by @BrianHotopp in #9270
- fix: Report a missing input file clearly by @BrianHotopp in #9271
- fix: Reimplement FarmHash without using
sun.misc.Unsafeby @eed3si9n in #9267 + #9278 - fix: Fixes backtick-quoted project handling by @xuwei-k in #9277
- perf: Improve incremental test stamper, take 2 by @eed3si9n in #9257
- fix: Opt bspBuildTargetOutputPathsItem out of caching by @anatoliykmetyuk in #9272
- fix: Add warning about transient key by @eed3si9n in #9288
- fix: Apply dependencyMode filtering to internal projects by @BrianHotopp in #9250
- fix: Avoid unnecessary updateFull by @eed3si9n in #9290
- fix: Fixes jrt URL handling in console by @BrianHotopp in sbt/zinc#1706
behind the scenes
- test: Make custom-scala-org scripted test hermetic by @BrianHotopp in #9260
- ci: Scalafmt 3.11.1 by @eed3si9n in #9280
- deps: sjson-new 0.15.0 by @eed3si9n in #9284
Full Changelog: v2.0.0-RC13...v2.0.0-RC14
2.0.0-RC13
Execution log
sbt 2.0.0 adds experimental execution log feature to debug caching issues. The execution log can be enabled with sbt.experimental_execution_log system property has either true or a file path:
$ sbt --server -Dsbt.experimental_execution_log=true compileThis will generate an execution log file in target/global-logging/exec-log****.log:
{
"input": {
"digest": "sha256-a50da1cd086987bc273861a815da4e90ba4735d4a21b965e861e583382a985d6/48",
"codeContentHash": "murmur3-0000000000000000ffffffffce70de5a/0",
"extraHash": "murmur3-00000000000000000000000000000000/0",
"str": "(CompileInputs2(Vector(${CSR_CACHE}/https/repo1.maven.org/maven2/org/scala-lang/scala3-library_3/3.7.4/scala3-library_3-3.7.4.jar, ${CSR_CACHE}/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.16/scala-library-2.13.16.jar),Vector(${BASE}/src/main/scala/example/A.scala),Vector(),Vector(),${OUT}/jvm/scala-3.7.4/testtest/classes,${OUT}/jvm/scala-3.7.4/testtest/zinc/inc_compile_3.zip,Vector((JAVA_CLASS_VERSION,61.0))))"
},
"cacheHit": true,
"exitCode": 0,
"outputs": ["${OUT}/value/sha256-a50da1cd086987bc273861a815da4e90ba4735d4a21b965e861e583382a985d6/48.json>sha256-f222bfd59f319bb6a2d4d58003b2131c0c42a10cdb4da9df971480ca8d044f7b/179", "${OUT}/jvm/scala-3.7.4/testtest/zinc/inc_compile_3.zip>sha256-8c4b789c3aa4624346a1d0145d15a1c992a6fba4d43fa38f0dc45b829f29157e/878", "${OUT}/jvm/scala-3.7.4/testtest/classes.sbtdir.zip>sha256-722ec6b34b2461dbbc066e434a7707d369f41f2e25e773d9547f19414e5adeb7/1971"]
}This was contributed by @eed3si9n in #9203.
🐛 bug fixes
- fix: Fixes
build.sbtfile loading in subdirectories by @eed3si9n in #9165 - fix: Fixes cache restoration of incremental compilation state by @eed3si9n in #9207
- fix: Fixes cache corruption when process is interrupted by @anatoliykmetyuk in io#505 + #9193
- fix: Fixes incremental compilation when JDK version changes by @eed3si9n in #9216
- fix: Fixes incremental test when argument is passed by @eed3si9n in #9222
- fix: Hides JDK warnings if JDK 26 or later by @xuwei-k in #9068
- fix: Fixes managedScalaInstance false support by @eed3si9n in #9121
- fix: Fixes
compilerPlugin(...)to ignore platform by @eed3si9n in #9135 - fix: Updates sbtn to 2.0.0-RC13 to pull in fixes around
runby @eed3si9n in #9140 - fix: Fixes will-be-ignored warning by @eed3si9n in #9144
- fix: Fixes NPE in loadInnerClass by @lihaoyi in zinc#1698
- fix/perf: Fixes incremental test performance by @eed3si9n in #9146
- fix: Fixes scalacOptions support in metabuild by @xuwei-k in #9151
- fix: Fixes stdout output not appearing with forked
bgRunby @mrdziuban in #9166 - fix: Adjusts the forked test classpath by @eed3si9n in #9170
- fix: Fixes console task when pipelining is enabled by @corevibe555 in #8986
- fix: Fixes virtual paths in
scalacOptionsfor console and doc tasks by @mrdziuban in #9110 - fix: Updates
--helpby @eed3si9n in #9180 - fix: Fixes
--debugnot displaying the loading log by @bitloi in #8819
🚀 updates
- dep: Update Scala to 3.8.3 by @xuwei-k in #8997
- dep: Update Coursier to 2.1.25-M25 by @eed3si9n in #9232
- feat: Adds
ClassLoaderStrategy.Rawfor forked test by @eed3si9n in #9161 - feat: Adds
scripted / excludeFilterandscripted / includeFiltersetting for scripted test filtering by @arashi01 in #9131 - feat: Adds
Testconfiguration toevictionWarningOptionsby @zainab-ali in #9102 - feat: Adds
cacheVersionsetting for global cache invalidation by @eureka0928 in #8993 - feat: Support
--no-serverin sbtn by @eureka0928 in #8895 - feat: Adds
ForkOptions#connectionTimeoutby @xuwei-k in #9172
behind the scenes
- refactor: Replace string Array with
ju.Listby @eed3si9n in #9138 - deps: Update sjson-new to 0.14.0 by @eed3si9n in #9177
- deps: Update Gigahorse to 0.9.4 by @eed3si9n in #9125
- test: Port tests that were using Ivy to use lm-coursier by @eed3si9n in #9205
Full Changelog: v2.0.0-RC12...v2.0.0-RC13
1.12.11
bug fix
- fix: Rollback eviction error in
Testby @eed3si9n in sbt/librarymanagement#600
Full Changelog: v1.12.10...v1.12.11
1.12.10
updates
- deps: Update log4j to 2.25.4, which fixes CVE-2026-34477, CVE-2026-34478, CVE-2026-34479, CVE-2026-34480 by @dancewithheart in #9086
- deps: Update Gigahorse to 0.9.4, which pulls in httpclient5 5.6.1 by @eed3si9n in #9125
- deps: Update sbtn to 2.0.0-RC13 by @eed3si9n in #9139
- Backport of eviction error in
Testconfiguration by @zainab-ali in #9102
🐛 bug fixes
- fix: Hide JDK warnings if JDK 26 or later by @xuwei-k in #9068
- fix: Fixes managedScalaInstance false support by @eed3si9n in #9121
behind the scenes
- ci: dependency-submission branch set to 1.12.x by @dancewithheart in #9088
new contributors
- @dancewithheart made their first contribution in #9086
Full Changelog: v1.12.9...v1.12.10