@effect/sql-pg@0.53.1 effect@3.22.3
medium risk
ai-job-search-dev/ai-job-searchOct 16, 2026 → Oct 16, 20260 days between releases
What's New
LayerMap now follows idle TTL for preload references; set `idleTimeToLive: Infinity` to pin entries.
Breaking Changes
- LayerMap preload references are released to follow idle TTL by default, breaking previous pinning behavior.
New Features
- New configuration option `idleTimeToLive: Infinity` allows keeping preloaded entries pinned for the map's lifetime.
Improvements
- LayerMap now correctly follows idle TTL for preloaded entries to prevent memory leaks.
- Reloadable.auto no longer hangs when its scope closes.
- Interrupted acquisition no longer causes scope closure failures in addFinalizer and acquireRelease.
Bug Fixes
- Fixed Reloadable.auto hanging when its scope closes.
- Fixed scope closure failures caused by interrupted acquisition in addFinalizer and acquireRelease.
Upgrade Notes
If your application relied on preloaded entries remaining in the map indefinitely, update your configuration to `idleTimeToLive: Infinity`. This change improves memory management by releasing references that were previously pinned.