Update dependency sbt/sbt to v1.8.2 #17
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
navicore/stsource!17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/sbt-sbt-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.1.6->1.8.2Release Notes
sbt/sbt
v1.8.2: 1.8.2Compare Source
updates
Fixes M1/M2/Aarch64 Mac support by #7120 by @eed3si9n
Fixes glibc 2.31/Debian 11/Ubuntu 20.04 compatibility #7118 by @eed3si9n
v1.8.1: 1.8.1Compare Source
Bug fixes
PATHenvironment variable case insensitive by #7085 by @dos65Updates
New Contributors
Full Changelog: https://github.com/sbt/sbt/compare/v1.8.0...v1.8.1
v1.8.0: 1.8.0Compare Source
Security fixes
Changes with compatibility implications
Bug fixes
Other updates
-Dsbt.argsfile=falseorSBT_ARGSFILEenvironment variable) #7010 by @easelbuildTarget/outputPathsmethod of Build Server Protocol. #6985 by @povderNew Contributors
Full Changelog: https://github.com/sbt/sbt/compare/v1.7.1...v1.8.0
v1.7.3: 1.7.3Compare Source
updates
new contributors
Full Changelog: https://github.com/sbt/sbt/compare/v1.7.2...v1.7.3
v1.7.2: 1.7.2Compare Source
See https://github.com/sbt/sbt/releases/tag/v1.7.0 for the details on sbt 1.7.x.
Fixes invalidation of incremental
testQuicktask #6903 by @gontardFixes
/tmp/.sbt/collision for domain socket #7041 by @eed3si9nAdds workaround for
dependencyBrowseGraphwith sometimes missing node #6978 by @frosforeverUpdates
sbt newby default to use Giter8 0.15.0 #7038 by @eed3si9nUpdates launcher to support Scala 3 apps #7035 by @eed3si9n
Adds
diagnosticCodeanddiagnosticRelatedInforamation(sic) toInterfaceUtil.problem(...)#7006 by @ckipp01Forwards
diagnosticCodeto BSP #6998 by @ckipp01Improves log for not found remote cache #6824 by @gontard
v1.7.1: 1.7.1Compare Source
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.7.0Compare Source
Changes with compatibility implications
++is stricter. See below.XDG_RUNTIME_DIRand/tmp#6887 by @AlonsoM45Resolver.sonatypeRepoand addsResolver.sonatypeOssRepos, which includes https://s01.oss.sonatype.org/ by @armanbilge in lm#393++command updatesPrior to sbt 1.7
++ <sv> <command1>filtered subprojects usingcrossScalaVersionshaving 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 testcould 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 as3.1.xor2.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.1equires exact version to be present incrossScalaVersion.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#renderedpassed 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.Problemto track richer information available in Scala 3. This is aimed at enhancing the compilation errors reported to BSP client such as Metals.BSP updates
build/publishDiagnosticsin BSP #6847/#6929 by @tanishiking and @kpodsiadOther updates
Fixes under-compilation when Java annotation changes by @SethTisue in zinc#1079
Fixes ipcsocket JNI cleanup code deleting empty directories in
/tmpipc#23 by @eed3si9nFixes command argument parsing with quotes in
-a="b c"pattern #6816 by @Nirvikalpa108Fixes
ThisBuild / includePluginResolvers#6849 by @bjaglinFixes watchOnTermination callbacks #6870 by @eatkins
Fixes
proxyInputStream#available, which affected sbt-sitepreviewSite#6965 by @eed3si9nv1.6.2: 1.6.2Compare Source
readLinecatchingInterruptedException#6803 by @tpetillotsbt --helpby removing unimplemented-S-Xoption #6799 by @Nirvikalpa108License
sbt 1.6.2 adds
Licenseobject that defines predefined license values:Predefined values are
License.Apache2,License.MIT,License.CC0, andLicense.GPL3_or_later. lm#395 by @eed3si9nv1.6.1: 1.6.1Compare Source
v1.6.0: 1.6.0Compare Source
Changes with compatibility implications
build.sbtis updated to Scala 2.12.15, which improves the compatibility with JDK 17+. The metabuild is compiled with-Xsource:3flag #6664 by @Nirvikalpa108 + @eed3si9nsbt.TrapExitis dropped due to Security Manager being deprecated in JDK 17. Callingsys.exitinrunortestwould shutdown the sbt session. Use forking to prevent it #6665 by @eed3si9nSBT_CREDENTIALSenvironment variable, following sbt launcher #6724 by @daddykotexBSP improvements
.sbtoptsnot getting picked up when sbt server is started by Metals #6593 by @adpi2javais not onPATH#6576 by @github-samuel-clarencbuildTarget/cleanCache, which fixes IntelliJrebuild#6638 by @hmemcpybuild/taskProgressnotifications #6642 by @hmemcpysbtnbuffer not printing out all the outputs on system out #6703 by @adpi2<macro>, which are occasionally returned by the compiler #6730 by @eed3si9nsbt shutdownallto shutdown all sbt server instances #6697 by @er1csbt --no-serverto not start the server or use a virtual terminal #6728 by @eed3si9nZinc improvements
Analysisfile zinc#995 by @dwijnandRemote caching improvements
sbt 1.6.0 improves remote caching of
resourcesdirectory by virtualizing the internal sync state (copy-resources.txt). This allows incrementalresourcedirectory synching to be resumed from the remote cache, similar to how Zinc has been able to resume incremental compilation from the remote cache. This was contributed by Amina Adewusi (@Nirvikalpa108) as #6611.Dependency tree improvements
dependencyTreeto useasciiGraphWidthsetting 6693 by @kijukydependencyBrowseTree#6675 by @nimatruewaydependencyBrowseTreeto use Contraband data types instead ofscala.util.parsing.json#6699 by @Nirvikalpa108Other updates
Updates to lm-coursier 2.0.9, which uses Coursier 2.1.0-M2. This fixes full Scala suffix getting incorrectly overwritten by
scalaVersion#6753 by @eed3si9nFixes tab completion of global keys #6716 by @eed3si9n
Fixes shutdown hook error in timing report #6630 by @Nirvikalpa108
Fixes
ClassCastExceptioninXMainConfiguration#6649 by @eed3si9nMoves
scalaInstanceTopLoadertocompileBasesettings #6480 by @adpi2Fixes
crossSbtVersionsincluded intolintBuild#6656 by @Nirvikalpa108Fixes
realpathishfunction insbtrunner script #6641 by @darabosFixes repeated version numbers in eviction error lm#386 by @rtyley
Flyweights
ConfigRefto reduce heap usage lm#390 by @eed3si9nAdds Windows Java home selectors for JDK cross building #6684 by @kxbmap
Makes scripted Java home configurable using
scripted / javaHome#6673 by @kxbmapmaven.repo.localsystem property configures local Maven repository lm#391 by @peter-janssenv1.5.8: 1.5.8Compare Source
v1.5.7: 1.5.7Compare Source
v1.5.6: 1.5.6Compare Source
v1.5.5: 1.5.5Compare Source
Fixes remote caching not managing resource files #6554 by @Nirvikalpa108
Fixes launcher causing
NoClassDefFoundErrorwhen launching sbt 1.4.0 - 1.4.2 launcher#98 by @eed3si9nFixes cross-Scala suffix conflict warning involving
_3lm#383 by @eed3si9nFixes
binaryScalaVersionof3.0.1-SNAPSHOTlm#384 by @adpi2Fixes carriage return in supershell progress state #6556 by @sebastian-alfers
Fixes IntegrationTest configuration not tagged as test in BSP #6551 by @samuelClarencTeads
Fixes BSP task error handling #6565 by @adpi2
Fixes handling of invalid range positions returned by Javac zinc#990 by @retronym
Fixes local class analysis zinc#985 by @ephemerist
Adds
buildTarget/resourcessupport for BSP #6552 by @samuelClarencTeadsAdds
build.sbtsupport for BSP import #6553 by @retronymTracks source dependencies using
OriginalTreeAttachmentsin Scala 2.13 zinc#985 by @ephemeristReduces overhead in Analysis protobuf deserialization zinc#989 by @retronym
Minimizes unnecessary information in signature analysis zinc#987 by @ephemerist
Enables compile-to-jar for local Javac zinc#986 by @ephemerist
Enables Zinc cycle reporting when Scalac is not invoked zinc#988 by @ephemerist
v1.5.4: 1.5.4Compare Source
Fixes compiler ClassLoader list to use
compilerJars.toList(For Scala 3, this drops support for 3.0.0-M2) #6538 by @adpi2Fixes undercompilation of package object causing "Symbol 'type X' is missing from the classpath" zinc#983 by @retronym
Fixes overcompilation with scalac
-releaseflag zinc#982 by @retronymFixes BSP on ARM Macs by keeping JNI server socket to keep using JNI ipcsocket#14 by @quelgar
Fixes
build/exitnotification not closing BSP channel #6539 by @adpi2Fixes POM file's Maven repository ID character restriction to match that of Maven lm#380 by @peter-janssen
v1.5.3: 1.5.3Compare Source
Fixes
scalacOptionsnot getting forwarded to ScalaDoc in Scala 3 #6499 by @pikinier20Fixes undercompilation of sealed traits that extends other seal traits zinc#979 by @dwijnand
Fixes version parsing not recognizing dots in a prerelease tag lm#377 by @Nirvikalpa108
Fixes spurious "@nowarn annotation does not suppress any warnings" in old style sbt plugins with
sbtPlugin := true#6517 by @Nirvikalpa108Fixes
inputFileresolving to incorrect files when file specific globs are used io#319 by @eatkinsFixes multiple main class warning when
runis scoped #6523 by @eatkinsFixes duplicate
unmanagedSourceDirectorieswhen Scala version is 3.0.0 #6511 by @bjaglinFixes URL for
Resolvers.sonatypeRepo("releases")lm#379/#5405 by @mkurzMakes
makeScalaInstancepublic #6504 by @adpi2Adjusts to Scala 2.13.6 restriction on narrowing access when overriding a field io#317 by @SethTisue
Implements
sbtndownloading insbtrunner script #6514 by @eed3si9nUpdates to Scala 2.12.14 #6522 by @mkurz
v1.5.2: 1.5.2Compare Source
ConcurrentModificationExceptionwhile compiling Scala 2.13.4 and Java sources zinc#974 by @lefou-clientby making it the same as--client#6500 by @Nirvikalpa108util-interface#6493 by @adpi2-Duser.homeinstead of$HOMEto download launcher JAR #6483 by @rdesgroppessbt newleaving behindtargetdirectory #6488 by @eed3si9npushRemoteCache#6497 by @eed3si9nv1.5.1: 1.5.1Compare Source
sbt 1.5.1 in-sources sbt runner script to sbt/sbt repo, and implements
sbt-launch.jardownloadMake Linux distribution contain only the
sbtrunner script to minimize bandwidthFixes
NullPointerExceptioncaused by the launcher implementation #6434/launcher#96 by @eed3si9n and @adpi2Fixes spurious "@nowarn annotation does not suppress any warnings" in sbt plugins #6431 by @adpi2
Fixes JUnit reports directory for non-
Testconfigurations #6425 by @ashleymercerFixes publishing to Ivy repo when there are classifiers #6456 by @guilgaly
Fixes
itSettingsoverriding settings inCompileconfiguration #6436 by @steinybotFixes "Could not find required component 'xsbti'" error when launching sbt 0.13 launcher#95 by @eed3si9n
v1.5.0: 1.5.0Compare Source
The headline features of sbt 1.5.0 are:
Scala 3 support
sbt 1.5.0 adds built-in Scala 3 support, contributed by Scala Center. Main implementation was done by Adrien Piquerez (@adpi2) based on EPFL/LAMP's sbt-dotty. You can now use Scala 3.0.0-RC2 like any other Scala version.
This will compile the following
Hello.scala:Note: To support cross testing of various Scala 3.x releases,
crossTargetdirectory will contain the full Scala version. #6415Scala 2.13-3.x sandwich
Scala 3.0.x shares the standard library with Scala 2.13, and since Scala 2.13.4, they can mutually consume the output of each other as external library. This allows you to create Scala 2.13-3.x sandwich, a layering of dependencies coming from different Scala versions.
Warning: Library authors should generally treat Scala 3.0 as any other major version, and prefer to cross publish
_3variant to avoid the conflict. Some libraries may encode a particular notion in different ways for Scala 2.13 and 3.0. For example, arity abstraction may use Shapeless HList in Scala 2.13, but built-in Tuple types in Scala 3.0. Thus it's generally not safe to have_2.13and_3versions of the same library in the classpath, even transitively. Application developers should be free to use.cross(CrossVersion.for3Use2_13)as long as the transitive dependency graph will not introduce_2.13variant of a library you already have in_3variant.sbt 1.5.0 introduces new cross building operand to use
_3variant whenscalaVersionis 2.13.x, and vice versa:lm#361 by @adpi2
Deprecation of sbt 0.13 syntax
sbt 1.5.0 deprecates both the sbt 0.13 style shell syntax
proj/config:intask::keyand sbt 0.13 style build.sbt DSLkey in (Compile, intask)in favor of the unified slash syntax.There's a syntactic Scalafix rule for unified slash syntax
to semi-automatically rewrite existing sbt 0.13 syntax to the slash syntax. Currently it requires the use of scalafix CLI
and it's not very precise (because it's a syntactic rule that only looks at the shape of the code) but it gets most of the job done.
See https://www.scala-sbt.org/1.x/docs/Migrating-from-sbt-013x.html#slash for details.
Eviction error
sbt 1.5.0 removes eviction warning, and replaces it with stricter eviction error. Unlike the eviction warning that was based on speculation, eviction error only uses the
ThisBuild / versionSchemeinformation supplied by the library authors.For example:
The above build will fail to build
use/compilewith the following error:This is because Cats Effect 2.x and 3.x are found in the classpath, and Cats Effect has declared that it uses early-semver. If the user wants to opt-out of this, the user can do so per module:
or globally as:
On the other hand, if you want to bring back the guessing feature in eviction warning, you can do using the following settings:
@eed3si9n implemented this in #6221, inspired in part by Scala Center's sbt-eviction-rules, which was implemented by Alexandre Archambault (@alxarchambault) and Julien Richard-Foy (@julienrf).
ThisBuild / packageTimestamp setting
In sbt 1.4.0 we started wiping out the timestamps in JAR to make the builds more repeatable. This had an unintended consequence of breaking Play's last-modified response header.
To opt out of this default, the user can use:
#6237 by @eed3si9n
Coursier-based launcher
sbt launcher shipped in the official installer of sbt is a generic launcher that is able to launch all versions of sbt. For the sbt launcher shipped with sbt 1.5.0 installer, its internal dependency resolver used to resolve sbt itself was updated from Apache Ivy to Coursier (Dependency resolver for the built has been updated to Coursier in sbt 1.3.0).
You can use
-Dsbt.launcher.coursier=falseto opt out of using Coursier and used Apache Ivy instead. launcher#86 by @eed3si9nOther updates
Fixes
SemanticdbPlugincreating duplicatescalacOptionsor dropping-Yrangepos#6296/#6316 by @bjaglin and @eed3si9nFixes tab completion of dependency configurations
Compile,Test, etc #6283 by @eed3si9nFixes exit code calculation in
StashOnFailure#6266 by @melezovFixes concurrency issues with
testQuick#6326 by @RafalSumislawskiUpdates to Scala 2.12.13.
Updates to Coursier 2.0.15, includes
reloadmemory fix by @jtjeferreira and behind-the-proxy IntelliJ import fix added by @eed3si9nWarns when
ThisBuild / versionSchemeis missing while publishing #6310 by @eed3si9nUse 2010-01-01 for the repeatable build timestamp wipe-out to avoid negative date #6254 by @takezoe (There's an active discussion to use commit date instead)
Adds FileInput/FileOutput that avoids intermediate String parsing #5515 by @jtjeferreira
Support credential file without realm lm#367 by @MasseGuillaume
Support MUnit out of box #6335 by @julienrf
Automatically publishLocal plugin dependency subprojects before
scripted#6351 by @steinybotv1.4.9: 1.4.9Compare Source
Changes since 1.4.9
sbt 1.4.9 fixes JLine 2 fork + JAnsi version to match that of JLine 3.19.0 to fix line reading, which among other things affected IntelliJ import.
Changes with compatibility implications
sbt 1.4.9 is published to Sonatype OSS without going through Bintray.
sbt-launcherwas published twice undersbt-launch.jarand Maven-compatiblesbt-launch-<version>.jar. We're no longer going to publish the Maven incompatible form of the launcher JAR. The latest sbt-extras has already migrated to the correct URL, but CI environments using and older version of it may experience disruptions. As the fix, curl*.tgzfrom GitHub release.*.tgzfrom GitHub release.Migration note for Travis CI
If you're using Travis CI, you might run into the above issue because it's using an older version of sbt-extras. Here's how you can use the official sbt launcher script instead:
Fixes
Fixes
sourcePositionMappersadded by Play not getting called #6352 by @mkurzUpgrade to JLine 3.19.0 to work around Scala 2.13.5 REPL breakage #6366 by @eed3si9n
Fixes concurrent
testQuickleading to an infinite loop #6326 by @RafalSumislawskiFixes
ZipEntrytimestamp to 2010-01-01 to prevent negative value #6290 by @takezoeDisplay a better error message for "sbt server is already booting" problem #6353 by @sideeffffect
v1.4.8: 1.4.8Compare Source
Changes with compatibility implications
sbt 1.4.8 is published to Sonatype OSS without going through Bintray.
sbt-launcherwas published twice undersbt-launch.jarand Maven-compatiblesbt-launch-<version>.jar. We're no longer going to publish the Maven incompatible form of the launcher JAR. The latest sbt-extras has already migrated to the correct URL, but CI environments using and older version of it may experience disruptions. As the fix, curl*.tgzfrom GitHub release.*.tgzfrom GitHub release.Migration note for Travis CI
If you're using Travis CI, you might run into the above issue because it's using an older version of sbt-extras. Here's how you can use the official sbt launcher script instead:
Fixes
Fixes
sourcePositionMappersadded by Play not getting called #6352 by @mkurzUpgrade to JLine 3.19.0 to work around Scala 2.13.5 REPL breakage #6366 by @eed3si9n
Fixes concurrent
testQuickleading to an infinite loop #6326 by @RafalSumislawskiFixes
ZipEntrytimestamp to 2010-01-01 to prevent negative value #6290 by @takezoeDisplay a better error message for "sbt server is already booting" problem #6353 by @sideeffffect
v1.4.7: 1.4.7Compare Source
Updates to Coursier 2.0.9, fixing authentication with Sonatype Nexus #6278 / https://github.com/coursier/coursier/pull/1948 by @cchepelov
Fixes Ctrl-C printing out stack trace #6213 by @eatkins
Fixes tab completion adding extra whitespace #6257 by @eed3si9n
Fixes Scalac options for SemanticDB on Scala >= 3.0.0-M3 #6231 by @adpi2
GNU Emacs support for
sbtnandsbt --client#6276 by @fommilDeprecates
externalPom(...)andexternalIvyFile(...)#6284 by @eed3si9nv1.4.6: 1.4.6Compare Source
Updates to Coursier 2.0.8, which fixes the cache directory setting on Windows (fix contributed by @fthomas)
Fixes performance regression in shell tab completion #6214 by @eed3si9n
Fixes match error when using
withDottyCompatlm#352 by @eed3si9nFixes thread-safety in AnalysisCallback handler zinc#957 by @dotta
v1.4.5: 1.4.5Compare Source
sbt 1.4.5 adds support for Apple silicon (AArch64 also called ARM64) #6162/#6169 by @eatkins
Updates to Coursier 2.0.7 #6120 by @jtjeferreira
Fixes watch shell option #6166 by @eatkins
Fixes
onLoadto run with the correctFileTreeRepositoryandCacheStoreFactory#6190 by @mkurzConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.