Update dependency dev.zio:zio to v2.1.8 #419
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:
2.1.6
->2.1.8
Release Notes
zio/zio (dev.zio:zio)
v2.1.8
: 2.1.8Compare Source
This release brings a re-implemented ZSTM runtime that significantly improves performance under contention, enables multi-threading for Scala Native 0.5.x, squashes some minor bugs, and makes a few things run a little bit faster. And it is fully binary and source-compatible with the rest of 2.x release!
Highlights
ZSTM performance improvements
The performance of ZSTM under heavy contention has regressed over time due to various bug fixes. In this release, we reimplemented the internal runtime of ZSTM in order to significantly improve its performance under heavy contention (up to 800% improved throughput in some benchmarks!) all while achieving similar or better performance under no contention. For more details check out #9081
Scala Native multi-threading support
In the previous release, we updated Scala Native to v0.5.x but as we mentioned in the release notes, the ZIO runtime was not yet multi-threading capable. In this release, we threw most of the existing Scala Native code (which was not thread-safe) and changed it to use (mostly) the same code as the JVM artifacts. Users that currently use ZIO with Scala Native 0.5.x must enable multi-threading for Scala Native in their builds by removing
nativeConfig ~= { _.withMultithreading(false) }
.What's Changed
Secret
creation fromString
(#9130) @guizmaiiFiberRuntime
cleanups & micro-optimizations (#9115) @kyri-petrouExit
overZIO
in nested effects and other micro-optimizations (#9106) @kyri-petrouFiberRef#locally
to restore previous FiberRefs when unmodified (#9105) @kyri-petrouFiberRefs
and add shortcut forjoin
(#9100) @kyri-petroucached
methods to be interrupted (#9068) @guymersZSTM
's performance (#9081) @kyri-petrouZStream
scope is properly closed (#9088) @kyri-petrouZEnvironment.empty.get[Any]
(#9074) @kyri-petrouOther changes (CI, dependencies and documentation)
ZStream
test (#9121) @kyri-petrouWeakConcurrentBagSpec
test (#9095) @kyri-petrouZLayer
test (#9092) @kyri-petrouv2.1.7
: 2.1.7Compare Source
This release adds support for Scala Native 0.5, contains various bug fixes as well as performance optimizations.
Highlights
Scala Native 0.5 support
This version of ZIO is released using Scala Native 0.5, which means that libraries that depend on ZIO can now also update their Scala Native version. Special thanks to @sideeffffect for his work on this 🎉
Fix memory leaks in parallel
ZStream
processing methodsIn v2.1.3 we did a number of optimizations to parallel ZStream processing. Unfortunately, since then we received a number of reports where users experienced memory leaks, which we managed to trace back to these optimizations. While we managed to patch a number of these issues in subsequent releases, we weren't able to fully eliminate them and therefor we made the decision to temporarily revert them back to their pre-v2.1.3 implementation. We are planning be revisiting optimizations for these methods in a future release but this time ensuring that they don't lead to memory leaks for edge-case usage patterns.
What's Changed
equals
method when updating/joiningFiberRefs
(#8989) @kyri-petrouFunction1
allocation when usingZIO.succeed
in Scala 3 (#9047) @kyri-petrouClassCastException
when concatenating chunks of different primitives (#9060) @kyri-petrouZIO.foreach
methods (#9005) @kyri-petrouZIO.fromAutoCloseable
safer (#9008) @guizmaiiOther changes (CI, dependencies and documentation)
AsyncJump
(#9048) @kyri-petrou.git-blame-ignore-revs
file (#9034) @kyri-petrouscalafix
modules via IntelliJ (#9017) @kyri-petrouConfiguration
📅 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.