@sentry/core
11.14.0 · 17 Nov 2026MIT107.3M / weekRepositoryHomepagenpmAtom feed
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: staticattribute. This covers pages prerendered duringvite buildand 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 = falseget 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
swrorisrroute rule, the pageload now has thepage.server_rendering.type: staticattribute 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.schemewithout colon andurl.portas a numberHTTP spans that the SDK builds from a
URLnow sendurl.schemewithout the trailing colon (httpsinstead ofhttps:) andurl.portas a number instead of a string, as the Sentry conventions define them and as Nodehttp.serverspans already do. This changeshttp.serverspans from@sentry/cloudflare,Bun.serve, Deno and Nitro, and outgoingnode:httpclient spans. Update saved queries, alerts and dashboards that filter onurl.scheme:"https:"or onurl.portas a string.cloudflare: Continue the Cloudflare trace of the invocation
When tracing is not set up (no
tracesSampleRateortracesSampler), errors and logs from fetch, scheduled, queue and email handlers and fromWorkerEntrypointRPC 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_idof 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
awsIntegrationnow record prompts, system instructions, tool definitions and responses by default, as the other AI integrations do. This applies to theConverse,ConverseStream,InvokeModelandInvokeModelWithResponseStreamcommands.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 newawsIntegrationoptions, which take precedence overdataCollection.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: truewhen no upload runsbundler-plugins: Enable external source maps and delete them after upload in the esbuild plugin
cloudflare: Instrument
traceandtailStreamhandlerscore: Add
getTraceServerTimingHeaderandisSharedCacheablecore: 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-Timingheader of document responsesnextjs: 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/nodestartup timenuxt: 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
BrowserClientconstructorbrowser: 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-envelopebrowser: 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
urlto sentry.iocloudflare: 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/runtimeprovide its own namespacecloudflare: Skip auto-instrument warning for TanStack Start tunnel shim
core: Always return a string from
_enhanceErrorWithSentryInfonextjs: 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
| Path | Size |
|---|---|
| @sentry/browser | 29.4 KB |
| @sentry/browser - with treeshaking flags | 27.63 KB |
| @sentry/browser - with treeshaking flags tracing without tracing | 27.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 flags | 79.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/react | 31.36 KB |
| @sentry/react (incl. Tracing) | 53.66 KB |
| @sentry/vue | 37.4 KB |
| @sentry/vue (incl. Tracing) | 53.95 KB |
| @sentry/svelte | 29.41 KB |
| @sentry/remix (Remix 3 client bundle) | 56.7 KB |
| CDN Bundle | 31.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 - uncompressed | 90.8 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 151.81 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 98.95 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 159.26 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 226.02 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 269.15 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 276.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 280.67 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 288.11 KB |
| @sentry/nextjs (client) | 57.2 KB |
| @sentry/sveltekit (client) | 52.32 KB |
| @sentry/core/server | 43.75 KB |
| @sentry/core/browser | 14.07 KB |
| @sentry/node | 147.82 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 81.35 KB |
| @sentry/node - without tracing | 86.49 KB |
| @sentry/node - without channel injection | 137.02 KB |
| @sentry/aws-serverless | 96.62 KB |
| @sentry/cloudflare (withSentry) - minified | 201.63 KB |
| @sentry/cloudflare (withSentry) | 467.99 KB |
| @sentry/nextjs/cloudflare (withSentry) - minified | 226.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.