This repository shows how to build reactive applications in Java 8 using the Akka framework, on Akka Persistence, with cassandra as backend, and exposing an event sourced stream using HTTP.
MIT License
44
stars
18
forks
source link
chore(deps): update dependency sbt/sbt to v1.10.0 #220
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
sbt/sbt (sbt/sbt)
### [`v1.10.0`](https://togithub.com/sbt/sbt/releases/tag/v1.10.0): 1.10.0
[Compare Source](https://togithub.com/sbt/sbt/compare/v1.9.9...v1.10.0)
[@eed3si9n]: https://togithub.com/eed3si9n
[@adpi2]: https://togithub.com/adpi2
[@dwijnand]: https://togithub.com/dwijnand
[@xuwei-k]: https://togithub.com/xuwei-k
[@mdedetrich]: https://togithub.com/mdedetrich
[@mkurz]: https://togithub.com/mkurz
[@hvesalai]: https://togithub.com/hvesalai
[@Friendseeker]: https://togithub.com/Friendseeker
[@RustedBones]: https://togithub.com/RustedBones
[@minkyu97]: https://togithub.com/minkyu97
[@azdrojowa123]: https://togithub.com/azdrojowa123
[@SethTisue]: https://togithub.com/SethTisue
[@Tammo0987]: https://togithub.com/Tammo0987
[@azolotko]: https://togithub.com/azolotko
[@rtyley]: https://togithub.com/rtyley
[@mazugrin]: https://togithub.com/mazugrin
[7350]: https://togithub.com/sbt/sbt/pull/7350
[7352]: https://togithub.com/sbt/sbt/pull/7352
[7470]: https://togithub.com/sbt/sbt/pull/7470
[7475]: https://togithub.com/sbt/sbt/pull/7475
[7480]: https://togithub.com/sbt/sbt/pull/7480
[7496]: https://togithub.com/sbt/sbt/pull/7496
[7516]: https://togithub.com/sbt/sbt/pull/7516
[7513]: https://togithub.com/sbt/sbt/pull/7513
[7419]: https://togithub.com/sbt/sbt/pull/7419
[7389]: https://togithub.com/sbt/sbt/pull/7389
[7398]: https://togithub.com/sbt/sbt/pull/7398
[7178]: https://togithub.com/sbt/sbt/pull/7178
[7437]: https://togithub.com/sbt/sbt/pull/7437
[7545]: https://togithub.com/sbt/sbt/pull/7545
[sip51]: https://docs.scala-lang.org/sips/drop-stdlib-forwards-bin-compat.html
[zinc1319]: https://togithub.com/sbt/zinc/pull/1319
[zinc1316]: https://togithub.com/sbt/zinc/pull/1316
[zinc1314]: https://togithub.com/sbt/zinc/pull/1314
[zinc1326]: https://togithub.com/sbt/zinc/pull/1326
[zinc1324]: https://togithub.com/sbt/zinc/pull/1324
[zinc1312]: https://togithub.com/sbt/zinc/pull/1312
[zinc1310]: https://togithub.com/sbt/zinc/pull/1310
[zinc1278]: https://togithub.com/sbt/zinc/pull/1278
[zinc1284]: https://togithub.com/sbt/zinc/pull/1284
[zinc1259]: https://togithub.com/sbt/zinc/pull/1259
[zinc1277]: https://togithub.com/sbt/zinc/pull/1277
[zinc1265]: https://togithub.com/sbt/zinc/pull/1265
[zinc1289]: https://togithub.com/sbt/zinc/pull/1289
[zinc1290]: https://togithub.com/sbt/zinc/pull/1290
[zinc1282]: https://togithub.com/sbt/zinc/pull/1282
[zinc1293]: https://togithub.com/sbt/zinc/pull/1293
[zinc1288]: https://togithub.com/sbt/zinc/pull/1288
[zinc1287]: https://togithub.com/sbt/zinc/pull/1287
[lm436]: https://togithub.com/sbt/librarymanagement/pull/436
[lm433]: https://togithub.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://togithub.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
:date: Schedule: Branch creation - At any time (no schedule defined), Automerge - "every weekday in 2125" in timezone Europe/Copenhagen.
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Never, or you tick the rebase/retry checkbox.
:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
1.9.9
->1.10.0
Release Notes
sbt/sbt (sbt/sbt)
### [`v1.10.0`](https://togithub.com/sbt/sbt/releases/tag/v1.10.0): 1.10.0 [Compare Source](https://togithub.com/sbt/sbt/compare/v1.9.9...v1.10.0) [@eed3si9n]: https://togithub.com/eed3si9n [@adpi2]: https://togithub.com/adpi2 [@dwijnand]: https://togithub.com/dwijnand [@xuwei-k]: https://togithub.com/xuwei-k [@mdedetrich]: https://togithub.com/mdedetrich [@mkurz]: https://togithub.com/mkurz [@hvesalai]: https://togithub.com/hvesalai [@Friendseeker]: https://togithub.com/Friendseeker [@RustedBones]: https://togithub.com/RustedBones [@minkyu97]: https://togithub.com/minkyu97 [@azdrojowa123]: https://togithub.com/azdrojowa123 [@SethTisue]: https://togithub.com/SethTisue [@Tammo0987]: https://togithub.com/Tammo0987 [@azolotko]: https://togithub.com/azolotko [@rtyley]: https://togithub.com/rtyley [@mazugrin]: https://togithub.com/mazugrin [7350]: https://togithub.com/sbt/sbt/pull/7350 [7352]: https://togithub.com/sbt/sbt/pull/7352 [7470]: https://togithub.com/sbt/sbt/pull/7470 [7475]: https://togithub.com/sbt/sbt/pull/7475 [7480]: https://togithub.com/sbt/sbt/pull/7480 [7496]: https://togithub.com/sbt/sbt/pull/7496 [7516]: https://togithub.com/sbt/sbt/pull/7516 [7513]: https://togithub.com/sbt/sbt/pull/7513 [7419]: https://togithub.com/sbt/sbt/pull/7419 [7389]: https://togithub.com/sbt/sbt/pull/7389 [7398]: https://togithub.com/sbt/sbt/pull/7398 [7178]: https://togithub.com/sbt/sbt/pull/7178 [7437]: https://togithub.com/sbt/sbt/pull/7437 [7545]: https://togithub.com/sbt/sbt/pull/7545 [sip51]: https://docs.scala-lang.org/sips/drop-stdlib-forwards-bin-compat.html [zinc1319]: https://togithub.com/sbt/zinc/pull/1319 [zinc1316]: https://togithub.com/sbt/zinc/pull/1316 [zinc1314]: https://togithub.com/sbt/zinc/pull/1314 [zinc1326]: https://togithub.com/sbt/zinc/pull/1326 [zinc1324]: https://togithub.com/sbt/zinc/pull/1324 [zinc1312]: https://togithub.com/sbt/zinc/pull/1312 [zinc1310]: https://togithub.com/sbt/zinc/pull/1310 [zinc1278]: https://togithub.com/sbt/zinc/pull/1278 [zinc1284]: https://togithub.com/sbt/zinc/pull/1284 [zinc1259]: https://togithub.com/sbt/zinc/pull/1259 [zinc1277]: https://togithub.com/sbt/zinc/pull/1277 [zinc1265]: https://togithub.com/sbt/zinc/pull/1265 [zinc1289]: https://togithub.com/sbt/zinc/pull/1289 [zinc1290]: https://togithub.com/sbt/zinc/pull/1290 [zinc1282]: https://togithub.com/sbt/zinc/pull/1282 [zinc1293]: https://togithub.com/sbt/zinc/pull/1293 [zinc1288]: https://togithub.com/sbt/zinc/pull/1288 [zinc1287]: https://togithub.com/sbt/zinc/pull/1287 [lm436]: https://togithub.com/sbt/librarymanagement/pull/436 [lm433]: https://togithub.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://togithub.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
:date: Schedule: Branch creation - At any time (no schedule defined), Automerge - "every weekday in 2125" in timezone Europe/Copenhagen.
:vertical_traffic_light: Automerge: Enabled.
:recycle: Rebasing: Never, or you tick the rebase/retry checkbox.
:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.