Skip to content

Releases: getsentry/sentry-javascript

11.0.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 23 Sep 12:43

Version 11.0.0 marks a major release of the Sentry JavaScript SDKs containing breaking changes.
The goal of this release is to be better compatible with OpenTelemetry, make our integrations work across Node.js, Cloudflare, Bun and Deno through run-time and build-time instrumentation, and make span streaming and more permissive data collection the default.

How To Upgrade

Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 10 to version 11. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v10-to-v11/

A comprehensive migration guide outlining all changes can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md

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 skipOpenTelemetrySetup with enableOpenTelemetrySetup (#23199)
  • feat!: Replace the deprecated http.target span attribute (#23575)
  • feat!: Require Node >=20.19.0 as minimum supported version (#22558)
  • feat!: Use handler span op for terminal request handlers (#22871)
  • feat!: Use middleware span op for web-server middleware (#22852)
  • feat(frameworks)!: Use function op 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 router span op for frontend routers (#23086)
  • feat(angular)!: Use ui.mount and function span 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 sourceMapsUploadOptions build 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.x from the Lambda layer runtimes (#23155)
  • feat(aws-serverless): Remove deprecated disableAwsContextPropagation option (#23170)
  • feat(aws-serverless)!: Emit faas.invocation_id and cloud.resource_id (#24384)
  • feat(aws-serverless)!: Remove unused startTrace option and tryPatchHandler (#23219)
  • feat(aws-serverless)!: Use function.aws span op for Lambda invocations (#22677)
  • feat(aws)!: Use queue Span 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 new userTimingSpansIntegration (#22554)
  • feat(browser)!: Extract interaction spans into new interactionsIntegration (#23295)
  • feat(browser)!: Record console breadcrumbs via consoleIntegration (#24387)
  • feat(browser)!: Rename bfcacheIntegration to bfcacheMetricsIntegration (#23776)
  • feat(browser)!: Report browser.navigation.type exactly as web-vitals does (#24479)
  • feat(browser)!: Report web vitals for bfcache restores by default (#24325)
  • feat(browser)!: Send session status unhandled instead of crashed for unhandled errors (#22475)
  • feat(browser)!: Switch default browser session lifecycle mode to page (#21245)
  • feat(browser)!: Use browser.paint span 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 the web vital report event attribute (#24511)
  • ref(browser): Remove deprecated trackFetchStreamPerformance flag (#23172)
  • ref(browser)!: Drop Safari 14 support - remove navigationStart fallback and pagehide listeners (#21293)
  • ref(browser)!: Remove beforeSpanEnd callback in favor of beforeIdleSpanEnd hook (#22818)

@sentry/bundler-plugins

  • feat(bundler-plugins)!: Migrate from @sentry/cli to the sentry CLI SDK (#23398)
  • ref(bundler-plugins)!: Require webpack 5.1 and remove the webpack5 entry point (#24455)

@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 function span op for cron, email and workflow steps (#22703)
  • ref(cloudflare)!: Remove deprecated instrumentD1WithSentry export (#23153)
  • ref(cloudflare)!: Remove instrumentPrototypeMethods option ([#22961](#2...
Read more

10.75.3

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 23 Sep 14:10
  • fix(v10/tanstackstart-react): Reject non-POST requests to the managed tunnel route (#24617)
Internal Changes
  • chore(v10/bundler-plugins): move traces sample rate from 1.0 to 0.3 (#24646)
  • chore(v10/publish): Tag all packages as v10 (#24619)

Bundle size 📦

Path Size
@sentry/browser 27.56 KB
@sentry/browser - with treeshaking flags 26.04 KB
@sentry/browser (incl. Tracing) 46.02 KB
@sentry/browser (incl. Tracing + Span Streaming) 47.77 KB
@sentry/browser (incl. Tracing, Profiling) 50.67 KB
@sentry/browser (incl. Tracing, Replay) 84.38 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 74.28 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 89 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 101.33 KB
@sentry/browser (incl. Feedback) 44.33 KB
@sentry/browser (incl. sendFeedback) 32.25 KB
@sentry/browser (incl. FeedbackAsync) 37.27 KB
@sentry/browser (incl. Metrics) 28.63 KB
@sentry/browser (incl. Logs) 28.84 KB
@sentry/browser (incl. Metrics & Logs) 29.52 KB
@sentry/react 29.32 KB
@sentry/react (incl. Tracing) 48.28 KB
@sentry/vue 32.88 KB
@sentry/vue (incl. Tracing) 47.98 KB
@sentry/svelte 27.58 KB
CDN Bundle 29.87 KB
CDN Bundle (incl. Tracing) 47.92 KB
CDN Bundle (incl. Logs, Metrics) 31.41 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 49.21 KB
CDN Bundle (incl. Replay, Logs, Metrics) 69.82 KB
CDN Bundle (incl. Tracing, Replay) 84.64 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 85.87 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 90.31 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 91.55 KB
CDN Bundle - uncompressed 88.83 KB
CDN Bundle (incl. Tracing) - uncompressed 144.49 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 93.43 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 148.38 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 215.46 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 261.12 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 264.99 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 274.5 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 278.36 KB
@sentry/nextjs (client) 50.75 KB
@sentry/sveltekit (client) 46.46 KB
@sentry/core/server 79.23 KB
@sentry/core/browser 65.7 KB
@sentry/node-core 62.33 KB
@sentry/node 123.57 KB
@sentry/node (incl. diagnostics channel injection) 166.68 KB
@sentry/node/import (ESM hook with diagnostics-channel injection) 166 B
@sentry/node/light 50.72 KB
@sentry/node - without tracing 73.83 KB
@sentry/aws-serverless 82.79 KB
@sentry/cloudflare (withSentry) - minified 199.86 KB
@sentry/cloudflare (withSentry) 492.78 KB

11.0.0-rc.1

11.0.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 22 Sep 08:49

Important Changes

  • feat(browser)!: Report browser.navigation.type exactly as web-vitals does (#24479)

The browser.navigation.type attribute now reports the same values as the web-vitals library.

  • feat(core): consolidate fetch integrations (#24346)

The global-fetch integrations in @sentry/bun, @sentry/cloudflare, @sentry/deno and @sentry/vercel-edge now share one implementation. All four gain a tracePropagation option (default true) to stop injecting sentry-trace and baggage without also turning off spans. In @sentry/deno, fetch breadcrumbs are now recorded by fetchIntegration instead of breadcrumbsIntegration, matching the other runtime SDKs.

  • feat(node): Add Groq and Together AI integrations (#24454)

Adds instrumentation for the Groq and Together AI SDKs, enabled by default.

  • ref(bundler-plugins)!: Require webpack 5.1 and remove the webpack5 entry point (#24455)

The Sentry webpack plugin now requires webpack >=5.1 and is only exported from the package root.

Other Changes

  • feat(cloudflare): Auto-register Flue instrumentation in bundled workers (#24476)
  • feat(deps): bump devalue from 5.9.0 to 5.9.2 (#24486)
  • feat(node): Add eveInstrumentation and eveIntegration for eve apps (#24539)
  • feat(remix): Upload source maps from the Vite plugin (#24463)
  • fix: Remove by accident exported convention (#24542)
  • fix(bun): Respect caller-supplied runtime option (#24487)
  • fix(cloudflare): Capture telemetry from untraced Durable Object RPC calls (#24447)
  • fix(cloudflare): Instrument namespaces returned by jurisdiction() (#24450)
  • fix(core): Apply the sensitive denylist to cookie headers and configured fetch headers (#24090)
  • fix(core): correct MCP error and request attribution (#24493)
  • fix(core): instrument MCP transports before start (#23978)
  • fix(core): Stop sending client reports for breadcrumbs (#24537)
  • fix(ember): Add route IDs to pageload and navigation spans (#24372)
  • fix(hono): Allow @cloudflare/workers-types v5 as peer dependency (#24494)
  • fix(nextjs): Align tunnel request matching in middleware with tunnel rewrite (#24499)
  • fix(nextjs): Prevent sourceMappingURL stripping from truncating minified chunks (#24022)
  • fix(nextjs): Resolve Next.js version relative to the SDK when cwd differs (#24462)
  • fix(nuxt): Stop importing h3 in the Nitro error hook (#24283)
  • fix(server-runtime-injection): Keep require() of JSON working on Deno (#24412)
  • perf(bundler-plugins): Use fast component annotation for all Rollup and Vite versions (#24437)
Internal Changes
  • chore(bun): Fix stale comment in getPerformanceIntegrations (#24533)
  • chore(bundler-plugins): move traces sample rate from 1.0 to 0.3 (#24488)
  • chore(test): De-flake slow and racy tests (#24452)
  • docs: Update MIGRATION.md (#24550)
  • test(cloudflare): Add E2E test that deploys a real Worker and sends to Sentry (#24280)
  • test(e2e): Add a node-flue end-to-end application (#24377)
  • test(e2e): Add gen-ai-libraries app covering AI libraries via OpenRouter (#24456)
  • test(e2e): Avoid SAM runtime port collisions in aws-serverless tests (#24492)
  • test(e2e): consolidate the deno e2e test applications (#24414)
  • test(node): Run koa integration tests against koa 3 (#24457)
  • test(remix): Add source map upload e2e test app (#24464)
  • test(server-utils): Cover the Flue instrumentation (#24266)
  • test(test-utils): Add Sentry CLI trace helpers as test-utils/cli (#24279)

Work in this release was contributed by @chiliec, @ihsraham, @msnelling, and @oesnuj. Thank you for your contributions!

Bundle size 📦

Path Size
@sentry/browser 28.39 KB
@sentry/browser - with treeshaking flags 26.7 KB
@sentry/browser - with treeshaking flags tracing without tracing 26.6 KB
@sentry/browser (incl. Tracing) 49.36 KB
@sentry/browser (incl. Tracing + Span Streaming) 49.38 KB
@sentry/browser (incl. Tracing, Profiling) 52.3 KB
@sentry/browser (incl. Tracing, Replay) 87.98 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 77.33 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 92.56 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 105.23 KB
@sentry/browser (incl. Feedback) 45.51 KB
@sentry/browser (incl. sendFeedback) 33.33 KB
@sentry/browser (incl. FeedbackAsync) 38.33 KB
@sentry/browser (incl. Metrics) 29.38 KB
@sentry/browser (incl. Logs) 29.63 KB
@sentry/browser (incl. Metrics & Logs) 30.28 KB
@sentry/react 30.11 KB
@sentry/react (incl. Tracing) 51.62 KB
@sentry/vue 35.48 KB
@sentry/vue (incl. Tracing) 51.61 KB
@sentry/svelte 28.42 KB
CDN Bundle 30.05 KB
CDN Bundle (incl. Tracing) 49.87 KB
CDN Bundle (incl. Logs, Metrics) 32.25 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 51.81 KB
CDN Bundle (incl. Replay, Logs, Metrics) 71.99 KB
CDN Bundle (incl. Tracing, Replay) 86.54 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 88.42 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 92.44 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 94.41 KB
CDN Bundle - uncompressed 88.94 KB
CDN Bundle (incl. Tracing) - uncompressed 148.88 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 95.36 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 154.69 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 221.73 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.64 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 271.44 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279.02 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 284.81 KB
@sentry/nextjs (client) 53.9 KB
@sentry/sveltekit (client) 49.79 KB
@sentry/core/server 39.03 KB
@sentry/core/browser ...
Read more

10.75.2

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 22 Sep 11:55
  • fix(v10/cloudflare): Enforce flush timeout across Workflow lifecycle (#24582)
  • fix(v10/core): Apply dataCollection.urlQueryParams to collected URLs and query strings (#24572)
  • fix(v10/nextjs): Align tunnel request matching in middleware with tunnel rewrite (#24565)
  • fix(v10/node): Stop leaking unhandled rejections on aborted Vercel AI streams (#24563)

Bundle size 📦

Path Size
@sentry/browser 27.56 KB
@sentry/browser - with treeshaking flags 26.04 KB
@sentry/browser (incl. Tracing) 46.02 KB
@sentry/browser (incl. Tracing + Span Streaming) 47.77 KB
@sentry/browser (incl. Tracing, Profiling) 50.67 KB
@sentry/browser (incl. Tracing, Replay) 84.38 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 74.28 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 89 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 101.33 KB
@sentry/browser (incl. Feedback) 44.33 KB
@sentry/browser (incl. sendFeedback) 32.25 KB
@sentry/browser (incl. FeedbackAsync) 37.27 KB
@sentry/browser (incl. Metrics) 28.63 KB
@sentry/browser (incl. Logs) 28.84 KB
@sentry/browser (incl. Metrics & Logs) 29.52 KB
@sentry/react 29.32 KB
@sentry/react (incl. Tracing) 48.28 KB
@sentry/vue 32.88 KB
@sentry/vue (incl. Tracing) 47.98 KB
@sentry/svelte 27.58 KB
CDN Bundle 29.87 KB
CDN Bundle (incl. Tracing) 47.92 KB
CDN Bundle (incl. Logs, Metrics) 31.41 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 49.21 KB
CDN Bundle (incl. Replay, Logs, Metrics) 69.82 KB
CDN Bundle (incl. Tracing, Replay) 84.64 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 85.87 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 90.31 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 91.55 KB
CDN Bundle - uncompressed 88.83 KB
CDN Bundle (incl. Tracing) - uncompressed 144.49 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 93.43 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 148.38 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 215.46 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 261.12 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 264.99 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 274.5 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 278.36 KB
@sentry/nextjs (client) 50.75 KB
@sentry/sveltekit (client) 46.46 KB
@sentry/core/server 79.23 KB
@sentry/core/browser 65.7 KB
@sentry/node-core 62.33 KB
@sentry/node 123.57 KB
@sentry/node (incl. diagnostics channel injection) 166.68 KB
@sentry/node/import (ESM hook with diagnostics-channel injection) 166 B
@sentry/node/light 50.72 KB
@sentry/node - without tracing 73.83 KB
@sentry/aws-serverless 82.79 KB
@sentry/cloudflare (withSentry) - minified 199.86 KB
@sentry/cloudflare (withSentry) 492.78 KB

10.75.1

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 21 Sep 14:44
  • fix(v10/cloudflare): Capture telemetry from untraced Durable Object RPC calls (#24512)
  • fix(v10/cloudflare): Instrument namespaces returned by jurisdiction() (#24513)
  • fix(v10/hono): Allow @cloudflare/workers-types v5 as peer dependency (#24500)
  • fix(v10/nextjs): Resolve Next.js version relative to the SDK when cwd differs (#24475)

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.52 KB
@sentry/cloudflare (withSentry) 489.07 KB

11.0.0-rc.0

11.0.0-rc.0 Pre-release
Pre-release

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 16 Sep 11:59

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 skipOpenTelemetrySetup with enableOpenTelemetrySetup (#23199)
  • feat!: Replace the deprecated http.target span attribute (#23575)
  • feat!: Require Node >=20.19.0 as minimum supported version (#22558)
  • feat!: Use handler span op for terminal request handlers (#22871)
  • feat!: Use middleware span op for web-server middleware (#22852)
  • feat(frameworks)!: Use function op 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 router span op for frontend routers (#23086)
  • feat(angular)!: Use ui.mount and function span 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 sourceMapsUploadOptions build 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.x from the Lambda layer runtimes (#23155)
  • feat(aws-serverless): Remove deprecated disableAwsContextPropagation option (#23170)
  • feat(aws-serverless)!: Emit faas.invocation_id and cloud.resource_id (#24384)
  • feat(aws-serverless)!: Remove unused startTrace option and tryPatchHandler (#23219)
  • feat(aws-serverless)!: Use function.aws span op for Lambda invocations (#22677)
  • feat(aws)!: Use queue Span 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 new userTimingSpansIntegration (#22554)
  • feat(browser)!: Extract interaction spans into new interactionsIntegration (#23295)
  • feat(browser)!: Record console breadcrumbs via consoleIntegration (#24387)
  • feat(browser)!: Rename bfcacheIntegration to bfcacheMetricsIntegration (#23776)
  • feat(browser)!: Report web vitals for bfcache restores by default (#24325)
  • feat(browser)!: Send session status unhandled instead of crashed for unhandled errors (#22475)
  • feat(browser)!: Switch default browser session lifecycle mode to page (#21245)
  • feat(browser)!: Use browser.paint span 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 trackFetchStreamPerformance flag (#23172)
  • ref(browser)!: Drop Safari 14 support - remove navigationStart fallback and pagehide listeners (#21293)
  • ref(browser)!: Remove beforeSpanEnd callback in favor of beforeIdleSpanEnd hook (#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 function span op for cron, email and workflow steps (#22703)
  • ref(cloudflare)!: Remove deprecated instrumentD1WithSentry export (#23153)
  • ref(cloudflare)!: Remove instrumentPrototypeMethods option (#22961)
  • ref(cloudflare)!: Remove wrapRequestHandler from main entrypoint (#22881)
  • ref(cloudflare)!: Use shared SentryTracerProvider for OpenTelemetry interop (#23300)

@sentry/core

  • feat(core): Remove span from ScopeData (#23225)
  • feat(core)!: Align request data collection with v11 defaults (#22853)
  • feat(core)!: Default attachStacktrace to 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...
Read more

10.75.0

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 16 Sep 15:04

Important Changes

  • feat(v10/effect): Capture errors through the Effect v4 ErrorReporter API (#24445)

    On Effect v4, Sentry.effectLayer now registers a Sentry ErrorReporter. Failures that pass through Effect.withErrorReporting, ErrorReporter.report or the built-in HTTP and RPC reporting boundaries are captured automatically, with ErrorReporter.ignore, ErrorReporter.severity and ErrorReporter.attributes annotations respected. Nothing changes on Effect v3.

Other Changes

  • feat(v10/core): Accept a CollectBehavior shorthand for dataCollection.httpHeaders (#24339)
  • fix(v10/browser): Release the XHR virtualError once 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-upload is 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

11.0.0-beta.2 Pre-release
Pre-release

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 09 Sep 11:12

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

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 09 Sep 16:22
  • 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.original on all spans for consistent filtering (#24226)
  • fix(v10/cloudflare): Auto-instrument classes re-exported from the worker entry (#24181)
  • fix(v10/core): Guard loadModule default 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

11.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@sentry-release-bot sentry-release-bot released this 03 Sep 14:57

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