@effect/sql-pg@0.53.1 effect@3.22.3

medium risk

ParthaEth/GIFOct 16, 2026 → Oct 16, 20260 days between releases

What's New

Fixes memory leaks in LayerMap preload references and hanging operations in Reloadable.auto.

Breaking Changes

  • LayerMap preloading behavior changed; default idle TTL now skips preloading.

Improvements

  • Fixes hanging operations during scope closure and prevents memory leaks in LayerMap.

Bug Fixes

  • Fix Reloadable.auto hanging on scope close.
  • Fix interrupted acquisition failing scope closure in addFinalizer.
  • Release LayerMap preload references to prevent memory leaks.

Upgrade Notes

LayerMap preloading behavior changed: entries now follow idle TTL. To keep preloaded entries for the lifetime of the map, set `idleTimeToLive: Infinity`.

The Two Releases

@effect/sql-pg@0.53.1

@effect/sql-pg@0.53.1

Oct 16, 2026· 6 days ago

This PostgreSQL client patch improves connection handling by automatically closing the connection pool on initial connection failures and ensuring connection checks are interruptible.

Full release notes
effect@3.22.3

effect@3.22.3

Oct 16, 2026· 6 days ago

The core library patch release addresses resource management issues, including memory leaks related to preloaded entries, hanging operations during scope closure, and how interruptions affect scope finalization.

Full release notes