@effect/sql-mysql2@4.0.5 @effect/sql-pg@4.0.5

low risk

Effect-TS/effectOct 15, 2026 → Oct 15, 20260 days between releases

What's New

PostgreSQL adapter gains TCP keepalive support and array literal typing.

New Features

  • Added optional `keepAlive` idle duration to PostgreSQL connection configuration.
  • Bind inferred empty array parameters as untyped PostgreSQL array literals.

Improvements

  • Updated to `effect@4.0.5`.
  • Added TCP keepalive to prevent silent connection failures.

Bug Fixes

  • Resolves type determination for inferred empty array parameters in PostgreSQL statements.
  • Prevents queries from hanging when connections stop responding.

Upgrade Notes

No configuration changes are required for the dependency update. To utilize TCP keepalive, add the optional `keepAlive` configuration to your PostgreSQL connection settings.

The Two Releases

@effect/sql-mysql2@4.0.5

@effect/sql-mysql2@4.0.5

Oct 15, 2026· 7 days ago

A dependency-only patch release aligning the MySQL adapter with the core Effect library update.

Full release notes
@effect/sql-pg@4.0.5

@effect/sql-pg@4.0.5

Oct 15, 2026· 7 days ago

This patch release adds TCP keepalive support for PostgreSQL connections and updates dependencies to the core Effect library.

Full release notes