npm / @opentelemetry/instrumentation-pg
@opentelemetry/instrumentation-pg
What changed in @opentelemetry/instrumentation-pg 0.61 to 0.78, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-07.
2 breaking2 security2 new APIs and options3 behavior and defaults6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@opentelemetry/instrumentation-pg 0.781 changes
Fixes and other changes 1
The peer API range was aligned with package dependency peer API ranges, clarifying compatible API versions.
@opentelemetry/instrumentation-pg 0.771 changes
Breaking changes 1
The minimum supported Node.js version is raised to 22.15.0; Node.js 18 and 20 are no longer supported.
@opentelemetry/instrumentation-pg 0.761 changes
New APIs and options 1
Adds connectionHook for connect spans.
@opentelemetry/instrumentation-pg 0.751 changes
Security 1
Prometheus exporter process crash via malformed HTTP request
@opentelemetry/instrumentation-pg 0.741 changes
Behavior and default changes 1
The instrumentation implements db.client.connection.max, adding this attribute to its telemetry.
@opentelemetry/instrumentation-pg 0.732 changes
Breaking changes 1
Only stable HTTP, network, and database attributes are emitted.
Fixes and other changes 1
Treat name as relevant only when it actually is a value.
@opentelemetry/instrumentation-pg 0.711 changes
Behavior and default changes 1
Context is propagated using set application_name.
@opentelemetry/instrumentation-pg 0.651 changes
Security 1
Multiple @opentelemetry/instrumentation-* packages expose database username via unconditional db.user span attribute
@opentelemetry/instrumentation-pg 0.621 changes
New APIs and options 1
Adds the skipConnectSpans option to instrumentation-pg.
@opentelemetry/instrumentation-pg 0.615 changes
Behavior and default changes 1
The instrumentation records exceptions as span events.
Fixes and other changes 4
Leading and trailing spaces in the database operation name are normalized.
Query props are captured when passed as a class instance.
The SQL template text property is preserved.
Query values passed as the second argument for prepared statements are now captured.