Packages

@sentry/tanstackstart-react

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

Your version

9.9.0

24 Mar 2025Where it was published

9.47.2 is the newest release of 9.x.

In short

7 new1 faster1 fixed3 internal

Release note

Important Changes

  • nextjs: Support instrumentation-client.ts

    Next.js recently added a feature to support client-side (browser) instrumentation via a instrumentation-client.ts file.

    To be forwards compatible, the Sentry Next.js SDK will now pick up instrumentation-client.ts files even on older Next.js versions and add them to your client bundles.
    It is suggested that you either rename your sentry.client.config.ts file to instrumentation-client.ts, or if you already happen to have a instrumentation-client.ts file move the contents of sentry.client.config.ts to instrumentation-client.ts.

  • browser: Add previous_trace span links

    The @sentry/browser SDK and SDKs based on @sentry/browser now emits a link from the first root span of a newly started trace to the root span of a previously started trace. You can control this feature via an option in browserTracingIntegration():

    Sentry.init({
      dsn: 'your-dsn-here'
      integrations: [
        Sentry.browserTracingIntegration({
          // Available settings:
          // - 'in-memory' (default): Stores previous trace information in memory
          // - 'session-storage': Stores previous trace information in the browser's `sessionStorage`
          // - 'off': Disable storing and sending previous trace information
          linkPreviousTrace: 'in-memory',
        }),
      ],
    });
  • browser: Add logger.X methods to browser SDK

    For Sentry's upcoming logging product, the SDK now supports sending logs via dedicated methods.

    Sentry.init({
      dsn: 'your-dsn-here',
      _experiments: {
        enableLogs: true, // This is required to use the logging features
      },
    });
    
    Sentry.logger.info('This is a trace message', { userId: 123 });
    // See PR for better documentation

    Please note that the logs product is still in early access. See the link above for more information.

Other Changes

  • browser: Attach host as part of error message to "Failed to fetch" errors

  • core: Add parseStringToURL method

  • core: Optimize dropUndefinedKeys

  • node: Add fastify shouldHandleError

  • nuxt: Delete no longer needed Nitro 'close' hook

  • nestjs: Remove usage of addNonEnumerableProperty