Skip to content

4.8.0

Latest

Choose a tag to compare

@okomarov okomarov released this 04 Nov 16:27

@steadybrew/postgresjs@4.8.0 lets APM and OpenTelemetry tools trace queries, connections, pool waits and transactions through diagnostics_channel, and promotes 4.8.0-rc1 unchanged. No breaking changes.

npm install @steadybrew/postgresjs@4.8.0
  • Trace queries, connections, pool waits and transactions with diagnostics_channel.
  • A custom serializer that throws a frozen error, a Symbol or a frozen object fails only its query instead of stalling the connection.

Known limits: Postgres.js 4.0.0 uses the same channel names with different fields, so a subscriber written for it needs changes to read these; see Tracing channels.

See the changelog for details and upstream references.

Validation: CI passed on Node 22/24/26 × PostgreSQL 15–18, Deno and workerd (run); Workers CPU per connection no higher than 4.7.0 (run).