chore(deps): update dependency sbt/sbt to v0.13.18 #2839
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.13.12
->0.13.18
Release Notes
sbt/sbt
v0.13.18
: 0.13.18Compare Source
^^
#3923 by @xuwei-kv0.13.17
: 0.13.17Compare Source
Improvements
Bug fixes
clean
concurrency fix. #2156/#3834 by @dwijnandscala.ext.dir
. #3142/#3701 by @retronymaddSbtPlugin
to use the correct version of sbt. #3393/#3397 by @dwijnandaddCompilerPlugin(...)
so it can consume compiler plugins published to Ivy repository using sbt 1.x. #3784/#3855 by @eed3si9nInternal
doc
friendly. #3401 by @dwijnandv0.13.16
: 0.13.16Compare Source
Fixes with compatibility implications
sbt xxx shell
to stay in shell afterxxx
. #3091/#3153 by @dwijnandImprovements
^
and^^
commands for plugin cross building. See below.Zero
scope component for sbt 1.0 compatibility. #3179 by @eed3si9nwithXXX
methods forModuleID
andArtifact
for sbt 1.0 compatibility. #3215 by @eed3si9nBug fixes
scalaBinaryVersion
for Dotty. #3152 by @smarterNumberFormatException
. #3265 by @Rogachsbt-cross-building
@jrudolph's sbt-cross-building is a plugin author's plugin.
It adds cross command
^
and sbtVersion switch command^^
, similar to+
and++
,but for switching between multiple sbt versions across major versions.
sbt 0.13.16 merges these commands into sbt because the feature it provides is useful as we migrate plugins to sbt 1.0.
To switch the
sbtVersion in pluginCrossBuild
from the shell use:Your plugin will now build with sbt 1.0.0-RC2 (and its Scala version 2.12.2).
If you need to make changes specific to a sbt version, you can now include them into
src/main/scala-sbt-0.13
,and
src/main/scala-sbt-1.0
, where the binary sbt version number is used as postfix.To run a command across multiple sbt versions, set:
Then, run:
#3133 by @eed3si9n
Eviction warning presentation
sbt 0.13.16 improves the eviction warning presentation.
Before:
After:
#3202 by @eed3si9n
Improvements and bug fixes to the startup messages
sbt writes out the
sbt.version
inproject/build.properties
if it is missing.sbt 0.13.16 fixes the logging when it happens by using the logger.
We encourage the use of the sbt shell by running
sbt
, instead of runningsbt compile
from the terminal repeatedly.The sbt shell keeps the JVM warm, and there is a significant performance improvement gained for your compilation.
The startup message that we added in sbt 0.13.15 was a bit too aggressive, so we are toning it down in 0.13.16.
It will only be triggered for
sbt compile
, and it can also be suppressed withsuppressSbtShellNotification := true
.#3091/#3097/#3147 by @dwijnand
v0.13.15
: 0.13.15Compare Source
Fixes with compatibility implications
Improvements
[ENTER]
while sbt is running. #2987/#2996 by @dwijnandAppend
instance to supportsourceGenerators += Def.task { ... }
, instead of needing.taskValue
. #2943 by @eed3si9nproject/build.properties
if it is missing. #754/#3025 by @dwijnandsets
scalaCompilerBridgeSource
correctly, this reduces the boilerplate neededto make a dotty project. Note that dotty support in sbt is still considered
experimental and not officially supported, see dotty.epfl.ch for
more information. #2902 by @smarter
It is now possible to run a subset of scripted tests in a directory at once,
for example:
scripted source-dependencies/*1of3
Will create three pages and run page 1. This is especially useful when running
scripted tests on a CI, to benefit from the available parallelism. 3013 by @smarter
Bug fixes
:=
and.value
macros. #1444/#2908 by @dwijnandCompile
. #2827/#2786 by @eed3si9nCompile
. #2828/#1466 by @eed3si9nPackage.makeJar
deleting directory recursively. #3014 by @larsrhMaven version range improvement
Previously, when the dependency resolver (Ivy) encountered a Maven version range such as
[1.3.0,)
it would go out to the Internet to find the latest version.
This would result to a surprising behavior where the eventual version keeps changing over time
even when there's a version of the library that satisfies the range condition.
Starting sbt 0.13.15, some Maven version ranges would be replaced with its lower bound
so that when a satisfactory version is found in the dependency graph it will be used.
You can disable this behavior using the JVM flag
-Dsbt.modversionrange=false
.#2954 by @eed3si9n
Offline installation
sbt 0.13.15 adds two new repositories called "local-preloaded-ivy"
and "local-preloaded" that point to
~/.sbt/preloaded/
.The purpose for the repositories is to preload them with
sbt artifacts so the installation of sbt will not require access to the Internet.
This also improves the startup time of sbt when you first run it
since the resolution happens off of a local-preloaded repository.
#2993/#145 by @eed3si9n
Notes
No changes should be necessary to your project definition and all plugins published for sbt 0.13.{x|x<14} should still work.
See Migrating from sbt 0.12.x for details on the old operator deprecation.
Special thanks to the contributors for making this release a success. According to
git shortlog -sn --no-merges v0.13.13..0.13.15
, compared to 0.13.13, there were 64 (non-merge) commits, by eleven contributors: Eugene Yokota, Dale Wijnand, Guillaume Martres, Jason Zaugg, Lars Hupel, Petro Verkhogliad, Eric Richardson, Claudio Bley, Haochi Chen, Paul Draper, Ashley Mercer. Thank you!v0.13.14
Compare Source
0.13.14 is dead on arrival. https://github.com/sbt/sbt/issues/3086
v0.13.13
: 0.13.13Compare Source
Fixes with compatibility implications
.value
method is deprecated for input tasks. Calling.value
on an input key returns anInputTask[A]
,which is completely unintuitive and often results in a bug. In most cases
.evaluated
should be called,which returns
A
by evaluating the task.Just in case
InputTask[A]
is needed,.inputTaskValue
method is now provided. #2709 by @eed3si9n--<command>
that was added in 0.13.1 toearly(<command>)
. This fixes the regression #1041. For backward compatibility--error
,--warn
,--info
, and--debug
will continue to function during the 0.13 series, but it is strongly encouraged to migrate to the single hyphen options:-error
,-warn
,-info
, and-debug
. #2742 by @eed3si9nshow
when key returns aSeq
by showing the elements one per line. Disable with-Dsbt.disable.show.seq=true
. #2755 by @eed3si9n-Dsbt.disable.interface.classloader.cache=true
. #2754 by @retronymImprovements
new
command andtemplateResolverInfos
. See below for more details.aggregateProjects(..)
for the current project inside a build sbt file. #2682 by @xuwei-k.jvmopts
support to the launcher script. sbt/sbt-launcher-package#111 by @fommil.java-version
support to the Windows launcher script. sbt/sbt-launcher-package#111 by @fommil-error
in script mode usingscalas
. #840/#2746 by @eed3si9nCrossVersion.patch
which sits in betweenCrossVersion.binary
andCrossVersion.full
in that it strips off anytrailing
-bin-...
suffix which is used to distinguish variant but binary compatible Scala toolchain builds. Most thingswhich are currently
CrossVersion.full
(eg. Scala compiler plugins, esp. macro-paradise) would be more appropriatelydepended on as
CrossVersion.patch
from this release on.Bug fixes
scalaOrganization
is set. #2703 by @milessabinTags.ForkedTestGroup
. #2677/#2681 by @pauldrapernew command and templateResolverInfos
sbt 0.13.13 adds a
new
command, which helps create new build definitions.The
new
command is extensible via a mechanism called the template resolver.A template resolver pattern matches on the passed in arguments after
new
,and if it's a match it will apply the template.
As a reference implementation, template resolver for Giter8 is provided. For instance:
will run eed3si9n/hello.g8 using Giter8.
#2705 by @eed3si9n
Synthetic subprojects
sbt 0.13.13 adds support for
AutoPlugin
s to define subprojects programmatically,by overriding the
extraProjects
method:In addition, subprojects may be derived from an existing subproject
by overriding
derivedProjects
:#2532/#2717/#2738 by @eed3si9n
Deprecate old sbt 0.12 DSL
The no-longer-documented operators
<<=
,<+=
, and<++=
and tuple enrichments are deprecated,and will be removed in sbt 1.0.
Generally,
should migrate to
Except for source generators, which requires task values:
This becomes:
Another exception is input task:
This becomes:
See Migrating from sbt 0.12.x for more details.
#2716/#2763/#2764 by @eed3si9n and @dwijnand
Notes
No changes should be necessary to your project definition and all plugins published for sbt 0.13.{x|x<12} should still work.
Special thanks to the contributors for making this release a success. According to git shortlog -sn --no-merges v0.13.12..v0.13.13, compared to 0.13.12, there were 63 (non-merge) commits, by 9 contributors: Eugene Yokota, Dale Wijnand, Martin Duhem, Miles Sabin, Jaroslaw Grabowski, Kenji Yoshida, Jason Zaugg, Paul Draper, Björn Antonsson. Thank you!
Configuration
📅 Schedule: Branch creation - "every 3 weeks on Monday" (UTC), 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.