@sentry/core
11.14.0 · 17 Nov 2026MIT107.3M / weekRepositoryHomepagenpmAtom feed
11.15.0 is the newest release of 11.x.
In short
1 new4 fixed29 internal
Release note
Important Changes
bundler-plugins: Enable hidden source maps and remove them after upload (#25637, #25645, #25646, #25647, #25648)
The Sentry Rollup, Vite, webpack and esbuild plugins now turn on hidden source maps when your bundler has no source maps enabled and the plugin can upload them. They upload the maps to Sentry and remove them from the build output. You no longer need to set
sourcemap: 'hidden'orfilesToDeleteAfterUploadglobs:sentryVitePlugin({ org, project, authToken });The new
sourcemaps.deleteSourcemapsAfterUploadoption controls the removal:Unset: the plugin removes only the source maps it turned on itself. Source maps you enabled yourself stay in the build output, as before.
true: the plugin also removes source maps you enabled yourself, and switches visible source maps to hidden. Set this if you already usesourcemap: 'hidden'and want to drop yourfilesToDeleteAfterUploadglobs.false: the plugin never removes source maps.
Builds in development mode or without an auth token, org and project do not change.
cloudflare: Propagate tracing context through Queue messages
Cloudflare Queue consumers can now link to the traces of the producers that sent the messages. Set
queueTracePropagationBindingsto the producer bindings that should add trace data to plain-object message bodies. Consumers remove this data before your handler runs, and thequeue.processspan links to every producer in the batch.export default Sentry.withSentry( env => ({ dsn: env.SENTRY_DSN, queueTracePropagationBindings: ['BILLING_QUEUE', /^JOBS_/], }), handler, );core: Answer managed tunnel requests in the runtime (#25997, #25998, #25999, #26000, #26001)
serveTunnelIntegration()now answers tunnel requests before they reach your app, in Node.js, Bun, Deno, Cloudflare Workers and AWS Lambda. You no longer need a framework integration or a route handler, so any server setup works with only the integration:Sentry.init({ dsn, integrations: [Sentry.serveTunnelIntegration()] });To answer tunnel requests from your own code, set
serveTunnelIntegration({ intercept: false })and callhandleTunnelRequestIfMatched.
Other Changes
server-utils: Always warn on Bun when no channel injection is detected
server-utils: Group the tool spans of an Anthropic session runner under one invoke_agent span
- Deprecated
tanstackstart-react: Deprecate
tunnelRoute aws-serverless: Fork isolation scope per invocation
aws-serverless: Omit default port from url.full on function.aws spans
browser: Keep the current origin for
//paths inurl.fullcloudflare: Capture NonRetryableError before the final workflow step attempt
cloudflare: Initialize the SDK before constructing a Durable Object
cloudflare: Keep framework-managed methods when a Durable Object constructor throws
core: Avoid stack overflow in FunctionToString on cyclic Proxy prototype chains
core: Preserve parentheses in anonymous Node stack paths
core: Stop normalize() from throwing on symbol and null-prototype errors
core: Use the final segment span name for streamed spans that end before a rename
esbuild: Avoid import-is-undefined warning for entries without a default export
hono: Name routes without c.req.matchedRoutes
nextjs,sveltekit: Hide git revision console on Windows
node: Patch the mutable fs object in fsIntegration under native ESM
node: Read syncBuiltinESMExports off the module namespace so Deno can load @sentry/node
server-utils: Count Bedrock prompt-cache tokens as input tokens
server-utils: Create an invoke_agent span for LangGraph stream()
server-utils: End Bedrock stream spans with an error status on failure
server-utils: Keep Bedrock InvokeModel spans for byte, non-JSON, or model-less bodies
server-utils: Mark AI streaming spans as errored when the stream fails midway
server-utils: Read Bedrock Claude stream output tokens from message_delta
server-utils: Read Bedrock Mistral and Cohere stream token counts from invocation metrics
server-utils: Record Anthropic system instructions from text blocks
server-utils: Record Bedrock finish reasons as a JSON string
server-utils: Record LangGraph finish reasons as a JSON string
server-utils: Record Vercel AI system instructions from message objects
sveltekit: Read navigation untracked in the Kit 3 fetch wrapper
Internal Changes
Work in this release was contributed by @lazerg, @rjmcgee53192, @adityankale190895, @arthurfiorette, @chan-mai, @nuntz, and @43081j. Thank you for your contributions!
Bundle size
| Path | Size |
|---|---|
| @sentry/browser | 29.22 KB |
| @sentry/browser - with treeshaking flags | 27.42 KB |
| @sentry/browser - with treeshaking flags tracing without tracing | 27.32 KB |
| @sentry/browser (incl. Tracing) | 51.07 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 51.08 KB |
| @sentry/browser (incl. Tracing, Profiling) | 53.98 KB |
| @sentry/browser (incl. Tracing, Replay) | 90.52 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 79.46 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 95.15 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 107.83 KB |
| @sentry/browser (incl. Feedback) | 46.41 KB |
| @sentry/browser (incl. sendFeedback) | 34.19 KB |
| @sentry/browser (incl. FeedbackAsync) | 39.19 KB |
| @sentry/browser (incl. Metrics) | 30.75 KB |
| @sentry/browser (incl. Logs) | 31.03 KB |
| @sentry/browser (incl. Metrics & Logs) | 31.69 KB |
| @sentry/react | 31.03 KB |
| @sentry/react (incl. Tracing) | 53.48 KB |
| @sentry/vue | 37.44 KB |
| @sentry/vue (incl. Tracing) | 54.04 KB |
| @sentry/svelte | 29.25 KB |
| @sentry/remix (Remix 3 client bundle) | 56.56 KB |
| CDN Bundle | 30.98 KB |
| CDN Bundle (incl. Tracing) | 51.65 KB |
| CDN Bundle (incl. Logs, Metrics) | 33.71 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 54.09 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 74.22 KB |
| CDN Bundle (incl. Tracing, Replay) | 89.03 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 91.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 95.01 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 97.55 KB |
| CDN Bundle - uncompressed | 90.59 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 152.36 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 98.91 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 159.96 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 227.72 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 271.52 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 279.11 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 284.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 292.48 KB |
| @sentry/nextjs (client) | 56.38 KB |
| @sentry/sveltekit (client) | 51.58 KB |
| @sentry/core/server | 43.25 KB |
| @sentry/core/browser | 13.7 KB |
| @sentry/node | 153.71 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 80.35 KB |
| @sentry/node - without tracing | 94.87 KB |
| @sentry/node - without channel injection | 134.46 KB |
| @sentry/aws-serverless | 103.36 KB |
| @sentry/cloudflare (withSentry) - minified | 198.74 KB |
| @sentry/cloudflare (withSentry) | 493.9 KB |
| @sentry/nextjs/cloudflare (withSentry) - minified | 219.91 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.