Releases: getsentry/sentry-javascript
Release list
11.0.0-rc.0
This is the first release candidate of version 11 of the Sentry JavaScript SDKs.
We recommend following the migration guide to upgrade from version 10 to version 11.
Breaking Changes
All SDKs
- feat: Remove support for initialising via
--require(#22513) - feat!: Rename deprecated
http.*span attributes (#23574) - feat!: Rename deprecated
net.span attributes (#23301) - feat!: Replace
skipOpenTelemetrySetupwithenableOpenTelemetrySetup(#23199) - feat!: Replace the deprecated
http.targetspan attribute (#23575) - feat!: Require Node
>=20.19.0as minimum supported version (#22558) - feat!: Use
handlerspan op for terminal request handlers (#22871) - feat!: Use
middlewarespan op for web-server middleware (#22852) - feat(frameworks)!: Use
functionop for framework functions (#23047) - feat(node/cloudflare)!: Remove deprecated
honoIntegration(#22480) - feat(v11): Drop TypeScript 3.8 support (#18604)
AI integrations
- feat(langchain): Emit gen_ai.pipeline.name instead of langchain.chain.name (#23740)
- ref(anthropic)!: Move Anthropic AI integration to
@sentry/server-utils(#22954) - ref(google-genai)!: Move Google GenAI integration to
@sentry/server-utils(#22959) - ref(langchain)!: Move LangChain and LangGraph integrations to
@sentry/server-utils(#22962) - ref(langgraph)!: Drop gen_ai.create_agent spans (#22840)
- ref(openai)!: Move OpenAI AI integration to
@sentry/server-utils(#22953) - ref(vercel-ai)!: Move Vercel AI integration to
@sentry/server-utils(#22964) - ref(workers-ai)!: Move Workers AI integration to
@sentry/server-utils(#22960)
@sentry/angular
- feat(angular,ember,sveltekit)!: Use
routerspan op for frontend routers (#23086) - feat(angular)!: Use
ui.mountandfunctionspan ops for tracing decorators (#22667)
@sentry/astro
- feat(astro)!: Drop support for Astro 3 (#22683)
- feat(astro)!: Enable orchestrion instrumentation on Cloudflare Workers (#23003)
- feat(astro)!: Remove deprecated
sourceMapsUploadOptionsbuild option (#23630) - feat(astro)!: Remove unstable_sentryVitePluginOptions (#23370)
- ref(astro)!: Migrate import hook to makeOrchestrionLoader (#22861)
- ref(astro)!: Remove deprecated release/debug conflict workaround from BuildTimeOptionsBase (#23270)
@sentry/aws-serverless
- chore(aws-serverless)!: Drop
nodejs18.xfrom the Lambda layer runtimes (#23155) - feat(aws-serverless): Remove deprecated
disableAwsContextPropagationoption (#23170) - feat(aws-serverless)!: Emit
faas.invocation_idandcloud.resource_id(#24384) - feat(aws-serverless)!: Remove unused
startTraceoption andtryPatchHandler(#23219) - feat(aws-serverless)!: Use
function.awsspan op for Lambda invocations (#22677) - feat(aws)!: Use
queueSpan OP for AWS SQS & SNS messaging (#23757) - ref(aws-serverless)!: Migrate import hook to makeOrchestrionLoader (#22862)
@sentry/browser
- chore(browser)!: Remove legacy profiling option
profilesSampleRate(#23220) - feat(browser)!: Do not include metrics in base CDN bundle (#23207)
- feat(browser)!: drop browser support for AI integrations (#22438)
- feat(browser)!: Extract
performance.{mark,measure}spans into newuserTimingSpansIntegration(#22554) - feat(browser)!: Extract interaction spans into new
interactionsIntegration(#23295) - feat(browser)!: Record console breadcrumbs via consoleIntegration (#24387)
- feat(browser)!: Rename
bfcacheIntegrationtobfcacheMetricsIntegration(#23776) - feat(browser)!: Report web vitals for bfcache restores by default (#24325)
- feat(browser)!: Send session status
unhandledinstead ofcrashedfor unhandled errors (#22475) - feat(browser)!: Switch default browser session lifecycle mode to
page(#21245) - feat(browser)!: Use
browser.paintspan op for paint entries (#22673) - fix(browser)!: stop tagging DOMException.code on events (#23992)
- fix(browser)!: Use snake_case consistently for ops (#23100)
- ref(browser): Remove deprecated
trackFetchStreamPerformanceflag (#23172) - ref(browser)!: Drop Safari 14 support - remove
navigationStartfallback andpagehidelisteners (#21293) - ref(browser)!: Remove
beforeSpanEndcallback in favor ofbeforeIdleSpanEndhook (#22818)
@sentry/bundler-plugins
- feat(bundler-plugins)!: Migrate from @sentry/cli to the sentry CLI SDK (#23398)
@sentry/cloudflare
- feat(cf/vercel-edge)!: Align request data collection with v11 defaults (#22850)
- feat(cloudflare)!: Auto-instrument the Worker by default in the Vite plugin (#23273)
- feat(cloudflare)!: Enable build-time instrumentation by default in Vite plugin (#22950)
- feat(cloudflare)!: Make the nodejs_compat entrypoint the default (#22900)
- feat(cloudflare)!: Match rpcTracePropagationBindings case-insensitively (#23625)
- feat(cloudflare)!: Replace enableRpcTracePropagation with rpcTracePropagationBindings (#23486)
- feat(cloudflare)!: Skip rate limit spans (#23907)
- feat(cloudflare)!: Use
functionspan op for cron, email and workflow steps (#22703) - ref(cloudflare)!: Remove deprecated
instrumentD1WithSentryexport (#23153) - ref(cloudflare)!: Remove instrumentPrototypeMethods option (#22961)
- ref(cloudflare)!: Remove wrapRequestHandler from main entrypoint (#22881)
- ref(cloudflare)!: Use shared
SentryTracerProviderfor OpenTelemetry interop (#23300)
@sentry/core
- feat(core): Remove
spanfromScopeData(#23225) - feat(core)!: Align request data collection with v11 defaults (#22853)
- feat(core)!: Default
attachStacktraceto true (#22572) - feat(core)!: Enable data collection by default (#22917)
- feat(core)!: Enable logs by default (#22630)
- feat(core)!: Enable span streaming by default ([#22642](#22642...
10.75.0
Important Changes
-
feat(v10/effect): Capture errors through the Effect v4
ErrorReporterAPI (#24445)On Effect v4,
Sentry.effectLayernow registers a SentryErrorReporter. Failures that pass throughEffect.withErrorReporting,ErrorReporter.reportor the built-in HTTP and RPC reporting boundaries are captured automatically, withErrorReporter.ignore,ErrorReporter.severityandErrorReporter.attributesannotations respected. Nothing changes on Effect v3.
Other Changes
- feat(v10/core): Accept a
CollectBehaviorshorthand fordataCollection.httpHeaders(#24339) - fix(v10/browser): Release the XHR
virtualErroronce the request completed (#24307) - fix(v10/browser-utils): Skip nullish LCP entries in vendored web-vitals (#24349)
- fix(v10/bundler-plugins): Stamp debug IDs onto emitted source maps when
disable-uploadis set (#24332) - fix(v10/core): Don't instrument the SDK's own envelope requests (#24276)
- fix(v10/nextjs): Only include emitted chunk directories in Turbopack sourcemap upload (#24295)
- fix(v10/nitro): Import from nitro/h3 instead of h3 directly (#24444)
- fix(v10/node-core): Don't recurse in logAndExitProcess on a broken stdio pipe (#24353)
- fix(v10/nuxt): Detect Nitro version via the app's Nuxt dependency chain (#24025)
- fix(v10/replay): Don't rewrite already-emitted nodes when syncing mirror attributes (#23588)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 27.18 KB |
| @sentry/browser - with treeshaking flags | 25.66 KB |
| @sentry/browser (incl. Tracing) | 45.6 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.34 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.24 KB |
| @sentry/browser (incl. Tracing, Replay) | 83.99 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 73.84 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 88.6 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 100.94 KB |
| @sentry/browser (incl. Feedback) | 43.94 KB |
| @sentry/browser (incl. sendFeedback) | 31.87 KB |
| @sentry/browser (incl. FeedbackAsync) | 36.88 KB |
| @sentry/browser (incl. Metrics) | 28.25 KB |
| @sentry/browser (incl. Logs) | 28.47 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.15 KB |
| @sentry/react | 28.93 KB |
| @sentry/react (incl. Tracing) | 47.81 KB |
| @sentry/vue | 32.47 KB |
| @sentry/vue (incl. Tracing) | 47.55 KB |
| @sentry/svelte | 27.21 KB |
| CDN Bundle | 29.53 KB |
| CDN Bundle (incl. Tracing) | 47.52 KB |
| CDN Bundle (incl. Logs, Metrics) | 31.07 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 48.81 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 69.49 KB |
| CDN Bundle (incl. Tracing, Replay) | 84.22 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 85.5 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 89.87 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 91.15 KB |
| CDN Bundle - uncompressed | 87.93 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 143.41 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 92.53 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 147.3 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 214.56 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 260.04 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 263.91 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 273.42 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 277.28 KB |
| @sentry/nextjs (client) | 50.31 KB |
| @sentry/sveltekit (client) | 46.02 KB |
| @sentry/core/server | 78.95 KB |
| @sentry/core/browser | 65.45 KB |
| @sentry/node-core | 62.03 KB |
| @sentry/node | 123.25 KB |
| @sentry/node (incl. diagnostics channel injection) | 166.36 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 166 B |
| @sentry/node/light | 50.45 KB |
| @sentry/node - without tracing | 73.49 KB |
| @sentry/aws-serverless | 82.5 KB |
| @sentry/cloudflare (withSentry) - minified | 198.2 KB |
| @sentry/cloudflare (withSentry) | 488.15 KB |
11.0.0-beta.2
This is a beta release of the upcoming major release of version 11.
This release does not yet entail a comprehensive changelog as version 11 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 11.0.0-beta.2.
Please note that the migration guide is work in progress and subject to change.
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 28.14 KB |
| @sentry/browser - with treeshaking flags | 26.49 KB |
| @sentry/browser - with treeshaking flags tracing without tracing | 26.38 KB |
| @sentry/browser (incl. Tracing) | 48.07 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 48.08 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.93 KB |
| @sentry/browser (incl. Tracing, Replay) | 86.69 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 76.12 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 91.26 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 103.9 KB |
| @sentry/browser (incl. Feedback) | 45.22 KB |
| @sentry/browser (incl. sendFeedback) | 33.08 KB |
| @sentry/browser (incl. FeedbackAsync) | 38.08 KB |
| @sentry/browser (incl. Metrics) | 29.15 KB |
| @sentry/browser (incl. Logs) | 29.4 KB |
| @sentry/browser (incl. Metrics & Logs) | 30.06 KB |
| @sentry/react | 29.86 KB |
| @sentry/react (incl. Tracing) | 50.37 KB |
| @sentry/vue | 35.23 KB |
| @sentry/vue (incl. Tracing) | 50.29 KB |
| @sentry/svelte | 28.18 KB |
| CDN Bundle | 29.85 KB |
| CDN Bundle (incl. Tracing) | 48.6 KB |
| CDN Bundle (incl. Logs, Metrics) | 32.06 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 50.49 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 71.76 KB |
| CDN Bundle (incl. Tracing, Replay) | 85.24 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 87.12 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 91.03 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 92.99 KB |
| CDN Bundle - uncompressed | 88.35 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 144.7 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 94.77 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 150.53 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 221 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 261.49 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 267.3 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 274.87 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 280.67 KB |
| @sentry/nextjs (client) | 52.77 KB |
| @sentry/sveltekit (client) | 48.52 KB |
| @sentry/core/server | 36.12 KB |
| @sentry/core/browser | 13.24 KB |
| @sentry/node | 124.85 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 79.71 KB |
| @sentry/node - without tracing | 86.65 KB |
| @sentry/node - without channel injection | 104.59 KB |
| @sentry/aws-serverless | 94.84 KB |
| @sentry/cloudflare (withSentry) - minified | 197.25 KB |
| @sentry/cloudflare (withSentry) | 490.9 KB |
10.74.0
- feat(v10): Streamline isolation scope handling & reset in isolation scopes (#24152)
- fix(server-utils): Include Gemini reasoning tokens in Vercel AI token usage (#23433)
- fix(v10/browser): Set
user_agent.originalon all spans for consistent filtering (#24226) - fix(v10/cloudflare): Auto-instrument classes re-exported from the worker entry (#24181)
- fix(v10/core): Guard
loadModuledefault parameter against ESM scope (#24154) - fix(v10/core): Match wrapped Facebook Mobile browser errors in
DEFAULT_IGNORE_ERRORS(#23877) - fix(v10/core): Resolve MCP capture policy per operation (#23796)
- fix(v10/nextjs): Fix SDK import crashing under jsdom/happy-dom (#23906)
- fix(v10/nextjs): Keep the Pages Router runtime out of App Router client bundles (#24223)
- fix(v10/nextjs): Register Vercel AI span processors on Next.js (#23773)
- fix(v10/nuxt): Windows file:// for import-in-the-middle hook and isAbsolute for C:\ (#24026)
- fix(v10/profiling-node): Bump @sentry/node-cpu-profiler to 2.4.4 (#24238)
- fix(v10/sveltekit): Handle SvelteKit 3 error kinds in handleErrorWithSentry (#23995)
- fix(v10/sveltekit): Read Cloudflare execution context from platform.ctx (#23994)
- fix(v10/sveltekit): Read SvelteKit config from the Vite plugin (#23998)
Internal Changes
- test(e2e): Assert Next.js Cloudflare worker bundle stays free of orchestrion bundler plugins (#23910)
Work in this release was contributed by @halillusion and @zkasuran. Thank you for your contributions!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 27.12 KB |
| @sentry/browser - with treeshaking flags | 25.59 KB |
| @sentry/browser (incl. Tracing) | 45.53 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.29 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.18 KB |
| @sentry/browser (incl. Tracing, Replay) | 83.87 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 73.74 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 88.49 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 100.82 KB |
| @sentry/browser (incl. Feedback) | 43.89 KB |
| @sentry/browser (incl. sendFeedback) | 31.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 36.82 KB |
| @sentry/browser (incl. Metrics) | 28.19 KB |
| @sentry/browser (incl. Logs) | 28.41 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.09 KB |
| @sentry/react | 28.89 KB |
| @sentry/react (incl. Tracing) | 47.74 KB |
| @sentry/vue | 32.42 KB |
| @sentry/vue (incl. Tracing) | 47.47 KB |
| @sentry/svelte | 27.15 KB |
| CDN Bundle | 29.46 KB |
| CDN Bundle (incl. Tracing) | 47.45 KB |
| CDN Bundle (incl. Logs, Metrics) | 31.01 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 48.75 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 69.37 KB |
| CDN Bundle (incl. Tracing, Replay) | 84.11 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 85.38 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 89.75 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 91.01 KB |
| CDN Bundle - uncompressed | 87.79 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 143.27 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 92.39 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 147.15 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 214.29 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 259.77 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 263.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 273.15 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 277.02 KB |
| @sentry/nextjs (client) | 50.26 KB |
| @sentry/sveltekit (client) | 45.95 KB |
| @sentry/core/server | 78.9 KB |
| @sentry/core/browser | 65.38 KB |
| @sentry/node-core | 61.83 KB |
| @sentry/node | 123.05 KB |
| @sentry/node (incl. diagnostics channel injection) | 166.11 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 166 B |
| @sentry/node/light | 50.24 KB |
| @sentry/node - without tracing | 73.24 KB |
| @sentry/aws-serverless | 82.28 KB |
| @sentry/cloudflare (withSentry) - minified | 198 KB |
| @sentry/cloudflare (withSentry) | 487.68 KB |
11.0.0-beta.1
This is a beta release of the upcoming major release of version 11.
This release does not yet entail a comprehensive changelog as version 11 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 11.0.0-beta.1.
Please note that the migration guide is work in progress and subject to change.
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 28.02 KB |
| @sentry/browser - with treeshaking flags | 26.36 KB |
| @sentry/browser - with treeshaking flags tracing without tracing | 26.26 KB |
| @sentry/browser (incl. Tracing) | 47.92 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.92 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.77 KB |
| @sentry/browser (incl. Tracing, Replay) | 86.48 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 76.03 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 91.06 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 103.7 KB |
| @sentry/browser (incl. Feedback) | 45.1 KB |
| @sentry/browser (incl. sendFeedback) | 32.96 KB |
| @sentry/browser (incl. FeedbackAsync) | 37.94 KB |
| @sentry/browser (incl. Metrics) | 28.97 KB |
| @sentry/browser (incl. Logs) | 29.24 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.88 KB |
| @sentry/react | 29.74 KB |
| @sentry/react (incl. Tracing) | 50.08 KB |
| @sentry/vue | 35.08 KB |
| @sentry/vue (incl. Tracing) | 50.14 KB |
| @sentry/svelte | 28.04 KB |
| CDN Bundle | 29.72 KB |
| CDN Bundle (incl. Tracing) | 48.44 KB |
| CDN Bundle (incl. Logs, Metrics) | 31.9 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 50.33 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 71.54 KB |
| CDN Bundle (incl. Tracing, Replay) | 85.06 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 86.89 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 90.85 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 92.75 KB |
| CDN Bundle - uncompressed | 88.02 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 144.35 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 94.26 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 149.99 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 220.4 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 261.04 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 266.67 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 274.42 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 280.04 KB |
| @sentry/nextjs (client) | 52.63 KB |
| @sentry/sveltekit (client) | 48.35 KB |
| @sentry/core/server | 40 KB |
| @sentry/core/browser | 13.22 KB |
| @sentry/node | 121.73 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 79.61 KB |
| @sentry/node - without tracing | 86.41 KB |
| @sentry/node - without channel injection | 101.51 KB |
| @sentry/aws-serverless | 94.59 KB |
| @sentry/cloudflare (withSentry) - minified | 196.84 KB |
| @sentry/cloudflare (withSentry) | 489.63 KB |
11.0.0-beta.0
This is a beta release of the upcoming major release of version 11.
This release does not yet entail a comprehensive changelog as version 11 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 11.0.0-beta.0.
Please note that the migration guide is work in progress and subject to change.
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 27.91 KB |
| @sentry/browser - with treeshaking flags | 26.31 KB |
| @sentry/browser - with treeshaking flags tracing without tracing | 26.21 KB |
| @sentry/browser (incl. Tracing) | 47.73 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.74 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.59 KB |
| @sentry/browser (incl. Tracing, Replay) | 86.3 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 75.94 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 90.87 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 103.54 KB |
| @sentry/browser (incl. Feedback) | 44.99 KB |
| @sentry/browser (incl. sendFeedback) | 32.85 KB |
| @sentry/browser (incl. FeedbackAsync) | 37.84 KB |
| @sentry/browser (incl. Metrics) | 28.84 KB |
| @sentry/browser (incl. Logs) | 29.12 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.74 KB |
| @sentry/react | 29.61 KB |
| @sentry/react (incl. Tracing) | 49.88 KB |
| @sentry/vue | 34.91 KB |
| @sentry/vue (incl. Tracing) | 49.95 KB |
| @sentry/svelte | 27.93 KB |
| CDN Bundle | 29.65 KB |
| CDN Bundle (incl. Tracing) | 48.36 KB |
| CDN Bundle (incl. Logs, Metrics) | 31.83 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 50.23 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 71.48 KB |
| CDN Bundle (incl. Tracing, Replay) | 84.97 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 86.8 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 90.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 92.61 KB |
| CDN Bundle - uncompressed | 87.87 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 144.12 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 94.01 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 149.67 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 220.15 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 260.81 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 266.36 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 274.19 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 279.73 KB |
| @sentry/nextjs (client) | 52.44 KB |
| @sentry/sveltekit (client) | 48.15 KB |
| @sentry/core/server | 39.79 KB |
| @sentry/core/browser | 13.11 KB |
| @sentry/node | 121.55 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 79.61 KB |
| @sentry/node - without tracing | 86.22 KB |
| @sentry/node - without channel injection | 101.33 KB |
| @sentry/aws-serverless | 94.39 KB |
| @sentry/cloudflare (withSentry) - minified | 196.11 KB |
| @sentry/cloudflare (withSentry) | 488.05 KB |
10.73.0
Important Changes
-
feat(v10/nextjs): Add
@sentry/nextjs/configentry point (#23766)withSentryConfigis now available from@sentry/nextjs/config, the path it moves to in v11. Importing it from@sentry/nextjsstill works on v10 but logs a warning once, so you can change yournext.configfile today and upgrade to v11 without touching it again.// next.config.mjs - import { withSentryConfig } from '@sentry/nextjs'; + import { withSentryConfig } from '@sentry/nextjs/config';
Other Changes
- feat(v10/node): Deprecate
shouldHandleErroronsetupExpressErrorHandlerandsetupFasitfyErrorHandler(#23734) - fix(v10/cloudflare): Instrument Durable Object handlers installed as read-only properties (#23769)
Internal Changes
- test(v10/nextjs): Drop nextjs-16-cf-workers canary variant (#23775)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 27.1 KB |
| @sentry/browser - with treeshaking flags | 25.58 KB |
| @sentry/browser (incl. Tracing) | 45.54 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.28 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.17 KB |
| @sentry/browser (incl. Tracing, Replay) | 83.87 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 73.74 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 88.49 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 100.83 KB |
| @sentry/browser (incl. Feedback) | 43.87 KB |
| @sentry/browser (incl. sendFeedback) | 31.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 36.79 KB |
| @sentry/browser (incl. Metrics) | 28.16 KB |
| @sentry/browser (incl. Logs) | 28.38 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.06 KB |
| @sentry/react | 28.86 KB |
| @sentry/react (incl. Tracing) | 47.74 KB |
| @sentry/vue | 32.4 KB |
| @sentry/vue (incl. Tracing) | 47.46 KB |
| @sentry/svelte | 27.12 KB |
| CDN Bundle | 29.43 KB |
| CDN Bundle (incl. Tracing) | 47.45 KB |
| CDN Bundle (incl. Logs, Metrics) | 30.98 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 48.72 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 69.34 KB |
| CDN Bundle (incl. Tracing, Replay) | 84.09 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 85.37 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 89.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 91 KB |
| CDN Bundle - uncompressed | 87.76 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 143.4 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 92.36 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 147.29 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 214.26 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 259.91 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 263.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 273.29 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 277.15 KB |
| @sentry/nextjs (client) | 50.22 KB |
| @sentry/sveltekit (client) | 45.94 KB |
| @sentry/core/server | 78.67 KB |
| @sentry/core/browser | 65.18 KB |
| @sentry/node-core | 61.78 KB |
| @sentry/node | 122.81 KB |
| @sentry/node (incl. diagnostics channel injection) | 165.86 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 166 B |
| @sentry/node/light | 50.21 KB |
| @sentry/node - without tracing | 73.19 KB |
| @sentry/aws-serverless | 82.24 KB |
| @sentry/cloudflare (withSentry) - minified | 197.84 KB |
| @sentry/cloudflare (withSentry) | 486.96 KB |
11.0.0-alpha.2
This is an alpha release of the upcoming major release of version 11.
This release does not yet entail a comprehensive changelog as version 11 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 11.0.0-alpha.2.
Please note that the migration guide is work in progress and subject to change.
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 27.9 KB |
| @sentry/browser - with treeshaking flags | 26.3 KB |
| @sentry/browser - with treeshaking flags tracing without tracing | 26.19 KB |
| @sentry/browser (incl. Tracing) | 47.5 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.51 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.36 KB |
| @sentry/browser (incl. Tracing, Replay) | 86.04 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 75.71 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 90.63 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 103.27 KB |
| @sentry/browser (incl. Feedback) | 44.97 KB |
| @sentry/browser (incl. sendFeedback) | 32.84 KB |
| @sentry/browser (incl. FeedbackAsync) | 37.83 KB |
| @sentry/browser (incl. Metrics) | 28.82 KB |
| @sentry/browser (incl. Logs) | 29.11 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.73 KB |
| @sentry/react | 29.6 KB |
| @sentry/react (incl. Tracing) | 49.65 KB |
| @sentry/vue | 34.86 KB |
| @sentry/vue (incl. Tracing) | 49.69 KB |
| @sentry/svelte | 27.92 KB |
| CDN Bundle | 29.64 KB |
| CDN Bundle (incl. Tracing) | 48.1 KB |
| CDN Bundle (incl. Logs, Metrics) | 31.82 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 49.95 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 71.47 KB |
| CDN Bundle (incl. Tracing, Replay) | 84.71 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 86.55 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 90.47 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 92.31 KB |
| CDN Bundle - uncompressed | 87.84 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 143.41 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 93.99 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 148.97 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 220.13 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 260.11 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 265.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 273.49 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 279.02 KB |
| @sentry/nextjs (client) | 52.17 KB |
| @sentry/sveltekit (client) | 47.94 KB |
| @sentry/core/server | 63.92 KB |
| @sentry/core/browser | 50.63 KB |
| @sentry/node | 120.24 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 83.24 KB |
| @sentry/node - without tracing | 85.71 KB |
| @sentry/node - without channel injection | 100.39 KB |
| @sentry/aws-serverless | 93.68 KB |
| @sentry/cloudflare (withSentry) - minified | 195.81 KB |
| @sentry/cloudflare (withSentry) | 487.08 KB |
10.72.0
Important Changes
-
AI integrations no longer report errors that propagate to the caller (#23638, #23639, #23640)
Across all AI integrations (OpenAI, Anthropic, Google GenAI, LangChain, and LangGraph), the SDK no longer sends an event to Sentry for errors that the AI framework propagates to your code. Previously the instrumentation reported these as unhandled (
handled: false) before your own error handling ran, so an error your code caught still showed up in Sentry as an unhandled crash. The span is still marked as errored and the error still propagates, so reporting is left to your application: if your code does not handle the error, it reaches Sentry's global error handlers and is captured as unhandled, just like any other uncaught error. Errors that a provider surfaces as data on an otherwise successful response (such as Anthropic error-shaped responses or Google GenAI blocked content) are still captured, since your code never sees them propagate. -
feat(v10/cloudflare): Add
rpcTracePropagationBindings(#23737, #23738)The new
rpcTracePropagationBindingsoption names theenvbindings that outgoing RPC calls propagate trace context to. Strings match a binding name exactly, regular expressions match by pattern, and the default empty array propagates to nothing. RPC has no headers to carry trace context, so the SDK appends it as a trailing argument that only a Sentry-instrumented receiver removes again. List only the bindings whose receiver you know runs Sentry. Setting the option takes precedence overenableRpcTracePropagation, which is now deprecated. When you build with the Sentry Cloudflare Vite plugin, the bindings that resolve to this worker (its own Durable Objects and self service bindings) are derived from your wrangler config and added for you.
Other Changes
- fix(v10/astro): support astro v7 route patterns properly (#23657)
- fix(v10/bundler-plugins): Preserve full file path in component annotation source maps (#23595)
- fix(v10/core): Store child span timeout handle in
_childSpanTimeoutID(#23673) - fix(v10/node): Only end the process session when it is still ok (#23731)
- fix(v10/react-router): Use react-router's own instrumentation types instead of a mirrored copy (#23589)
- fix(v10/replay): Suppress Worker destroyed error on session expiry (#23654)
- fix(v10/server-utils): Keep orchestrion registration out of tree-shaking (#23591)
- fix(v10/server-utils): Stop shipping orchestrion bundler plugins as production dependencies (#23667)
- fix(v10/server-utils): Support openai v7 in auto-instrumentation (#23713)
- fix(v10/sveltekit): Detect native tracing in flattened SvelteKit 3 config (#23656)
Internal Changes
- chore(v10): Add external contributor to CHANGELOG.md (#23626)
- docs(v10): Changelog + contributor credit for AI caller-handled error fixes (#23641)
- test(v10/e2e): Fix scripts for nuxt dev server (#23658)
- test(v10/e2e): Look up events via the organization trace endpoint (#23680)
- test(v10/e2e): Look up the symbolicated event via the eventids endpoint (#23681)
Work in this release was contributed by @ryanrho-mercor, @lux-in-tenebris-lucet, and @suhailopensource. Thank you for your contributions!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 27.1 KB |
| @sentry/browser - with treeshaking flags | 25.58 KB |
| @sentry/browser (incl. Tracing) | 45.54 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.28 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.17 KB |
| @sentry/browser (incl. Tracing, Replay) | 83.87 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 73.74 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 88.49 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 100.83 KB |
| @sentry/browser (incl. Feedback) | 43.87 KB |
| @sentry/browser (incl. sendFeedback) | 31.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 36.79 KB |
| @sentry/browser (incl. Metrics) | 28.16 KB |
| @sentry/browser (incl. Logs) | 28.38 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.06 KB |
| @sentry/react | 28.86 KB |
| @sentry/react (incl. Tracing) | 47.74 KB |
| @sentry/vue | 32.4 KB |
| @sentry/vue (incl. Tracing) | 47.46 KB |
| @sentry/svelte | 27.12 KB |
| CDN Bundle | 29.43 KB |
| CDN Bundle (incl. Tracing) | 47.45 KB |
| CDN Bundle (incl. Logs, Metrics) | 30.98 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 48.72 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 69.34 KB |
| CDN Bundle (incl. Tracing, Replay) | 84.09 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 85.37 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 89.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 91 KB |
| CDN Bundle - uncompressed | 87.76 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 143.4 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 92.36 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 147.29 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 214.26 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 259.91 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 263.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 273.29 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 277.15 KB |
| @sentry/nextjs (client) | 50.22 KB |
| @sentry/sveltekit (client) | 45.94 KB |
| @sentry/core/server | 78.64 KB |
| @sentry/core/browser | 65.18 KB |
| @sentry/node-core | 61.77 KB |
| @sentry/node | 122.8 KB |
| @sentry/node (incl. diagnostics channel injection) | 165.83 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 166 B |
| @sentry/node/light | 50.21 KB |
| @sentry/node - without tracing | 73.19 KB |
| @sentry/aws-serverless | 82.24 KB |
| @sentry/cloudflare (withSentry) - minified | 197.54 KB |
| @sentry/cloudflare (withSentry) | 485.89 KB |
10.71.0
Important Changes
- feat(v10/core)!: Enable logs by default (#23311)
The enableLogs client option now defaults to true, so Sentry Logs work without any manual opt-in. Nothing is captured unless you call the Sentry.logger.* APIs or add a log-forwarding integration (such as consoleLoggingIntegration, pinoIntegration, or the winston transport), and you can set enableLogs: false to opt out. Although a default change like this would normally land in a major release, we are shipping it in a minor after careful consideration, since it sends no data on its own and only takes effect once you actively use the logging APIs or a logging integration.
Other Changes
- feat(v10/core): Deprecate
scope.clear()method (#23231) - fix(v10/core): Bound child span tracking on long-lived spans (#23406)
- fix(v10/core): Read Supabase PostgREST headers from
Headersinstances (#23241) - fix(v10/hono): Use
captureExceptionfrom scope, not fromClient(#23280) - fix(v10/nuxt): Delete source maps after Nitro finishes building (#23508)
- fix(v10/react-router): Carry multi-byte UTF-8 across SSR stream chunk boundaries (#23421)
- fix(v10/react): Match TanStack Router pageload against the router location (#23494)
Internal Changes
- test(v10/nextjs): Add e2e app for a user-owned OpenTelemetry setup (#23278)
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 27.1 KB |
| @sentry/browser - with treeshaking flags | 25.58 KB |
| @sentry/browser (incl. Tracing) | 45.51 KB |
| @sentry/browser (incl. Tracing + Span Streaming) | 47.25 KB |
| @sentry/browser (incl. Tracing, Profiling) | 50.15 KB |
| @sentry/browser (incl. Tracing, Replay) | 83.83 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 73.71 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 88.45 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 100.79 KB |
| @sentry/browser (incl. Feedback) | 43.87 KB |
| @sentry/browser (incl. sendFeedback) | 31.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 36.79 KB |
| @sentry/browser (incl. Metrics) | 28.16 KB |
| @sentry/browser (incl. Logs) | 28.38 KB |
| @sentry/browser (incl. Metrics & Logs) | 29.06 KB |
| @sentry/react | 28.86 KB |
| @sentry/react (incl. Tracing) | 47.72 KB |
| @sentry/vue | 32.4 KB |
| @sentry/vue (incl. Tracing) | 47.43 KB |
| @sentry/svelte | 27.12 KB |
| CDN Bundle | 29.43 KB |
| CDN Bundle (incl. Tracing) | 47.43 KB |
| CDN Bundle (incl. Logs, Metrics) | 30.98 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 48.7 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 69.32 KB |
| CDN Bundle (incl. Tracing, Replay) | 84.05 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 85.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 89.72 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 90.96 KB |
| CDN Bundle - uncompressed | 87.76 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 143.35 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 92.36 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 147.24 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 214.2 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 259.79 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 263.67 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 273.17 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 277.04 KB |
| @sentry/nextjs (client) | 50.2 KB |
| @sentry/sveltekit (client) | 45.92 KB |
| @sentry/core/server | 78.73 KB |
| @sentry/core/browser | 65.27 KB |
| @sentry/node-core | 61.77 KB |
| @sentry/node | 122.94 KB |
| @sentry/node (incl. diagnostics channel injection) | 147.78 KB |
| @sentry/node/import (ESM hook with diagnostics-channel injection) | 68.39 KB |
| @sentry/node/light | 50.21 KB |
| @sentry/node - without tracing | 73.19 KB |
| @sentry/aws-serverless | 82.24 KB |
| @sentry/cloudflare (withSentry) - minified | 197.31 KB |
| @sentry/cloudflare (withSentry) | 485.11 KB |