Packages

@sentry/tanstackstart-react

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

Your version

10.13.0

22 Sep 2025Where it was published

10.77.1 is the newest release of 10.x.

In short

10 new5 fixed1 changed12 internal

Release note

Important Changes

  • browser: Add option to explicitly end pageload span via reportPageLoaded()

    With this release you can take manual control of ending the pageload span. Usually this span is ended automatically by the SDK, based on a period of inactivity after the initial page was loaded in the browser. If you want full control over the pageload duration, you can tell Sentry, when your page was fully loaded:

    Sentry.init({
      //...
      integrations: [
        // 1. Enable manual pageload reporting
        Sentry.browserTracingIntegration({ enableReportPageLoaded: true }),
      ],
    });
    
    // 2. Whenever you decide the page is loaded, call:
    Sentry.reportPageLoaded();

    Note that if Sentry.reportPageLoaded() is not called within 30 seconds of the initial pageload (or whatever value the finalTimeout option is set to), the pageload span will be ended automatically.

  • core,node: Add instrumentation for GoogleGenAI

    The SDK now automatically instruments the @google/genai package to provide insights into your AI operations.

  • nextjs: Promote useRunAfterProductionCompileHook to non-experimental build option

    The useRunAfterProductionCompileHook option is no longer experimental and is now a stable build option for Next.js projects.

  • nextjs: Use afterProductionCompile hook for webpack builds

    Next.js projects using webpack can opt-in to use the useRunAfterProductionCompileHook hook for source map uploads.

  • nextjs: Flip default value for useRunAfterProductionCompileHook for Turbopack builds

    The useRunAfterProductionCompileHook option is now enabled by default for Turbopack builds, enabling automated source map uploads.

  • node: Do not drop 300 and 304 status codes by default

    HTTP transactions with 300 and 304 status codes are now captured by default, providing better visibility into redirect and caching behavior.

Other Changes

  • core: Add logger to core and allow scope to be passed log methods

  • core: Allow to pass onSuccess to handleCallbackErrors

  • core: Create template attributes in consoleLoggingIntegration

  • node: Add extra platforms to os context

  • browser: Ensure idle span duration is adjusted when child spans are ignored

  • core: Ensure builtin stack frames don't affect thirdPartyErrorFilterIntegration

  • core: Fix client hook edge cases around multiple callbacks

  • nextjs: Enable fetch span when OTel setup is skipped

  • node: Fix this context for vercel AI instrumentation

Internal Changes

  • Revert "[Gitflow] Merge master into develop"

Work in this release was contributed by @Olexandr88. Thank you for your contribution!