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.14 #437

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 11, 2024

This PR contains the following updates:

Package Update Change
dev.zio:zio (source) patch 2.1.8 -> 2.1.14

Release Notes

zio/zio (dev.zio:zio)

v2.1.14: 2.1.14

Compare Source

Highlights

This release comes packed with bug fixes and under-the-hood optimizations. Big thank you to all the old and new contributors for their work in this release!

[!IMPORTANT]

Runtime behaviour change of ZIO#onDone and ZIO#onDoneCause

In this release, the behavior of onDone and onDoneCause has changed to address concerns raised in https://github.com/zio/zio/issues/9191. Unlike other onX methods, onDone and onDoneCause executed the callback effects in "fire and forget" mode.

We believe that this behaviour could lead to unexpected bugs in applications. As such we changed the implementation of these methods so that the callbacks are executed synchronously. While we believe it's highly unlikely that users using these methods were aware of this implementation detail, we still advice them to review their usages as a precaution.

What's Changed
Other changes (CI, dependencies and documentation)
New Contributors

Full Changelog: zio/zio@v2.1.13...v2.1.14

v2.1.13: 2.1.13

Compare Source

Highlights

This seemingly small release brings a number of new features and important bugfixes:

  1. Adds support for the Junit 5 engine via the new zio-test-junit-engine module #​9214.
  2. [ScalaJS] Adds support for accessing environment variables via zio.System in JS engines that support it (e.g., NodeJS) #​9282.
  3. Fixes a bug to an issue some users faced with ZStream.mapZIOPar* methods since v2.1.12 #​9312.

As always, this version is fully source and binary compatible with the rest of the v2.x series.

What's Changed
Other changes (CI, dependencies and documentation)
New Contributors

Full Changelog: zio/zio@v2.1.12...v2.1.13

v2.1.12: 2.1.12

Compare Source

This release brings a couple bug fixes for STM, as well as a few optimizations and usability improvements.

What's Changed
Other changes (CI, dependencies and documentation)

v2.1.11: 2.1.11

Compare Source

We found a regression in 2.1.10 causing a runtime exception in some cases when using ZIO environment and layers, so here's a release to fix that.

What's Changed

v2.1.10: 2.1.10

Compare Source

This release brings a few important bug fixes related to ZPool and ZSTM as well as some optimizations. It also fixes a binary incompatibility that caused runtime errors when using an older version ZIO Streams together with ZIO 2.1.9.

Important note about ZPool changes

There are 2 fixes / changes to ZPool that might affect the behaviour of an application so users are advised to revise the following in cases of unexpected behaviour after upgrading to ZIO 2.1.10+.

Eager / strict initialization of ZPool's resources

In previous ZIO versions, the initialization of ZPool resources was done lazily in a daemon fiber. e.g., this code would previously print the message, but will now "hang" awaiting for the pool to be initialized to its full size:

ZPool.make(ZIO.never, 10) *> ZIO.debug("Pool initialized")

We believe that this change makes the behaviour of ZPool more predictable (and referentially transparent!) as previously there were no guarantees that the ZPool resources would be initialized during the creation of the pool. However, this might result in the initialization of the pool hanging in cases that the acquisition of the resources itself hangs. Therefore users are advised to consider adding timeouts to the resource initialization effect.

Strict finalization of ZPool resources

In previous versions, it was possible for the ZPool finalizers to be interrupted, which would lead to potential leak of resources (see this issue for more info). Starting with ZIO 2.1.10+, closing a ZPool requires all of the resource finalizers to finish first. As with (1), this might lead to some unexpected behaviour if the finalization of a resource hangs indefinitely, so users are advised to add timeouts to the finalizers of resources used with ZPool.

What's Changed
Other changes (CI, dependencies and documentation)

v2.1.9: 2.1.9

Compare Source

After receiving multiple reports of users failing to compile code using ZLayer macros with v2.1.8, we decided to temporarily revert https://github.com/zio/zio/pull/9077 until we get to bottom of what's been causing it.

What's Changed

Full Changelog: zio/zio@v2.1.8...v2.1.9


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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot enabled auto-merge (squash) October 11, 2024 16:35
@renovate renovate bot force-pushed the renovate/dev.zio-zio-2.x branch from 0233c3c to 4f01bbd Compare November 7, 2024 15:54
@renovate renovate bot changed the title Update dependency dev.zio:zio to v2.1.11 Update dependency dev.zio:zio to v2.1.12 Nov 7, 2024
@renovate renovate bot force-pushed the renovate/dev.zio-zio-2.x branch from 4f01bbd to ee26301 Compare November 20, 2024 10:37
@renovate renovate bot changed the title Update dependency dev.zio:zio to v2.1.12 Update dependency dev.zio:zio to v2.1.13 Nov 20, 2024
@renovate renovate bot force-pushed the renovate/dev.zio-zio-2.x branch from ee26301 to 682bcbb Compare December 19, 2024 16:10
@renovate renovate bot changed the title Update dependency dev.zio:zio to v2.1.13 Update dependency dev.zio:zio to v2.1.14 Dec 19, 2024
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.

0 participants