This repository was archived by the owner on Mar 17, 2025. It is now read-only.
Update dependency dev.zio:zio to v2.1.16 #692
Open
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.14->2.1.16Release Notes
zio/zio (dev.zio:zio)
v2.1.16: 2.1.16Compare Source
Highlights
This seemingly small release brings 2 new features to ZIO which library authors can utilize in order to provide a better DX for users. As usually, it also contains a number of optimizations, bug fixes, and it's fully binary and source-compatible with the rest of the v2.x series.
HasNoScopeevidence (https://github.com/zio/zio/pull/9604)In ZIO, having a
Scopeas an environment requirement indicates that the effect contains finalizers (e.g., closing an HTTP connection) which need to be handled at some point in the evaluation of the effect or the application's lifetime. In certain cases, we might want to ensure that an effect provided to a method does not contain any finalizers. Starting with this version of ZIO, users / library authors can use theHasNoScopeevidence for methods where the environment is generic, e.g.,:Note that this feature is primarily intended for use in libraries such as
zio-httpwhere we need to ensure that a user-provided effect does not contain any finalizers.Generic interfaces for non-empty collections (https://github.com/zio/zio/pull/9560)
This release introduces the
NonEmptySeqtype class (whichNonEmptyChunknow extends) so that users / library authors can write generic code which requires non-empty collections as arguments.What's Changed
broacastDynamictests as flaky by @kyri-petrou in https://github.com/zio/zio/pull/9558Fiberas sealed by @hearnadam in https://github.com/zio/zio/pull/9554zio.stream.ZChannel#mapOutZIOParcode by @guizmaii in https://github.com/zio/zio/pull/9556Promise#succeedUnitmethod to avoidExitallocation when possible by @guizmaii in https://github.com/zio/zio/pull/9571Chunk.fromArrayabout array mutability by @kyri-petrou in https://github.com/zio/zio/pull/9576inline givenfor CanFail evidence in Scala 3 by @kyri-petrou in https://github.com/zio/zio/pull/9568stringValuemethod tozio.Config.Secretby @mberndt123 in https://github.com/zio/zio/pull/9580ZIO::exitencoding by @guizmaii in https://github.com/zio/zio/pull/9586ZIO::flatMapErrorencoding by @guizmaii in https://github.com/zio/zio/pull/9585Promisecreation by @guizmaii in https://github.com/zio/zio/pull/9603zio.stream.ZStream#toPullcode by @guizmaii in https://github.com/zio/zio/pull/9400HasNoScopetype class (#9597) by @987Nabil in https://github.com/zio/zio/pull/9604Other changes (CI, dependencies and documentation)
zio-aws-s3from doc as it's not maintained by @guizmaii in https://github.com/zio/zio/pull/9564Full Changelog: zio/zio@v2.1.15...v2.1.16
v2.1.15: 2.1.15Compare Source
Highlights
This release contains various under-the-hood optimizations and minor bug fixes.
What's Changed
zio.stream.ZStream.repeatby @guizmaii in https://github.com/zio/zio/pull/9397zio.stream.ZStream#takeRightby @guizmaii in https://github.com/zio/zio/pull/9398zio.stream.ZChannel.mergeAllWithcode by @guizmaii in https://github.com/zio/zio/pull/9383FiberRef#locallyby @guizmaii in https://github.com/zio/zio/pull/9480FiberRef#locallyScopedby @guizmaii in https://github.com/zio/zio/pull/9481FiberRef#locallyScopedWithby @guizmaii in https://github.com/zio/zio/pull/9483ZStreamto hang on parallel errors by @kyri-petrou in https://github.com/zio/zio/pull/9478ZIO.failby @kyri-petrou in https://github.com/zio/zio/pull/9487ZIO#debugby @kyri-petrou in https://github.com/zio/zio/pull/9473*VersionSpecificand*PlatformSpecifictraits package-private by @kyri-petrou in https://github.com/zio/zio/pull/9491Supervisor#onEndis called exactly once by @kyri-petrou in https://github.com/zio/zio/pull/9537ZIO.fromEithershould produce a stacktrace on failure by @kyri-petrou in https://github.com/zio/zio/pull/9536Other changes (CI, dependencies and documentation)
ZStream#dropWhileZIOby @kyri-petrou in https://github.com/zio/zio/pull/9463ZStreamSpecby @kyri-petrou in https://github.com/zio/zio/pull/9464disableAutoTracein ZStream file by @kyri-petrou in https://github.com/zio/zio/pull/9479actions/upload-artifact&&actions/download-artifactby @guizmaii in https://github.com/zio/zio/pull/9527New Contributors
Full Changelog: zio/zio@v2.1.14...v2.1.15
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.