Packages

@sentry/node

11.9.0 · 23 Oct 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed

Your version

10.9.0

3 Sep 2025Where it was published

10.77.1 is the newest release of 10.x.

In short

1 deprecated3 new5 fixed9 internal

  • deprecated

    Finally, you can still pass instrumentation.{requestHook,responseHook,applyCustomAttributesOnSpan} options, but they are deprecated and will be removed in v11.

Release note

Important Changes

  • node: Update httpIntegration handling of incoming requests

This version updates the handling of the Node SDK of incoming requests. Instead of relying on @opentelemetry/instrumentation-http, we now handle incoming request instrumentation internally, ensuring that we can optimize performance as much as possible and avoid interop problems.

This change should not affect you, unless you're relying on very in-depth implementation details. Importantly, this also drops the _experimentalConfig option of the integration - this will no longer do anything.
Finally, you can still pass instrumentation.{requestHook,responseHook,applyCustomAttributesOnSpan} options, but they are deprecated and will be removed in v11. Instead, you can use the new incomingRequestSpanHook configuration option if you want to adjust the incoming request span.

Other Changes

  • browser: Add replay.feedback CDN bundle

  • browser: Export sendFeedback from CDN bundles

  • astro: Ensure span name from beforeStartSpan isn't overwritten

  • browser: Ensure source is set correctly when updating span name in-place in beforeStartSpan

  • core: Only set template attributes on logs if parameters exist

  • nextjs: Fix parameterization for root catchall routes

  • node-core: Shut down OTel TraceProvider when calling Sentry.close()

Internal Changes