Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2025

Bumps dev.zio:zio_3 from 2.1.14 to 2.1.16.

Release notes

Sourced from dev.zio:zio_3's releases.

2.1.16

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 (zio/zio#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 the HasNoScope evidence for methods where the environment is generic, e.g.,:

def foo[R, A](https://github.com/zio/zio/blob/HEAD/f: ZIO[R, Nothing, A)(using HasNoScope[R]) = ???
val f1 = foo(ZIO.succeed("foo")) // compiles
val f2 = foo(ZIO.acquireRelease(ZIO.succeed("foo"))(_ => ZIO.unit)) // fails to compile

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 (zio/zio#9560)

This release introduces the NonEmptySeq type class (which NonEmptyChunk now extends) so that users / library authors can write generic code which requires non-empty collections as arguments.

What's Changed

Other changes (CI, dependencies and documentation)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dev.zio:zio_3](https://github.com/zio/zio) from 2.1.14 to 2.1.16.
- [Release notes](https://github.com/zio/zio/releases)
- [Commits](zio/zio@v2.1.14...v2.1.16)

---
updated-dependencies:
- dependency-name: dev.zio:zio_3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Feb 26, 2025
@mergify mergify bot added the gradle PR for Gradle dependencies label Feb 26, 2025
@carlosedp carlosedp added the merge Label PR as safe for Mergify label Feb 26, 2025
@mergify mergify bot merged commit 1e4dcae into main Feb 26, 2025
3 checks passed
@dependabot dependabot bot deleted the dependabot/gradle/dev.zio-zio_3-2.1.16 branch February 26, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file gradle PR for Gradle dependencies java Pull requests that update Java code merge Label PR as safe for Mergify

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants