Sbt Versions Save

sbt, the interactive build tool

v1.8.0

1 year ago

Security fixes

  • Updates to Coursier 2.1.0-RC1 to address CVE-2022-37866
  • Updates to Ivy 2.3.0-sbt-a8f9eb5bf09d0539ea3658a2c2d4e09755b5133e to address CVE-2022-37866

Changes with compatibility implications

  • Updates to Scala 2.12.17 + Scala compiler 2.12.17, which upgrades to scala-xml 2.x #7021

Bug fixes

Other updates

  • Adds long classpath support on JDK 9+ via argument file (opt out using -Dsbt.argsfile=false or SBT_ARGSFILE environment variable) #7010 by @easel
  • Adds out-of-box ZIO Test support #7053 by @987Nabil
  • Adds support for newly introduced buildTarget/outputPaths method of Build Server Protocol. #6985 by @povder

New Contributors

Full Changelog: https://github.com/sbt/sbt/compare/v1.7.1...v1.8.0

v1.8.0-RC1

1 year ago

Changes with compatibility implications

  • Updates to Scala 2.12.17 + Scala compiler 2.12.17, which upgrades to scala-xml 2.x #7021

Bug fixes

Other updates

  • Adds long classpath support on JDK 9+ via argument file (opt out using -Dsbt.argsfile=false or SBT_ARGSFILE environment variable) #7010 by @easel
  • Adds out-of-box ZIO Test support #7053 by @987Nabil
  • Adds support for newly introduced buildTarget/outputPaths method of Build Server Protocol. #6985 by @povder

New Contributors

Full Changelog: https://github.com/sbt/sbt/compare/v1.7.1...v1.8.0-RC1

v1.7.3

1 year ago

updates

new contributors

Full Changelog: https://github.com/sbt/sbt/compare/v1.7.2...v1.7.3

v1.7.2

1 year ago

See https://github.com/sbt/sbt/releases/tag/v1.7.0 for the details on sbt 1.7.x.

  • Fixes invalidation of incremental testQuick task #6903 by @gontard

  • Fixes /tmp/.sbt/ collision for domain socket #7041 by @eed3si9n

  • Adds workaround for dependencyBrowseGraph with sometimes missing node #6978 by @frosforever

  • Updates sbt new by default to use Giter8 0.15.0 #7038 by @eed3si9n

  • Updates launcher to support Scala 3 apps #7035 by @eed3si9n

  • Adds diagnosticCode and diagnosticRelatedInforamation (sic) to InterfaceUtil.problem(...) #7006 by @ckipp01

  • Forwards diagnosticCode to BSP #6998 by @ckipp01

  • Improves log for not found remote cache #6824 by @gontard

v1.7.1

1 year ago

See https://github.com/sbt/sbt/releases/tag/v1.7.0 for the details on sbt 1.7.x.

Bug fix

Full Changelog: https://github.com/sbt/sbt/compare/v1.7.0...v1.7.1

v1.7.0

1 year ago

Changes with compatibility implications

++ command updates

Prior to sbt 1.7 ++ <sv> <command1> filtered subprojects using crossScalaVersions having the same ABI suffix as <sv>. This behavior was generally not well understood, and also created incorrect result for Scala 3.x since ++ 3.0.1 test could downgrade subproject that may require 3.1 or above.

sbt 1.7.0 fixes this by requiring ++ <sv> <command1> so <sv> part can be given as a semantic version selector expression, such as 3.1.x or 2.13.x. Note that the expression may match at most one Scala version to switch into. In sbt 1.7.0, a concrete version such as ++ 3.0.1 equires exact version to be present in crossScalaVersion.

This contribution was a collaborated effort among Arnout Engelen #6894, Rui Gonçalves lm#400, and Eugene Yokota.

Scala 3 compiler error improvements

In zinc#1082, Toshiyuki Takahashi contributed a fix to ignore Problem#rendered passed from the compiler when sbt uses position mapper to transform the position. This is aimed at fixing the error reporting for Play on Scala 3.

In #6874, Chris Kipp extended xsbti.Problem to track richer information available in Scala 3. This is aimed at enhancing the compilation errors reported to BSP client such as Metals.

BSP updates

Other updates

v1.7.0-RC2

1 year ago

Changes with compatibility implications

++ command updates

Prior to sbt 1.7 ++ <sv> <command1> filtered subprojects using crossScalaVersions having the same ABI suffix as <sv>. This behavior was generally not well understood, and also created incorrect result for Scala 3.x since ++ 3.0.1 test could downgrade subproject that may require 3.1 or above.

sbt 1.7.0 fixes this by requiring ++ <sv> <command1> so <sv> part can be given as a semantic version selector expression, such as 3.1.x or 2.13.x. Note that the expression may match at most one Scala version to switch into. In sbt 1.7.0, a concrete version such as ++ 3.0.1 requires exact version to be present in crossScalaVersion.

This contribution was a collaborated effort among Arnout Engelen #6894, Rui Gonçalves lm#400, and Eugene Yokota.

Scala 3 compiler error improvements

In zinc#1082, Toshiyuki Takahashi contributed a fix to ignore Problem#rendered passed from the compiler when sbt uses position mapper to transform the position. This is aimed at fixing the error reporting for Play on Scala 3.

In #6874, Chris Kipp extended xsbti.Problem to track richer information available in Scala 3. This is aimed at enhancing the compilation errors reported to BSP client such as Metals.

BSP updates

Other updates

v1.7.0-RC1

1 year ago

Changes with compatibility implications

++ command updates

Previously ++ <sv> <command1> filtered subprojects using crossScalaVersions having the same ABI suffix as <sv>. This incorrectly matched subprojects with 3.1.3 when ++ 3.0.1 test is given. sbt 1.7.0 fixes this by requiring ++ <sv> <command1> to be backward compatible. Rui Gonçalves contributed this fix as lm#400.

In #6894, Arnout Engelen contributed expansion to ++ <sv> <command1> so <sv> part can be given as a semantic version selector expression, such as 2.13.x. Note that the expression may match at most one Scala version to switch into.

Scala 3 compiler error improvements

In zinc#1082, Toshiyuki Takahashi contributed a fix to ignore Problem#rendered passed from the compiler when sbt uses position mapper to transform the position. This is aimed at fixing the error reporting for Play on Scala 3.

In #6874, Chris Kipp extended xsbti.Problem to track richer information available in Scala 3. This is aimed at enhancing the compilation errors reported to BSP client such as Metals.

BSP updates

Other updates

Full Changelog: https://github.com/sbt/sbt/compare/v1.6.2...v1.7.0-RC1

v1.7.0-M3

1 year ago

Changes with compatibility implications

Scala 3 compiler error improvements

In zinc#1082, Toshiyuki Takahashi contributed a fix to ignore Problem#rendered passed from the compiler when sbt uses position mapper to transform the position. This is aimed at fixing the error reporting for Play on Scala 3.

In #6874, Chris Kipp extended xsbti.Problem to track richer information available in Scala 3. This is aimed at enhancing the compilation errors reported to BSP client such as Metals.

BSP updates

Other updates

Full Changelog: https://github.com/sbt/sbt/compare/v1.6.2...v1.7.0-M3

v1.7.0-M2

2 years ago

Scala 3 forward compatibility support

sbt 1.7.0 implements support for Scala 3.1.2's improved forward compatibility feature.

ThisBuild / scalaVersion       := "3.1.2"
ThisBuild / scalaOutputVersion := "3.0.2"

This sets the -scala-output-version compiler option to 3.0, which lets us generate TASTy files and bytecode compatible with older Scala 3.x versions, while using newer Scala 3.x compiler at runtime. In addition, runtime Scala version and POM entries are also downgraded to 3.0.2.

The sbt support for this was contributed by Michał Pałka at VirtusLab as #6814.

Scala 3 compiler error improvements

In zinc#1082, Toshiyuki Takahashi contributed a fix to ignore Problem#rendered passed from the compiler when sbt uses position mapper to transform the position. This is aimed at fixing the error reporting for Play on Scala 3.

In #6874, Chris Kipp extended xsbti.Problem to track richer information available in Scala 3. This is aimed at enhancing the compilation errors reported to BSP client such as Metals.

BSP updates

Other updates

Full Changelog: https://github.com/sbt/sbt/compare/v1.6.2...v1.7.0-M2