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

Update dependency dev.zio:zio to v2.1.0 #396

Merged
merged 1 commit into from
May 11, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 10, 2024

Mend Renovate

This PR contains the following updates:

Package Update Change
dev.zio:zio (source) minor 2.0.22 -> 2.1.0

Release Notes

zio/zio (dev.zio:zio)

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 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.


  • 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 enabled auto-merge (squash) May 10, 2024 12:40
@renovate renovate bot merged commit 5047f6b into main May 11, 2024
11 checks passed
@renovate renovate bot deleted the renovate/dev.zio-zio-2.x branch May 11, 2024 07:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant