effect@3.22.3

emscripten-core/emscripteneffect@3.22.3Oct 16, 2026by effect-bot

Upgrading?

AI Summary

A core library patch release focusing on LayerMap memory management, preventing memory leaks, and fixing scope closure issues.

Key Highlights

  • LayerMap preload references now follow idle TTL
  • Fix `Reloadable.auto` hanging when its scope closes
  • Prevent interrupted acquisition from failing scope closure

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