@sentry/node
11.9.0 · 23 Oct 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed
10.77.1 is the newest release of 10.x.
In short
10 new6 fixed11 internal
Release note
Important Changes
core: Introduces a new
Sentry.setConversationId()API to track multi turn AI conversations across API calls.You can now set a conversation ID that will be automatically applied to spans within that scope. This allows you to link traces from the same conversation together.
import * as Sentry from '@sentry/node'; // Set conversation ID for all subsequent spans Sentry.setConversationId('conv_abc123'); // All AI spans will now include the gen_ai.conversation.id attribute await openai.chat.completions.create({...});This is particularly useful for tracking multiple AI API calls that are part of the same conversation, allowing you to analyze entire conversation flows in Sentry.
The conversation ID is stored on the isolation scope and automatically applied to spans via the newconversationIdIntegration.tanstackstart-react: Auto-instrument global middleware in
sentryTanstackStartVite pluginThe
sentryTanstackStartVite plugin now automatically instrumentsrequestMiddlewareandfunctionMiddlewarearrays increateStart(). This captures performance data without requiring manual wrapping.Auto-instrumentation is enabled by default. To disable it:
// vite.config.ts sentryTanstackStart({ authToken: process.env.SENTRY_AUTH_TOKEN, org: 'your-org', project: 'your-project', autoInstrumentMiddleware: false, });
Other Changes
core: Simplify truncation logic to only keep the newest message
core: Support new client discard reason
invalidnextjs: Update default ignore list for sourcemaps
node: Pass prisma instrumentation options through
nuxt: Don't run source maps related code on Nuxt "prepare"
replay: Update client report discard reason for invalid sessions
winston: Add customLevelMap for winston transport
react-router: Add support for React Router instrumentation API
astro: Do not show warnings for valid options
core: Report well known values in gen_ai.operation.name attribute
node-core: Ignore vercel
AbortErrorby default on unhandled rejectionnuxt: Include sentry.config.server.ts in nuxt app types
profiling: Add
platformto envelope item headerreact: Defer React Router span finalization until lazy routes load
Internal Changes
Work in this release was contributed by @sebws, @harshit078, and @fedetorre. Thank you for your contributions!