effect@3.22.3

asheshgoplani/agent-deckeffect@3.22.3Oct 16, 2026by effect-bot

Upgrading?

AI Summary

effect@3.22.3 provides critical fixes for scope management, ensuring LayerMap preloads are cleaned up correctly and preventing hanging operations.

Key Highlights

  • Fixed LayerMap preload references to follow idle TTL.
  • Resolved Reloadable.auto hanging on scope close.
  • Prevented interrupted acquisition from failing scope closure.

New Features

  • LayerMap TTL cleanup
  • Reloadable.auto stability
  • Scope closure interrupt handling

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