Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency dev.zio:zio to v2.1.1 #193

Merged
merged 1 commit into from
May 20, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 17, 2024

Mend Renovate

This PR contains the following updates:

Package Update Change
dev.zio:zio (source) patch 2.1.0-RC5 -> 2.1.1

Release Notes

zio/zio (dev.zio:zio)

v2.1.1: 2.1.1

Compare Source

We found a couple bugs in 2.1.0 so this we decided to release a patch version quickly:

  • An application using ZIO metrics would hang forever when receiving the termination signal after interrupting all other fibers. This is because ScopedRef now runs acquisition in an uninterruptibe region. You might want to be careful if you use ZLayer.reloadable and its variants: fibers forked in those layers are need to be marked as interruptible explicitly.
  • ZIO test assertions were broken on Scala.js with Scala 2.12 because of unsupported reflection usage.

What's Changed

Other changes (CI, dependencies and documentation)

Full Changelog: zio/zio@v2.1.0...v2.1.1

v2.1.0: 2.1.0

Compare Source

This version brings a lot of performance improvements in the fiber runtime as well as the scheduler. It is fully binary compatible with the 2.0.x branch with the exception of some internal classes that shouldn't be used anywhere else (we tested a wide range of the library ecosystem without issues).

An important change is that we disabled auto-blocking detection by default because it could cause some performance degradation in some cases. Better heuristics might be introduced in the future, but in the meantime you can enable it by using the Runtime.enableAutoBlockingExecutor aspect. We also added an optional executor based on Loom that you can use if your Java version is 21 or higher with the Runtime.enableLoomBasedExecutor aspect. Which one is better may vary based on your use case so we encourage you to test and measure it.

If you use sttp v3 and Scala 3, you might run into a compile error when trying to provide or access SttpClient from/to your environment. This is because since https://github.com/zio/zio/pull/8612 we don't allow materializing tags for intersection types in covariant position and sttp does exactly that: type SttpClient = SttpBackend[Task, ZioStreams with WebSockets]. Using SttpBackend[Task, Any] or only one of ZioStreams/WebSockets solves the issue.

What's Changed (since 2.1.0-RC5)

What's Changed (since 2.0.22)

Other changes (CI, dependencies and documentation)

New Contributors

Full Changelog: zio/zio@v2.0.22...v2.1.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/dev.zio-zio-2.x branch 3 times, most recently from 6df42ab to f874f76 Compare May 20, 2024 10:07
@renovate renovate bot force-pushed the renovate/dev.zio-zio-2.x branch from f874f76 to a1f9c66 Compare May 20, 2024 10:19
@tusharmath tusharmath merged commit b1c3486 into main May 20, 2024
1 check passed
@tusharmath tusharmath deleted the renovate/dev.zio-zio-2.x branch May 20, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant