Packages

@sentry/nextjs

11.12.0 · 10 Nov 2026MIT17.7M / weekRepositoryHomepagenpmAtom feed

Your version

11.17.0

23 Nov 2026Where it was published

In short

13 new14 fixed22 internal

Release note

Important Changes

  • browser: Report LCP and INP subparts on web vital spans

    LCP spans now carry browser.web_vital.lcp.resource_load_delay, browser.web_vital.lcp.resource_load_duration and browser.web_vital.lcp.element_render_delay. INP spans now carry browser.web_vital.inp.input_delay, browser.web_vital.inp.processing_duration and browser.web_vital.inp.presentation_delay. This shows which phase made an LCP or INP slow.

  • core: Gate URL fragments behind urlQueryParams

    The urlQueryParams option now also applies to URL fragments, since OAuth redirects and hash routing can put tokens there. key=value pairs in a fragment are filtered like query params, and the fragment is dropped when urlQueryParams is off. This covers url.full, url.fragment, request.url and breadcrumbs. Plain anchors and hash route paths (#details, #/settings) are kept as-is.

  • core: Enrich MCP SDK spans instead of duplicating them

    When the MCP SDK (@modelcontextprotocol/server) starts its own OpenTelemetry span for an MCP message and that span reaches Sentry, Sentry now adds its MCP attributes to that span instead of starting a second one. This span is a child of the surrounding span, such as http.server, not its own transaction. Without the MCP SDK's OpenTelemetry tracing, nothing changes.

  • node: Add ClickHouse instrumentation

    The new clickhouseIntegration creates database spans for @clickhouse/client and @clickhouse/client-web. It is exported from @sentry/node, @sentry/cloudflare and the other server SDKs.

  • react-router, remix: Support sourcemaps.upload, injectDebugIds and delete

    @sentry/react-router and @sentry/remix now accept the sourcemaps.upload, sourcemaps.injectDebugIds and sourcemaps.delete options. In React Router, source maps you turned on yourself are no longer deleted unless you set delete: true, and release.create: false is now respected.

    Related PRs

Other Changes

  • core: Add sentry.kind, url.path and url.scheme to fetch and XHR spans

  • core: Record integration options in defineIntegration

  • core: Report user-set integrations and their options in SDK config

  • deno: Align deno with node & run integration suites with @sentry/deno

  • nitro: Add @sentry/nitro/import entry

  • server-utils: Add onSpanStart/onSpanEnd hooks to the LangChain and LangGraph integrations

  • server-utils: Skip Fastify hook spans on unsampled requests

  • solid: Support Solid 2 on Cloudflare Workers

  • astro: Only inject the server release in builds

  • bundler-plugins: Fall back to local git history when setting commits

  • bundler-plugins: Honor release.vcsRemote when associating commits

  • cloudflare: Do not load a second copy of @sentry/core in Workers

  • core: Create DSC locally when receiving an incoming trace without DSC

  • core: Exclude dist from SDK configuration reports

  • core: Exclude DSN from SDK configuration reports

  • core: Exclude release from SDK configuration reports

  • effect: Stop bundling all of Effect with the error reporter

  • react: Change resetError to a function type property

  • replay: Do not report dead clicks after a bfcache restore

  • server-utils: Keep pi-durable 1.6 runs from faulting

  • server-utils: Read Express mount paths from the router 2.3 layer

  • server-utils: Trace pi-durable tool calls made by other tools

Internal Changes

Work in this release was contributed by @adityareddy-dev, @wolfgang42, and @JonasBa. Thank you for your contributions!

Bundle size

PathSize
@sentry/browser29.83 KB
@sentry/browser - with treeshaking flags28.06 KB
@sentry/browser - with treeshaking flags tracing without tracing27.93 KB
@sentry/browser (incl. Tracing)52.41 KB
@sentry/browser (incl. Tracing Core)39.63 KB
@sentry/browser (incl. Tracing + Span Streaming)52.42 KB
@sentry/browser (incl. Tracing, Profiling)55.24 KB
@sentry/browser (incl. Tracing, Replay)91.35 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags80.48 KB
@sentry/browser (incl. Tracing, Replay with Canvas)95.64 KB
@sentry/browser (incl. Tracing, Replay, Feedback)108.83 KB
@sentry/browser (incl. Feedback)47.35 KB
@sentry/browser (incl. sendFeedback)30.38 KB
@sentry/browser (incl. FeedbackAsync)35.32 KB
@sentry/browser (incl. Metrics)31.11 KB
@sentry/browser (incl. Logs)31.38 KB
@sentry/browser (incl. Metrics & Logs)32.03 KB
@sentry/react31.8 KB
@sentry/react (incl. Tracing)55.06 KB
@sentry/vue37.84 KB
@sentry/vue (incl. Tracing)55.36 KB
@sentry/svelte29.85 KB
@sentry/effect (client)41.26 KB
@sentry/effect (client, incl. Tracing)48.25 KB
@sentry/effect (client, incl. Tracing, Logs, Metrics)57.91 KB
@sentry/remix (Remix 3 client bundle)58 KB
CDN Bundle31.78 KB
CDN Bundle (incl. Tracing)52.88 KB
CDN Bundle (incl. Logs, Metrics)34.45 KB
CDN Bundle (incl. Tracing, Logs, Metrics)55.31 KB
CDN Bundle (incl. Replay, Logs, Metrics)74.38 KB
CDN Bundle (incl. Tracing, Replay)89.73 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)92.21 KB
CDN Bundle (incl. Tracing, Replay, Feedback)95.07 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)97.47 KB
CDN Bundle - uncompressed92.69 KB
CDN Bundle (incl. Tracing) - uncompressed156.5 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed100.84 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed163.95 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed228.03 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed273.96 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed281.41 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed285.62 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed293.06 KB
@sentry/nextjs (client)58.68 KB
@sentry/sveltekit (client)53.74 KB
@sentry/core/server44.79 KB
@sentry/core/browser14.12 KB
@sentry/node152.6 KB
@sentry/node/import (ESM hook with diagnostics-channel injection)81.49 KB
@sentry/node - without tracing87.14 KB
@sentry/node - without channel injection141.8 KB
@sentry/aws-serverless97.52 KB
@sentry/cloudflare (withSentry) - minified205.38 KB
@sentry/cloudflare (withSentry)476.84 KB
@sentry/cloudflare (withSentry, instrumented CommonJS package) - minified208.25 KB
@sentry/nextjs/cloudflare (withSentry) - minified230.02 KB

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.