Packages

@sentry/tanstackstart-react

11.9.0 · 23 Oct 2026MIT620.2k / weekRepositoryHomepagenpmAtom feed

Your version

10.37.0

27 Jan 2026Where it was published

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 new conversationIdIntegration.

  • tanstackstart-react: Auto-instrument global middleware in sentryTanstackStart Vite plugin

    The sentryTanstackStart Vite plugin now automatically instruments requestMiddleware and functionMiddleware arrays in createStart(). 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 invalid

  • nextjs: 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 AbortError by default on unhandled rejection

  • nuxt: Include sentry.config.server.ts in nuxt app types

  • profiling: Add platform to envelope item header

  • react: 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!