effect@3.22.3

Effect-TS/effecteffect@3.22.3Oct 16, 2026by effect-bot

Upgrading?

AI Summary

This patch release includes fixes for LayerMap behavior, Reloadable.auto hanging issues, and handling of interrupted acquisitions in finalizers.

Key Highlights

  • LayerMap now releases preload references after acquisition so entries follow idle TTL
  • Fixed Reloadable.auto hanging when its scope closes
  • Prevents interrupted acquisition from causing scope closure to fail in addFinalizer and acquireRelease

New Features

  • LayerMap preload references now follow idle TTL

Full Release Notes

### Patch Changes

- [#8513](https://github.com/Effect-TS/effect/pull/8513) [`97d80c9`](https://github.com/Effect-TS/effect/commit/97d80c91fef755966ffd0adbfb00b3eb4ae7eace) Thanks @tim-smart! - Release LayerMap preload references after acquisition so entries follow their idle TTL instead of remaining pinned until map closure. Skip preloading when the idle TTL is zero (including the default). To keep preloaded entries for the lifetime of the map, set `idleTimeToLive: Infinity`.

- [#8612](https://github.com/Effect-TS/effect/pull/8612) [`e730f59`](https://github.com/Effect-TS/effect/commit/e730f59d29db5f1e312be6476a95d07bcad45788) Thanks @Marve10s! - Fix `Reloadable.auto` hanging when its scope closes.

- [#8271](https://github.com/Effect-TS/effect/pull/8271) [`05803bd`](https://github.com/Effect-TS/effect/commit/05803bd0219a71ea91d7e99e3d5a86b56f832c1c) Thanks @tim-smart! - Prevent interrupted acquisition from causing an uninterrupted scope closure to fail in `Effect.addFinalizer` and `Effect.acquireRelease`.

Related Repositories