Official Sentry SDK for the Vercel Edge Runtime
Last release 3 days ago
24 Aug 2026
Ships on a steady schedule
a new release about every 1 weeks
Nearly every release is documented
notes for 249 of 263 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
324 releases ยท first in 2023
Release timeline
324 releases since 2023Releases
- 10.21.0-alpha.116 Oct 2025pre-release
Release notes
Open source โThis release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subject to change. Use at your own risk. More Details.
- export withStreamSpan from
@sentry/browser
Bundle size ๐ฆ
Path Size @sentry/browser 24.18 KB @sentry/browser - with treeshaking flags 22.72 KB @sentry/browser (incl. Tracing) 40.44 KB @sentry/browser (incl. Tracing with Span Streaming) 41.96 KB @sentry/browser (incl. Tracing, Replay) 77.82 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.77 KB @sentry/browser (incl. Tracing, Replay with Canvas) 82.41 KB @sentry/browser (incl. Tracing, Replay, Feedback) 94.35 KB @sentry/browser (incl. Feedback) 40.48 KB @sentry/browser (incl. sendFeedback) 28.73 KB @sentry/browser (incl. FeedbackAsync) 33.56 KB @sentry/react 25.83 KB @sentry/react (incl. Tracing) 42.39 KB @sentry/vue 28.84 KB @sentry/vue (incl. Tracing) 42.2 KB @sentry/svelte 24.19 KB CDN Bundle 26.42 KB CDN Bundle (incl. Tracing) 40.97 KB CDN Bundle (incl. Tracing, Replay) 76.36 KB CDN Bundle (incl. Tracing, Replay, Feedback) 81.73 KB CDN Bundle - uncompressed 77.34 KB CDN Bundle (incl. Tracing) - uncompressed 121.84 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 234.15 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 246.62 KB @sentry/nextjs (client) 44.41 KB @sentry/sveltekit (client) 40.85 KB @sentry/node-core 49.74 KB @sentry/node 151.24 KB @sentry/node - without tracing 90.63 KB @sentry/aws-serverless 104 KB - export withStreamSpan from
- 10.21.0-alpha.016 Oct 2025pre-release
Release notes
Open source โThis release is a preview release for sending spans in browser via spanV2 instead of transaction event envelopes. All of this is experimental and subject to change. Use at your own risk. More Details.
Bundle size ๐ฆ
Path Size @sentry/browser 24.18 KB @sentry/browser - with treeshaking flags 22.72 KB @sentry/browser (incl. Tracing) 40.44 KB @sentry/browser (incl. Tracing with Span Streaming) 41.96 KB @sentry/browser (incl. Tracing, Replay) 77.82 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.77 KB @sentry/browser (incl. Tracing, Replay with Canvas) 82.41 KB @sentry/browser (incl. Tracing, Replay, Feedback) 94.35 KB @sentry/browser (incl. Feedback) 40.48 KB @sentry/browser (incl. sendFeedback) 28.73 KB @sentry/browser (incl. FeedbackAsync) 33.56 KB @sentry/react 25.83 KB @sentry/react (incl. Tracing) 42.39 KB @sentry/vue 28.84 KB @sentry/vue (incl. Tracing) 42.2 KB @sentry/svelte 24.19 KB CDN Bundle 26.42 KB CDN Bundle (incl. Tracing) 40.97 KB CDN Bundle (incl. Tracing, Replay) 76.36 KB CDN Bundle (incl. Tracing, Replay, Feedback) 81.73 KB CDN Bundle - uncompressed 77.34 KB CDN Bundle (incl. Tracing) - uncompressed 121.84 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 234.15 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 246.62 KB @sentry/nextjs (client) 44.41 KB @sentry/sveltekit (client) 40.85 KB @sentry/node-core 49.73 KB @sentry/node 151.24 KB @sentry/node - without tracing 90.63 KB @sentry/aws-serverless 104 KB - 10.20.015 Oct 2025
Release notes
Open source โImportant Changes
-
feat(flags): Add Growthbook integration (#17440)
Adds a new Growthbook integration for feature flag support.
-
feat(solid): Add support for TanStack Router Solid (#17735)
Adds support for TanStack Router in the Solid SDK, enabling better routing instrumentation for Solid applications.
-
feat(nextjs): Support native debugIds in turbopack (#17853)
Adds support for native Debug IDs in Turbopack, improving source map resolution and error tracking for Next.js applications using Turbopack. Native Debug ID generation will be enabled automatically for compatible versions.
Other Changes
- feat(nextjs): Prepare for next 16 bundler default (#17868)
- feat(node): Capture
pinologger name (#17930) - fix(browser): Ignore React 19.2+ component render measure entries (#17905)
- fix(nextjs): Fix createRouteManifest with basePath (#17838)
- fix(react): Add
POPguard for long-runningpageloadspans (#17867) - fix(tracemetrics): Send boolean for internal replay attribute (#17908)
- ref(core): Add weight tracking logic to browser logs/metrics (#17901)
<details>
<summary> <strong>Internal Changes</strong> </summary>
- chore(nextjs): Add Next.js 16 peer dependency (#17925)
- chore(ci): Update Next.js canary testing (#17939)
- chore: Bump size limit (#17941)
- test(nextjs): Add next@16 e2e test (#17922)
- test(nextjs): Update next 15 tests (#17919)
- chore: Add external contributor to CHANGELOG.md (#17915)
- chore: Add external contributor to CHANGELOG.md (#17928)
- chore: Add external contributor to CHANGELOG.md (#17940)
</details>
Work in this release was contributed by @seoyeon9888, @madhuchavva and @thedanchez . Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 24.07 KB @sentry/browser - with treeshaking flags 22.6 KB @sentry/browser (incl. Tracing) 39.89 KB @sentry/browser (incl. Tracing, Replay) 77.35 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.3 KB @sentry/browser (incl. Tracing, Replay with Canvas) 81.94 KB @sentry/browser (incl. Tracing, Replay, Feedback) 93.83 KB @sentry/browser (incl. Feedback) 40.36 KB @sentry/browser (incl. sendFeedback) 28.61 KB @sentry/browser (incl. FeedbackAsync) 33.46 KB @sentry/react 25.73 KB @sentry/react (incl. Tracing) 41.84 KB @sentry/vue 28.45 KB @sentry/vue (incl. Tracing) 41.64 KB @sentry/svelte 24.08 KB CDN Bundle 26.31 KB CDN Bundle (incl. Tracing) 40.55 KB CDN Bundle (incl. Tracing, Replay) 75.98 KB CDN Bundle (incl. Tracing, Replay, Feedback) 81.33 KB CDN Bundle - uncompressed 77.1 KB CDN Bundle (incl. Tracing) - uncompressed 120.19 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 232.65 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 245.11 KB @sentry/nextjs (client) 43.85 KB @sentry/sveltekit (client) 40.3 KB @sentry/node-core 49.59 KB @sentry/node 150.78 KB @sentry/node - without tracing 90.48 KB @sentry/aws-serverless 103.85 KB Release notes
Open source โImportant Changes
-
feat(flags): Add Growthbook integration (#17440)
Adds a new Growthbook integration for feature flag support.
-
feat(solid): Add support for TanStack Router Solid (#17735)
Adds support for TanStack Router in the Solid SDK, enabling better routing instrumentation for Solid applications.
-
feat(nextjs): Support native debugIds in turbopack (#17853)
Adds support for native Debug IDs in Turbopack, improving source map resolution and error tracking for Next.js applications using Turbopack. Native Debug ID generation will be enabled automatically for compatible versions.
Other Changes
- feat(nextjs): Prepare for next 16 bundler default (#17868)
- feat(node): Capture
pinologger name (#17930) - fix(browser): Ignore React 19.2+ component render measure entries (#17905)
- fix(nextjs): Fix createRouteManifest with basePath (#17838)
- fix(react): Add
POPguard for long-runningpageloadspans (#17867) - fix(tracemetrics): Send boolean for internal replay attribute (#17908)
- ref(core): Add weight tracking logic to browser logs/metrics (#17901)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore(nextjs): Add Next.js 16 peer dependency (#17925)
- chore(ci): Update Next.js canary testing (#17939)
- chore: Bump size limit (#17941)
- test(nextjs): Add next@16 e2e test (#17922)
- test(nextjs): Update next 15 tests (#17919)
- chore: Add external contributor to CHANGELOG.md (#17915)
- chore: Add external contributor to CHANGELOG.md (#17928)
- chore: Add external contributor to CHANGELOG.md (#17940) </details>
Work in this release was contributed by @seoyeon9888, @madhuchavva and @thedanchez. Thank you for your contributions!
-
- 10.19.09 Oct 2025
Release notes
Open source โ- feat(tracemetrics): Add trace metrics behind an experiments flag (#17883)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: add info latest release for the cursor release command (#17876)
</details>
Bundle size ๐ฆ
Path Size @sentry/browser 23.83 KB @sentry/browser - with treeshaking flags 22.36 KB @sentry/browser (incl. Tracing) 39.66 KB @sentry/browser (incl. Tracing, Replay) 77.13 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.01 KB @sentry/browser (incl. Tracing, Replay with Canvas) 81.71 KB @sentry/browser (incl. Tracing, Replay, Feedback) 93.57 KB @sentry/browser (incl. Feedback) 40.14 KB @sentry/browser (incl. sendFeedback) 28.38 KB @sentry/browser (incl. FeedbackAsync) 33.18 KB @sentry/react 25.5 KB @sentry/react (incl. Tracing) 41.56 KB @sentry/vue 28.24 KB @sentry/vue (incl. Tracing) 41.39 KB @sentry/svelte 23.87 KB CDN Bundle 26.01 KB CDN Bundle (incl. Tracing) 40.18 KB CDN Bundle (incl. Tracing, Replay) 75.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) 80.96 KB CDN Bundle - uncompressed 76.34 KB CDN Bundle (incl. Tracing) - uncompressed 119.32 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 231.78 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 244.24 KB @sentry/nextjs (client) 43.54 KB @sentry/sveltekit (client) 40.02 KB @sentry/node-core 49.55 KB @sentry/node 150.75 KB @sentry/node - without tracing 90.42 KB @sentry/aws-serverless 103.83 KB Release notes
Open source โ- feat(tracemetrics): Add trace metrics behind an experiments flag (#17883)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: add info latest release for the cursor release command (#17876)
</details>
- 10.18.07 Oct 2025
Release notes
Open source โImportant Changes
-
feat(node):
pinointegration (#17584)This release adds a new
pinointegration for Node.js, enabling Sentry to capture logs from the Pino logging library. -
feat: Remove @sentry/pino-transport package (#17851)
The
@sentry/pino-transportpackage has been removed. Please use the newpinointegration in@sentry/nodeinstead. -
feat(node-core): Extend onnhandledrejection with ignore errors option (#17736)
Added support for selectively suppressing specific errors with configurable logging control in onnhandledrejection integration.
Other Changes
- feat(core): Rename vercelai.schema to gen_ai.request.schema (#17850)
- feat(core): Support stream responses and tool calls for Google GenAI (#17664)
- feat(nextjs): Attach headers using client hook (#17831)
- fix(core): Keep all property values in baggage header (#17847)
- fix(nestjs): Add support for Symbol as event name (#17785)
- fix(nuxt): include
sentry.client.config.tsin nuxt app types (#17830) - fix(react-router): Fix type for
OriginalHandleRequestwith middleware (#17870)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Add external contributor to CHANGELOG.md (#17866)
- chore(deps): Bump @sentry/cli from 2.53.0 to 2.56.0 (#17819)
- chore(deps): Bump axios in browser integration tests (#17839)
- chore(deps): Bump nestjs in integration tests (#17840)
</details>
Work in this release was contributed by @stefanvanderwolf. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.69 KB @sentry/browser - with treeshaking flags 22.24 KB @sentry/browser (incl. Tracing) 39.5 KB @sentry/browser (incl. Tracing, Replay) 76.98 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.87 KB @sentry/browser (incl. Tracing, Replay with Canvas) 81.54 KB @sentry/browser (incl. Tracing, Replay, Feedback) 93.45 KB @sentry/browser (incl. Feedback) 40.01 KB @sentry/browser (incl. sendFeedback) 28.24 KB @sentry/browser (incl. FeedbackAsync) 33.05 KB @sentry/react 25.37 KB @sentry/react (incl. Tracing) 41.42 KB @sentry/vue 28.09 KB @sentry/vue (incl. Tracing) 41.27 KB @sentry/svelte 23.72 KB CDN Bundle 25.17 KB CDN Bundle (incl. Tracing) 39.39 KB CDN Bundle (incl. Tracing, Replay) 74.79 KB CDN Bundle (incl. Tracing, Replay, Feedback) 80.16 KB CDN Bundle - uncompressed 73.59 KB CDN Bundle (incl. Tracing) - uncompressed 116.56 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 229.03 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 241.49 KB @sentry/nextjs (client) 43.38 KB @sentry/sveltekit (client) 39.91 KB @sentry/node-core 49.38 KB @sentry/node 150.58 KB @sentry/node - without tracing 90.25 KB @sentry/aws-serverless 103.65 KB Release notes
Open source โImportant Changes
-
feat(node):
pinointegration (#17584)This release adds a new
pinointegration for Node.js, enabling Sentry to capture logs from the Pino logging library. -
feat: Remove @sentry/pino-transport package (#17851)
The
@sentry/pino-transportpackage has been removed. Please use the newpinointegration in@sentry/nodeinstead. -
feat(node-core): Extend onnhandledrejection with ignore errors option (#17736)
Added support for selectively suppressing specific errors with configurable logging control in onnhandledrejection integration.
Other Changes
- feat(core): Rename vercelai.schema to gen_ai.request.schema (#17850)
- feat(core): Support stream responses and tool calls for Google GenAI (#17664)
- feat(nextjs): Attach headers using client hook (#17831)
- fix(core): Keep all property values in baggage header (#17847)
- fix(nestjs): Add support for Symbol as event name (#17785)
- fix(nuxt): include
sentry.client.config.tsin nuxt app types (#17830) - fix(react-router): Fix type for
OriginalHandleRequestwith middleware (#17870)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Add external contributor to CHANGELOG.md (#17866)
- chore(deps): Bump @sentry/cli from 2.53.0 to 2.56.0 (#17819)
- chore(deps): Bump axios in browser integration tests (#17839)
- chore(deps): Bump nestjs in integration tests (#17840)
</details>
Work in this release was contributed by @stefanvanderwolf. Thank you for your contribution!
-
- 10.17.030 Sept 2025
Release notes
Open source โImportant Changes
-
feat(nuxt): Implement server middleware instrumentation (#17796)
This release introduces instrumentation for Nuxt middleware, ensuring that all middleware handlers are automatically wrapped with tracing and error reporting functionality.
-
fix(aws-serverless): Take
http_proxyinto account when choosinguseLayerExtensiondefault (#17817)The default setting for
useLayerExtensionnow considers thehttp_proxyenvironment variable. Whenhttp_proxyis set,useLayerExtensionwill be off by default. If you use ahttp_proxybut would still like to make use of the Sentry Lambda extension, exemptlocalhostin ano_proxyenvironment variable.
Other Changes
- feat(node): Split up http integration into composable parts (#17524)
- fix(core): Remove check and always respect ai.telemetry.functionId for Vercel AI gen spans (#17811)
- doc(core): Fix outdated JSDoc in
beforeSendSpan(#17815)
<details> <summary> <strong>Internal Changes</strong> </summary>
- ci: Do not run dependabot on e2e test applications (#17813)
- docs: Reword changelog for google gen ai integration (#17805)
</details>
Bundle size ๐ฆ
Path Size @sentry/browser 23.67 KB @sentry/browser - with treeshaking flags 22.21 KB @sentry/browser (incl. Tracing) 39.48 KB @sentry/browser (incl. Tracing, Replay) 76.96 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.85 KB @sentry/browser (incl. Tracing, Replay with Canvas) 81.52 KB @sentry/browser (incl. Tracing, Replay, Feedback) 93.43 KB @sentry/browser (incl. Feedback) 39.99 KB @sentry/browser (incl. sendFeedback) 28.21 KB @sentry/browser (incl. FeedbackAsync) 33.03 KB @sentry/react 25.35 KB @sentry/react (incl. Tracing) 41.4 KB @sentry/vue 28.07 KB @sentry/vue (incl. Tracing) 41.24 KB @sentry/svelte 23.69 KB CDN Bundle 25.15 KB CDN Bundle (incl. Tracing) 39.37 KB CDN Bundle (incl. Tracing, Replay) 74.76 KB CDN Bundle (incl. Tracing, Replay, Feedback) 80.14 KB CDN Bundle - uncompressed 73.53 KB CDN Bundle (incl. Tracing) - uncompressed 116.51 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 228.97 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 241.43 KB @sentry/nextjs (client) 43.36 KB @sentry/sveltekit (client) 39.88 KB @sentry/node-core 49.15 KB @sentry/node 149.82 KB @sentry/node - without tracing 90.02 KB @sentry/aws-serverless 103.41 KB Release notes
Open source โImportant Changes
-
feat(nuxt): Implement server middleware instrumentation (#17796)
This release introduces instrumentation for Nuxt middleware, ensuring that all middleware handlers are automatically wrapped with tracing and error reporting functionality.
-
fix(aws-serverless): Take
http_proxyinto account when choosinguseLayerExtensiondefault (#17817)The default setting for
useLayerExtensionnow considers thehttp_proxyenvironment variable. Whenhttp_proxyis set,useLayerExtensionwill be off by default. If you use ahttp_proxybut would still like to make use of the Sentry Lambda extension, exemptlocalhostin ano_proxyenvironment variable.
Other Changes
- feat(node): Split up http integration into composable parts (#17524)
- fix(core): Remove check and always respect ai.telemetry.functionId for Vercel AI gen spans (#17811)
- doc(core): Fix outdated JSDoc in
beforeSendSpan(#17815)
<details> <summary> <strong>Internal Changes</strong> </summary>
- ci: Do not run dependabot on e2e test applications (#17813)
- docs: Reword changelog for google gen ai integration (#17805)
</details>
-
- 10.16.029 Sept 2025
Release notes2 sources agree
Open source โ- feat(logs): Add internal
replay_is_bufferingflag (#17752) - feat(react-router): Update loadContext type to be compatible with middleware (#17758)
- feat(replay/logs): Only attach sampled replay Ids to logs (#17750)
- fix(browser): Use current start timestamp for CLS span when CLS is 0 (#17800)
- fix(core): Prevent
instrumentAnthropicAiClientbreaking MessageStream api (#17754) - fix(nextjs): Don't use chalk in turbopack config file (#17806)
- fix(react): Do not send additional navigation span on pageload (#17799)
<details> <summary> <strong>Internal Changes</strong> </summary>
- build(aws): Ensure AWS build cache does not keep old files (#17776)
- chore: Add
publish_releasecommand (#17797) - ref(aws-serverless): Add resolution for
import-in-the-middlewhen building the Lambda layer (#17780) - ref(aws-serverless): Improve README with better examples (#17787)
- ref(core): Improve promise buffer (#17788)
- Revert "test(e2e): Pin
[email protected]due to@vercel/nftincompatibility (#17777)" (#17784) - test(e2e): Pin
[email protected]due to@vercel/nftincompatibility (#17777) - test(nextjs): Add route handler tests for turbopack (#17515)
- test(react-router): Test v8 middleware (#17783)
</details>
- feat(logs): Add internal
- 10.15.024 Sept 2025
Release notes
Open source โImportant Changes
-
feat(cloudflare): Add honoIntegration with error-filtering function (#17743)
This release adds a
honoIntegrationto@sentry/cloudflare, which exposes ashouldHandleErrorfunction that lets you define which errors inonErrorshould be captured. By default, Sentry captures exceptions witherror.status >= 500 || error.status <= 299.The integration is added by default, and it's possible to modify this behavior like this:
integrations: [ honoIntegration({ shouldHandleError: (err) => true; // always capture exceptions in onError }) ] -
feat(node): Add instrumentation for hono handler (#17428)
This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities.
-
feat(aws): Enable Lambda extension by default when using the Lamba layer (#17684)
-
feat(browser): Add
setActiveSpanInBrowserto set an active span in the browser (#17714)
This PR adds a feature to the browser SDKs only: Making an inactive span active. We do this to enable use cases where having a span only being active in the callback is not practical.
Other Changes
- fix(browser): Improve handling of
0andundefinedresource timing values (#17751) - ref(nextjs): Display build compatibility warning for webpack (#17746)
<details> <summary> <strong>Internal Changes</strong> </summary>
- docs: Reword changelog for google gen ai instrumentation (#17753)
- build: Add
@typescript-eslint/no-unnecessary-type-assertionrule (#17728) - build: Update TS target to
es2020everywhere (#17709) - chore: Add external contributor to CHANGELOG.md (#17745)
</details>
Work in this release was contributed by @Karibash. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.69 KB @sentry/browser - with treeshaking flags 22.24 KB @sentry/browser (incl. Tracing) 39.49 KB @sentry/browser (incl. Tracing, Replay) 76.96 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.87 KB @sentry/browser (incl. Tracing, Replay with Canvas) 81.52 KB @sentry/browser (incl. Tracing, Replay, Feedback) 93.44 KB @sentry/browser (incl. Feedback) 40.01 KB @sentry/browser (incl. sendFeedback) 28.24 KB @sentry/browser (incl. FeedbackAsync) 33.05 KB @sentry/react 25.37 KB @sentry/react (incl. Tracing) 41.42 KB @sentry/vue 28.11 KB @sentry/vue (incl. Tracing) 41.25 KB @sentry/svelte 23.72 KB CDN Bundle 25.17 KB CDN Bundle (incl. Tracing) 39.39 KB CDN Bundle (incl. Tracing, Replay) 74.76 KB CDN Bundle (incl. Tracing, Replay, Feedback) 80.13 KB CDN Bundle - uncompressed 73.6 KB CDN Bundle (incl. Tracing) - uncompressed 116.59 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 229.02 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 241.48 KB @sentry/nextjs (client) 43.38 KB @sentry/sveltekit (client) 39.9 KB @sentry/node-core 48.85 KB @sentry/node 149.25 KB @sentry/node - without tracing 89.79 KB @sentry/aws-serverless 102.92 KB Release notes
Open source โImportant Changes
-
feat(cloudflare): Add honoIntegration with error-filtering function (#17743)
This release adds a
honoIntegrationto@sentry/cloudflare, which exposes ashouldHandleErrorfunction that lets you define which errors inonErrorshould be captured. By default, Sentry captures exceptions witherror.status >= 500 || error.status <= 299.The integration is added by default, and it's possible to modify this behavior like this:
integrations: [ honoIntegration({ shouldHandleError: (err) => true; // always capture exceptions in onError }) ] -
feat(node): Add instrumentation for hono handler (#17428)
This PR enhances the Hono integration by adding comprehensive handler instrumentation, error handling capabilities.
-
feat(aws): Enable Lambda extension by default when using the Lamba layer (#17684)
-
feat(browser): Add
setActiveSpanInBrowserto set an active span in the browser (#17714)
This PR adds a feature to the browser SDKs only: Making an inactive span active. We do this to enable use cases where having a span only being active in the callback is not practical.
Other Changes
- fix(browser): Improve handling of
0andundefinedresource timing values (#17751) - ref(nextjs): Display build compatibility warning for webpack (#17746)
<details> <summary> <strong>Internal Changes</strong> </summary>
- docs: Reword changelog for google gen ai instrumentation (#17753)
- build: Add
@typescript-eslint/no-unnecessary-type-assertionrule (#17728) - build: Update TS target to
es2020everywhere (#17709) - chore: Add external contributor to CHANGELOG.md (#17745)
</details>
Work in this release was contributed by @Karibash. Thank you for your contribution!
-
- 10.14.023 Sept 2025
Release notes
Open source โImportant Changes
-
feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation (#17723)
The SDK now supports manually instrumenting Google's Generative AI operations in Cloudflare Workers and Vercel Edge Runtime environments, providing insights into your AI operations. You can use
const wrappedClient = Sentry.instrumentGoogleGenAIClient(genAiClient)to get an instrumented client.
Other Changes
- fix(nextjs): Display updated turbopack warnings (#17737)
- ref(core): Wrap isolationscope in
WeakRefwhen storing it on spans (#17712)
<details> <summary> <strong>Internal Changes</strong> </summary>
- test(node): Avoid using specific port for node-integration-tests (#17729)
- test(nuxt): Update Nuxt version and add Nitro $fetch test (#17713)
</details>
Bundle size ๐ฆ
Path Size @sentry/browser 23.69 KB @sentry/browser - with treeshaking flags 22.24 KB @sentry/browser (incl. Tracing) 39.46 KB @sentry/browser (incl. Tracing, Replay) 76.93 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.84 KB @sentry/browser (incl. Tracing, Replay with Canvas) 81.49 KB @sentry/browser (incl. Tracing, Replay, Feedback) 93.41 KB @sentry/browser (incl. Feedback) 40.01 KB @sentry/browser (incl. sendFeedback) 28.24 KB @sentry/browser (incl. FeedbackAsync) 33.05 KB @sentry/react 25.37 KB @sentry/react (incl. Tracing) 41.38 KB @sentry/vue 28.11 KB @sentry/vue (incl. Tracing) 41.22 KB @sentry/svelte 23.72 KB CDN Bundle 25.17 KB CDN Bundle (incl. Tracing) 39.3 KB CDN Bundle (incl. Tracing, Replay) 74.66 KB CDN Bundle (incl. Tracing, Replay, Feedback) 80.04 KB CDN Bundle - uncompressed 73.6 KB CDN Bundle (incl. Tracing) - uncompressed 116.34 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 228.76 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 241.23 KB @sentry/nextjs (client) 43.36 KB @sentry/sveltekit (client) 39.87 KB @sentry/node-core 48.85 KB @sentry/node 148.68 KB @sentry/node - without tracing 89.79 KB @sentry/aws-serverless 102.92 KB Release notes
Open source โImportant Changes
-
feat(cloudflare,vercel-edge): Add support for Google Gen AI instrumentation (#17723)
The SDK now supports manually instrumenting Google's Gen AI operations in Cloudflare Workers and Vercel Edge Runtime environments, providing insights into your AI operations. You can use
const wrappedClient = Sentry.instrumentGoogleGenAIClient(genAiClient)to get an instrumented client.
Other Changes
- fix(nextjs): Display updated turbopack warnings (#17737)
- ref(core): Wrap isolationscope in
WeakRefwhen storing it on spans (#17712)
<details> <summary> <strong>Internal Changes</strong> </summary>
- test(node): Avoid using specific port for node-integration-tests (#17729)
- test(nuxt): Update Nuxt version and add Nitro $fetch test (#17713)
</details>
-
- 10.13.022 Sept 2025
Release notes
Open source โImportant Changes
-
feat(browser): Add option to explicitly end pageload span via
reportPageLoaded()(#17697)With this release you can take manual control of ending the pageload span. Usually this span is ended automatically by the SDK, based on a period of inactivity after the initial page was loaded in the browser. If you want full control over the pageload duration, you can tell Sentry, when your page was fully loaded:
Sentry.init({ //... integrations: [ // 1. Enable manual pageload reporting Sentry.browserTracingIntegration({ enableReportPageLoaded: true }), ], }); // 2. Whenever you decide the page is loaded, call: Sentry.reportPageLoaded();Note that if
Sentry.reportPageLoaded()is not called within 30 seconds of the initial pageload (or whatever value thefinalTimeoutoption is set to), the pageload span will be ended automatically. -
feat(core,node): Add instrumentation for
GoogleGenerativeAI(#17625)The SDK now automatically instruments the
@google/generative-aipackage to provide insights into your AI operations. -
feat(nextjs): Promote
useRunAfterProductionCompileHookto non-experimental build option (#17721)The
useRunAfterProductionCompileHookoption is no longer experimental and is now a stable build option for Next.js projects. -
feat(nextjs): Use
afterProductionCompilehook for webpack builds (#17655)Next.js projects using webpack can opt-in to use the
useRunAfterProductionCompileHookhook for source map uploads. -
feat(nextjs): Flip default value for
useRunAfterProductionCompileHookfor Turbopack builds (#17722)The
useRunAfterProductionCompileHookoption is now enabled by default for Turbopack builds, enabling automated source map uploads. -
feat(node): Do not drop 300 and 304 status codes by default (#17686)
HTTP transactions with 300 and 304 status codes are now captured by default, providing better visibility into redirect and caching behavior.
Other Changes
- feat(core): Add logger to core and allow scope to be passed log methods (#17698)
- feat(core): Allow to pass
onSuccesstohandleCallbackErrors(#17679) - feat(core): Create template attributes in
consoleLoggingIntegration(#17703) - feat(deps): bump @sentry/cli from 2.52.0 to 2.53.0 (#17652)
- feat(node): Add extra platforms to
oscontext (#17720) - fix(browser): Ensure idle span duration is adjusted when child spans are ignored (#17700)
- fix(core): Ensure builtin stack frames don't affect
thirdPartyErrorFilterIntegration(#17693) - fix(core): Fix client hook edge cases around multiple callbacks (#17706)
- fix(nextjs): Enable fetch span when OTel setup is skipped (#17699)
- fix(node): Fix
thiscontext for vercel AI instrumentation (#17681)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Add external contributor to CHANGELOG.md (#17725)
- chore: Add link to build and test icon in readme (#17719)
- chore(nuxt): Bump Vite and Rollup plugins (#17671)
- chore(repo): Add changelog entry for
reportPageLoaded(#17724) - ci: Fix lookup of changed E2E test apps (#17707)
- ci(test-matrix): Add logs for
getTestMatrix(#17673) - ref: Avoid some usage of
SyncPromisewhere not needed (#17641) - ref(core): Add debug log when dropping a span via
ignoreSpans(#17692) - ref(core): Avoid looking up anthropic-ai integration options (#17694)
- ref(core): Streamline
module_metadataassignment and cleanup functions (#17696) - ref(remix): Avoid unnecessary error wrapping
HandleDocumentRequestFunction(#17680) - Revert "[Gitflow] Merge master into develop"
</details>
Work in this release was contributed by @Olexandr88. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.66 KB @sentry/browser - with treeshaking flags 22.21 KB @sentry/browser (incl. Tracing) 39.39 KB @sentry/browser (incl. Tracing, Replay) 76.88 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.78 KB @sentry/browser (incl. Tracing, Replay with Canvas) 81.44 KB @sentry/browser (incl. Tracing, Replay, Feedback) 93.35 KB @sentry/browser (incl. Feedback) 39.99 KB @sentry/browser (incl. sendFeedback) 28.2 KB @sentry/browser (incl. FeedbackAsync) 33 KB @sentry/react 25.33 KB @sentry/react (incl. Tracing) 41.32 KB @sentry/vue 28.05 KB @sentry/vue (incl. Tracing) 41.15 KB @sentry/svelte 23.68 KB CDN Bundle 25.14 KB CDN Bundle (incl. Tracing) 39.22 KB CDN Bundle (incl. Tracing, Replay) 74.59 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.96 KB CDN Bundle - uncompressed 73.46 KB CDN Bundle (incl. Tracing) - uncompressed 116.1 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 228.53 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 240.99 KB @sentry/nextjs (client) 43.3 KB @sentry/sveltekit (client) 39.81 KB @sentry/node-core 48.81 KB @sentry/node 148.62 KB @sentry/node - without tracing 89.73 KB @sentry/aws-serverless 102.86 KB Release notes
Open source โImportant Changes
-
feat(browser): Add option to explicitly end pageload span via
reportPageLoaded()(#17697)With this release you can take manual control of ending the pageload span. Usually this span is ended automatically by the SDK, based on a period of inactivity after the initial page was loaded in the browser. If you want full control over the pageload duration, you can tell Sentry, when your page was fully loaded:
Sentry.init({ //... integrations: [ // 1. Enable manual pageload reporting Sentry.browserTracingIntegration({ enableReportPageLoaded: true }), ], }); // 2. Whenever you decide the page is loaded, call: Sentry.reportPageLoaded();Note that if
Sentry.reportPageLoaded()is not called within 30 seconds of the initial pageload (or whatever value thefinalTimeoutoption is set to), the pageload span will be ended automatically. -
feat(core,node): Add instrumentation for
GoogleGenAI(#17625)The SDK now automatically instruments the
@google/genaipackage to provide insights into your AI operations. -
feat(nextjs): Promote
useRunAfterProductionCompileHookto non-experimental build option (#17721)The
useRunAfterProductionCompileHookoption is no longer experimental and is now a stable build option for Next.js projects. -
feat(nextjs): Use
afterProductionCompilehook for webpack builds (#17655)Next.js projects using webpack can opt-in to use the
useRunAfterProductionCompileHookhook for source map uploads. -
feat(nextjs): Flip default value for
useRunAfterProductionCompileHookfor Turbopack builds (#17722)The
useRunAfterProductionCompileHookoption is now enabled by default for Turbopack builds, enabling automated source map uploads. -
feat(node): Do not drop 300 and 304 status codes by default (#17686)
HTTP transactions with 300 and 304 status codes are now captured by default, providing better visibility into redirect and caching behavior.
Other Changes
- feat(core): Add logger to core and allow scope to be passed log methods (#17698)
- feat(core): Allow to pass
onSuccesstohandleCallbackErrors(#17679) - feat(core): Create template attributes in
consoleLoggingIntegration(#17703) - feat(deps): bump @sentry/cli from 2.52.0 to 2.53.0 (#17652)
- feat(node): Add extra platforms to
oscontext (#17720) - fix(browser): Ensure idle span duration is adjusted when child spans are ignored (#17700)
- fix(core): Ensure builtin stack frames don't affect
thirdPartyErrorFilterIntegration(#17693) - fix(core): Fix client hook edge cases around multiple callbacks (#17706)
- fix(nextjs): Enable fetch span when OTel setup is skipped (#17699)
- fix(node): Fix
thiscontext for vercel AI instrumentation (#17681)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Add external contributor to CHANGELOG.md (#17725)
- chore: Add link to build and test icon in readme (#17719)
- chore(nuxt): Bump Vite and Rollup plugins (#17671)
- chore(repo): Add changelog entry for
reportPageLoaded(#17724) - ci: Fix lookup of changed E2E test apps (#17707)
- ci(test-matrix): Add logs for
getTestMatrix(#17673) - ref: Avoid some usage of
SyncPromisewhere not needed (#17641) - ref(core): Add debug log when dropping a span via
ignoreSpans(#17692) - ref(core): Avoid looking up anthropic-ai integration options (#17694)
- ref(core): Streamline
module_metadataassignment and cleanup functions (#17696) - ref(remix): Avoid unnecessary error wrapping
HandleDocumentRequestFunction(#17680) - Revert "[Gitflow] Merge master into develop"
</details>
Work in this release was contributed by @Olexandr88. Thank you for your contribution!
-
- 10.12.016 Sept 2025
Release notes
Open source โImportant Changes
-
ref: Add and Adjust error event
mechanismvaluesThis release includes a variety of changes aimed at setting the
mechanismfield on errors captured automatically by the Sentry SDKs. The intention is to clearly mark which instrumentation captured an error. In addition, some instrumentations previously did not yet annotate the error as handled or unhandled which this series of PRs corrects as well.<details> <summary> Relevant PRs </summary>
<br/>
Released in
10.12.0:- ref(angular): Adjust ErrorHandler event mechanism (#17608)
- ref(astro): Adjust
mechanismon error events captured by astro middleware (#17613) - ref(aws-severless): Slightly adjust aws-serverless mechanism type (#17614)
- ref(bun): Adjust
mechanismof errors captured in Bun.serve (#17616) - ref(cloudflare): Adjust event
mechanismsand durable object origin (#17618) - ref(core): Adjust
mechanismincaptureConsoleIntegration(#17633) - ref(core): Adjust MCP server error event
mechanism(#17622) - ref(core): Simplify
linkedErrorsmechanism logic (#17600) - ref(deno): Adjust
mechanismof errors caught byglobalHandlersIntegration(#17635) - ref(nextjs): Set more specific event
mechanisms (#17543) - ref(node): Adjust mechanism of express, hapi and fastify error handlers (#17623)
- ref(node-core): Add
mechanismto cron instrumentations (#17544) - ref(node-core): Add more specific
mechanism.typeto worker thread errors fromchildProcessIntegration(#17578) - ref(node-core): Adjust
mechanismofonUnhandledRejectionandonUnhandledExceptionintegrations (#17636) - ref(node): Add mechanism to errors captured via connect and koa integrations (#17579)
- ref(nuxt): Add and adjust
mechanism.typein error events (#17599) - ref(react): Add mechanism to
reactErrorHandlerand adjust mechanism inErrorBoundary(#17602) - ref(remix): Adjust event mechanism of
captureRemixServerException(#17629) - ref(replay-internal): Add mechanism to error caught by
replayIntegrationin debug mode (#17606) - ref(solid): Add
mechanismto error captured bywithSentryErrorBoundary(#17607) - ref(solidstart): Adjust event mechanism in withServerActionInstrumentation (#17637)
- ref(sveltekit): Adjust
mechanismof error events (#17646) - ref(vue): Adjust mechanism in Vue error handler (#17647)
<br/>
Released in
10.11.0:- ref(browser): Add more specific
mechanism.typeto errors captured byhttpClientIntegration(#17254) - ref(browser): Set more descriptive
mechanism.typeinbrowserApiErrorsIntergation(#17251) - ref(core): Add
mechanism.typetotrpcMiddlewareerrors (#17287) - ref(core): Add more specific event
mechanisms and span origins toopenAiIntegration(#17288) - ref(nestjs): Add
mechanismto captured errors (#17312)
</details>
- feat(node) Ensure
prismaIntegrationworks with Prisma 5 (#17595)
We used to require to pass in the v5 version of
@prisma/instrumentationintoprismaIntegration({ prismaInstrumentation: new PrismaInstrumentation() }), if you wanted to get full instrumentation for Prisma v5. However, it turns out this does not work on v10 of the SDK anymore, because@prisma/instrumentation@5requires OTEL v1.With this release, we dropped the requirement to configure anything to get v5 support of Prisma. You do not need to configure anything in the integration anymore, and can remove the dependency on
@prisma/instrumentation@5if you had it in your application. You only need to configure thetracingpreview feature according to our docs.- feat(deps): Update OpenTelemetry dependencies (#17558)
- @opentelemetry/core bumped to ^2.1.0
- @opentelemetry/context-async-hooks bumped to ^2.1.0
- @opentelemetry/resources bumped to ^2.1.0
- @opentelemetry/sdk-trace-base bumped to ^2.1.0
- @opentelemetry/semantic-conventions bumped to ^1.37.0
- @opentelemetry/instrumentation bumped to ^0.204.0
- @opentelemetry/instrumentation-http bumped to ^0.204.0
- @opentelemetry/instrumentation-amqplib bumped to ^0.51.0
- @opentelemetry/instrumentation-aws-sdk bumped to ^0.59.0
- @opentelemetry/instrumentation-connect bumped to ^0.48.0
- @opentelemetry/instrumentation-dataloader bumped to ^0.22.0
- @opentelemetry/instrumentation-express bumped to ^0.53.0
- @opentelemetry/instrumentation-fs bumped from to ^0.24.0
- @opentelemetry/instrumentation-generic-pool bumped to ^0.48.0
- @opentelemetry/instrumentation-graphql bumped to ^0.52.0
- @opentelemetry/instrumentation-hapi bumped to ^0.51.0
- @opentelemetry/instrumentation-ioredis bumped to ^0.52.0
- @opentelemetry/instrumentation-kafkajs bumped to ^0.14.0
- @opentelemetry/instrumentation-knex bumped to ^0.49.0
- @opentelemetry/instrumentation-koa bumped to ^0.52.0
- @opentelemetry/instrumentation-lru-memoizer bumped to ^0.49.0
- @opentelemetry/instrumentation-mongodb bumped from to ^0.57.0
- @opentelemetry/instrumentation-mongoose bumped from to ^0.51.0
- @opentelemetry/instrumentation-mysql bumped to ^0.50.0
- @opentelemetry/instrumentation-mysql2 bumped to ^0.51.0
- @opentelemetry/instrumentation-nestjs-core bumped to ^0.50.0
- @opentelemetry/instrumentation-pg bumped to ^0.57.0
- @opentelemetry/instrumentation-redis bumped to ^0.53.0
- @opentelemetry/instrumentation-undici bumped to ^0.15.0
- @prisma/instrumentation bumped to 6.15.0
Other Changes
- feat(browser): Add timing and status atttributes to resource spans (#17562)
- feat(cloudflare,vercel-edge): Add support for Anthropic AI instrumentation (#17571)
- feat(core): Add Consola integration (#17435)
- feat(deps): Update OpenTelemetry dependencies (#17569)
- feat(core): Export
TracesSamplerSamplingContexttype (#17523) - feat(deno): Add OpenTelemetry support and vercelAI integration (#17445)
- feat(node-core): Remove experimental note from winston api (#17626)
- feat(node): Ensure
prismaIntegrationworks with Prisma v5 (#17595) - feat(node): Tidy existing ESM loader hook (#17566)
- feat(sveltekit): Align build time options with shared type (#17413)
- fix(core): Fix error handling when sending envelopes (#17662)
- fix(browser): Always start navigation as root span (#17648)
- fix(browser): Ensure propagated
parentSpanIdstays consistent during trace in TwP mode (#17526) - fix(cloudflare): Initialize once per workflow run and preserve scope for
step.do(#17582) - fix(nextjs): Add edge polyfills for nextjs-13 in dev mode (#17488)
- fix(nitro): Support nested
_platformproperties in Nitro 2.11.7+ (#17596) - fix(node): Preserve synchronous return behavior for streamText and other methods for AI (#17580)
- ref(node): Inline types imported from
shimmer(#17597) - ref(nuxt): Add and adjustmechanism.typein error events (#17599) - ref(browser): Improve
fetchTransporterror handling (#17661)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Add changelog note about mechanism changes (#17632)
- chore(aws): Update README.md (#17601)
- chore(deps): bump hono from 4.7.10 to 4.9.7 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#17630)
- chore(deps): bump next from 14.2.25 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-app-dir (#17627)
- chore(deps): bump next from 14.2.25 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-pages-dir (#17620)
- chore(deps): bump next from 14.2.29 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-orpc (#17494)
- chore(deps): bump next from 14.2.30 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-14 (#17628)
- chore(repo): Rename
.claude/settings.local.jsonto.claude/settings.json(#17591) - docs(issue-template): Add note about prioritization (#17590)
- ref(core): Streamline event processor handling (#17634)
- test(angular): Bump TS version to 5.9.0 in Angular 20 e2e test (#17605)
- test(nextjs): Remove Next 13 and pin Next 14 canary and latest tests (#17577)
- test(react-router): Unflake
flushIfServerlesstest (#17610)
</details>
Bundle size ๐ฆ
Path Size @sentry/browser 23.59 KB @sentry/browser - with treeshaking flags 22.19 KB @sentry/browser (incl. Tracing) 39.21 KB @sentry/browser (incl. Tracing, Replay) 76.69 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.64 KB @sentry/browser (incl. Tracing, Replay with Canvas) 81.24 KB @sentry/browser (incl. Tracing, Replay, Feedback) 93.16 KB @sentry/browser (incl. Feedback) 39.92 KB @sentry/browser (incl. sendFeedback) 28.13 KB @sentry/browser (incl. FeedbackAsync) 32.96 KB @sentry/react 25.27 KB @sentry/react (incl. Tracing) 41.18 KB @sentry/vue 27.97 KB @sentry/vue (incl. Tracing) 40.99 KB @sentry/svelte 23.62 KB CDN Bundle 25.13 KB CDN Bundle (incl. Tracing) 39.11 KB CDN Bundle (incl. Tracing, Replay) 74.48 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.86 KB CDN Bundle - uncompressed 73.41 KB CDN Bundle (incl. Tracing) - uncompressed 115.73 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 228.13 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 240.59 KB @sentry/nextjs (client) 43.12 KB @sentry/sveltekit (client) 39.64 KB @sentry/node-core 48.69 KB @sentry/node 147.6 KB @sentry/node - without tracing 89.6 KB @sentry/aws-serverless 102.73 KB Release notes
Open source โImportant Changes
-
ref: Add and Adjust error event
mechanismvaluesThis release includes a variety of changes aimed at setting the
mechanismfield on errors captured automatically by the Sentry SDKs. The intention is to clearly mark which instrumentation captured an error. In addition, some instrumentations previously did not yet annotate the error as handled or unhandled which this series of PRs corrects as well.<details> <summary> Relevant PRs </summary>
<br/>
Released in
10.12.0:- ref(angular): Adjust ErrorHandler event mechanism (#17608)
- ref(astro): Adjust
mechanismon error events captured by astro middleware (#17613) - ref(aws-severless): Slightly adjust aws-serverless mechanism type (#17614)
- ref(bun): Adjust
mechanismof errors captured in Bun.serve (#17616) - ref(cloudflare): Adjust event
mechanismsand durable object origin (#17618) - ref(core): Adjust
mechanismincaptureConsoleIntegration(#17633) - ref(core): Adjust MCP server error event
mechanism(#17622) - ref(core): Simplify
linkedErrorsmechanism logic (#17600) - ref(deno): Adjust
mechanismof errors caught byglobalHandlersIntegration(#17635) - ref(nextjs): Set more specific event
mechanisms (#17543) - ref(node): Adjust mechanism of express, hapi and fastify error handlers (#17623)
- ref(node-core): Add
mechanismto cron instrumentations (#17544) - ref(node-core): Add more specific
mechanism.typeto worker thread errors fromchildProcessIntegration(#17578) - ref(node-core): Adjust
mechanismofonUnhandledRejectionandonUnhandledExceptionintegrations (#17636) - ref(node): Add mechanism to errors captured via connect and koa integrations (#17579)
- ref(nuxt): Add and adjust
mechanism.typein error events (#17599) - ref(react): Add mechanism to
reactErrorHandlerand adjust mechanism inErrorBoundary(#17602) - ref(remix): Adjust event mechanism of
captureRemixServerException(#17629) - ref(replay-internal): Add mechanism to error caught by
replayIntegrationin debug mode (#17606) - ref(solid): Add
mechanismto error captured bywithSentryErrorBoundary(#17607) - ref(solidstart): Adjust event mechanism in withServerActionInstrumentation (#17637)
- ref(sveltekit): Adjust
mechanismof error events (#17646) - ref(vue): Adjust mechanism in Vue error handler (#17647)
<br/>
Released in
10.11.0:- ref(browser): Add more specific
mechanism.typeto errors captured byhttpClientIntegration(#17254) - ref(browser): Set more descriptive
mechanism.typeinbrowserApiErrorsIntergation(#17251) - ref(core): Add
mechanism.typetotrpcMiddlewareerrors (#17287) - ref(core): Add more specific event
mechanisms and span origins toopenAiIntegration(#17288) - ref(nestjs): Add
mechanismto captured errors (#17312)
</details>
- feat(node) Ensure
prismaIntegrationworks with Prisma 5 (#17595)
We used to require to pass in the v5 version of
@prisma/instrumentationintoprismaIntegration({ prismaInstrumentation: new PrismaInstrumentation() }), if you wanted to get full instrumentation for Prisma v5. However, it turns out this does not work on v10 of the SDK anymore, because@prisma/instrumentation@5requires OTEL v1.With this release, we dropped the requirement to configure anything to get v5 support of Prisma. You do not need to configure anything in the integration anymore, and can remove the dependency on
@prisma/instrumentation@5if you had it in your application. You only need to configure thetracingpreview feature according to our docs.- feat(deps): Update OpenTelemetry dependencies (#17558)
- @opentelemetry/core bumped to ^2.1.0
- @opentelemetry/context-async-hooks bumped to ^2.1.0
- @opentelemetry/resources bumped to ^2.1.0
- @opentelemetry/sdk-trace-base bumped to ^2.1.0
- @opentelemetry/semantic-conventions bumped to ^1.37.0
- @opentelemetry/instrumentation bumped to ^0.204.0
- @opentelemetry/instrumentation-http bumped to ^0.204.0
- @opentelemetry/instrumentation-amqplib bumped to ^0.51.0
- @opentelemetry/instrumentation-aws-sdk bumped to ^0.59.0
- @opentelemetry/instrumentation-connect bumped to ^0.48.0
- @opentelemetry/instrumentation-dataloader bumped to ^0.22.0
- @opentelemetry/instrumentation-express bumped to ^0.53.0
- @opentelemetry/instrumentation-fs bumped from to ^0.24.0
- @opentelemetry/instrumentation-generic-pool bumped to ^0.48.0
- @opentelemetry/instrumentation-graphql bumped to ^0.52.0
- @opentelemetry/instrumentation-hapi bumped to ^0.51.0
- @opentelemetry/instrumentation-ioredis bumped to ^0.52.0
- @opentelemetry/instrumentation-kafkajs bumped to ^0.14.0
- @opentelemetry/instrumentation-knex bumped to ^0.49.0
- @opentelemetry/instrumentation-koa bumped to ^0.52.0
- @opentelemetry/instrumentation-lru-memoizer bumped to ^0.49.0
- @opentelemetry/instrumentation-mongodb bumped from to ^0.57.0
- @opentelemetry/instrumentation-mongoose bumped from to ^0.51.0
- @opentelemetry/instrumentation-mysql bumped to ^0.50.0
- @opentelemetry/instrumentation-mysql2 bumped to ^0.51.0
- @opentelemetry/instrumentation-nestjs-core bumped to ^0.50.0
- @opentelemetry/instrumentation-pg bumped to ^0.57.0
- @opentelemetry/instrumentation-redis bumped to ^0.53.0
- @opentelemetry/instrumentation-undici bumped to ^0.15.0
- @prisma/instrumentation bumped to 6.15.0
Other Changes
- feat(browser): Add timing and status atttributes to resource spans (#17562)
- feat(cloudflare,vercel-edge): Add support for Anthropic AI instrumentation (#17571)
- feat(core): Add Consola integration (#17435)
- feat(deps): Update OpenTelemetry dependencies (#17569)
- feat(core): Export
TracesSamplerSamplingContexttype (#17523) - feat(deno): Add OpenTelemetry support and vercelAI integration (#17445)
- feat(node-core): Remove experimental note from winston api (#17626)
- feat(node): Ensure
prismaIntegrationworks with Prisma v5 (#17595) - feat(node): Tidy existing ESM loader hook (#17566)
- feat(sveltekit): Align build time options with shared type (#17413)
- fix(core): Fix error handling when sending envelopes (#17662)
- fix(browser): Always start navigation as root span (#17648)
- fix(browser): Ensure propagated
parentSpanIdstays consistent during trace in TwP mode (#17526) - fix(cloudflare): Initialize once per workflow run and preserve scope for
step.do(#17582) - fix(nextjs): Add edge polyfills for nextjs-13 in dev mode (#17488)
- fix(nitro): Support nested
_platformproperties in Nitro 2.11.7+ (#17596) - fix(node): Preserve synchronous return behavior for streamText and other methods for AI (#17580)
- ref(node): Inline types imported from
shimmer(#17597) - ref(nuxt): Add and adjustmechanism.typein error events (#17599) - ref(browser): Improve
fetchTransporterror handling (#17661)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Add changelog note about mechanism changes (#17632)
- chore(aws): Update README.md (#17601)
- chore(deps): bump hono from 4.7.10 to 4.9.7 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#17630)
- chore(deps): bump next from 14.2.25 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-app-dir (#17627)
- chore(deps): bump next from 14.2.25 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-pages-dir (#17620)
- chore(deps): bump next from 14.2.29 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-orpc (#17494)
- chore(deps): bump next from 14.2.30 to 14.2.32 in /dev-packages/e2e-tests/test-applications/nextjs-14 (#17628)
- chore(repo): Rename
.claude/settings.local.jsonto.claude/settings.json(#17591) - docs(issue-template): Add note about prioritization (#17590)
- ref(core): Streamline event processor handling (#17634)
- test(angular): Bump TS version to 5.9.0 in Angular 20 e2e test (#17605)
- test(nextjs): Remove Next 13 and pin Next 14 canary and latest tests (#17577)
- test(react-router): Unflake
flushIfServerlesstest (#17610)
</details>
-
- 10.11.09 Sept 2025
Release notes
Open source โImportant Changes
-
feat(aws): Add experimental AWS Lambda extension for tunnelling events (#17525)
This release adds an experimental Sentry Lambda extension to the existing Sentry Lambda layer. Sentry events are now tunneled through the extension and then forwarded to Sentry. This has the benefit of reducing the request processing time.
To enable it, set
_experiments.enableLambdaExtensionin your Sentry config like this:Sentry.init({ dsn: '<YOUR_DSN>', _experiments: { enableLambdaExtension: true, }, });
Other Changes
- feat(core): Add replay id to logs (#17563)
- feat(core): Improve error handling for Anthropic AI instrumentation (#17535)
- feat(deps): bump @opentelemetry/instrumentation-ioredis from 0.51.0 to 0.52.0 (#17557)
- feat(node): Add incoming request headers as OTel span attributes (#17475)
- fix(astro): Ensure traces are correctly propagated for static routes (#17536)
- fix(react): Remove
handleExistingNavigation(#17534) - ref(browser): Add more specific
mechanism.typeto errors captured byhttpClientIntegration(#17254) - ref(browser): Set more descriptive
mechanism.typeinbrowserApiErrorsIntergation(#17251) - ref(core): Add
mechanism.typetotrpcMiddlewareerrors (#17287) - ref(core): Add more specific event
mechanisms and span origins toopenAiIntegration(#17288) - ref(nestjs): Add
mechanismto captured errors (#17312)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Use proper
test-utilsdependency in workspace (#17538) - chore(test): Remove
geistfont (#17541) - ci: Check for stable lockfile (#17552)
- ci: Fix running of only changed E2E tests (#17551)
- ci: Remove project automation workflow (#17508)
- test(node-integration-tests): pin [email protected] to fix test fails (#17542)
</details>
Bundle size ๐ฆ
Path Size @sentry/browser 23.61 KB @sentry/browser - with treeshaking flags 22.22 KB @sentry/browser (incl. Tracing) 39.2 KB @sentry/browser (incl. Tracing, Replay) 76.66 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.66 KB @sentry/browser (incl. Tracing, Replay with Canvas) 81.23 KB @sentry/browser (incl. Tracing, Replay, Feedback) 93.15 KB @sentry/browser (incl. Feedback) 39.95 KB @sentry/browser (incl. sendFeedback) 28.15 KB @sentry/browser (incl. FeedbackAsync) 32.98 KB @sentry/react 25.29 KB @sentry/react (incl. Tracing) 41.12 KB @sentry/vue 27.99 KB @sentry/vue (incl. Tracing) 40.97 KB @sentry/svelte 23.63 KB CDN Bundle 25.16 KB CDN Bundle (incl. Tracing) 39.07 KB CDN Bundle (incl. Tracing, Replay) 74.5 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.83 KB CDN Bundle - uncompressed 73.44 KB CDN Bundle (incl. Tracing) - uncompressed 115.53 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 227.93 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 240.39 KB @sentry/nextjs (client) 43.11 KB @sentry/sveltekit (client) 39.63 KB @sentry/node-core 48.66 KB @sentry/node 148.65 KB @sentry/node - without tracing 90.07 KB @sentry/aws-serverless 103.24 KB Release notes
Open source โImportant Changes
-
feat(aws): Add experimental AWS Lambda extension for tunnelling events (#17525)
This release adds an experimental Sentry Lambda extension to the existing Sentry Lambda layer. Sentry events are now tunneled through the extension and then forwarded to Sentry. This has the benefit of reducing the request processing time.
To enable it, set
_experiments.enableLambdaExtensionin your Sentry config like this:Sentry.init({ dsn: '<YOUR_DSN>', _experiments: { enableLambdaExtension: true, }, });
Other Changes
- feat(core): Add replay id to logs (#17563)
- feat(core): Improve error handling for Anthropic AI instrumentation (#17535)
- feat(deps): bump @opentelemetry/instrumentation-ioredis from 0.51.0 to 0.52.0 (#17557)
- feat(node): Add incoming request headers as OTel span attributes (#17475)
- fix(astro): Ensure traces are correctly propagated for static routes (#17536)
- fix(react): Remove
handleExistingNavigation(#17534) - ref(browser): Add more specific
mechanism.typeto errors captured byhttpClientIntegration(#17254) - ref(browser): Set more descriptive
mechanism.typeinbrowserApiErrorsIntergation(#17251) - ref(core): Add
mechanism.typetotrpcMiddlewareerrors (#17287) - ref(core): Add more specific event
mechanisms and span origins toopenAiIntegration(#17288) - ref(nestjs): Add
mechanismto captured errors (#17312)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Use proper
test-utilsdependency in workspace (#17538) - chore(test): Remove
geistfont (#17541) - ci: Check for stable lockfile (#17552)
- ci: Fix running of only changed E2E tests (#17551)
- ci: Remove project automation workflow (#17508)
- test(node-integration-tests): pin [email protected] to fix test fails (#17542)
</details>
-
- 10.10.04 Sept 2025
Release notes
Open source โImportant Changes
- feat(browser): Add support for
propagateTraceparentSDK option (#17509)
Adds support for a new browser SDK init option,
propagateTraceparentfor attaching a W3C compliant traceparent header to outgoing fetch and XHR requests, in addition to sentry-trace and baggage headers. More details can be found here.- feat(core): Add tool calls attributes for Anthropic AI (#17478)
Adds missing tool call attributes, we add gen_ai.response.tool_calls attribute for Anthropic AI, supporting both streaming and non-streaming requests.
- feat(nextjs): Use compiler hook for uploading turbopack sourcemaps (#17352)
Adds a new experimental flag
_experimental.useRunAfterProductionCompileHooktowithSentryConfigfor automatic source maps uploads when building a Next.js app withnext build --turbopack. When set we:- Automatically enable source map generation for turbopack client files (if not explicitly disabled)
- Upload generated source maps to Sentry at the end of the build by leveraging a Next.js compiler hook.
Other Changes
- feat(feedback): Add more labels so people can configure Highlight and Hide labels (#17513)
- fix(node): Add
originfor OpenAI spans & test auto instrumentation (#17519)
Bundle size ๐ฆ
Path Size @sentry/browser 23.59 KB @sentry/browser - with treeshaking flags 22.2 KB @sentry/browser (incl. Tracing) 39.19 KB @sentry/browser (incl. Tracing, Replay) 76.63 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.64 KB @sentry/browser (incl. Tracing, Replay with Canvas) 81.2 KB @sentry/browser (incl. Tracing, Replay, Feedback) 93.13 KB @sentry/browser (incl. Feedback) 39.93 KB @sentry/browser (incl. sendFeedback) 28.13 KB @sentry/browser (incl. FeedbackAsync) 32.96 KB @sentry/react 25.27 KB @sentry/react (incl. Tracing) 41.11 KB @sentry/vue 27.97 KB @sentry/vue (incl. Tracing) 40.95 KB @sentry/svelte 23.62 KB CDN Bundle 25.14 KB CDN Bundle (incl. Tracing) 39.05 KB CDN Bundle (incl. Tracing, Replay) 74.48 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.82 KB CDN Bundle - uncompressed 73.4 KB CDN Bundle (incl. Tracing) - uncompressed 115.49 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 227.88 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 240.35 KB @sentry/nextjs (client) 43.08 KB @sentry/sveltekit (client) 39.62 KB @sentry/node-core 48.49 KB @sentry/node 147.1 KB @sentry/node - without tracing 90.07 KB @sentry/aws-serverless 103.06 KB Release notes
Open source โImportant Changes
- feat(browser): Add support for
propagateTraceparentSDK option (#17509)
Adds support for a new browser SDK init option,
propagateTraceparentfor attaching a W3C compliant traceparent header to outgoing fetch and XHR requests, in addition to sentry-trace and baggage headers. More details can be found here.- feat(core): Add tool calls attributes for Anthropic AI (#17478)
Adds missing tool call attributes, we add gen_ai.response.tool_calls attribute for Anthropic AI, supporting both streaming and non-streaming requests.
- feat(nextjs): Use compiler hook for uploading turbopack sourcemaps (#17352)
Adds a new experimental flag
_experimental.useRunAfterProductionCompileHooktowithSentryConfigfor automatic source maps uploads when building a Next.js app withnext build --turbopack. When set we:- Automatically enable source map generation for turbopack client files (if not explicitly disabled)
- Upload generated source maps to Sentry at the end of the build by leveraging a Next.js compiler hook.
Other Changes
- feat(browser): Add support for
- 10.9.03 Sept 2025
Release notes
Open source โImportant Changes
- feat(node): Update
httpIntegrationhandling of incoming requests (#17371)
This version updates the handling of the Node SDK of incoming requests. Instead of relying on @opentelemetry/instrumentation-http, we now handle incoming request instrumentation internally, ensuring that we can optimize performance as much as possible and avoid interop problems.
This change should not affect you, unless you're relying on very in-depth implementation details. Importantly, this also drops the
_experimentalConfigoption of the integration - this will no longer do anything. Finally, you can still passinstrumentation.{requestHook,responseHook,applyCustomAttributesOnSpan}options, but they are deprecated and will be removed in v11. Instead, you can use the newincomingRequestSpanHookconfiguration option if you want to adjust the incoming request span.Other Changes
- feat(browser): Add replay.feedback CDN bundle (#17496)
- feat(browser): Export
sendFeedbackfrom CDN bundles (#17495) - fix(astro): Ensure span name from
beforeStartSpanisn't overwritten (#17500) - fix(browser): Ensure source is set correctly when updating span name in-place in
beforeStartSpan(#17501) - fix(core): Only set template attributes on logs if parameters exist (#17480)
- fix(nextjs): Fix parameterization for root catchall routes (#17489)
- fix(node-core): Shut down OTel TraceProvider when calling
Sentry.close()(#17499)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Add
changelogscript back to package.json (#17517) - chore: Ensure prettier is run on all files (#17497)
- chore: Ignore prettier commit for git blame (#17498)
- chore: Remove experimental from Nuxt SDK package description (#17483)
- ci: Capture overhead in node app (#17420)
- ci: Ensure we fail on cancelled jobs (#17506)
- ci(deps): bump actions/checkout from 4 to 5 (#17505)
- ci(deps): bump actions/create-github-app-token from 2.0.6 to 2.1.1 (#17504)
- test(aws): Improve reliability on CI (#17502)
</details>
Bundle size ๐ฆ
Path Size @sentry/browser 23.59 KB @sentry/browser - with treeshaking flags 22.2 KB @sentry/browser (incl. Tracing) 38.93 KB @sentry/browser (incl. Tracing, Replay) 76.4 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.43 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.97 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.81 KB @sentry/browser (incl. Feedback) 39.88 KB @sentry/browser (incl. sendFeedback) 28.13 KB @sentry/browser (incl. FeedbackAsync) 32.92 KB @sentry/react 25.27 KB @sentry/react (incl. Tracing) 40.91 KB @sentry/vue 27.97 KB @sentry/vue (incl. Tracing) 40.72 KB @sentry/svelte 23.62 KB CDN Bundle 25.06 KB CDN Bundle (incl. Tracing) 38.82 KB CDN Bundle (incl. Tracing, Replay) 74.25 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.56 KB CDN Bundle - uncompressed 73.2 KB CDN Bundle (incl. Tracing) - uncompressed 114.83 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 227.23 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 239.56 KB @sentry/nextjs (client) 42.86 KB @sentry/sveltekit (client) 39.38 KB @sentry/node-core 48.45 KB @sentry/node 146.74 KB @sentry/node - without tracing 90.02 KB @sentry/aws-serverless 103.01 KB Release notes
Open source โImportant Changes
- feat(node): Update
httpIntegrationhandling of incoming requests (#17371)
This version updates the handling of the Node SDK of incoming requests. Instead of relying on @opentelemetry/instrumentation-http, we now handle incoming request instrumentation internally, ensuring that we can optimize performance as much as possible and avoid interop problems.
This change should not affect you, unless you're relying on very in-depth implementation details. Importantly, this also drops the
_experimentalConfigoption of the integration - this will no longer do anything. Finally, you can still passinstrumentation.{requestHook,responseHook,applyCustomAttributesOnSpan}options, but they are deprecated and will be removed in v11. Instead, you can use the newincomingRequestSpanHookconfiguration option if you want to adjust the incoming request span.Other Changes
- feat(browser): Add replay.feedback CDN bundle (#17496)
- feat(browser): Export
sendFeedbackfrom CDN bundles (#17495) - fix(astro): Ensure span name from
beforeStartSpanisn't overwritten (#17500) - fix(browser): Ensure source is set correctly when updating span name in-place in
beforeStartSpan(#17501) - fix(core): Only set template attributes on logs if parameters exist (#17480)
- fix(nextjs): Fix parameterization for root catchall routes (#17489)
- fix(node-core): Shut down OTel TraceProvider when calling
Sentry.close()(#17499)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Add
changelogscript back to package.json (#17517) - chore: Ensure prettier is run on all files (#17497)
- chore: Ignore prettier commit for git blame (#17498)
- chore: Remove experimental from Nuxt SDK package description (#17483)
- ci: Capture overhead in node app (#17420)
- ci: Ensure we fail on cancelled jobs (#17506)
- ci(deps): bump actions/checkout from 4 to 5 (#17505)
- ci(deps): bump actions/create-github-app-token from 2.0.6 to 2.1.1 (#17504)
- test(aws): Improve reliability on CI (#17502)
</details>
- feat(node): Update
- 10.8.029 Aug 2025
Release notes
Open source โImportant Changes
-
feat(sveltekit): Add Compatibility for builtin SvelteKit Tracing (#17423)
This release makes the
@sentry/sveltekitSDK compatible with SvelteKit's native observability support introduced in SvelteKit version2.31.0. If you enable both, instrumentation and tracing, the SDK will now initialize early enough to set up additional instrumentation like database queries and it will pick up spans emitted from SvelteKit.We will follow up with docs how to set up the SDK soon. For now, If you're on SvelteKit version
2.31.0or newer, you can easily opt into the new feature:-
Enable experimental tracing and instrumentation support in
svelte.config.js: -
Move your
Sentry.init()call fromsrc/hooks.server.(js|ts)to the newinstrumentation.server.(js|ts)file:// instrumentation.server.ts import * as Sentry from '@sentry/sveltekit'; Sentry.init({ dsn: '...', // rest of your config });The rest of your Sentry config in
hooks.server.ts(sentryHandleandhandleErrorWithSentry) should stay the same.
If you prefer to stay on the hooks-file based config for now, the SDK will continue to work as previously.
Thanks to the Svelte team and @elliott-with-the-longest-name-on-github for implementing observability support and for reviewing our PR!
-
Other Changes
- fix(react): Avoid multiple name updates on navigation spans (#17438)
<details> <summary> <strong>Internal Changes</strong> </summary>
- test(profiling): Add tests for current state of profiling (#17470)
</details>
Bundle size ๐ฆ
Path Size @sentry/browser 23.59 KB @sentry/browser - with treeshaking flags 22.2 KB @sentry/browser (incl. Tracing) 38.94 KB @sentry/browser (incl. Tracing, Replay) 76.4 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.43 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.97 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.8 KB @sentry/browser (incl. Feedback) 39.88 KB @sentry/browser (incl. sendFeedback) 28.13 KB @sentry/browser (incl. FeedbackAsync) 32.92 KB @sentry/react 25.27 KB @sentry/react (incl. Tracing) 40.91 KB @sentry/vue 27.97 KB @sentry/vue (incl. Tracing) 40.72 KB @sentry/svelte 23.62 KB CDN Bundle 25.06 KB CDN Bundle (incl. Tracing) 38.82 KB CDN Bundle (incl. Tracing, Replay) 74.24 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.55 KB CDN Bundle - uncompressed 73.2 KB CDN Bundle (incl. Tracing) - uncompressed 114.83 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 227.23 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 239.53 KB @sentry/nextjs (client) 42.86 KB @sentry/sveltekit (client) 39.38 KB @sentry/node-core 46.87 KB @sentry/node 145.75 KB @sentry/node - without tracing 90.08 KB @sentry/aws-serverless 102.45 KB Release notes
Open source โImportant Changes
-
feat(sveltekit): Add Compatibility for builtin SvelteKit Tracing (#17423)
This release makes the
@sentry/sveltekitSDK compatible with SvelteKit's native observability support introduced in SvelteKit version2.31.0. If you enable both, instrumentation and tracing, the SDK will now initialize early enough to set up additional instrumentation like database queries and it will pick up spans emitted from SvelteKit.We will follow up with docs how to set up the SDK soon. For now, If you're on SvelteKit version
2.31.0or newer, you can easily opt into the new feature:-
Enable experimental tracing and instrumentation support in
svelte.config.js: -
Move your
Sentry.init()call fromsrc/hooks.server.(js|ts)to the newinstrumentation.server.(js|ts)file:// instrumentation.server.ts import * as Sentry from '@sentry/sveltekit'; Sentry.init({ dsn: '...', // rest of your config });The rest of your Sentry config in
hooks.server.ts(sentryHandleandhandleErrorWithSentry) should stay the same.
If you prefer to stay on the hooks-file based config for now, the SDK will continue to work as previously.
Thanks to the Svelte team and @elliott-with-the-longest-name-on-github for implementing observability support and for reviewing our PR!
-
Other Changes
- fix(react): Avoid multiple name updates on navigation spans (#17438)
<details> <summary> <strong>Internal Changes</strong> </summary>
- test(profiling): Add tests for current state of profiling (#17470)
</details>
-
- 10.7.027 Aug 2025
Release notes
Open source โ10.7.0
Important Changes
- feat(cloudflare): Add
instrumentPrototypeMethodsoption to instrument RPC methods for DurableObjects (#17424)
By default,
Sentry.instrumentDurableObjectWithSentrywill not wrap any RPC methods on the prototype. To enable wrapping for RPC methods, setinstrumentPrototypeMethodstotrueor, if performance is a concern, a list of only the methods you want to instrument:class MyDurableObjectBase extends DurableObject<Env> { method1() { // ... } method2() { // ... } method3() { // ... } } // Export your named class as defined in your wrangler config export const MyDurableObject = Sentry.instrumentDurableObjectWithSentry( (env: Env) => ({ dsn: "https://ac49b7af3017c458bd12dab9b3328bfc@o4508482761982032.ingest.de.sentry.io/4508482780987481", tracesSampleRate: 1.0, instrumentPrototypeMethods: ['method1', 'method3'], }), MyDurableObjectBase, );Other Changes
- feat(aws): Add support for streaming handlers (#17463)
- feat(core): Stream responses Anthropic AI (#17460)
- feat(deps): bump @opentelemetry/instrumentation-aws-sdk from 0.56.0 to 0.57.0 (#17455)
- feat(deps): bump @opentelemetry/instrumentation-dataloader from 0.21.0 to 0.21.1 (#17457)
- feat(deps): bump @opentelemetry/instrumentation-kafkajs from 0.12.0 to 0.13.0 (#17469)
- feat(deps): bump @opentelemetry/instrumentation-mysql2 from 0.49.0 to 0.50.0 (#17459)
- feat(deps): bump @prisma/instrumentation from 6.13.0 to 6.14.0 (#17466)
- feat(deps): bump @sentry/cli from 2.51.1 to 2.52.0 (#17458)
- feat(deps): bump @sentry/rollup-plugin from 4.1.0 to 4.1.1 (#17456)
- feat(deps): bump @sentry/webpack-plugin from 4.1.0 to 4.1.1 (#17467)
- feat(replay): Add option to skip
requestAnimationFramefor canvas snapshots (#17380)
<details> <summary> <strong>Internal Changes</strong> </summary>
- test(aws): Run E2E tests in all supported Node versions (#17446)
</details>
Bundle size ๐ฆ
Path Size @sentry/browser 23.59 KB @sentry/browser - with treeshaking flags 22.2 KB @sentry/browser (incl. Tracing) 38.94 KB @sentry/browser (incl. Tracing, Replay) 76.4 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.43 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.97 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.8 KB @sentry/browser (incl. Feedback) 39.88 KB @sentry/browser (incl. sendFeedback) 28.13 KB @sentry/browser (incl. FeedbackAsync) 32.92 KB @sentry/react 25.27 KB @sentry/react (incl. Tracing) 40.88 KB @sentry/vue 27.97 KB @sentry/vue (incl. Tracing) 40.72 KB @sentry/svelte 23.62 KB CDN Bundle 25.06 KB CDN Bundle (incl. Tracing) 38.82 KB CDN Bundle (incl. Tracing, Replay) 74.24 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.55 KB CDN Bundle - uncompressed 73.2 KB CDN Bundle (incl. Tracing) - uncompressed 114.83 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 227.23 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 239.53 KB @sentry/nextjs (client) 42.86 KB @sentry/sveltekit (client) 39.38 KB @sentry/node-core 46.86 KB @sentry/node 145.75 KB @sentry/node - without tracing 90.08 KB @sentry/aws-serverless 102.45 KB Release notes
Open source โImportant Changes
- feat(cloudflare): Add
instrumentPrototypeMethodsoption to instrument RPC methods for DurableObjects (#17424)
By default,
Sentry.instrumentDurableObjectWithSentrywill not wrap any RPC methods on the prototype. To enable wrapping for RPC methods, setinstrumentPrototypeMethodstotrueor, if performance is a concern, a list of only the methods you want to instrument:class MyDurableObjectBase extends DurableObject<Env> { method1() { // ... } method2() { // ... } method3() { // ... } } // Export your named class as defined in your wrangler config export const MyDurableObject = Sentry.instrumentDurableObjectWithSentry( (env: Env) => ({ dsn: "https://ac49b7af3017c458bd12dab9b3328bfc@o4508482761982032.ingest.de.sentry.io/4508482780987481", tracesSampleRate: 1.0, instrumentPrototypeMethods: ['method1', 'method3'], }), MyDurableObjectBase, ); - feat(cloudflare): Add
- 10.6.026 Aug 2025
Release notes
Open source โImportant Changes
- feat(node): Add Anthropic AI integration (#17348)
This release adds support for automatically tracing Anthropic AI SDK requests, providing better observability for AI-powered applications.
- fix(core): Instrument invoke_agent root span, and support Vercel
aiv5 (#17395)
This release makes the Sentry
vercelAiIntegrationcompatible with version 5 of Vercelai.- docs(nuxt): Remove beta notice (#17400)
The Sentry Nuxt SDK is now considered stable and no longer in beta!
Other Changes
- feat(astro): Align options with shared build time options type (#17396)
- feat(aws): Add support for automatic wrapping in ESM (#17407)
- feat(node): Add an instrumentation interface for Hono (#17366)
- fix(browser): Use
DedicatedWorkerGlobalScopeglobal object type inregisterWebWorker(#17447) - fix(core): Only consider ingest endpoint requests when checking
isSentryRequestUrl(#17393) - fix(node): Fix preloading of instrumentation (#17403)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Add external contributor to CHANGELOG.md (#17449)
- chore(deps): bump astro from 4.16.18 to 4.16.19 in /dev-packages/e2e-tests/test-applications/astro-4 (#17434)
- test(e2e/firebase): Fix firebase e2e test failing due to outdated rules file (#17448)
- test(nextjs): Fix canary tests (#17416)
- test(nuxt): Don't rely on flushing for lowQualityTransactionFilter (#17406)
- test(solidstart): Don't rely on flushing for lowQualityTransactionFilter (#17408)
</details>
Work in this release was contributed by @Karibash. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.59 KB @sentry/browser - with treeshaking flags 22.2 KB @sentry/browser (incl. Tracing) 38.94 KB @sentry/browser (incl. Tracing, Replay) 76.21 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.28 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.79 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.62 KB @sentry/browser (incl. Feedback) 39.88 KB @sentry/browser (incl. sendFeedback) 28.13 KB @sentry/browser (incl. FeedbackAsync) 32.92 KB @sentry/react 25.27 KB @sentry/react (incl. Tracing) 40.88 KB @sentry/vue 27.97 KB @sentry/vue (incl. Tracing) 40.72 KB @sentry/svelte 23.62 KB CDN Bundle 25.06 KB CDN Bundle (incl. Tracing) 38.82 KB CDN Bundle (incl. Tracing, Replay) 74.09 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.41 KB CDN Bundle - uncompressed 73.2 KB CDN Bundle (incl. Tracing) - uncompressed 114.83 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.51 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.82 KB @sentry/nextjs (client) 42.86 KB @sentry/sveltekit (client) 39.38 KB @sentry/node-core 46.86 KB @sentry/node 144.94 KB @sentry/node - without tracing 90.08 KB @sentry/aws-serverless 102.01 KB Release notes
Open source โImportant Changes
- feat(node): Add Anthropic AI integration (#17348)
This release adds support for automatically tracing Anthropic AI SDK requests, providing better observability for AI-powered applications.
- fix(core): Instrument invoke_agent root span, and support Vercel
aiv5 (#17395)
This release makes the Sentry
vercelAiIntegrationcompatible with version 5 of Vercelai.- docs(nuxt): Remove beta notice (#17400)
The Sentry Nuxt SDK is now considered stable and no longer in beta!
Other Changes
- feat(astro): Align options with shared build time options type (#17396)
- feat(aws): Add support for automatic wrapping in ESM (#17407)
- feat(node): Add an instrumentation interface for Hono (#17366)
- fix(browser): Use
DedicatedWorkerGlobalScopeglobal object type inregisterWebWorker(#17447) - fix(core): Only consider ingest endpoint requests when checking
isSentryRequestUrl(#17393) - fix(node): Fix preloading of instrumentation (#17403)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore: Add external contributor to CHANGELOG.md (#17449)
- chore(deps): bump astro from 4.16.18 to 4.16.19 in /dev-packages/e2e-tests/test-applications/astro-4 (#17434)
- test(e2e/firebase): Fix firebase e2e test failing due to outdated rules file (#17448)
- test(nextjs): Fix canary tests (#17416)
- test(nuxt): Don't rely on flushing for lowQualityTransactionFilter (#17406)
- test(solidstart): Don't rely on flushing for lowQualityTransactionFilter (#17408)
</details>
- 10.5.012 Aug 2025
Release notes
Open source โ- feat(core): Better cause data extraction (#17375)
- feat(deps): Bump @sentry/cli from 2.50.2 to 2.51.1 (#17382)
- feat(deps): Bump @sentry/rollup-plugin and @sentry/vite-plugin from 4.0.2 to 4.1.0 (#17383)
- feat(deps): Bump @sentry/webpack-plugin from 4.0.2 to 4.1.0 (#17381)
- feat(node): Capture
SystemErrorcontext and remove paths from message (#17331) - fix(nextjs): Inject Next.js version for dev symbolication (#17379)
- fix(mcp-server): Add defensive patches for Transport edge cases (#17291)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore(repo): Adjust "Publishing a Release" document to include internal changes section in changelog (#17374)
- test(aws): Run E2E tests with AWS SAM (#17367)
- test(node): Add tests for full http.server span attribute coverage (#17373)
</details>
Work in this release was contributed by @ha1fstack. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.59 KB @sentry/browser - with treeshaking flags 22.2 KB @sentry/browser (incl. Tracing) 38.94 KB @sentry/browser (incl. Tracing, Replay) 76.16 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.24 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.75 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.57 KB @sentry/browser (incl. Feedback) 39.87 KB @sentry/browser (incl. sendFeedback) 28.13 KB @sentry/browser (incl. FeedbackAsync) 32.92 KB @sentry/react 25.27 KB @sentry/react (incl. Tracing) 40.88 KB @sentry/vue 27.97 KB @sentry/vue (incl. Tracing) 40.72 KB @sentry/svelte 23.62 KB CDN Bundle 25.06 KB CDN Bundle (incl. Tracing) 38.82 KB CDN Bundle (incl. Tracing, Replay) 74.04 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.36 KB CDN Bundle - uncompressed 73.2 KB CDN Bundle (incl. Tracing) - uncompressed 114.83 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.44 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.75 KB @sentry/nextjs (client) 42.86 KB @sentry/sveltekit (client) 39.38 KB @sentry/node-core 46.86 KB @sentry/node 143.58 KB @sentry/node - without tracing 90.08 KB @sentry/aws-serverless 101.24 KB Release notes
Open source โ- feat(core): better cause data extraction (#17375)
- feat(deps): Bump @sentry/cli from 2.50.2 to 2.51.1 (#17382)
- feat(deps): Bump @sentry/rollup-plugin and @sentry/vite-plugin from 4.0.2 to 4.1.0 (#17383)
- feat(deps): Bump @sentry/webpack-plugin from 4.0.2 to 4.1.0 (#17381)
- feat(node): Capture
SystemErrorcontext and remove paths from message (#17331) - fix(nextjs): Inject Next.js version for dev symbolication (#17379)
- fix(mcp-server): Add defensive patches for Transport edge cases (#17291)
<details> <summary> <strong>Internal Changes</strong> </summary>
- chore(repo): Adjust "Publishing a Release" document to include internal changes section in changelog (#17374)
- test(aws): Run E2E tests with AWS SAM (#17367)
- test(node): Add tests for full http.server span attribute coverage (#17373)
</details>
Work in this release was contributed by @ha1fstack. Thank you for your contribution!
- 10.4.011 Aug 2025
Release notes
Open source โImportant Changes
- fix(browser): Ensure IP address is only inferred by Relay if
sendDefaultPiiistrue
This release includes a fix for a behaviour change that was originally introduced with v9 of the SDK: User IP Addresses should only be added to Sentry events automatically, if
sendDefaultPiiwas set totrue.However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK. Unfortunately, the change did not make it into the initial v10 version but is now applied with
10.4.0. There is no API breakage involved and hence it is safe to update. However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include user IP addresses, if you setsendDefaultPii: truein yourSentry.initoptions.We apologize for any inconvenience caused!
- feat(node): Add
ignoreStaticAssets(#17370)
This release adds a new option to
httpIntegrationto ignore requests for static assets (e.g.favicon.xmlorrobots.txt). The option defaults totrue, meaning that going forward, such requests will not be traced by default. You can still enable tracing for these requests by setting the option tofalse:Sentry.init({ integrations: [ Sentry.httpIntegration({ // defaults to true, set to false to enable traces for static assets ignoreStaticAssets: false, }), ], });Other Changes
- fix(nuxt): Do not drop parametrized routes (#17357)
<details> <summary> <strong>Internal Changes</strong> </summary>
- ref(node): Split up incoming & outgoing http handling (#17358)
- test(node): Enable additionalDependencies in integration runner (#17361)
</details>
Bundle size ๐ฆ
Path Size @sentry/browser 23.59 KB @sentry/browser - with treeshaking flags 22.2 KB @sentry/browser (incl. Tracing) 38.94 KB @sentry/browser (incl. Tracing, Replay) 76.16 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.24 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.75 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.57 KB @sentry/browser (incl. Feedback) 39.87 KB @sentry/browser (incl. sendFeedback) 28.13 KB @sentry/browser (incl. FeedbackAsync) 32.92 KB @sentry/react 25.27 KB @sentry/react (incl. Tracing) 40.88 KB @sentry/vue 27.97 KB @sentry/vue (incl. Tracing) 40.72 KB @sentry/svelte 23.62 KB CDN Bundle 25.06 KB CDN Bundle (incl. Tracing) 38.82 KB CDN Bundle (incl. Tracing, Replay) 74.04 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.36 KB CDN Bundle - uncompressed 73.2 KB CDN Bundle (incl. Tracing) - uncompressed 114.83 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.44 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.75 KB @sentry/nextjs (client) 42.86 KB @sentry/sveltekit (client) 39.38 KB @sentry/node-core 46.69 KB @sentry/node 143.39 KB @sentry/node - without tracing 89.89 KB @sentry/aws-serverless 101.05 KB Release notes
Open source โImportant Changes
- fix(browser): Ensure IP address is only inferred by Relay if
sendDefaultPiiistrue
This release includes a fix for a behaviour change that was originally introduced with v9 of the SDK: User IP Addresses should only be added to Sentry events automatically, if
sendDefaultPiiwas set totrue.However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK. Unfortunately, the change did not make it into the initial v10 version but is now applied with
10.4.0. There is no API breakage involved and hence it is safe to update. However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include user IP addresses, if you setsendDefaultPii: truein yourSentry.initoptions.We apologize for any inconvenience caused!
- feat(node): Add
ignoreStaticAssets(#17370)
This release adds a new option to
httpIntegrationto ignore requests for static assets (e.g.favicon.xmlorrobots.txt). The option defaults totrue, meaning that going forward, such requests will not be traced by default. You can still enable tracing for these requests by setting the option tofalse:Sentry.init({ integrations: [ Sentry.httpIntegration({ // defaults to true, set to false to enable traces for static assets ignoreStaticAssets: false, }), ], });Other Changes
- fix(nuxt): Do not drop parametrized routes (#17357)
<details> <summary> <strong>Internal Changes</strong> </summary>
- ref(node): Split up incoming & outgoing http handling (#17358)
- test(node): Enable additionalDependencies in integration runner (#17361)
</details>
- fix(browser): Ensure IP address is only inferred by Relay if
- 10.3.08 Aug 2025
Release notes
Open source โ- feat(core): MCP Server - Capture prompt results from prompt function calls (#17284)
- feat(bun): Export
skipOpenTelemetrySetupoption (#17349) - feat(sveltekit): Streamline build logs (#17306)
- fix(browser): Handle data urls in errors caught by
globalHandlersIntegration(#17216) - fix(browser): Improve navigation vs. redirect detection (#17275)
- fix(react-router): Ensure source map upload fails silently if Sentry CLI fails (#17081)
- fix(react): Add support for React Router sub-routes from
handle(#17277)
Bundle size ๐ฆ
Path Size @sentry/browser 23.55 KB @sentry/browser - with treeshaking flags 22.15 KB @sentry/browser (incl. Tracing) 38.89 KB @sentry/browser (incl. Tracing, Replay) 76.1 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.18 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.69 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.51 KB @sentry/browser (incl. Feedback) 39.81 KB @sentry/browser (incl. sendFeedback) 28.1 KB @sentry/browser (incl. FeedbackAsync) 32.87 KB @sentry/react 25.22 KB @sentry/react (incl. Tracing) 40.82 KB @sentry/vue 27.92 KB @sentry/vue (incl. Tracing) 40.67 KB @sentry/svelte 23.58 KB CDN Bundle 25.02 KB CDN Bundle (incl. Tracing) 38.79 KB CDN Bundle (incl. Tracing, Replay) 73.99 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.28 KB CDN Bundle - uncompressed 73.13 KB CDN Bundle (incl. Tracing) - uncompressed 114.76 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.35 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.66 KB @sentry/nextjs (client) 42.81 KB @sentry/sveltekit (client) 39.33 KB @sentry/node-core 46.61 KB @sentry/node 143.18 KB @sentry/node - without tracing 89.68 KB @sentry/aws-serverless 100.85 KB Release notes
Open source โ- feat(core): MCP Server - Capture prompt results from prompt function calls (#17284)
- feat(bun): Export
skipOpenTelemetrySetupoption (#17349) - feat(sveltekit): Streamline build logs (#17306)
- fix(browser): Handle data urls in errors caught by
globalHandlersIntegration(#17216) - fix(browser): Improve navigation vs. redirect detection (#17275)
- fix(react-router): Ensure source map upload fails silently if Sentry CLI fails (#17081)
- fix(react): Add support for React Router sub-routes from
handle(#17277)
- 10.2.06 Aug 2025
Release notes
Open source โImportant Changes
- feat(core): Add
ignoreSpansoption (#17078)
This release adds a new top-level
Sentry.initoption,ignoreSpans, that can be used as follows:Sentry.init({ ignoreSpans: [ 'partial match', // string matching on the span name /regex/, // regex matching on the span name { name: 'span name', op: /http.client/, }, ], });Spans matching the filter criteria will not be recorded. Potential child spans of filtered spans will be re-parented, if possible.
- feat(cloudflare,vercel-edge): Add support for OpenAI instrumentation (#17338)
Adds support for OpenAI manual instrumentation in
@sentry/cloudflareand@sentry/vercel-edge.To instrument the OpenAI client, wrap it with
Sentry.instrumentOpenAiClientand set recording settings.import * as Sentry from '@sentry/cloudflare'; import OpenAI from 'openai'; const openai = new OpenAI(); const client = Sentry.instrumentOpenAiClient(openai, { recordInputs: true, recordOutputs: true }); // use the wrapped client- ref(aws): Remove manual span creation (#17310)
The
startTraceoption is deprecated and will be removed in a future major version. If you want to disable tracing, setSENTRY_TRACES_SAMPLE_RATEto0.0. instead. As of today, the flag does not affect traces anymore.Other Changes
- feat(astro): Streamline build logs (#17301)
- feat(browser): Handles data URIs in chrome stack frames (#17292)
- feat(core): Accumulate tokens for
gen_ai.invoke_agentspans from child LLM calls (#17281) - feat(deps): Bump @prisma/instrumentation from 6.12.0 to 6.13.0 (#17315)
- feat(deps): Bump @sentry/cli from 2.50.0 to 2.50.2 (#17316)
- feat(deps): Bump @sentry/rollup-plugin from 4.0.0 to 4.0.2 (#17317)
- feat(deps): Bump @sentry/webpack-plugin from 4.0.0 to 4.0.2 (#17314)
- feat(nuxt): Do not inject trace meta-tags on cached HTML pages (#17305)
- feat(nuxt): Streamline build logs (#17308)
- feat(react-router): Add support for Hydrogen with RR7 (#17145)
- feat(react-router): Streamline build logs (#17303)
- feat(solidstart): Streamline build logs (#17304)
- fix(nestjs): Add missing
sentry.originspan attribute toSentryTraceddecorator (#17318) - fix(node): Assign default export of
openaito the instrumented fn (#17320) - fix(replay): Call
sendBufferedReplayOrFlushwhen opening/sending feedback (#17236)
Bundle size ๐ฆ
Path Size @sentry/browser 23.48 KB @sentry/browser - with treeshaking flags 22.09 KB @sentry/browser (incl. Tracing) 38.82 KB @sentry/browser (incl. Tracing, Replay) 76.03 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.11 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.62 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.44 KB @sentry/browser (incl. Feedback) 39.74 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.81 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 40.72 KB @sentry/vue 27.84 KB @sentry/vue (incl. Tracing) 40.59 KB @sentry/svelte 23.51 KB CDN Bundle 24.95 KB CDN Bundle (incl. Tracing) 38.71 KB CDN Bundle (incl. Tracing, Replay) 73.92 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.21 KB CDN Bundle - uncompressed 72.95 KB CDN Bundle (incl. Tracing) - uncompressed 114.57 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.16 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.47 KB @sentry/nextjs (client) 42.72 KB @sentry/sveltekit (client) 39.25 KB @sentry/node-core 46.61 KB @sentry/node 143.18 KB @sentry/node - without tracing 89.68 KB @sentry/aws-serverless 100.85 KB Release notes
Open source โImportant Changes
- feat(core): Add
ignoreSpansoption (#17078)
This release adds a new top-level
Sentry.initoption,ignoreSpans, that can be used as follows:Sentry.init({ ignoreSpans: [ 'partial match', // string matching on the span name /regex/, // regex matching on the span name { name: 'span name', op: /http.client/, }, ], });Spans matching the filter criteria will not be recorded. Potential child spans of filtered spans will be re-parented, if possible.
- feat(cloudflare,vercel-edge): Add support for OpenAI instrumentation (#17338)
Adds support for OpenAI manual instrumentation in
@sentry/cloudflareand@sentry/vercel-edge.To instrument the OpenAI client, wrap it with
Sentry.instrumentOpenAiClientand set recording settings.import * as Sentry from '@sentry/cloudflare'; import OpenAI from 'openai'; const openai = new OpenAI(); const client = Sentry.instrumentOpenAiClient(openai, { recordInputs: true, recordOutputs: true }); // use the wrapped client- ref(aws): Remove manual span creation (#17310)
The
startTraceoption is deprecated and will be removed in a future major version. If you want to disable tracing, setSENTRY_TRACES_SAMPLE_RATEto0.0. instead. As of today, the flag does not affect traces anymore.Other Changes
- feat(astro): Streamline build logs (#17301)
- feat(browser): Handles data URIs in chrome stack frames (#17292)
- feat(core): Accumulate tokens for
gen_ai.invoke_agentspans from child LLM calls (#17281) - feat(deps): Bump @prisma/instrumentation from 6.12.0 to 6.13.0 (#17315)
- feat(deps): Bump @sentry/cli from 2.50.0 to 2.50.2 (#17316)
- feat(deps): Bump @sentry/rollup-plugin from 4.0.0 to 4.0.2 (#17317)
- feat(deps): Bump @sentry/webpack-plugin from 4.0.0 to 4.0.2 (#17314)
- feat(nuxt): Do not inject trace meta-tags on cached HTML pages (#17305)
- feat(nuxt): Streamline build logs (#17308)
- feat(react-router): Add support for Hydrogen with RR7 (#17145)
- feat(react-router): Streamline build logs (#17303)
- feat(solidstart): Streamline build logs (#17304)
- fix(nestjs): Add missing
sentry.originspan attribute toSentryTraceddecorator (#17318) - fix(node): Assign default export of
openaito the instrumented fn (#17320) - fix(replay): Call
sendBufferedReplayOrFlushwhen opening/sending feedback (#17236)
- feat(core): Add
- 10.1.04 Aug 2025
Release notes
Open source โ- feat(nuxt): Align build-time options to follow bundler plugins structure (#17255)
- fix(browser-utils): Ensure web vital client hooks unsubscribe correctly (#17272)
- fix(browser): Ensure request from
diagnoseSdkConnectivitydoesn't create span (#17280)
Bundle size ๐ฆ
Path Size @sentry/browser 23.21 KB @sentry/browser - with treeshaking flags 21.82 KB @sentry/browser (incl. Tracing) 38.51 KB @sentry/browser (incl. Tracing, Replay) 75.7 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.81 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.29 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.14 KB @sentry/browser (incl. Feedback) 39.5 KB @sentry/browser (incl. sendFeedback) 27.78 KB @sentry/browser (incl. FeedbackAsync) 32.56 KB @sentry/react 24.9 KB @sentry/react (incl. Tracing) 40.43 KB @sentry/vue 27.54 KB @sentry/vue (incl. Tracing) 40.27 KB @sentry/svelte 23.23 KB CDN Bundle 24.69 KB CDN Bundle (incl. Tracing) 38.38 KB CDN Bundle (incl. Tracing, Replay) 73.62 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.92 KB CDN Bundle - uncompressed 72.13 KB CDN Bundle (incl. Tracing) - uncompressed 113.62 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.16 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 237.67 KB @sentry/nextjs (client) 42.44 KB @sentry/sveltekit (client) 38.93 KB @sentry/node-core 46.41 KB @sentry/node 142.76 KB @sentry/node - without tracing 89.48 KB @sentry/aws-serverless 100.67 KB - 10.0.031 Jul 2025
Release notes
Open source โVersion
10.0.0marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to primarily upgrade the underlying OpenTelemetry dependencies to v2 with minimal breaking changes.How To Upgrade
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 9 to version 10. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/
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
- feat!: Bump to OpenTelemetry v2 (#16872)
- feat(browser)!: Remove FID web vital collection (#17076)
- feat(core)!: Remove
BaseClient(#17071) - feat(core)!: Remove
enableLogsandbeforeSendLogexperimental options (#17063) - feat(core)!: Remove
hasTracingEnabled(#17072) - feat(core)!: Remove deprecated logger (#17061)
- feat(replay)!: Promote
_experiments.autoFlushOnFeedbackoption as default (#17220) - chore(deps)!: Bump bundler plugins to v4 (#17089)
Other Changes
- feat(astro): Implement Request Route Parametrization for Astro 5 (#17105)
- feat(astro): Parametrize routes on client-side (#17133)
- feat(aws): Add
SentryNodeServerlessSDKv10v10 AWS Lambda Layer (#17069) - feat(aws): Create unified lambda layer for ESM and CJS (#17012)
- feat(aws): Detect SDK source for AWS Lambda layer (#17128)
- feat(core): Add missing openai tool calls attributes (#17226)
- feat(core): Add shared
flushIfServerlessfunction (#17177) - feat(core): Implement
strictTraceContinuation(#16313) - feat(core): MCP server instrumentation without breaking Miniflare (#16817)
- feat(deps): bump @prisma/instrumentation from 6.11.1 to 6.12.0 (#17117)
- feat(meta): Unify detection of serverless environments and add Cloud Run (#17168)
- feat(nestjs): Switch to OTel core instrumentation (#17068)
- feat(node-native): Upgrade
@sentry-internal/node-native-stacktraceto0.2.2(#17207) - feat(node): Add
shouldHandleErroroption tofastifyIntegration(#16845) - feat(node): Add firebase integration (#16719)
- feat(node): Instrument stream responses for openai (#17110)
- feat(react-router): Add
createSentryHandleError(#17235) - feat(react-router): Automatically flush on serverless for loaders/actions (#17234)
- feat(react-router): Automatically flush on Vercel for request handlers (#17232)
- fix(astro): Construct parametrized route during runtime (#17190)
- fix(aws): Add layer build output to nx cache (#17148)
- fix(aws): Fix path to packages directory (#17112)
- fix(aws): Resolve all Sentry packages to local versions in layer build (#17106)
- fix(aws): Use file link in dependency version (#17111)
- fix(cloudflare): Allow non uuid workflow instance IDs (#17121)
- fix(cloudflare): Avoid turning DurableObject sync methods into async (#17184)
- fix(core): Fix OpenAI SDK private field access by binding non-instrumented fns (#17163)
- fix(core): Fix operation name for openai responses API (#17206)
- fix(core): Update ai.response.object to gen_ai.response.object (#17153)
- fix(nextjs): Flush in route handlers (#17223)
- fix(nextjs): Handle async params in url extraction (#17162)
- fix(nextjs): Update stackframe calls for next v15.5 (#17156)
- fix(node): Add mechanism to
fastifyIntegrationerror handler (#17208) - fix(node): Ensure tool errors for
vercelAiIntegrationhave correct trace connected (#17132) - fix(node): Fix exports for openai instrumentation (#17238)
- fix(node): Handle stack traces with data URI filenames (#17218)
- fix(react): Memoize wrapped component to prevent rerenders (#17230)
- fix(remix): Ensure source maps upload fails silently if Sentry CLI fails (#17082)
- fix(replay): Fix re-sampled sessions after a click (#17008)
- fix(svelte): Do not insert preprocess code in script module in Svelte 5 (#17114)
- fix(sveltekit): Align error status filtering and mechanism in
handleErrorWithSentry(#17157)
Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.21 KB @sentry/browser - with treeshaking flags 21.82 KB @sentry/browser (incl. Tracing) 38.49 KB @sentry/browser (incl. Tracing, Replay) 75.68 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.78 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.27 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.11 KB @sentry/browser (incl. Feedback) 39.5 KB @sentry/browser (incl. sendFeedback) 27.78 KB @sentry/browser (incl. FeedbackAsync) 32.56 KB @sentry/react 24.9 KB @sentry/react (incl. Tracing) 40.41 KB @sentry/vue 27.54 KB @sentry/vue (incl. Tracing) 40.25 KB @sentry/svelte 23.23 KB CDN Bundle 24.69 KB CDN Bundle (incl. Tracing) 38.37 KB CDN Bundle (incl. Tracing, Replay) 73.61 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.91 KB CDN Bundle - uncompressed 72.13 KB CDN Bundle (incl. Tracing) - uncompressed 113.57 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.11 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 237.62 KB @sentry/nextjs (client) 42.42 KB @sentry/sveltekit (client) 38.91 KB @sentry/node-core 46.41 KB @sentry/node 142.76 KB @sentry/node - without tracing 89.48 KB @sentry/aws-serverless 100.67 KB Release notes
Open source โVersion
10.0.0marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to primarily upgrade the underlying OpenTelemetry dependencies to v2 with minimal breaking changes.How To Upgrade
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 9 to version 10. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/
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
- feat!: Bump to OpenTelemetry v2 (#16872)
- feat(browser)!: Remove FID web vital collection (#17076)
- feat(core)!: Remove
BaseClient(#17071) - feat(core)!: Remove
enableLogsandbeforeSendLogexperimental options (#17063) - feat(core)!: Remove
hasTracingEnabled(#17072) - feat(core)!: Remove deprecated logger (#17061)
- feat(replay)!: Promote
_experiments.autoFlushOnFeedbackoption as default (#17220) - chore(deps)!: Bump bundler plugins to v4 (#17089)
Other Changes
- feat(astro): Implement Request Route Parametrization for Astro 5 (#17105)
- feat(astro): Parametrize routes on client-side (#17133)
- feat(aws): Add
SentryNodeServerlessSDKv10v10 AWS Lambda Layer (#17069) - feat(aws): Create unified lambda layer for ESM and CJS (#17012)
- feat(aws): Detect SDK source for AWS Lambda layer (#17128)
- feat(core): Add missing openai tool calls attributes (#17226)
- feat(core): Add shared
flushIfServerlessfunction (#17177) - feat(core): Implement
strictTraceContinuation(#16313) - feat(core): MCP server instrumentation without breaking Miniflare (#16817)
- feat(deps): bump @prisma/instrumentation from 6.11.1 to 6.12.0 (#17117)
- feat(meta): Unify detection of serverless environments and add Cloud Run (#17168)
- feat(nestjs): Switch to OTel core instrumentation (#17068)
- feat(node-native): Upgrade
@sentry-internal/node-native-stacktraceto0.2.2(#17207) - feat(node): Add
shouldHandleErroroption tofastifyIntegration(#16845) - feat(node): Add firebase integration (#16719)
- feat(node): Instrument stream responses for openai (#17110)
- feat(react-router): Add
createSentryHandleError(#17235) - feat(react-router): Automatically flush on serverless for loaders/actions (#17234)
- feat(react-router): Automatically flush on Vercel for request handlers (#17232)
- fix(astro): Construct parametrized route during runtime (#17190)
- fix(aws): Add layer build output to nx cache (#17148)
- fix(aws): Fix path to packages directory (#17112)
- fix(aws): Resolve all Sentry packages to local versions in layer build (#17106)
- fix(aws): Use file link in dependency version (#17111)
- fix(cloudflare): Allow non uuid workflow instance IDs (#17121)
- fix(cloudflare): Avoid turning DurableObject sync methods into async (#17184)
- fix(core): Fix OpenAI SDK private field access by binding non-instrumented fns (#17163)
- fix(core): Fix operation name for openai responses API (#17206)
- fix(core): Update ai.response.object to gen_ai.response.object (#17153)
- fix(nextjs): Flush in route handlers (#17223)
- fix(nextjs): Handle async params in url extraction (#17162)
- fix(nextjs): Update stackframe calls for next v15.5 (#17156)
- fix(node): Add mechanism to
fastifyIntegrationerror handler (#17208) - fix(node): Ensure tool errors for
vercelAiIntegrationhave correct trace connected (#17132) - fix(node): Fix exports for openai instrumentation (#17238)
- fix(node): Handle stack traces with data URI filenames (#17218)
- fix(react): Memoize wrapped component to prevent rerenders (#17230)
- fix(remix): Ensure source maps upload fails silently if Sentry CLI fails (#17082)
- fix(replay): Fix re-sampled sessions after a click (#17008)
- fix(svelte): Do not insert preprocess code in script module in Svelte 5 (#17114)
- fix(sveltekit): Align error status filtering and mechanism in
handleErrorWithSentry(#17157)
Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!
- 10.0.0-beta.030 Jul 2025pre-release
Release notes
Open source โThis is a beta release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per
10.0.0-beta.0.Please note that the migration guide is work in progress and subject to change.
Bundle size ๐ฆ
Path Size @sentry/browser 23.21 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.49 KB @sentry/browser (incl. Tracing, Replay) 75.72 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.82 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.31 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.15 KB @sentry/browser (incl. Feedback) 39.5 KB @sentry/browser (incl. sendFeedback) 27.78 KB @sentry/browser (incl. FeedbackAsync) 32.56 KB @sentry/react 24.9 KB @sentry/react (incl. Tracing) 40.42 KB @sentry/vue 27.54 KB @sentry/vue (incl. Tracing) 40.25 KB @sentry/svelte 23.23 KB CDN Bundle 24.69 KB CDN Bundle (incl. Tracing) 38.37 KB CDN Bundle (incl. Tracing, Replay) 73.64 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.94 KB CDN Bundle - uncompressed 72.13 KB CDN Bundle (incl. Tracing) - uncompressed 113.57 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.2 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 237.71 KB @sentry/nextjs (client) 42.42 KB @sentry/sveltekit (client) 38.91 KB @sentry/node-core 46.35 KB @sentry/node 142.36 KB @sentry/node - without tracing 89.42 KB @sentry/aws-serverless 100.6 KB - 10.0.0-alpha.224 Jul 2025pre-release
Release notes
Open source โThis is an alpha release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per
10.0.0-alpha.1.Please note that the migration guide is work in progress and subject to change.
- 10.0.0-alpha.121 Jul 2025pre-release
Release notes
Open source โThis is an alpha release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per
10.0.0-alpha.1.Please note that the migration guide is work in progress and subject to change.
Bundle size ๐ฆ
Path Size @sentry/browser 23.2 KB @sentry/browser - with treeshaking flags 21.81 KB @sentry/browser (incl. Tracing) 38.68 KB @sentry/browser (incl. Tracing, Replay) 75.95 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.55 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.36 KB @sentry/browser (incl. Feedback) 39.5 KB @sentry/browser (incl. sendFeedback) 27.76 KB @sentry/browser (incl. FeedbackAsync) 32.55 KB @sentry/react 24.9 KB @sentry/react (incl. Tracing) 40.61 KB @sentry/vue 27.52 KB @sentry/vue (incl. Tracing) 40.43 KB @sentry/svelte 23.22 KB CDN Bundle 24.58 KB CDN Bundle (incl. Tracing) 38.48 KB CDN Bundle (incl. Tracing, Replay) 73.64 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.99 KB CDN Bundle - uncompressed 71.71 KB CDN Bundle (incl. Tracing) - uncompressed 114.1 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.56 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.07 KB @sentry/nextjs (client) 42.59 KB @sentry/sveltekit (client) 39.09 KB @sentry/node-core 46.12 KB @sentry/node 140.43 KB @sentry/node - without tracing 89.16 KB @sentry/aws-serverless 100.33 KB - 10.0.0-alpha.021 Jul 2025pre-release
Nothing published for this version
- 9.47.117 Nov 2025
Release notes
Open source โ- fix(v9/core): Fix logs flush timeout starvation with continuous logging (#18214)
Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 76.11 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.13 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.69 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.54 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.59 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.5 KB CDN Bundle (incl. Tracing, Replay) 73.78 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.12 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.32 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.83 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.43 KB @sentry/node - without tracing 98.19 KB @sentry/aws-serverless 125.68 KB - 9.47.017 Nov 2025
Release notes
Open source โ- feat(replay/v9): Add option to skip requestAnimationFrame for canvas snapshots (#17426)
- fix(v9/core): Ensure logs past
MAX_LOG_BUFFER_SIZEare not swallowed (#18213)
<details> <summary> <strong>Internal Changes</strong> </summary>
- fix(v9/e2e-tests): Fix various e2e tests (#18226) </details>
Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 76.11 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.13 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.69 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.54 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.59 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.5 KB CDN Bundle (incl. Tracing, Replay) 73.78 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.12 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.32 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.83 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.4 KB @sentry/node - without tracing 98.16 KB @sentry/aws-serverless 125.65 KB - 9.46.013 Aug 2025
Release notes
Open source โ- feat(v9/node): Capture
SystemErrorcontext and remove paths from message (#17394) - fix(v9/mcp): capture prompt results and add defensive edge cases for transport instrumentation (#17401)
- fix(v9/nuxt): Do not drop parametrized routes (#17357) (#17359)
Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.94 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.98 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.34 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.59 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.97 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.6 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.11 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.4 KB @sentry/node - without tracing 98.16 KB @sentry/aws-serverless 125.65 KB - feat(v9/node): Capture
- 9.45.08 Aug 2025
Release notes
Open source โ- feat(v9/nuxt): Do not inject trace meta-tags on cached HTML pages (#17305) (#17319)
- fix(v9/node): Assign default export of
openaito the instrumented fn (#17353)
Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.94 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.98 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.34 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.59 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.97 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.6 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.11 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.23 KB @sentry/node - without tracing 97.96 KB @sentry/aws-serverless 125.47 KB - 9.44.24 Aug 2025
Release notes
Open source โThis release is publishing the AWS Lambda Layer under
SentryNodeServerlessSDKv9. The previous release9.44.1accidentally published the layer underSentryNodeServerlessSDKv10.Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.95 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.98 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.34 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.59 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.97 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.6 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.11 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.21 KB @sentry/node - without tracing 97.96 KB @sentry/aws-serverless 125.46 KB Release notes
Open source โThis release is publishing the AWS Lambda Layer under
SentryNodeServerlessSDKv9. The previous release9.44.1accidentally published the layer underSentryNodeServerlessSDKv10. - 9.44.14 Aug 2025
Release notes
Open source โ- fix(replay/v9): Call sendBufferedReplayOrFlush when opening/sending feedback (#17270)
Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.94 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.98 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.34 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.59 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.97 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.6 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.11 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.21 KB @sentry/node - without tracing 97.96 KB @sentry/aws-serverless 125.46 KB Release notes
Open source โ- fix(replay/v9): Call sendBufferedReplayOrFlush when opening/sending feedback (#17270)
- 9.44.031 Jul 2025
Release notes
Open source โ- feat(replay/v9): Deprecate
_experiments.autoFlushOnFeedback(#17219) - feat(v9/core): Add shared
flushIfServerlessfunction (#17239) - feat(v9/node-native): Upgrade
@sentry-internal/node-native-stacktraceto0.2.2(#17256) - feat(v9/react-router): Add
createSentryHandleError(#17244) - feat(v9/react-router): Automatically flush on serverless for loaders/actions (#17243)
- feat(v9/react-router): Automatically flush on serverless for request handler (#17242)
- fix(v9/astro): Construct parametrized route during runtime (#17227)
- fix(v9/nextjs): Flush in route handlers (#17245)
- fix(v9/node): Fix exports for openai instrumentation (#17238) (#17241)
Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.94 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.98 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.34 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.59 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.62 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.97 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.56 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.07 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.21 KB @sentry/node - without tracing 97.96 KB @sentry/aws-serverless 125.46 KB Release notes
Open source โ- feat(replay/v9): Deprecate
_experiments.autoFlushOnFeedback(#17219) - feat(v9/core): Add shared
flushIfServerlessfunction (#17239) - feat(v9/node-native): Upgrade
@sentry-internal/node-native-stacktraceto0.2.2(#17256) - feat(v9/react-router): Add
createSentryHandleError(#17244) - feat(v9/react-router): Automatically flush on serverless for loaders/actions (#17243)
- feat(v9/react-router): Automatically flush on serverless for request handler (#17242)
- fix(v9/astro): Construct parametrized route during runtime (#17227)
- fix(v9/nextjs): Flush in route handlers (#17245)
- fix(v9/node): Fix exports for openai instrumentation (#17238) (#17241)
- feat(replay/v9): Deprecate
- 9.43.029 Jul 2025
Release notes
Open source โ- feat(v9/core): add MCP server instrumentation (#17196)
- feat(v9/meta): Unify detection of serverless environments and add Cloud Run (#17204)
- fix(v9/node): Add mechanism to
fastifyIntegrationerror handler (#17211) - fix(v9/replay): Fix re-sampled sessions after a click (#17195)
Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.98 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.02 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.57 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.38 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.59 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.66 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.65 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.16 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.2 KB @sentry/node - without tracing 97.96 KB @sentry/aws-serverless 125.46 KB - 9.42.128 Jul 2025
Release notes
Open source โ- fix(v9/astro): Revert Astro v5 storing route data to
globalThis(#17185) - fix(v9/cloudflare): Avoid turning DurableObject sync methods into async (#17187)
- fix(v9/nextjs): Handle async params in url extraction (#17176)
- fix(v9/sveltekit): Align error status filtering and mechanism in
handleErrorWithSentry(#17174)
Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.97 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.01 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.56 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.38 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.59 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.65 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.99 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.59 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.1 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.18 KB @sentry/node - without tracing 97.96 KB @sentry/aws-serverless 125.46 KB Release notes
Open source โ- fix(v9/astro): Revert Astro v5 storing route data to
globalThis(#17185) - fix(v9/cloudflare): Avoid turning DurableObject sync methods into async (#17187)
- fix(v9/nextjs): Handle async params in url extraction (#17176)
- fix(v9/sveltekit): Align error status filtering and mechanism in
handleErrorWithSentry(#17174)
- fix(v9/astro): Revert Astro v5 storing route data to
- 9.42.025 Jul 2025
Release notes
Open source โ- feat(v9/aws): Detect SDK source for AWS Lambda layer (#17150)
- fix(v9/core): Fix OpenAI SDK private field access by binding non-instrumented fns (#17167)
- fix(v9/core): Update ai.response.object to gen_ai.response.object (#17155)
- fix(v9/nextjs): Update stackframe calls for next v15.5 (#17161)
Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.97 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.01 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.56 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.38 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.59 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.65 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.99 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.59 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.1 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.18 KB @sentry/node - without tracing 97.96 KB @sentry/aws-serverless 125.46 KB - 9.41.024 Jul 2025
Release notes
Open source โImportant Changes
- feat(v9/core): Deprecate experimental
enableLogsandbeforeSendLogoption (#17092)
Sentry now has support for structured logging. Previously to enable structured logging, you had to use the
_experiments.enableLogsand_experiments.beforeSendLogoptions. These options have been deprecated in favor of the top-levelenableLogsandbeforeSendLogoptions.// before Sentry.init({ _experiments: { enableLogs: true, beforeSendLog: log => { return log; }, }, }); // after Sentry.init({ enableLogs: true, beforeSendLog: log => { return log; }, });- feat(astro): Implement parameterized routes
Server-side and client-side parameterized routes are now supported in the Astro SDK. No configuration changes are required.
Other Changes
- feat(v9/node): Add shouldHandleError option to fastifyIntegration (#17123)
- fix(v9/cloudflare) Allow non UUID workflow instance IDs (#17135)
- fix(v9/node): Ensure tool errors for
vercelAiIntegrationhave correct trace (#17142) - fix(v9/remix): Ensure source maps upload fails silently if Sentry CLI fails (#17095)
- fix(v9/svelte): Do not insert preprocess code in script module in Svelte 5 (#17124)
Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.24 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.97 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.01 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.56 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.37 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.81 KB @sentry/browser (incl. FeedbackAsync) 32.58 KB @sentry/react 24.95 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.58 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.65 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.99 KB CDN Bundle - uncompressed 71.73 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.59 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.1 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.16 KB @sentry/node - without tracing 97.96 KB @sentry/aws-serverless 125.45 KB Release notes
Open source โImportant Changes
- feat(v9/core): Deprecate experimental
enableLogsandbeforeSendLogoption (#17092)
Sentry now has support for structured logging. Previously to enable structured logging, you had to use the
_experiments.enableLogsand_experiments.beforeSendLogoptions. These options have been deprecated in favor of the top-levelenableLogsandbeforeSendLogoptions.// before Sentry.init({ _experiments: { enableLogs: true, beforeSendLog: log => { return log; }, }, }); // after Sentry.init({ enableLogs: true, beforeSendLog: log => { return log; }, });- feat(astro): Implement parameterized routes
Server-side and client-side parameterized routes are now supported in the Astro SDK. No configuration changes are required.
Other Changes
- feat(v9/node): Add shouldHandleError option to fastifyIntegration (#17123)
- fix(v9/cloudflare) Allow non UUID workflow instance IDs (#17135)
- fix(v9/node): Ensure tool errors for
vercelAiIntegrationhave correct trace (#17142) - fix(v9/remix): Ensure source maps upload fails silently if Sentry CLI fails (#17095)
- fix(v9/svelte): Do not insert preprocess code in script module in Svelte 5 (#17124)
Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!
- feat(v9/core): Deprecate experimental
- 9.40.017 Jul 2025
Release notes
Open source โImportant Changes
- feat(browser): Add debugId sync APIs between web worker and main thread (#16981)
This release adds two Browser SDK APIs to let the main thread know about debugIds of worker files:
webWorkerIntegration({worker})to be used in the main threadregisterWebWorker({self})to be used in the web worker
// main.js Sentry.init({...}) const worker = new MyWorker(...); Sentry.addIntegration(Sentry.webWorkerIntegration({ worker })); worker.addEventListener('message', e => {...});// worker.js Sentry.registerWebWorker({ self }); self.postMessage(...);- feat(core): Deprecate logger in favor of debug (#17040)
The internal SDK
loggerexport from@sentry/corehas been deprecated in favor of thedebugexport.debugonly exposeslog,warn, anderrormethods but is otherwise identical tologger. Note that this deprecation does not affect theloggerexport from other packages (like@sentry/browseror@sentry/node) which is used for Sentry Logging.import { logger, debug } from '@sentry/core'; // before logger.info('This is an info message'); // after debug.log('This is an info message');- feat(node): Add OpenAI integration (#17022)
This release adds official support for instrumenting OpenAI SDK calls in with Sentry tracing, following OpenTelemetry semantic conventions for Generative AI. It instruments:
client.chat.completions.create()- For chat-based completionsclient.responses.create()- For the responses API
// The integration respects your `sendDefaultPii` option, but you can override the behavior in the integration options Sentry.init({ dsn: '__DSN__', integrations: [ Sentry.openAIIntegration({ recordInputs: true, // Force recording prompts recordOutputs: true, // Force recording responses }), ], });Other Changes
- feat(node-core): Expand
@opentelemetry/instrumentationrange to cover0.203.0(#17043) - fix(cloudflare): Ensure errors get captured from durable objects (#16838)
- fix(sveltekit): Ensure server errors from streamed responses are sent (#17044)
Work in this release was contributed by @0xbad0c0d3 and @tommy-gilligan. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.23 KB @sentry/browser - with treeshaking flags 21.82 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.96 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.56 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.37 KB @sentry/browser (incl. Feedback) 39.53 KB @sentry/browser (incl. sendFeedback) 27.8 KB @sentry/browser (incl. FeedbackAsync) 32.58 KB @sentry/react 24.94 KB @sentry/react (incl. Tracing) 40.64 KB @sentry/vue 27.57 KB @sentry/vue (incl. Tracing) 40.48 KB @sentry/svelte 23.25 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.65 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.99 KB CDN Bundle - uncompressed 71.72 KB CDN Bundle (incl. Tracing) - uncompressed 114.12 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.58 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.1 KB @sentry/nextjs (client) 42.64 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 165.02 KB @sentry/node - without tracing 97.85 KB @sentry/aws-serverless 125.35 KB Release notes
Open source โImportant Changes
- feat(browser): Add debugId sync APIs between web worker and main thread (#16981)
This release adds two Browser SDK APIs to let the main thread know about debugIds of worker files:
webWorkerIntegration({worker})to be used in the main threadregisterWebWorker({self})to be used in the web worker
// main.js Sentry.init({...}) const worker = new MyWorker(...); Sentry.addIntegration(Sentry.webWorkerIntegration({ worker })); worker.addEventListener('message', e => {...});// worker.js Sentry.registerWebWorker({ self }); self.postMessage(...);- feat(core): Deprecate logger in favor of debug (#17040)
The internal SDK
loggerexport from@sentry/corehas been deprecated in favor of thedebugexport.debugonly exposeslog,warn, anderrormethods but is otherwise identical tologger. Note that this deprecation does not affect theloggerexport from other packages (like@sentry/browseror@sentry/node) which is used for Sentry Logging.import { logger, debug } from '@sentry/core'; // before logger.info('This is an info message'); // after debug.log('This is an info message');- feat(node): Add OpenAI integration (#17022)
This release adds official support for instrumenting OpenAI SDK calls in with Sentry tracing, following OpenTelemetry semantic conventions for Generative AI. It instruments:
client.chat.completions.create()- For chat-based completionsclient.responses.create()- For the responses API
// The integration respects your `sendDefaultPii` option, but you can override the behavior in the integration options Sentry.init({ dsn: '__DSN__', integrations: [ Sentry.openAIIntegration({ recordInputs: true, // Force recording prompts recordOutputs: true, // Force recording responses }), ], });Other Changes
- feat(node-core): Expand
@opentelemetry/instrumentationrange to cover0.203.0(#17043) - fix(cloudflare): Ensure errors get captured from durable objects (#16838)
- fix(sveltekit): Ensure server errors from streamed responses are sent (#17044)
Work in this release was contributed by @0xbad0c0d3 and @tommy-gilligan. Thank you for your contributions!
- 9.39.015 Jul 2025
Release notes
Open source โImportant Changes
- feat(browser): Add
afterStartPageloadSpanhook to improve spanId assignment on web vital spans (#16893)
This PR adds a new afterStartPageloadSpan lifecycle hook to more robustly assign the correct pageload span ID to web vital spans, replacing the previous unreliable "wait for a tick" approach with a direct callback that fires when the pageload span becomes available.
- feat(nextjs): Client-side parameterized routes (#16934)
This PR implements client-side parameterized routes for Next.js by leveraging an injected manifest within the existing app-router instrumentation to automatically parameterize all client-side transactions (e.g.
users/123andusers/456now become becomeusers/:id).- feat(node): Drop 401-404 and 3xx status code spans by default (#16972)
This PR changes the default behavior in the Node SDK to drop HTTP spans with 401-404 and 3xx status codes by default to reduce noise in tracing data.
Other Changes
- feat(core): Prepend vercel ai attributes with
vercel.ai.X(#16908) - feat(nextjs): Add
disableSentryWebpackConfigflag (#17013) - feat(nextjs): Build app manifest (#16851)
- feat(nextjs): Inject manifest into client for turbopack builds (#16902)
- feat(nextjs): Inject manifest into client for webpack builds (#16857)
- feat(node-native): Add option to disable event loop blocked detection (#16919)
- feat(react-router): Ensure http.server route handling is consistent (#16986)
- fix(core): Avoid prolonging idle span when starting standalone span (#16928)
- fix(core): Remove side-effect from
tracing/errors.ts(#16888) - fix(core): Wrap
beforeSendLoginconsoleSandbox(#16968) - fix(node-core): Apply correct SDK metadata (#17014)
- fix(react-router): Ensure that all browser spans have
source=route(#16984)
Work in this release was contributed by @janpapenbrock. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.32 KB @sentry/browser - with treeshaking flags 21.83 KB @sentry/browser (incl. Tracing) 38.82 KB @sentry/browser (incl. Tracing, Replay) 76.05 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.03 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.65 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.46 KB @sentry/browser (incl. Feedback) 39.63 KB @sentry/browser (incl. sendFeedback) 27.89 KB @sentry/browser (incl. FeedbackAsync) 32.67 KB @sentry/react 25.01 KB @sentry/react (incl. Tracing) 40.74 KB @sentry/vue 27.65 KB @sentry/vue (incl. Tracing) 40.56 KB @sentry/svelte 23.34 KB CDN Bundle 24.59 KB CDN Bundle (incl. Tracing) 38.51 KB CDN Bundle (incl. Tracing, Replay) 73.67 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.01 KB CDN Bundle - uncompressed 71.82 KB CDN Bundle (incl. Tracing) - uncompressed 114.25 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.76 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.27 KB @sentry/nextjs (client) 42.72 KB @sentry/sveltekit (client) 39.25 KB @sentry/node 163.76 KB @sentry/node - without tracing 97.98 KB @sentry/aws-serverless 125.47 KB Release notes
Open source โImportant Changes
- feat(browser): Add
afterStartPageloadSpanhook to improve spanId assignment on web vital spans (#16893)
This PR adds a new afterStartPageloadSpan lifecycle hook to more robustly assign the correct pageload span ID to web vital spans, replacing the previous unreliable "wait for a tick" approach with a direct callback that fires when the pageload span becomes available.
- feat(nextjs): Client-side parameterized routes (#16934)
This PR implements client-side parameterized routes for Next.js by leveraging an injected manifest within the existing app-router instrumentation to automatically parameterize all client-side transactions (e.g.
users/123andusers/456now become becomeusers/:id).- feat(node): Drop 401-404 and 3xx status code spans by default (#16972)
This PR changes the default behavior in the Node SDK to drop HTTP spans with 401-404 and 3xx status codes by default to reduce noise in tracing data.
Other Changes
- feat(core): Prepend vercel ai attributes with
vercel.ai.X(#16908) - feat(nextjs): Add
disableSentryWebpackConfigflag (#17013) - feat(nextjs): Build app manifest (#16851)
- feat(nextjs): Inject manifest into client for turbopack builds (#16902)
- feat(nextjs): Inject manifest into client for webpack builds (#16857)
- feat(node-native): Add option to disable event loop blocked detection (#16919)
- feat(react-router): Ensure http.server route handling is consistent (#16986)
- fix(core): Avoid prolonging idle span when starting standalone span (#16928)
- fix(core): Remove side-effect from
tracing/errors.ts(#16888) - fix(core): Wrap
beforeSendLoginconsoleSandbox(#16968) - fix(node-core): Apply correct SDK metadata (#17014)
- fix(react-router): Ensure that all browser spans have
source=route(#16984)
Work in this release was contributed by @janpapenbrock. Thank you for your contribution!
- feat(browser): Add
- 9.38.011 Jul 2025
Release notes
Open source โImportant Changes
- chore: Add craft entry for @sentry/node-native (#16907)
This release publishes the
@sentry/node-nativeSDK.Other Changes
- feat(core): Introduce
debugto replacelogger(#16906) - fix(browser): Guard
nextHopProtocolwhen adding resource spans (#16900)
Bundle size ๐ฆ
Path Size @sentry/browser 23.32 KB @sentry/browser - with treeshaking flags 21.82 KB @sentry/browser (incl. Tracing) 38.82 KB @sentry/browser (incl. Tracing, Replay) 76.05 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.12 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.63 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.46 KB @sentry/browser (incl. Feedback) 39.61 KB @sentry/browser (incl. sendFeedback) 27.89 KB @sentry/browser (incl. FeedbackAsync) 32.68 KB @sentry/react 25.01 KB @sentry/react (incl. Tracing) 40.73 KB @sentry/vue 27.65 KB @sentry/vue (incl. Tracing) 40.56 KB @sentry/svelte 23.34 KB CDN Bundle 24.57 KB CDN Bundle (incl. Tracing) 38.49 KB CDN Bundle (incl. Tracing, Replay) 73.61 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.97 KB CDN Bundle - uncompressed 71.77 KB CDN Bundle (incl. Tracing) - uncompressed 114.15 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.65 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.16 KB @sentry/nextjs (client) 42.32 KB @sentry/sveltekit (client) 39.26 KB @sentry/node 163.65 KB @sentry/node - without tracing 97.95 KB @sentry/aws-serverless 125.4 KB Release notes
Open source โImportant Changes
- chore: Add craft entry for @sentry/node-native (#16907)
This release publishes the
@sentry/node-nativeSDK.Other Changes
- 9.37.010 Jul 2025
Release notes
Open source โImportant Changes
-
feat(nuxt): Parametrize SSR routes (#16843)
When requesting dynamic or catch-all routes in Nuxt, those will now be shown as parameterized routes in Sentry. For example,
/users/123will be shown as/users/:userId()in Sentry. This will make it easier to identify patterns and make grouping easier.
Other Changes
- feat(astro): Deprecate passing runtime config to astro integration (#16839)
- feat(browser): Add
beforeStartNavigationSpanlifecycle hook (#16863) - feat(browser): Detect redirects when emitting navigation spans (#16324)
- feat(cloudflare): Add option to opt out of capturing errors in
wrapRequestHandler(#16852) - feat(feedback): Return the eventId into the onSubmitSuccess callback (#16835)
- feat(vercel-edge): Do not vendor in all OpenTelemetry dependencies (#16841)
- fix(browser): Ensure standalone CLS and LCP spans have traceId of pageload span (#16864)
- fix(nextjs): Use value injection loader on
instrumentation-client.ts|js(#16855) - fix(sveltekit): Avoid capturing
redirect()calls as errors in Cloudflare (#16853) - docs(nextjs): Update
deleteSourcemapsAfterUploadjsdoc default value (#16867)
Work in this release was contributed by @zachkirsch. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.25 KB @sentry/browser - with treeshaking flags 22.01 KB @sentry/browser (incl. Tracing) 38.73 KB @sentry/browser (incl. Tracing, Replay) 75.97 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.14 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.56 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.39 KB @sentry/browser (incl. Feedback) 39.54 KB @sentry/browser (incl. sendFeedback) 27.82 KB @sentry/browser (incl. FeedbackAsync) 32.6 KB @sentry/react 24.99 KB @sentry/react (incl. Tracing) 40.67 KB @sentry/vue 27.6 KB @sentry/vue (incl. Tracing) 40.49 KB @sentry/svelte 23.27 KB CDN Bundle 24.77 KB CDN Bundle (incl. Tracing) 38.7 KB CDN Bundle (incl. Tracing, Replay) 73.8 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.13 KB CDN Bundle - uncompressed 72.34 KB CDN Bundle (incl. Tracing) - uncompressed 114.94 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.2 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.71 KB @sentry/nextjs (client) 42.27 KB @sentry/sveltekit (client) 39.17 KB @sentry/node 163.92 KB @sentry/node - without tracing 98.23 KB @sentry/aws-serverless 125.68 KB Release notes
Open source โImportant Changes
-
feat(nuxt): Parametrize SSR routes (#16843)
When requesting dynamic or catch-all routes in Nuxt, those will now be shown as parameterized routes in Sentry. For example,
/users/123will be shown as/users/:userId()in Sentry. This will make it easier to identify patterns and make grouping easier.
Other Changes
- feat(astro): Deprecate passing runtime config to astro integration (#16839)
- feat(browser): Add
beforeStartNavigationSpanlifecycle hook (#16863) - feat(browser): Detect redirects when emitting navigation spans (#16324)
- feat(cloudflare): Add option to opt out of capturing errors in
wrapRequestHandler(#16852) - feat(feedback): Return the eventId into the onSubmitSuccess callback (#16835)
- feat(vercel-edge): Do not vendor in all OpenTelemetry dependencies (#16841)
- fix(browser): Ensure standalone CLS and LCP spans have traceId of pageload span (#16864)
- fix(nextjs): Use value injection loader on
instrumentation-client.ts|js(#16855) - fix(sveltekit): Avoid capturing
redirect()calls as errors in Cloudflare (#16853) - docs(nextjs): Update
deleteSourcemapsAfterUploadjsdoc default value (#16867)
Work in this release was contributed by @zachkirsch. Thank you for your contribution!
-
- 9.36.09 Jul 2025
Release notes
Open source โImportant Changes
- feat(node-core): Add node-core SDK (#16745)
This release adds a new SDK
@sentry/node-corewhich ships without any OpenTelemetry instrumententation out of the box. All OpenTelemetry dependencies are peer dependencies and OpenTelemetry has to be set up manually.Use
@sentry/node-corewhen:- You already have OpenTelemetry set up
- You need custom OpenTelemetry configuration
- You want minimal dependencies
- You need fine-grained control over instrumentation
Use
@sentry/nodewhen:- You want an automatic setup
- You're new to OpenTelemetry
- You want sensible defaults
- You prefer convenience over control
- feat(node): Deprecate ANR integration (#16832)
The ANR integration has been deprecated and will be removed in future versions. Use
eventLoopBlockIntegrationfrom@sentry/node-nativeinstead.- feat(replay): Add
_experiments.ignoreMutationsoption (#16816)
This replay option allows to configure a selector list of elements to not capture mutations for.
Sentry.replayIntegration({ _experiments: { ignoreMutations: ['.dragging'], }, });Other changes
- feat(deps): bump @prisma/instrumentation from 6.10.1 to 6.11.1 (#16833)
- feat(nextjs): Add flag for suppressing router transition warning (#16823)
- feat(nextjs): Automatically skip middleware requests for tunnel route (#16812)
- feat(replay): Export compression worker from
@sentry/replay-internal(#16794) - fix(browser): Avoid 4xx response for succesful
diagnoseSdkConnectivityrequest (#16840) - fix(browser): Guard against undefined nextHopProtocol (#16806)
- fix(cloudflare): calculate retries not attempts (#16834)
- fix(nuxt): Parametrize routes on the server-side (#16785)
- fix(vue): Make pageload span handling more reliable (#16799)
Work in this release was contributed by @Spice-King and @stayallive. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.42 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 38.69 KB @sentry/browser (incl. Tracing, Replay) 75.99 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.24 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.61 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.48 KB @sentry/browser (incl. Feedback) 39.79 KB @sentry/browser (incl. sendFeedback) 28.02 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 40.63 KB @sentry/vue 27.71 KB @sentry/vue (incl. Tracing) 40.44 KB @sentry/svelte 23.45 KB CDN Bundle 24.9 KB CDN Bundle (incl. Tracing) 38.7 KB CDN Bundle (incl. Tracing, Replay) 73.84 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.17 KB CDN Bundle - uncompressed 72.75 KB CDN Bundle (incl. Tracing) - uncompressed 115.01 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.63 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 239.15 KB @sentry/nextjs (client) 42.24 KB @sentry/sveltekit (client) 39.14 KB @sentry/node 158.05 KB @sentry/node - without tracing 96.48 KB @sentry/aws-serverless 121.7 KB Release notes
Open source โImportant Changes
- feat(node-core): Add node-core SDK (#16745)
This release adds a new SDK
@sentry/node-corewhich ships without any OpenTelemetry instrumententation out of the box. All OpenTelemetry dependencies are peer dependencies and OpenTelemetry has to be set up manually.Use
@sentry/node-corewhen:- You already have OpenTelemetry set up
- You need custom OpenTelemetry configuration
- You want minimal dependencies
- You need fine-grained control over instrumentation
Use
@sentry/nodewhen:- You want an automatic setup
- You're new to OpenTelemetry
- You want sensible defaults
- You prefer convenience over control
- feat(node): Deprecate ANR integration (#16832)
The ANR integration has been deprecated and will be removed in future versions. Use
eventLoopBlockIntegrationfrom@sentry/node-nativeinstead.- feat(replay): Add
_experiments.ignoreMutationsoption (#16816)
This replay option allows to configure a selector list of elements to not capture mutations for.
Sentry.replayIntegration({ _experiments: { ignoreMutations: ['.dragging'], }, });Other changes
- feat(deps): bump @prisma/instrumentation from 6.10.1 to 6.11.1 (#16833)
- feat(nextjs): Add flag for suppressing router transition warning (#16823)
- feat(nextjs): Automatically skip middleware requests for tunnel route (#16812)
- feat(replay): Export compression worker from
@sentry/replay-internal(#16794) - fix(browser): Avoid 4xx response for succesful
diagnoseSdkConnectivityrequest (#16840) - fix(browser): Guard against undefined nextHopProtocol (#16806)
- fix(cloudflare): calculate retries not attempts (#16834)
- fix(nuxt): Parametrize routes on the server-side (#16785)
- fix(vue): Make pageload span handling more reliable (#16799)
Work in this release was contributed by @Spice-King and @stayallive. Thank you for your contributions!
- 9.36.0-alpha.27 Jul 2025pre-release
Release notes
Open source โThis is an internal alpha for
@sentry/node-coreand@sentry/node.Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.21 KB @sentry/browser (incl. Tracing) 38.67 KB @sentry/browser (incl. Tracing, Replay) 75.87 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.12 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.36 KB @sentry/browser (incl. Feedback) 39.8 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.81 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 40.61 KB @sentry/vue 27.71 KB @sentry/vue (incl. Tracing) 40.44 KB @sentry/svelte 23.45 KB CDN Bundle 24.91 KB CDN Bundle (incl. Tracing) 38.68 KB CDN Bundle (incl. Tracing, Replay) 73.73 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.07 KB CDN Bundle - uncompressed 72.76 KB CDN Bundle (incl. Tracing) - uncompressed 114.88 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.25 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.78 KB @sentry/nextjs (client) 42.21 KB @sentry/sveltekit (client) 39.11 KB @sentry/node 158.06 KB @sentry/node - without tracing 96.49 KB @sentry/aws-serverless 121.72 KB - 9.36.0-alpha.17 Jul 2025pre-release
Release notes
Open source โThis is an internal alpha for
@sentry/node-coreand@sentry/node.Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.21 KB @sentry/browser (incl. Tracing) 38.67 KB @sentry/browser (incl. Tracing, Replay) 75.87 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.12 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.36 KB @sentry/browser (incl. Feedback) 39.8 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.81 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 40.61 KB @sentry/vue 27.71 KB @sentry/vue (incl. Tracing) 40.44 KB @sentry/svelte 23.45 KB CDN Bundle 24.91 KB CDN Bundle (incl. Tracing) 38.68 KB CDN Bundle (incl. Tracing, Replay) 73.73 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.07 KB CDN Bundle - uncompressed 72.76 KB CDN Bundle (incl. Tracing) - uncompressed 114.88 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.25 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.78 KB @sentry/nextjs (client) 42.21 KB @sentry/sveltekit (client) 39.11 KB @sentry/node 158.06 KB @sentry/node - without tracing 96.49 KB @sentry/aws-serverless 121.72 KB - 9.35.04 Jul 2025
Release notes
Open source โ- feat(browser): Add ElementTiming instrumentation and spans (#16589)
- feat(browser): Export
ContextandContextstypes (#16763) - feat(cloudflare): Add user agent to cloudflare spans (#16793)
- feat(node): Add
eventLoopBlockIntegration(#16709) - feat(node): Export server-side feature flag integration shims (#16735)
- feat(node): Update vercel ai integration attributes (#16721)
- fix(astro): Handle errors in middlewares better (#16693)
- fix(browser): Ensure explicit
parentSpanis considered (#16776) - fix(node): Avoid using dynamic
requirefor fastify integration (#16789) - fix(nuxt): Add
@sentry/cloudflareas optional peerDependency (#16782) - fix(nuxt): Ensure order of plugins is consistent (#16798)
- fix(nestjs): Fix exception handling in
@Crondecorated tasks (#16792)
Work in this release was contributed by @0xbad0c0d3 and @alSergey. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser 23.42 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 38.66 KB @sentry/browser (incl. Tracing, Replay) 75.87 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.12 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.52 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.35 KB @sentry/browser (incl. Feedback) 39.79 KB @sentry/browser (incl. sendFeedback) 28.02 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 40.6 KB @sentry/vue 27.71 KB @sentry/vue (incl. Tracing) 40.43 KB @sentry/svelte 23.45 KB CDN Bundle 24.9 KB CDN Bundle (incl. Tracing) 38.67 KB CDN Bundle (incl. Tracing, Replay) 73.73 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.06 KB CDN Bundle - uncompressed 72.75 KB CDN Bundle (incl. Tracing) - uncompressed 114.87 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.25 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.77 KB @sentry/nextjs (client) 42.2 KB @sentry/sveltekit (client) 39.1 KB @sentry/node 158.23 KB @sentry/node - without tracing 96.32 KB @sentry/aws-serverless 121.48 KB Release notes
Open source โ- feat(browser): Add ElementTiming instrumentation and spans (#16589)
- feat(browser): Export
ContextandContextstypes (#16763) - feat(cloudflare): Add user agent to cloudflare spans (#16793)
- feat(node): Add
eventLoopBlockIntegration(#16709) - feat(node): Export server-side feature flag integration shims (#16735)
- feat(node): Update vercel ai integration attributes (#16721)
- fix(astro): Handle errors in middlewares better (#16693)
- fix(browser): Ensure explicit
parentSpanis considered (#16776) - fix(node): Avoid using dynamic
requirefor fastify integration (#16789) - fix(nuxt): Add
@sentry/cloudflareas optional peerDependency (#16782) - fix(nuxt): Ensure order of plugins is consistent (#16798)
- fix(nestjs): Fix exception handling in
@Crondecorated tasks (#16792)
Work in this release was contributed by @0xbad0c0d3 and @alSergey. Thank you for your contributions!
- 9.34.01 Jul 2025
Release notes
Open source โImportant Changes
-
feat(nuxt): Add Cloudflare Nitro plugin (#15597)
A Nitro plugin for
@sentry/nuxtwhich initializes Sentry when deployed to Cloudflare (cloudflare-pagespreset).-
Add
@sentry/cloudflareas additional dependency (same version as@sentry/nuxt) -
Remove the previous server config file:
sentry.server.config.ts -
Add a plugin in
server/plugins(e.g.server/plugins/sentry-cloudflare-setup.ts) -
Add this code in your plugin file
// server/plugins/sentry-cloudflare-setup.ts (filename does not matter) import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins'; export default defineNitroPlugin( sentryCloudflareNitroPlugin({ dsn: 'https://dsn', tracesSampleRate: 1.0, }), );or with access to
nitroApp:// server/plugins/sentry-cloudflare-setup.ts (filename does not matter) import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins'; export default defineNitroPlugin(sentryCloudflareNitroPlugin((nitroApp: NitroApp) => { // You can access nitroApp here if needed return ({ dsn: 'https://dsn', tracesSampleRate: 1.0, }) }))
-
Other Changes
- feat(browser): Record standalone LCP spans (#16591)
- fix(nuxt): Only add OTel alias in dev mode (#16756)
Bundle size ๐ฆ
Path Size @sentry/browser 23.42 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 38.11 KB @sentry/browser (incl. Tracing, Replay) 75.35 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.61 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.01 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.81 KB @sentry/browser (incl. Feedback) 39.79 KB @sentry/browser (incl. sendFeedback) 28.02 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 40.04 KB @sentry/vue 27.69 KB @sentry/vue (incl. Tracing) 39.9 KB @sentry/svelte 23.45 KB CDN Bundle 24.9 KB CDN Bundle (incl. Tracing) 38.19 KB CDN Bundle (incl. Tracing, Replay) 73.24 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.57 KB CDN Bundle - uncompressed 72.75 KB CDN Bundle (incl. Tracing) - uncompressed 113.89 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 225.27 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 237.8 KB @sentry/nextjs (client) 41.64 KB @sentry/sveltekit (client) 38.56 KB @sentry/node 150.68 KB @sentry/node - without tracing 96.32 KB @sentry/aws-serverless 121.48 KB Release notes
Open source โImportant Changes
-
feat(nuxt): Add Cloudflare Nitro plugin (#15597)
A Nitro plugin for
@sentry/nuxtwhich initializes Sentry when deployed to Cloudflare (cloudflare-pagespreset).-
Remove the previous server config file:
sentry.server.config.ts -
Add a plugin in
server/plugins(e.g.server/plugins/sentry-cloudflare-setup.ts) -
Add this code in your plugin file
// server/plugins/sentry-cloudflare-setup.ts (filename does not matter) import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins'; export default defineNitroPlugin( sentryCloudflareNitroPlugin({ dsn: 'https://dsn', tracesSampleRate: 1.0, }), );or with access to
nitroApp:// server/plugins/sentry-cloudflare-setup.ts (filename does not matter) import { sentryCloudflareNitroPlugin } from '@sentry/nuxt/module/plugins'; export default defineNitroPlugin(sentryCloudflareNitroPlugin((nitroApp: NitroApp) => { // You can access nitroApp here if needed return ({ dsn: 'https://dsn', tracesSampleRate: 1.0, }) }))
-
Other Changes
-
- 9.34.0-alpha.14 Jul 2025pre-release
Release notes
Open source โThis is an internal alpha for
@sentry/node-coreand@sentry/node.Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.21 KB @sentry/browser (incl. Tracing) 38.67 KB @sentry/browser (incl. Tracing, Replay) 75.87 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 69.12 KB @sentry/browser (incl. Tracing, Replay with Canvas) 80.53 KB @sentry/browser (incl. Tracing, Replay, Feedback) 92.36 KB @sentry/browser (incl. Feedback) 39.8 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.81 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 40.61 KB @sentry/vue 27.71 KB @sentry/vue (incl. Tracing) 40.44 KB @sentry/svelte 23.45 KB CDN Bundle 24.91 KB CDN Bundle (incl. Tracing) 38.68 KB CDN Bundle (incl. Tracing, Replay) 73.73 KB CDN Bundle (incl. Tracing, Replay, Feedback) 79.07 KB CDN Bundle - uncompressed 72.76 KB CDN Bundle (incl. Tracing) - uncompressed 114.88 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 226.25 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.78 KB @sentry/nextjs (client) 42.21 KB @sentry/sveltekit (client) 39.11 KB @sentry/node 158.06 KB @sentry/node - without tracing 96.49 KB @sentry/aws-serverless 121.72 KB - 9.33.027 Jun 2025
Release notes
Open source โImportant Changes
- feat: Add opt-in
vercelAiIntegrationto cloudflare & vercel-edge (#16732)
The
vercelAiIntegrationis now available as opt-in for the Cloudflare and the Next.js SDK for Vercel Edge. To use it, add the integration inSentry.initSentry.init({ tracesSampleRate: 1.0, integrations: [Sentry.vercelAIIntegration()], });And enable telemetry for Vercel AI calls
const result = await generateText({ model: openai('gpt-4o'), experimental_telemetry: { isEnabled: true, }, });- feat(node): Add postgresjs instrumentation (#16665)
The Node.js SDK now includes instrumentation for Postgres.js.
- feat(node): Use diagnostics channel for Fastify v5 error handling (#16715)
If you're on Fastify v5, you no longer need to call
setupFastifyErrorHandler. It is done automatically by the node SDK. Older versions still rely on callingsetupFastifyErrorHandler.Other Changes
- feat(cloudflare): Allow interop with OpenTelemetry emitted spans (#16714)
- feat(cloudflare): Flush after
waitUntil(#16681) - fix(nextjs): Remove
aifrom default server external packages (#16736)
Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.42 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.93 KB @sentry/browser (incl. Tracing, Replay) 75.18 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.42 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.83 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.63 KB @sentry/browser (incl. Feedback) 39.79 KB @sentry/browser (incl. sendFeedback) 28.02 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 39.88 KB @sentry/vue 27.69 KB @sentry/vue (incl. Tracing) 39.75 KB @sentry/svelte 23.45 KB CDN Bundle 24.9 KB CDN Bundle (incl. Tracing) 38 KB CDN Bundle (incl. Tracing, Replay) 73.08 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.41 KB CDN Bundle - uncompressed 72.75 KB CDN Bundle (incl. Tracing) - uncompressed 112.71 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 224.1 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.62 KB @sentry/nextjs (client) 41.48 KB @sentry/sveltekit (client) 38.41 KB @sentry/node 150.68 KB @sentry/node - without tracing 96.32 KB @sentry/aws-serverless 121.48 KB Release notes
Open source โImportant Changes
- feat: Add opt-in
vercelAiIntegrationto cloudflare & vercel-edge (#16732)
The
vercelAiIntegrationis now available as opt-in for the Cloudflare and the Next.js SDK for Vercel Edge. To use it, add the integration inSentry.initSentry.init({ tracesSampleRate: 1.0, integrations: [Sentry.vercelAIIntegration()], });And enable telemetry for Vercel AI calls
const result = await generateText({ model: openai('gpt-4o'), experimental_telemetry: { isEnabled: true, }, });- feat(node): Add postgresjs instrumentation (#16665)
The Node.js SDK now includes instrumentation for Postgres.js.
- feat(node): Use diagnostics channel for Fastify v5 error handling (#16715)
If you're on Fastify v5, you no longer need to call
setupFastifyErrorHandler. It is done automatically by the node SDK. Older versions still rely on callingsetupFastifyErrorHandler.Other Changes
- feat(cloudflare): Allow interop with OpenTelemetry emitted spans (#16714)
- feat(cloudflare): Flush after
waitUntil(#16681) - fix(nextjs): Remove
aifrom default server external packages (#16736)
Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!
- feat: Add opt-in
- 9.32.025 Jun 2025
Release notes
Open source โImportant Changes
- feat(browser): Add CLS sources to span attributes (#16710)
Enhances CLS (Cumulative Layout Shift) spans by adding attributes detailing the elements that caused layout shifts.
- feat(cloudflare): Add
instrumentWorkflowWithSentryto instrument workflows (#16672)
We've added support for Cloudflare Workflows, enabling comprehensive tracing for your workflow runs. This integration uses the workflow's instanceId as the Sentry
trace_idand for sampling, linking all steps together. You'll now be able to see full traces, including retries with exponential backoff.- feat(pino-transport): Add functionality to send logs to sentry (#16667)
Adds the ability to send logs to Sentry via a pino transport.
Other Changes
- feat(nextjs): Expose top level buildTime
errorHandleroption (#16718) - feat(node): update pipeline spans to use agent naming (#16712)
- feat(deps): bump @prisma/instrumentation from 6.9.0 to 6.10.1 (#16698)
- fix(sveltekit): Export logger from sveltekit worker (#16716)
- fix(google-cloud-serverless): Make
CloudEventsContextcompatible withCloudEvent(#16705) - fix(nextjs): Stop injecting release value when create release options is set to
false(#16695) - fix(node): account for Object. syntax with local variables matching (#16702)
- fix(nuxt): Add alias for
@opentelemetry/resources(#16727)
Work in this release was contributed by @flaeppe. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.42 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.93 KB @sentry/browser (incl. Tracing, Replay) 75.18 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.42 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.83 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.63 KB @sentry/browser (incl. Feedback) 39.79 KB @sentry/browser (incl. sendFeedback) 28.02 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 39.88 KB @sentry/vue 27.69 KB @sentry/vue (incl. Tracing) 39.75 KB @sentry/svelte 23.45 KB CDN Bundle 24.9 KB CDN Bundle (incl. Tracing) 38 KB CDN Bundle (incl. Tracing, Replay) 73.08 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.41 KB CDN Bundle - uncompressed 72.75 KB CDN Bundle (incl. Tracing) - uncompressed 112.71 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 224.1 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.62 KB @sentry/nextjs (client) 41.48 KB @sentry/sveltekit (client) 38.41 KB @sentry/node 147.34 KB @sentry/node - without tracing 96.32 KB @sentry/aws-serverless 121.48 KB Release notes
Open source โImportant Changes
- feat(browser): Add CLS sources to span attributes (#16710)
Enhances CLS (Cumulative Layout Shift) spans by adding attributes detailing the elements that caused layout shifts.
- feat(cloudflare): Add
instrumentWorkflowWithSentryto instrument workflows (#16672)
We've added support for Cloudflare Workflows, enabling comprehensive tracing for your workflow runs. This integration uses the workflow's instanceId as the Sentry trace_id and for sampling, linking all steps together. You'll now be able to see full traces, including retries with exponential backoff.
- feat(pino-transport): Add functionality to send logs to sentry (#16667)
Adds the ability to send logs to Sentry via a pino transport.
Other Changes
- feat(nextjs): Expose top level buildTime
errorHandleroption (#16718) - feat(node): update pipeline spans to use agent naming (#16712)
- feat(deps): bump @prisma/instrumentation from 6.9.0 to 6.10.1 (#16698)
- fix(sveltekit): Export logger from sveltekit worker (#16716)
- fix(google-cloud-serverless): Make
CloudEventsContextcompatible withCloudEvent(#16705) - fix(nextjs): Stop injecting release value when create release options is set to
false(#16695) - fix(node): account for Object. syntax with local variables matching (#16702)
- fix(nuxt): Add alias for
@opentelemetry/resources(#16727)
Work in this release was contributed by @flaeppe. Thank you for your contribution!
- 9.31.023 Jun 2025
Release notes
Open source โImportant Changes
- feat(nextjs): Add option for auto-generated random tunnel route (#16626)
Adds an option to automatically generate a random tunnel route for the Next.js SDK. This helps prevent ad blockers and other tools from blocking Sentry requests by using a randomized path instead of the predictable
/monitoringendpoint.- feat(core): Allow to pass
scope&clienttogetTraceData(#16633)
Adds the ability to pass custom
scopeandclientparameters to thegetTraceDatafunction, providing more flexibility when generating trace data for distributed tracing.Other Changes
- feat(core): Add support for
x-forwarded-hostandx-forwarded-protoheaders (#16687) - deps: Remove unused
@sentry/opentelemetrydependency (#16677) - deps: Update all bundler plugin instances to latest & allow caret ranges (#16641)
- feat(deps): Bump @prisma/instrumentation from 6.8.2 to 6.9.0 (#16608)
- feat(flags): add node support for generic featureFlagsIntegration and move utils to core (#16585)
- feat(flags): capture feature flag evaluations on spans (#16485)
- feat(pino): Add initial package for
@sentry/pino-transport(#16652) - fix: Wait for the correct clientWidth/clientHeight when showing Feedback Screenshot previews (#16648)
- fix(browser): Remove usage of Array.at() method (#16647)
- fix(core): Improve
safeJoinusage in console logging integration (#16658) - fix(google-cloud-serverless): Make
CloudEventtype compatible (#16661) - fix(nextjs): Fix lookup of
instrumentation-client.jsfile (#16637) - fix(node): Ensure graphql errors result in errored spans (#16678)
Bundle size ๐ฆ
Path Size @sentry/browser 23.42 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.89 KB @sentry/browser (incl. Tracing, Replay) 75.13 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.38 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.78 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.58 KB @sentry/browser (incl. Feedback) 39.79 KB @sentry/browser (incl. sendFeedback) 28.02 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.16 KB @sentry/react (incl. Tracing) 39.84 KB @sentry/vue 27.69 KB @sentry/vue (incl. Tracing) 39.71 KB @sentry/svelte 23.45 KB CDN Bundle 24.9 KB CDN Bundle (incl. Tracing) 37.97 KB CDN Bundle (incl. Tracing, Replay) 73.03 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.38 KB CDN Bundle - uncompressed 72.75 KB CDN Bundle (incl. Tracing) - uncompressed 112.63 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 224.01 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.53 KB @sentry/nextjs (client) 41.44 KB @sentry/sveltekit (client) 38.37 KB @sentry/node 147.29 KB @sentry/node - without tracing 96.27 KB @sentry/aws-serverless 121.42 KB Release notes
Open source โImportant Changes
- feat(nextjs): Add option for auto-generated random tunnel route (#16626)
Adds an option to automatically generate a random tunnel route for the Next.js SDK. This helps prevent ad blockers and other tools from blocking Sentry requests by using a randomized path instead of the predictable
/monitoringendpoint.- feat(core): Allow to pass
scope&clienttogetTraceData(#16633)
Adds the ability to pass custom
scopeandclientparameters to thegetTraceDatafunction, providing more flexibility when generating trace data for distributed tracing.Other Changes
- feat(core): Add support for
x-forwarded-hostandx-forwarded-protoheaders (#16687) - deps: Remove unused
@sentry/opentelemetrydependency (#16677) - deps: Update all bundler plugin instances to latest & allow caret ranges (#16641)
- feat(deps): Bump @prisma/instrumentation from 6.8.2 to 6.9.0 (#16608)
- feat(flags): add node support for generic featureFlagsIntegration and move utils to core (#16585)
- feat(flags): capture feature flag evaluations on spans (#16485)
- feat(pino): Add initial package for
@sentry/pino-transport(#16652) - fix: Wait for the correct clientWidth/clientHeight when showing Feedback Screenshot previews (#16648)
- fix(browser): Remove usage of Array.at() method (#16647)
- fix(core): Improve
safeJoinusage in console logging integration (#16658) - fix(google-cloud-serverless): Make
CloudEventtype compatible (#16661) - fix(nextjs): Fix lookup of
instrumentation-client.jsfile (#16637) - fix(node): Ensure graphql errors result in errored spans (#16678)
- 9.30.017 Jun 2025
Release notes
Open source โ- feat(nextjs): Add URL to tags of server components and generation functions issues (#16500)
- feat(nextjs): Ensure all packages we auto-instrument are externalized (#16552)
- feat(node): Automatically enable
vercelAiIntegrationwhenaimodule is detected (#16565) - feat(node): Ensure
modulesIntegrationworks in more environments (#16566) - feat(core): Don't gate user on logs with
sendDefaultPii(#16527) - feat(browser): Add detail to measure spans and add regression tests (#16557)
- feat(node): Update Vercel AI span attributes (#16580)
- fix(opentelemetry): Ensure only orphaned spans of sent spans are sent (#16590)
Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.88 KB @sentry/browser (incl. Tracing, Replay) 75.08 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.33 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.74 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.52 KB @sentry/browser (incl. Feedback) 39.77 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.15 KB @sentry/react (incl. Tracing) 39.82 KB @sentry/vue 27.7 KB @sentry/vue (incl. Tracing) 39.7 KB @sentry/svelte 23.45 KB CDN Bundle 24.88 KB CDN Bundle (incl. Tracing) 38.05 KB CDN Bundle (incl. Tracing, Replay) 73.03 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.32 KB CDN Bundle - uncompressed 72.74 KB CDN Bundle (incl. Tracing) - uncompressed 112.6 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 223.9 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.42 KB @sentry/nextjs (client) 41.44 KB @sentry/sveltekit (client) 38.36 KB @sentry/node 147.12 KB @sentry/node - without tracing 96.09 KB @sentry/aws-serverless 121.25 KB Release notes
Open source โ- feat(nextjs): Add URL to tags of server components and generation functions issues (#16500)
- feat(nextjs): Ensure all packages we auto-instrument are externalized (#16552)
- feat(node): Automatically enable
vercelAiIntegrationwhenaimodule is detected (#16565) - feat(node): Ensure
modulesIntegrationworks in more environments (#16566) - feat(core): Don't gate user on logs with
sendDefaultPii(#16527) - feat(browser): Add detail to measure spans and add regression tests (#16557)
- feat(node): Update Vercel AI span attributes (#16580)
- fix(opentelemetry): Ensure only orphaned spans of sent spans are sent (#16590)
- 9.29.013 Jun 2025
Release notes
Open source โImportant Changes
- feat(browser): Update
web-vitalsto 5.0.2 (#16492)
This release upgrades the
web-vitalslibrary to version 5.0.2. This upgrade could slightly change the collected web vital values and potentially also influence alerts and performance scores in the Sentry UI.Other Changes
- feat(deps): Bump @sentry/rollup-plugin from 3.4.0 to 3.5.0 (#16524)
- feat(ember): Stop warning for
onErrorusage (#16547) - feat(node): Allow to force activate
vercelAiIntegration(#16551) - feat(node): Introduce
ignoreLayersTypeoption to koa integration (#16553) - fix(browser): Ensure
suppressTracingdoes not leak when async (#16545) - fix(vue): Ensure root component render span always ends (#16488)
Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.78 KB @sentry/browser (incl. Tracing, Replay) 74.98 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.23 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.63 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.41 KB @sentry/browser (incl. Feedback) 39.78 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.15 KB @sentry/react (incl. Tracing) 39.72 KB @sentry/vue 27.7 KB @sentry/vue (incl. Tracing) 39.6 KB @sentry/svelte 23.45 KB CDN Bundle 24.88 KB CDN Bundle (incl. Tracing) 37.86 KB CDN Bundle (incl. Tracing, Replay) 72.89 KB CDN Bundle (incl. Tracing, Replay, Feedback) 78.22 KB CDN Bundle - uncompressed 72.74 KB CDN Bundle (incl. Tracing) - uncompressed 112.2 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 223.5 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.02 KB @sentry/nextjs (client) 41.34 KB @sentry/sveltekit (client) 38.25 KB @sentry/node 146.95 KB @sentry/node - without tracing 96.04 KB @sentry/aws-serverless 121.2 KB Release notes
Open source โImportant Changes
- feat(browser): Update
web-vitalsto 5.0.2 (#16492)
This release upgrades the
web-vitalslibrary to version 5.0.2. This upgrade could slightly change the collected web vital values and potentially also influence alerts and performance scores in the Sentry UI.Other Changes
- feat(deps): Bump @sentry/rollup-plugin from 3.4.0 to 3.5.0 (#16524)
- feat(ember): Stop warning for
onErrorusage (#16547) - feat(node): Allow to force activate
vercelAiIntegration(#16551) - feat(node): Introduce
ignoreLayersTypeoption to koa integration (#16553) - fix(browser): Ensure
suppressTracingdoes not leak when async (#16545) - fix(vue): Ensure root component render span always ends (#16488)
- feat(browser): Update
- 9.28.111 Jun 2025
Release notes
Open source โ- feat(deps): Bump @sentry/cli from 2.45.0 to 2.46.0 (#16516)
- fix(nextjs): Avoid tracing calls to symbolication server on dev (#16533)
- fix(sveltekit): Add import attribute for node exports (#16528)
Work in this release was contributed by @eltigerchino. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.46 KB @sentry/browser (incl. Tracing, Replay) 74.68 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.94 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.33 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.13 KB @sentry/browser (incl. Feedback) 39.78 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.15 KB @sentry/react (incl. Tracing) 39.41 KB @sentry/vue 27.69 KB @sentry/vue (incl. Tracing) 39.27 KB @sentry/svelte 23.45 KB CDN Bundle 24.88 KB CDN Bundle (incl. Tracing) 37.63 KB CDN Bundle (incl. Tracing, Replay) 72.66 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.99 KB CDN Bundle - uncompressed 72.67 KB CDN Bundle (incl. Tracing) - uncompressed 111.42 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 222.72 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.25 KB @sentry/nextjs (client) 41.03 KB @sentry/sveltekit (client) 37.93 KB @sentry/node 146.9 KB @sentry/node - without tracing 96.03 KB @sentry/aws-serverless 121.19 KB Release notes
Open source โ- feat(deps): Bump @sentry/cli from 2.45.0 to 2.46.0 (#16516)
- fix(nextjs): Avoid tracing calls to symbolication server on dev (#16533)
- fix(sveltekit): Add import attribute for node exports (#16528)
Work in this release was contributed by @eltigerchino. Thank you for your contribution!
- 9.28.010 Jun 2025
Release notes
Open source โImportant Changes
- feat(nestjs): Stop creating spans for
TracingInterceptor(#16501)
With this change we stop creating spans for
TracingInterceptoras this interceptor only serves as an internal helper and adds noise for the user.- feat(node): Update vercel ai spans as per new conventions (#16497)
This feature ships updates to the span names and ops to better match OpenTelemetry. This should make them more easily accessible to the new agents module view we are building.
Other Changes
- fix(sveltekit): Export
vercelAIIntegrationfrom@sentry/node(#16496)
Work in this release was contributed by @agrattan0820. Thank you for your contribution!
Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.46 KB @sentry/browser (incl. Tracing, Replay) 74.68 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.94 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.33 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.13 KB @sentry/browser (incl. Feedback) 39.78 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.15 KB @sentry/react (incl. Tracing) 39.41 KB @sentry/vue 27.69 KB @sentry/vue (incl. Tracing) 39.27 KB @sentry/svelte 23.45 KB CDN Bundle 24.88 KB CDN Bundle (incl. Tracing) 37.63 KB CDN Bundle (incl. Tracing, Replay) 72.66 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.99 KB CDN Bundle - uncompressed 72.67 KB CDN Bundle (incl. Tracing) - uncompressed 111.42 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 222.72 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.25 KB @sentry/nextjs (client) 41.03 KB @sentry/sveltekit (client) 37.93 KB @sentry/node 146.9 KB @sentry/node - without tracing 96.03 KB @sentry/aws-serverless 121.19 KB Release notes
Open source โImportant Changes
- feat(nestjs): Stop creating spans for
TracingInterceptor(#16501)
With this change we stop creating spans for
TracingInterceptoras this interceptor only serves as an internal helper and adds noise for the user.- feat(node): Update vercel ai spans as per new conventions (#16497)
This feature ships updates to the span names and ops to better match OpenTelemetry. This should make them more easily accessible to the new agents module view we are building.
Other Changes
- fix(sveltekit): Export
vercelAIIntegrationfrom@sentry/node(#16496)
Work in this release was contributed by @agrattan0820. Thank you for your contribution!
- feat(nestjs): Stop creating spans for
- 9.27.05 Jun 2025
Release notes
Open source โ- feat(node): Expand how vercel ai input/outputs can be set (#16455)
- feat(node): Switch to new semantic conventions for Vercel AI (#16476)
- feat(react-router): Add component annotation plugin (#16472)
- feat(react-router): Export wrappers for server loaders and actions (#16481)
- fix(browser): Ignore unrealistically long INP values (#16484)
- fix(react-router): Conditionally add
ReactRouterServerintegration (#16470)
Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.46 KB @sentry/browser (incl. Tracing, Replay) 74.68 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.94 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.33 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.13 KB @sentry/browser (incl. Feedback) 39.77 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.15 KB @sentry/react (incl. Tracing) 39.41 KB @sentry/vue 27.69 KB @sentry/vue (incl. Tracing) 39.27 KB @sentry/svelte 23.45 KB CDN Bundle 24.88 KB CDN Bundle (incl. Tracing) 37.63 KB CDN Bundle (incl. Tracing, Replay) 72.66 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.99 KB CDN Bundle - uncompressed 72.67 KB CDN Bundle (incl. Tracing) - uncompressed 111.42 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 222.72 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.25 KB @sentry/nextjs (client) 41.03 KB @sentry/sveltekit (client) 37.93 KB @sentry/node 146.75 KB @sentry/node - without tracing 96.03 KB @sentry/aws-serverless 121.19 KB Release notes
Open source โ- feat(node): Expand how vercel ai input/outputs can be set (#16455)
- feat(node): Switch to new semantic conventions for Vercel AI (#16476)
- feat(react-router): Add component annotation plugin (#16472)
- feat(react-router): Export wrappers for server loaders and actions (#16481)
- fix(browser): Ignore unrealistically long INP values (#16484)
- fix(react-router): Conditionally add
ReactRouterServerintegration (#16470)
- 9.26.04 Jun 2025
Release notes
Open source โ- feat(react-router): Re-export functions from
@sentry/react(#16465) - fix(nextjs): Skip re instrumentating on generate phase of experimental build mode (#16410)
- fix(node): Ensure adding sentry-trace and baggage headers via SentryHttpInstrumentation doesn't crash (#16473)
Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.44 KB @sentry/browser (incl. Tracing, Replay) 74.69 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.96 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.33 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.13 KB @sentry/browser (incl. Feedback) 39.78 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.15 KB @sentry/react (incl. Tracing) 39.39 KB @sentry/vue 27.67 KB @sentry/vue (incl. Tracing) 39.24 KB @sentry/svelte 23.45 KB CDN Bundle 24.88 KB CDN Bundle (incl. Tracing) 37.62 KB CDN Bundle (incl. Tracing, Replay) 72.64 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.93 KB CDN Bundle - uncompressed 72.67 KB CDN Bundle (incl. Tracing) - uncompressed 111.4 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 222.7 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.22 KB @sentry/nextjs (client) 41.02 KB @sentry/sveltekit (client) 37.93 KB @sentry/node 146.56 KB @sentry/node - without tracing 96.03 KB @sentry/aws-serverless 121.19 KB - feat(react-router): Re-export functions from
- 9.25.13 Jun 2025
Release notes
Open source โ- fix(otel): Don't ignore child spans after the root is sent (#16416)
Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.44 KB @sentry/browser (incl. Tracing, Replay) 74.69 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.96 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.33 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.13 KB @sentry/browser (incl. Feedback) 39.78 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.15 KB @sentry/react (incl. Tracing) 39.39 KB @sentry/vue 27.67 KB @sentry/vue (incl. Tracing) 39.24 KB @sentry/svelte 23.45 KB CDN Bundle 24.88 KB CDN Bundle (incl. Tracing) 37.62 KB CDN Bundle (incl. Tracing, Replay) 72.64 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.93 KB CDN Bundle - uncompressed 72.67 KB CDN Bundle (incl. Tracing) - uncompressed 111.4 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 222.7 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.22 KB @sentry/nextjs (client) 41.02 KB @sentry/sveltekit (client) 37.93 KB @sentry/node 146.52 KB @sentry/node - without tracing 95.99 KB @sentry/aws-serverless 121.15 KB - 9.25.03 Jun 2025
Release notes
Open source โImportant Changes
- feat(browser): Add option to ignore
markandmeasurespans (#16443)
This release adds an option to
browserTracingIntegrationthat lets you ignoremarkandmeasurespans created from theperformance.mark(...)andperformance.measure(...)browser APIs:Sentry.init({ integrations: [ Sentry.browserTracingIntegration({ ignorePerformanceApiSpans: ['measure-to-ignore', /mark-to-ignore/], }), ], });Other Changes
- feat(browser): Export getTraceData from the browser sdks (#16433)
- feat(node): Add
includeServerNameoption (#16442) - fix(nuxt): Remove setting
@sentry/nuxtexternal (#16444)
Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.44 KB @sentry/browser (incl. Tracing, Replay) 74.69 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.96 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.33 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.13 KB @sentry/browser (incl. Feedback) 39.77 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.15 KB @sentry/react (incl. Tracing) 39.39 KB @sentry/vue 27.67 KB @sentry/vue (incl. Tracing) 39.24 KB @sentry/svelte 23.45 KB CDN Bundle 24.88 KB CDN Bundle (incl. Tracing) 37.62 KB CDN Bundle (incl. Tracing, Replay) 72.64 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.93 KB CDN Bundle - uncompressed 72.67 KB CDN Bundle (incl. Tracing) - uncompressed 111.4 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 222.7 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.22 KB @sentry/nextjs (client) 41.02 KB @sentry/sveltekit (client) 37.93 KB @sentry/node 146.37 KB @sentry/node - without tracing 95.83 KB @sentry/aws-serverless 120.98 KB Release notes
Open source โImportant Changes
- feat(browser): Add option to ignore
markandmeasurespans (#16443)
This release adds an option to
browserTracingIntegrationthat lets you ignoremarkandmeasurespans created from theperformance.mark(...)andperformance.measure(...)browser APIs:Sentry.init({ integrations: [ Sentry.browserTracingIntegration({ ignorePerformanceApiSpans: ['measure-to-ignore', /mark-to-ignore/], }), ], });Other Changes
- feat(browser): Add option to ignore
- 9.24.030 May 2025
Release notes
Open source โImportant Changes
- feat(angular): Bump
@sentry/angularpeer dependencies to add Angular 20 support (#16414)
This release adds support for Angular 20 to the Sentry Angular SDK
@sentry/angular.Other Changes
- feat(browser): Add
unregisterOriginalCallbacksoption tobrowserApiErrorsIntegration(#16412) - feat(core): Add user to logs (#16399)
- feat(core): Make sure Supabase db query insights are populated (#16169)
Bundle size ๐ฆ
Path Size @sentry/browser 23.43 KB @sentry/browser - with treeshaking flags 23.2 KB @sentry/browser (incl. Tracing) 37.39 KB @sentry/browser (incl. Tracing, Replay) 74.64 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.92 KB @sentry/browser (incl. Tracing, Replay with Canvas) 79.29 KB @sentry/browser (incl. Tracing, Replay, Feedback) 91.09 KB @sentry/browser (incl. Feedback) 39.77 KB @sentry/browser (incl. sendFeedback) 28.03 KB @sentry/browser (incl. FeedbackAsync) 32.8 KB @sentry/react 25.15 KB @sentry/react (incl. Tracing) 39.35 KB @sentry/vue 27.67 KB @sentry/vue (incl. Tracing) 39.19 KB @sentry/svelte 23.45 KB CDN Bundle 24.71 KB CDN Bundle (incl. Tracing) 37.57 KB CDN Bundle (incl. Tracing, Replay) 72.58 KB CDN Bundle (incl. Tracing, Replay, Feedback) 77.88 KB CDN Bundle - uncompressed 72.17 KB CDN Bundle (incl. Tracing) - uncompressed 111.21 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 222.51 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.03 KB @sentry/nextjs (client) 40.97 KB @sentry/sveltekit (client) 37.88 KB @sentry/node 146.36 KB @sentry/node - without tracing 95.82 KB @sentry/aws-serverless 120.98 KB Release notes
Open source โImportant Changes
- feat(angular): Bump
@sentry/angularpeer dependencies to add Angular 20 support (#16414)
This release adds support for Angular 20 to the Sentry Angular SDK
@sentry/angular.Other Changes
- feat(angular): Bump