@sentry/node
11.9.0 · 23 Oct 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed
10.77.1 is the newest release of 10.x.
In short
12 new19 fixed36 internal
Release note
Important Changes
core: Apply scope attributes to metrics
You can now set attributes on the SDK's scopes which will be applied to all metrics as long as the respective scopes are active. For the time being, only
string,numberandbooleanattribute values are supported.Sentry.getGlobalScope().setAttributes({ is_admin: true, auth_provider: 'google' }); Sentry.withScope(scope => { scope.setAttribute('step', 'authentication'); // scope attributes `is_admin`, `auth_provider` and `step` are added Sentry.metrics.count('clicks', 1, { attributes: { activeSince: 100 } }); Sentry.metrics.gauge('timeSinceRefresh', 4, { unit: 'hour' }); }); // scope attributes `is_admin` and `auth_provider` are added Sentry.metrics.count('response_time', 283.33, { unit: 'millisecond' });tracing: Add Vercel AI SDK v6 support
The Sentry SDK now supports the Vercel AI SDK v6. Tracing and error monitoring will work automatically with the new version.
wasm: Add applicationKey option for third-party error filtering
Adds support for applying an application key to WASM stack frames that can be then used in the
thirdPartyErrorFilterIntegrationfor detection of first-party code.Usage:
Sentry.init({ integrations: [ // Integration order matters: wasmIntegration needs to be before thirdPartyErrorFilterIntegration wasmIntegration({ applicationKey: 'your-custom-application-key' }), ←───┐ thirdPartyErrorFilterIntegration({ │ behaviour: 'drop-error-if-exclusively-contains-third-party-frames', ├─ matching keys filterKeys: ['your-custom-application-key'] ←─────────────────────────┘ }), ], });
Other Changes
cloudflare: Support
propagateTraceparentcore: Add
ignoreSentryInternalFramesoption tothirdPartyErrorFilterIntegrationcore: Add gen_ai.conversation.id attribute to OpenAI and LangGr…
core: Add recordInputs/recordOutputs options to MCP server wrapper
core: Support IPv6 hosts in the DSN
nextjs: Emit warning for conflicting treeshaking / debug settings
nextjs: Print Turbopack note for deprecated webpack options
node-core: Add
isolateTraceoption tonode-croninstrumentationnode: Use
process.on('SIGTERM')for flushing in Vercel functionsbrowser: Forward worker metadata for third-party error filtering
browser: Reduce number of
visibilitystateandpagehidelistenersbrowser: Respect
tunnelindiagnoseSdkConnectivitycloudflare: Consume body of fetch in the Cloudflare transport
core: Set op on ended Vercel AI spans
core: Subtract
performance.now()frombrowserPerformanceTimeOriginfallbackcore: Update client options to allow explicit
undefinedfeedback: Fix cases where the outline of inputs were wrong
next: Ensure inline sourcemaps are generated for wrapped modules in Dev
next: Wrap all Random APIs with a safe runner
nextjs: Avoid Edge build warning from OpenTelemetry
process.argv0nextjs: Remove polynomial regular expression
node-core: Ignore worker threads in OnUncaughtException
node: Relax Fastify's
setupFastifyErrorHandlerargument typenuxt: Allow overwriting server-side
defaultIntegrationspino: Allow custom namespaces for
msganderrreact,solid,vue: Fix parametrization behavior for non-matched routes
replay: Ensure replays contain canvas rendering when resumed after inactivity
tracing: Add gen_ai.request.messages.original_length attributes
Internal Changes
Work in this release was contributed by @G-Rath, @gianpaj, @maximepvrt, @Mohataseem89, @sebws, and @xgedev. Thank you for your contributions!