effect@3.22.3

nace-ai/drex-decision-modelseffect@3.22.3Oct 16, 2026by effect-bot

Upgrading?

AI Summary

This patch release fixes several issues including LayerMap preload reference handling, Reloadable.auto hanging, and acquisition interruption behavior.

Key Highlights

  • LayerMap preload references are now released after acquisition to follow idle TTL
  • Fixed Reloadable.auto hanging when its scope closes
  • Prevented interrupted acquisition from causing scope closure failures
  • Updated multiple dependencies

New Features

  • Improved LayerMap memory management with proper TTL handling
  • Fixed Reloadable.auto hanging issue
  • Enhanced scope closure reliability during interrupted acquisitions

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