Packages

@sentry/core

11.14.0 · 17 Nov 2026MIT107.3M / weekRepositoryHomepagenpmAtom feed

Your version

11.13.0

16 Nov 2026Where it was published

11.15.0 is the newest release of 11.x.

In short

25 new32 fixed63 internal

Release note

Important Changes

  • sveltekit: Mark pageloads of prerendered and Vercel ISR pages (#26301, #26307)

    When SvelteKit serves a page that it rendered earlier, the pageload now has the page.server_rendering.type: static attribute. This covers pages prerendered during vite build and pages that Vercel caches with ISR (config.isr). For an ISR page, the pageload also links to the request that rendered the page, if that request was sampled.

    Before, every visitor of a cached ISR page continued the trace of that one request. Now each pageload starts its own trace. Pages with ssr = false get no attribute, because the server rendered none of their content.

  • nuxt: Mark pageloads of cached pages

    When Nuxt serves a cached or prerendered page, for example with a swr or isr route rule, the pageload now has the page.server_rendering.type: static attribute and starts its own trace. If the request that rendered the cached page was sampled, the pageload also links to it. So visitors of a cached page no longer continue the trace of the request that rendered it.

  • core: Set url.scheme without colon and url.port as a number

    HTTP spans that the SDK builds from a URL now send url.scheme without the trailing colon (https instead of https:) and url.port as a number instead of a string, as the Sentry conventions define them and as Node http.server spans already do. This changes http.server spans from @sentry/cloudflare, Bun.serve, Deno and Nitro, and outgoing node:http client spans. Update saved queries, alerts and dashboards that filter on url.scheme:"https:" or on url.port as a string.

  • cloudflare: Continue the Cloudflare trace of the invocation

    When tracing is not set up (no tracesSampleRate or tracesSampler), errors and logs from fetch, scheduled, queue and email handlers and from WorkerEntrypoint RPC methods now get the trace id that Cloudflare gives the invocation. With this trace id, you can find the Cloudflare spans and logs of an error in Workers Observability. This needs workerd 1.20261009.1 or newer and Workers Observability turned on. An incoming Sentry trace still has precedence.

    The parent_span_id of these events is the id of a Cloudflare span. This span is in Sentry only when you export your Workers traces to Sentry.

  • server-utils: Record Bedrock prompts and responses (#26249, #26362, #26414)

    Amazon Bedrock spans from awsIntegration now record prompts, system instructions, tool definitions and responses by default, as the other AI integrations do. This applies to the Converse, ConverseStream, InvokeModel and InvokeModelWithResponseStream commands.

    To stop recording prompts or responses for all AI integrations, set dataCollection: { genAI: { inputs: false, outputs: false } }. To stop it only for Bedrock, use the new awsIntegration options, which take precedence over dataCollection.genAI:

    Sentry.init({
      integrations: [Sentry.awsIntegration({ recordInputs: false, recordOutputs: false })],
    });

Other Changes

  • aws-serverless: Add HTTP request and response attributes to function.aws spans

  • aws-serverless: Ignore static asset and preflight invocations by default

  • bundler-plugins: Delete source maps with deleteSourcemapsAfterUpload: true when no upload runs

  • bundler-plugins: Enable external source maps and delete them after upload in the esbuild plugin

  • cloudflare: Instrument trace and tailStream handlers

  • core: Add getTraceServerTimingHeader and isSharedCacheable

  • core: Capture MCP OAuth client names per request

  • core: Support Zod 4 errors in zodErrorsIntegration

  • nextjs: Emit the tunnel route handler

  • nextjs: Send the render start of a cached page to the browser

  • nextjs: Send the trace in the Server-Timing header of document responses

  • nextjs: Use the Bun integrations when Next.js runs on Bun

  • nextjs: Use the Deno fetch integration when Next.js runs on Deno

  • node: Capture the original job error for failed BullMQ jobs

  • node: Instrument HTTP/2 servers that use the compat API

  • node: Publish flat CJS builds to cut @sentry/node startup time

  • nuxt: Instrument Nitro v3 cache storage

  • nuxt: Send the render start of a cached page to the browser

  • react-router: Export createSentryHandleError from the Cloudflare entry

  • server-utils: Add pi-ai integration

  • server-utils: Enable pi-ai by default & use it for Flue & pi-durable

  • sveltekit: Send the render start of a cached page to the browser

  • tanstackstart-react: Initialize the SDK when the Nitro server starts

  • anthropic: End and mark messages.stream() span as cancelled on abort

  • astro, cloudflare: Run the Cloudflare SDK on the server for Cloudflare Pages

  • browser: Accept managed tunnel options in the BrowserClient constructor

  • browser: Handle parentheses in function names in stack parsers

  • browser: Instrument empty-URL XHR and show the page URL in breadcrumbs

  • browser: Send same-origin string tunnels as application/x-sentry-envelope

  • browser: Skip CLS on browsers without Array.prototype.at

  • bundler-plugins: Keep uploading when a directory has no source maps

  • bundler-plugins: Skip default commit association on Vercel builds that --auto can't resolve

  • bundler-plugins: Stop defaulting url to sentry.io

  • cloudflare: Capture errors that fail a workflow run outside a step callback

  • cloudflare: Forward method, headers and body when a Request is passed as fetch init

  • cloudflare: Have @flue/runtime provide its own namespace

  • cloudflare: Skip auto-instrument warning for TanStack Start tunnel shim

  • core: Always return a string from _enhanceErrorWithSentryInfo

  • nextjs: Inject build values into instrumentation for an external server SDK

  • nextjs: Run Turbopack loaders in worker threads on Bun

  • opentelemetry: Keep live context link when passing a scope to withScope

  • replay: Minify the compression worker to ES2020

  • server-runtime-injection: Register the CJS loader hook from the CJS build

  • server-utils: Count Google GenAI tool-use prompt tokens as input tokens

  • server-utils: Instrument deps excluded from the Vite dep optimizer

  • server-utils: Keep usage and tool errors when ai omits channel results

  • server-utils: Keep Workers AI streamed tool calls that have no index

  • server-utils: Mark AI spans as cancelled when the caller aborts

  • server-utils: Read GLOBAL_OBJ at call time in Nitro integration

  • server-utils: Record Anthropic chat spans for thread and tool-runner streams on 1.2+

  • server-utils: Record output of Workers AI chat-completion responses

  • server-utils: Trace Vercel AI streamObject on ai v4-v6

  • server-utils: Use the client's provider name for Anthropic platform clients

  • solidstart: Keep build-time tooling out of SolidStart 2 server bundles

Internal Changes

Work in this release was contributed by @kunal649, @bardrop, @DomWane, @Vivek1898, @mvanhorn, and @pcbeingused333. Thank you for your contributions!

Bundle size

PathSize
@sentry/browser29.4 KB
@sentry/browser - with treeshaking flags27.63 KB
@sentry/browser - with treeshaking flags tracing without tracing27.53 KB
@sentry/browser (incl. Tracing)51.06 KB
@sentry/browser (incl. Tracing + Span Streaming)51.06 KB
@sentry/browser (incl. Tracing, Profiling)53.96 KB
@sentry/browser (incl. Tracing, Replay)90.64 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags79.69 KB
@sentry/browser (incl. Tracing, Replay with Canvas)94.93 KB
@sentry/browser (incl. Tracing, Replay, Feedback)108 KB
@sentry/browser (incl. Feedback)46.61 KB
@sentry/browser (incl. sendFeedback)29.97 KB
@sentry/browser (incl. FeedbackAsync)34.86 KB
@sentry/browser (incl. Metrics)30.69 KB
@sentry/browser (incl. Logs)30.97 KB
@sentry/browser (incl. Metrics & Logs)31.61 KB
@sentry/react31.36 KB
@sentry/react (incl. Tracing)53.66 KB
@sentry/vue37.4 KB
@sentry/vue (incl. Tracing)53.95 KB
@sentry/svelte29.41 KB
@sentry/remix (Remix 3 client bundle)56.7 KB
CDN Bundle31.12 KB
CDN Bundle (incl. Tracing)51.47 KB
CDN Bundle (incl. Logs, Metrics)33.85 KB
CDN Bundle (incl. Tracing, Logs, Metrics)53.97 KB
CDN Bundle (incl. Replay, Logs, Metrics)73.93 KB
CDN Bundle (incl. Tracing, Replay)88.59 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)91.14 KB
CDN Bundle (incl. Tracing, Replay, Feedback)93.84 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)96.38 KB
CDN Bundle - uncompressed90.8 KB
CDN Bundle (incl. Tracing) - uncompressed151.81 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed98.95 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed159.26 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed226.02 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed269.15 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed276.6 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed280.67 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed288.11 KB
@sentry/nextjs (client)57.2 KB
@sentry/sveltekit (client)52.32 KB
@sentry/core/server43.75 KB
@sentry/core/browser14.07 KB
@sentry/node147.82 KB
@sentry/node/import (ESM hook with diagnostics-channel injection)81.35 KB
@sentry/node - without tracing86.49 KB
@sentry/node - without channel injection137.02 KB
@sentry/aws-serverless96.62 KB
@sentry/cloudflare (withSentry) - minified201.63 KB
@sentry/cloudflare (withSentry)467.99 KB
@sentry/nextjs/cloudflare (withSentry) - minified226.4 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.