junit-team / junit5-samples

Collection of sample applications using JUnit 5.
Eclipse Public License 2.0
1.56k stars 1.4k forks source link

Update dependency sbt/sbt to v1.10.1 #463

Closed renovate[bot] closed 2 months ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Update Change
sbt/sbt minor 1.9.9 -> 1.10.1

Release Notes

sbt/sbt (sbt/sbt) ### [`v1.10.1`](https://redirect.github.com/sbt/sbt/releases/tag/v1.10.1): 1.10.1 [Compare Source](https://redirect.github.com/sbt/sbt/compare/v1.10.0...v1.10.1) #### bug fixes and updates - Fixes column/position information missing from the javac error messages in IntelliJ by [@​vasilmkd](https://redirect.github.com/vasilmkd) in [https://github.com/sbt/zinc/pull/1373](https://redirect.github.com/sbt/zinc/pull/1373) - Fixes backslash handling in `expandMavenSettings` by [@​desbo](https://redirect.github.com/desbo) in [https://github.com/sbt/librarymanagement/pull/444](https://redirect.github.com/sbt/librarymanagement/pull/444) - Fixes JSON serialization of `Map` and `LList` in sjson-new 0.10.1 by [@​steinybot](https://redirect.github.com/steinybot) + [@​eed3si9n](https://redirect.github.com/eed3si9n) in [https://github.com/eed3si9n/sjson-new/pull/142](https://redirect.github.com/eed3si9n/sjson-new/pull/142) - Fixes the hash code for empty files in the classpath cache by [@​szeiger](https://redirect.github.com/szeiger) in [https://github.com/sbt/zinc/pull/1366](https://redirect.github.com/sbt/zinc/pull/1366) - Fixes `forceUpdatePeriod` by [@​adpi2](https://redirect.github.com/adpi2) in [https://github.com/sbt/sbt/pull/7567](https://redirect.github.com/sbt/sbt/pull/7567) - Fixes BSP handling of `Optional` inter-project dependencies by [@​adpi2](https://redirect.github.com/adpi2) in [https://github.com/sbt/sbt/pull/7568](https://redirect.github.com/sbt/sbt/pull/7568) - Ignores `jcenter` and `scala-tools-releases` entries in the `~/.sbt/repositories` file by [@​eed3si9n](https://redirect.github.com/eed3si9n) in [https://github.com/sbt/launcher/pull/104](https://redirect.github.com/sbt/launcher/pull/104) #### behind the scenes - Updates sbt plugins to avoid deprecated repo.scala-sbt.org by [@​mkurz](https://redirect.github.com/mkurz) in [https://github.com/sbt/sbt/pull/7555](https://redirect.github.com/sbt/sbt/pull/7555) - Updates scalacenter/sbt-dependency-submission from 2 to 3 by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/sbt/sbt/pull/7565](https://redirect.github.com/sbt/sbt/pull/7565) **Full Changelog**: https://github.com/sbt/sbt/compare/v1.10.0...v1.10.1 ### [`v1.10.0`](https://redirect.github.com/sbt/sbt/releases/tag/v1.10.0): 1.10.0 [Compare Source](https://redirect.github.com/sbt/sbt/compare/v1.9.9...v1.10.0) [@​eed3si9n]: https://redirect.github.com/eed3si9n [@​adpi2]: https://redirect.github.com/adpi2 [@​dwijnand]: https://redirect.github.com/dwijnand [@​xuwei-k]: https://redirect.github.com/xuwei-k [@​mdedetrich]: https://redirect.github.com/mdedetrich [@​mkurz]: https://redirect.github.com/mkurz [@​hvesalai]: https://redirect.github.com/hvesalai [@​Friendseeker]: https://redirect.github.com/Friendseeker [@​RustedBones]: https://redirect.github.com/RustedBones [@​minkyu97]: https://redirect.github.com/minkyu97 [@​azdrojowa123]: https://redirect.github.com/azdrojowa123 [@​SethTisue]: https://redirect.github.com/SethTisue [@​Tammo0987]: https://redirect.github.com/Tammo0987 [@​azolotko]: https://redirect.github.com/azolotko [@​rtyley]: https://redirect.github.com/rtyley [@​mazugrin]: https://redirect.github.com/mazugrin [7350]: https://redirect.github.com/sbt/sbt/pull/7350 [7352]: https://redirect.github.com/sbt/sbt/pull/7352 [7470]: https://redirect.github.com/sbt/sbt/pull/7470 [7475]: https://redirect.github.com/sbt/sbt/pull/7475 [7480]: https://redirect.github.com/sbt/sbt/pull/7480 [7496]: https://redirect.github.com/sbt/sbt/pull/7496 [7516]: https://redirect.github.com/sbt/sbt/pull/7516 [7513]: https://redirect.github.com/sbt/sbt/pull/7513 [7419]: https://redirect.github.com/sbt/sbt/pull/7419 [7389]: https://redirect.github.com/sbt/sbt/pull/7389 [7398]: https://redirect.github.com/sbt/sbt/pull/7398 [7178]: https://redirect.github.com/sbt/sbt/pull/7178 [7437]: https://redirect.github.com/sbt/sbt/pull/7437 [7545]: https://redirect.github.com/sbt/sbt/pull/7545 [sip51]: https://docs.scala-lang.org/sips/drop-stdlib-forwards-bin-compat.html [zinc1319]: https://redirect.github.com/sbt/zinc/pull/1319 [zinc1316]: https://redirect.github.com/sbt/zinc/pull/1316 [zinc1314]: https://redirect.github.com/sbt/zinc/pull/1314 [zinc1326]: https://redirect.github.com/sbt/zinc/pull/1326 [zinc1324]: https://redirect.github.com/sbt/zinc/pull/1324 [zinc1312]: https://redirect.github.com/sbt/zinc/pull/1312 [zinc1310]: https://redirect.github.com/sbt/zinc/pull/1310 [zinc1278]: https://redirect.github.com/sbt/zinc/pull/1278 [zinc1284]: https://redirect.github.com/sbt/zinc/pull/1284 [zinc1259]: https://redirect.github.com/sbt/zinc/pull/1259 [zinc1277]: https://redirect.github.com/sbt/zinc/pull/1277 [zinc1265]: https://redirect.github.com/sbt/zinc/pull/1265 [zinc1289]: https://redirect.github.com/sbt/zinc/pull/1289 [zinc1290]: https://redirect.github.com/sbt/zinc/pull/1290 [zinc1282]: https://redirect.github.com/sbt/zinc/pull/1282 [zinc1293]: https://redirect.github.com/sbt/zinc/pull/1293 [zinc1288]: https://redirect.github.com/sbt/zinc/pull/1288 [zinc1287]: https://redirect.github.com/sbt/zinc/pull/1287 [lm436]: https://redirect.github.com/sbt/librarymanagement/pull/436 [lm433]: https://redirect.github.com/sbt/librarymanagement/pull/433 #### Changes with compatibility implications - For SIP-51 support, `scalaVersion` can no longer be a lower 2.13.x version number than its transitive depdencies. See below for details. - ConsistentAnalysisFormat is enabled by default. See below for details. - Updates lm-coursier-shaded to 2.1.4, which brings in Coursier 2.1.9 [#​7513][7513]. - Updates Jsch to [mwiede/jsch](https://redirect.github.com/mwiede/jsch) fork by [@​azolotko][@​azolotko] in [lm#436][lm436] - Updates the Scala version used by sbt 1.x to 2.12.19 by [@​SethTisue][@​SethTisue] in [#​7516][7516]. #### SIP-51 Support for Scala 2.13 Evolution Modern Scala 2.x has kept both forward and backward binary compatibility so a library compiled using Scala 2.13.12 can be used by an application compiled with Scala 2.13.11 etc, and vice versa. The forward compatibility restricts Scala 2.x from evolving during the patch releases, so in [SIP-51][sip51] Lukas Rytz at Lightbend Scala Team proposed: > I propose to drop the forwards binary compatibility requirement that build tools enforce on the Scala 2.13 standard library. This will allow implementing performance optimizations of collection operations that are currently not possible. It also unblocks adding new classes and new members to existing classes in the standard library. Lukas has also contributed changes to sbt 1.10.0 to enforce stricter `scalaVersion`. Starting sbt 1.10.0, when a Scala 2.13.x patch version newer than `scalaVersion` is found, it will fail the build as follows: ```scala sbt:foo> run [error] stack trace is suppressed; run last scalaInstance for the full output [error] (scalaInstance) expected `foo/scalaVersion` to be "2.13.10" or later, [error] but found "2.13.5"; upgrade scalaVerion to fix the build. [error] [error] to support backwards-only binary compatibility (SIP-51), [error] the Scala 2.13 compiler cannot be older than scala-library on the [error] dependency classpath. [error] see `foo/evicted` to know why scala-library 2.13.10 is getting pulled in. ``` When you see the error message like above, you can fix this by updating the Scala version to the suggested version (e.g. 2.13.10): ```scala ThisBuild / scalaVersion := "2.13.10" ``` Side note: Old timers might know that [sbt 0.13.0](https://www.scala-sbt.org/0.13/docs/ChangeSummary\_0.13.0.html#sbt+0.13.0) also introduced the idea of *scala-library as a normal dependency*. This created various confusions as developers expected `scalaVersion`, compiler version, and scala-library version as expected to align. With the hindsight, sbt 1.10.0 will continue to respect `scalaVersion` to be the source-of-truth, but will reject bad ones at build time. This was contributed by Lukas Rytz in [#​7480][7480]. #### Zinc fixes - Fixes macro undercompilation by invalidating macro call sites when a type parameter changes by [@​Friendseeker][@​Friendseeker] in [zinc#1316][zinc1316] - Fixes macro undercompilation by invalidating macro source when its dependency changes by [@​dwijnand][@​dwijnand] in [zinc#1282][zinc1282] - Fixes SAM type undercompilation by [@​Friendseeker][@​Friendseeker] in [zinc#1288][zinc1288] - Fixes infinite incremental loop when Scala and Java are involved by [@​Friendseeker][@​Friendseeker] in [zinc#1312][zinc1312] - Fixes overcompilation on default parameter changes by [@​Friendseeker][@​Friendseeker] in [zinc#1324][zinc1324] - Fixes `IncOptions.useOptimizedSealed` not working for Scala 2.13 by [@​Friendseeker][@​Friendseeker] in [zinc#1278][zinc1278] - Includes extra invalidations in initial validation to fix initial compilation error by [@​Friendseeker][@​Friendseeker] in [zinc#1284][zinc1284] - Refixes compact names without breaking local names by [@​dwijnand][@​dwijnand] in [zinc#1259][zinc1259] - Undoes Protobuf workaround for build to work on Apple Silicon by [@​Friendseeker][@​Friendseeker] in [zinc#1277][zinc1277] - Uses `ClassTag` instead of `Manifest` by [@​xuwei-k][@​xuwei-k] in [zinc#1265][zinc1265] - Encodes parent trait private members in `extraHash` to propagate `TraitPrivateMembersModified` across external dependency by [@​Friendseeker][@​Friendseeker] in [zinc#1289][zinc1289] - Includes internal dependency in `extraHash` computation by [@​Friendseeker][@​Friendseeker] in [zinc#1290][zinc1290] - Deletes products of previous analysis when dropping previous analysis by [@​Friendseeker][@​Friendseeker] in [zinc#1293][zinc1293] - Uses the most up-to-date analysis for binary to source class name lookup by [@​Friendseeker][@​Friendseeker] in [zinc#1287][zinc1287] - Fixes inconsistent Analysis by removing source stamp caching by [@​Friendseeker][@​Friendseeker] in [zinc#1319][zinc1319] - Invalidate sources that depends on `@inline` methods in Scala 2.x by [@​Friendseeker][@​Friendseeker] in [zinc#1310][zinc1310] - Fixes `-Xshow-phases` handling by [@​Friendseeker][@​Friendseeker] in [zinc#1314][zinc1314] #### ConsistentAnalysisFormat: new Zinc Analysis serialization sbt 1.10.0 adds a new Zinc serialization format that is faster and repeatable, unlike the current Protobuf-based serialization. Benchmark data based on scala-library + reflect + compiler: | | Write time | Read time | File size | |-----------------------------|------------|-----------|-----------| | sbt Text | 1002 ms | 791 ms | ~ 7102 kB | | sbt Binary | 654 ms | 277 ms | ~ 6182 kB | | ConsistentBinary | 157 ms | 100 ms | 3097 kB | Since Zinc Analysis is internal to sbt, sbt 1.10.0 will enable this format by default. The following setting can be used to opt-out: ```scala Global / enableConsistentCompileAnalysis := false ``` This was contributed by Stefan Zeiger at Databricks in [zinc#1326][zinc1326]. #### New CommandProgress API sbt 1.10.0 adds a new CommandProgress API. This was contributed by Iulian Dragos at Gradle Inc in [#​7350][7350]. #### Other updates - Updates to JLine 3.24.1 and JAnsi 2.4.1 by [@​hvesalai][@​hvesalai]/[@​mazugrin][@​mazugrin] in [#​7419][7419]/[#​7545][7545] - Supports cross-build for external project ref by [@​RustedBones][@​RustedBones] in [#​7389][7389] - Avoids deprecated `java.net.URL` constructor by [@​xuwei-k][@​xuwei-k] in [#​7398][7398] - Fixes bug of unmanagedResourceDirectories by [@​minkyu97][@​minkyu97] in [#​7178][7178] - Fixes `updateSbtClassifiers` task by [@​azdrojowa123][@​azdrojowa123] in [#​7437][7437] - Fixes `packageSrc` to include `managedSources` by [@​Friendseeker][@​Friendseeker] in [#​7470][7470] - Fixes publishing to use the publisher specified using the `publisher` setting by [@​Tammo0987][@​Tammo0987] in [#​7475][7475] - Fixes eviction warning message by avoid repeating versions by [@​rtyley][@​rtyley] in [lm#433][lm433] - BSP: Implements `buildTarget/javacOptions` by [@​adpi2][@​adpi2] in [#​7352][7352] - BSP: Adds `noOp` field in the compile report by [@​adpi2][@​adpi2] in [#​7496][7496]

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.