Packages

@sentry/tanstackstart-react

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

Your version

10.55.0

28 May 2026Where it was published

10.77.1 is the newest release of 10.x.

In short

1 deprecated10 new3 fixed1 changed13 internal

  • deprecated

    hono: Promote @sentry/hono to stable and deprecate honoIntegration

Release note

Important Changes

  • deprecated

    hono: Promote @sentry/hono to stable and deprecate honoIntegration

    The @sentry/hono SDK is now stable. See the Sentry Hono SDK docs to get started.

  • hono: Add shouldHandleError option to sentry() middleware

    The sentry() middleware now accepts a shouldHandleError callback to control which errors are captured and sent to Sentry. By default, 3xx/4xx HTTP errors are ignored and 5xx errors and plain Error objects are captured. Return true from the callback to capture an error, false to suppress it.

    app.use(
      sentry(app, {
        dsn: '__DSN__',
        shouldHandleError(error) {
          const status = (error as { status?: number })?.status;
          // Capture 401/403 in addition to the default 5xx errors
          return status === 401 || status === 403 || typeof status !== 'number' || status >= 500;
        },
      }),
    );
  • tanstackstart-react: Add distributed tracing

    Server and client traces are now automatically connected, allowing you to see the full request lifecycle from server-side rendering through client-side hydration in a single trace.

  • tanstackstart-react: Add server-side route parametrization

    Server transaction names are now parametrized automatically (e.g., GET /users/123 becomes GET /users/$userId), improving transaction grouping in Sentry.

  • tanstackstart-react: Show readable server function names in traces

    Server function spans now show human-readable names (e.g., GET /_serverFn/greet instead of GET /_serverFn/a10e70b3...). The tanstackstart.function.hash.sha256 span attribute has been renamed to tanstackstart.function.id.

Other Changes

  • core: Migrate request data to dataCollection

  • hono: Add warning in Bun for double init

  • hono: Instrument main-app inline middleware spans

  • metrics: Migrate metrics to use dataCollection instead of sendDefaultPii

  • tanstackstart-react: Enable component tracking

  • tanstackstart-react: Filter noisy dev transactions

  • cloudflare: Use original waitUntil to not create a deadlock

  • elysia: Widen accepted Elysia app type to support Elysia options

  • tanstackstart-react: Add server-side replayIntegration no-op stub

Internal Changes

  • meta(agents): Update AI commit attribution guidance