Skip to content

chore(deps): update sentry-javascript monorepo to v10.55.0#1843

Open
renovate[bot] wants to merge 1 commit into
devfrom
renovate/sentry-javascript-monorepo
Open

chore(deps): update sentry-javascript monorepo to v10.55.0#1843
renovate[bot] wants to merge 1 commit into
devfrom
renovate/sentry-javascript-monorepo

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 28, 2026

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/nextjs (source) 10.53.110.55.0 age adoption passing confidence

Release Notes

getsentry/sentry-javascript (@​sentry/nextjs)

v10.55.0

Compare Source

Important Changes
  • feat(hono): Promote @sentry/hono to stable and deprecate honoIntegration (#​21208)

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

  • docs(tanstackstart-react): Promote SDK status to beta (#​21175)

    This release promotes the @sentry/tanstackstart-react SDK to beta. For details on how to use it, check out the
    Sentry TanStack Start SDK docs. Please reach out on
    GitHub if you have any feedback or concerns.

  • feat(hono): Add shouldHandleError option to sentry() middleware (#​21205)

    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;
        },
      }),
    );
  • test(tanstackstart-react): Move initialization to client entry point (#​21161)

    Change the recommended setup for the SDK to do Sentry.init() in the client entry file to capture telemetry that is emitted ahead of page hydration.

  • feat(tanstackstart-react): Add distributed tracing (#​21144)

    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.

  • feat(tanstackstart-react): Add server-side route parametrization (#​21147)

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

  • feat(tanstackstart-react): Show readable server function names in traces (#​21190)

    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
  • feat(core): Migrate request data to dataCollection (#​21071)
  • feat(hono): Add warning in Bun for double init (#​21195)
  • feat(hono): Instrument main-app inline middleware spans (#​20999)
  • feat(metrics): Migrate metrics to use dataCollection instead of sendDefaultPii (#​21078)
  • feat(tanstackstart-react): Enable component tracking (#​21149)
  • feat(tanstackstart-react): Filter noisy dev transactions (#​21145)
  • fix(cloudflare): Use original waitUntil to not create a deadlock (#​21197)
  • fix(elysia): Widen accepted Elysia app type to support Elysia options (#​21164)
  • fix(tanstackstart-react): Add server-side replayIntegration no-op stub (#​21148)
Internal Changes
  • chore(changelog): clarify array attributes impact on beforeSend* callbacks (#​21186)
  • chore(ci): Update bugbot instructions (#​21168)
  • chore(sentry-cli): Upgrade to 2.58.6 (#​21165)
  • chore(size-limit): weekly auto-bump (#​21123)
  • feat(deps-dev): Bump @​sveltejs/kit from 2.52.2 to 2.60.1 in /dev-packages/e2e-tests/test-applications/sveltekit-cloudflare-pages (#​21162)
  • fix(e2e): Fix astro-6 e2e test build by relaxing astro version range (#​21211)
  • meta(agents): Update AI commit attribution guidance (#​21166)
  • ref(browser): Extract browser-specific normalize code out of core (#​21172)
  • ref(node): Stop custom-handling normalization of Domain/DomainEmitter (#​21182)
  • ref(node): Stop using registerSpanErrorInstrumentation() on server (#​21169)
  • test(nitro-3): Update e2e tests for h3 route handler tracing (#​21152)
  • test(nuxt): Fix flaky test and add note about hydration timing to skill (#​21054)

v10.54.0

Compare Source

Important Changes
  • feat(core): Support array attributes for spans, logs, and metrics (#​20427)

    Arrays of primitive values (string, number, boolean) are now accepted as attribute values. Arrays containing non-primitive elements will be dropped and won't show up in Sentry. Array attributes on logs and metrics were previously stringified and will now be sent as actual arrays instead. If you have custom rules that process attribute values in any beforeSend* callbacks (e.g., data scrubbing), you may need to update them to correctly handle array values.

    For instance, here's how you can update a beforeSendLog callback to handle arrays:

    beforeSendLog: log => {
      const attributes = log.attributes;
      Object.keys(attributes).forEach(key => {
        const value = attributes[key];
        if (typeof value === 'string') {
          attributes[key] = scrubData(value);
        }
        if (Array.isArray(value)) {
          attributes[key] = value.map(v => (typeof v === 'string' ? scrubData(v) : v));
        }
      });
      return log;
    };
  • feat(browser): Add fetchStreamPerformanceIntegration for streamed response tracking (#​20778)

    A new integration that tracks the performance of streamed fetch responses. Use this to measure time-to-first-byte and streaming duration for APIs that return chunked/streamed data. This replaces the now deprecated trackFetchStreamPerformance option.

  • feat(core): Add dataCollection client option (#​20965)

    Adds a new dataCollection client option for controlling what data the SDK collects and sends to Sentry. This provides a centralized way to configure data collection behavior across different SDK features. In the future, this option will be used for fine-granular data filtering, while the simple sendDefaultPii boolean option will be deprecated and removed in a future release.

  • feat(hono): Add hono.request spans for internal .request() calls (#​20843)

    The Hono SDK now creates spans for internal .request() calls, providing better visibility into request handling within Hono applications.

Other Changes
  • feat(core): Add data collection filtering utilities (#​20989)
  • feat(core): Convert scope contexts to segment span attributes in span streaming (#​20828)
  • feat(core): Emit sentry.sdk.integrations on streamed segment spans (#​20428)
  • feat(core): HTTP server diagnostics channel utility (#​20779)
  • feat(core): Migrate span streaming envelope to dataCollection (#​21080)
  • feat(core): Migrate Supabase integration to dataCollection (#​21085)
  • feat(core): Migrate trpc to dataCollection (#​21072)
  • feat(deno): Instrument node:http on versions that support it (#​21009)
  • feat(ember): Extract ember-specific logic into custom browserTracingIntegration (#​20702)
  • feat(logs): Migrate log envelope user inference to dataCollection (#​21073)
  • feat(nuxt): Allow custom configuration files paths in Nuxt module (#​20650)
  • feat(replay): Update example worker script (#​20899)
  • feat(serverless): Add server-only context span attributes via processSegmentSpan hooks (#​20842)
  • fix(astro): Avoid injecting meta tags into <head> inside attribute values (#​21089)
  • fix(astro): Use explicit ResponseInit when injecting meta tags in response (#​21021)
  • fix(browser): Add a synthetic stack trace to DOMException with empty stack traces if attachStacktrace is true (#​19988)
  • fix(browser): Fix internal frame detection in minified bundles (#​20802)
  • fix(cloudflare): Avoid repeated flush lock wrapping (#​21156)
  • fix(cloudflare): Skip SDK initialization for OPTIONS/HEAD requests (#​21090)
  • fix(cloudflare, vercel-edge): Disable timer-based flush for serverless runtimes (#​20889)
  • fix(core): Sanitize lone surrogates in log body and attributes (#​20245)
  • fix(deno): Support Deno.serve instrumentation on Deno 2.8 (#​21155)
  • fix(hono): Preserve middleware handler metadata (#​20954)
  • fix(hono): Use generic Hono type in Bun/Node (#​21060)
  • fix(nextjs): Widen project option type to string | string[] (#​21067)
  • fix(node): Improve http.client double-wrap message (#​20705)
  • fix(node): Preserve CallbackManager handlers in LangChain instrumentation (#​20849)
  • fix(react-router): Do not re-write origin on router state changes (#​21056)
  • fix(replay): Set sentry.replay_id attribute on streamed spans (#​20897)
  • fix(replay): Set replay_id on DSC after buffer-to-session conversion (#​20686)
  • fix(solidstart): Use nitro module for build hooks to preserve preset hooks (#​20861)
  • ref(core): Rename types-hoist to types (#​20979)
Internal Changes
  • chore: Add compatibility function for sendDefaultPii (#​20967)
  • chore: Add size-limit for core/server, core/browser (#​20990)
  • chore: Bump rrweb deps to v2.43.0 (#​20844)
  • chore(build): Replace sucrase with esbuild (#​20865)
  • chore(deps): Bump nitropack from 2.13.1 to 2.13.4 (#​20713)
  • chore(deps): Bump ws from 8.20.0 to 8.20.1 (#​20998)
  • chore(deps): Remove redundant yarn resolutions (#​20877)
  • feat(deps): Bump @​tootallnate/once from 1.1.2 to 2.0.1 (#​21108)
  • feat(deps): Bump devalue from 4.3.3 to 5.8.1 (#​20893)
  • feat(deps): Bump protobufjs from 7.5.5 to 7.5.9 (#​20846)
  • ref(aws-serverless): Vendor aws-sdk instrumentation (#​20988)
  • ref(http): Use shared snippets for filtering headers and cookies (#​20970)
  • ref(nestjs): Vendor nestjs-core instrumentation (#​20996)
  • ref(node): Remove unused @opentelemetry/instrumentation-http dependency (#​21113)
  • ref(node): Vendor @fastify/otel (#​21099)
  • ref(node): Vendor @opentelemetry/instrumentation-pg (#​21102)
  • ref(node): Vendor @opentelemetry/sql-common (#​21140)
  • ref(node): Vendor @prisma/instrumentation (#​21098)
  • ref(node): Vendor amqplib instrumentation (#​21003)
  • ref(node): Vendor connect instrumentation (#​20955)
  • ref(node): Vendor dataloader instrumentation (#​20950)
  • ref(node): Vendor fs instrumentation (#​20964)
  • ref(node): Vendor generic-pool instrumentation (#​20949)
  • ref(node): Vendor graphql instrumentation (#​21096)
  • ref(node): Vendor hapi instrumentation (#​21057)
  • ref(node): Vendor kafkajs instrumentation (#​21005)
  • ref(node): Vendor knex instrumentation (#​20963)
  • ref(node): Vendor koa instrumentation (#​20956)
  • ref(node): Vendor lru-memoizer instrumentation (#​20948)
  • ref(node): Vendor minimal types for dataloader and generic-pool instrumentations (#​21013)
  • ref(node): Vendor mongodb instrumentation (#​20966)
  • ref(node): Vendor mongoose instrumentation (#​21058)
  • ref(node): Vendor mysql instrumentation (#​21016)
  • ref(node): Vendor mysql2 instrumentation (#​21031)
  • ref(node): Vendor tedious instrumentation (#​21010)

Work in this release was contributed by @​abcang, @​ahmadio, @​delorge, @​mdnanocom, and @​victorgarciaesgi. Thank you for your contributions!


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label May 28, 2026
@renovate renovate Bot force-pushed the renovate/sentry-javascript-monorepo branch from b0ac2f6 to f5ab4ca Compare May 30, 2026 17:44
@renovate renovate Bot changed the title chore(deps): update dependency @sentry/nextjs to v10.54.0 chore(deps): update dependency @sentry/nextjs to v10.55.0 May 30, 2026
@renovate renovate Bot changed the title chore(deps): update dependency @sentry/nextjs to v10.55.0 chore(deps): update sentry-javascript monorepo to v10.55.0 Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants