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
+1
−1
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.16
Release 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.
HasNoScope
evidence (https://github.com/zio/zio/pull/9604)In ZIO, having a
Scope
as 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 theHasNoScope
evidence for methods where the environment is generic, e.g.,:Note that this feature is primarily intended for use in libraries such as
zio-http
where 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
NonEmptySeq
type class (whichNonEmptyChunk
now extends) so that users / library authors can write generic code which requires non-empty collections as arguments.What's Changed
broacastDynamic
tests as flaky by @kyri-petrou in https://github.com/zio/zio/pull/9558Fiber
as sealed by @hearnadam in https://github.com/zio/zio/pull/9554zio.stream.ZChannel#mapOutZIOPar
code by @guizmaii in https://github.com/zio/zio/pull/9556Promise#succeedUnit
method to avoidExit
allocation when possible by @guizmaii in https://github.com/zio/zio/pull/9571Chunk.fromArray
about array mutability by @kyri-petrou in https://github.com/zio/zio/pull/9576inline given
for CanFail evidence in Scala 3 by @kyri-petrou in https://github.com/zio/zio/pull/9568stringValue
method tozio.Config.Secret
by @mberndt123 in https://github.com/zio/zio/pull/9580ZIO::exit
encoding by @guizmaii in https://github.com/zio/zio/pull/9586ZIO::flatMapError
encoding by @guizmaii in https://github.com/zio/zio/pull/9585Promise
creation by @guizmaii in https://github.com/zio/zio/pull/9603zio.stream.ZStream#toPull
code by @guizmaii in https://github.com/zio/zio/pull/9400HasNoScope
type class (#9597) by @987Nabil in https://github.com/zio/zio/pull/9604Other changes (CI, dependencies and documentation)
zio-aws-s3
from 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.repeat
by @guizmaii in https://github.com/zio/zio/pull/9397zio.stream.ZStream#takeRight
by @guizmaii in https://github.com/zio/zio/pull/9398zio.stream.ZChannel.mergeAllWith
code by @guizmaii in https://github.com/zio/zio/pull/9383FiberRef#locally
by @guizmaii in https://github.com/zio/zio/pull/9480FiberRef#locallyScoped
by @guizmaii in https://github.com/zio/zio/pull/9481FiberRef#locallyScopedWith
by @guizmaii in https://github.com/zio/zio/pull/9483ZStream
to hang on parallel errors by @kyri-petrou in https://github.com/zio/zio/pull/9478ZIO.fail
by @kyri-petrou in https://github.com/zio/zio/pull/9487ZIO#debug
by @kyri-petrou in https://github.com/zio/zio/pull/9473*VersionSpecific
and*PlatformSpecific
traits package-private by @kyri-petrou in https://github.com/zio/zio/pull/9491Supervisor#onEnd
is called exactly once by @kyri-petrou in https://github.com/zio/zio/pull/9537ZIO.fromEither
should produce a stacktrace on failure by @kyri-petrou in https://github.com/zio/zio/pull/9536Other changes (CI, dependencies and documentation)
ZStream#dropWhileZIO
by @kyri-petrou in https://github.com/zio/zio/pull/9463ZStreamSpec
by @kyri-petrou in https://github.com/zio/zio/pull/9464disableAutoTrace
in ZStream file by @kyri-petrou in https://github.com/zio/zio/pull/9479actions/upload-artifact
&&actions/download-artifact
by @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.