Pluggable integrations that can be used to enhance JS SDKs
Last release 1 years ago
29 Jul 2025
Ships unpredictably
gaps range from 9 days to 7 months
Nearly every release is documented
notes for 54 of the last 60 stable releases
1 version withdrawn
withdrawn after publishing
7 years old
394 releases · first in 2019
Release timeline
394 releases since 2019Releases
- 7.120.429 Jul 2025
- 7.120.4-alpha.129 Jul 2025pre-release
- 7.120.4-alpha.029 Jul 2025pre-release
Nothing published for this version
- 7.120.310 Jan 2025
Release notes
Open source →- fix(v7/publish): Ensure discontinued packages are published with
latesttag (#14926)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.9 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.15 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.53 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.78 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.67 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.73 KB @sentry/browser - Webpack (gzipped) 22.92 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.18 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.5 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.42 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.94 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.54 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.26 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB @sentry/react - Webpack (gzipped) 22.95 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB @sentry/nextjs Client - Webpack (gzipped) 54.28 KB @sentry-internal/feedback - Webpack (gzipped) 17.34 KB - fix(v7/publish): Ensure discontinued packages are published with
- 7.120.213 Dec 2024
Release notes
Open source →- fix(tracing-internal): Fix case when lrp keys offset is 0 (#14615)
Work in this release contributed by @LubomirIgonda1. Thank you for your contribution!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.9 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.15 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.52 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.78 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.67 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.73 KB @sentry/browser - Webpack (gzipped) 22.92 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.18 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.5 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.42 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.94 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.54 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.26 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB @sentry/react - Webpack (gzipped) 22.95 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB @sentry/nextjs Client - Webpack (gzipped) 54.28 KB @sentry-internal/feedback - Webpack (gzipped) 17.34 KB - 7.120.15 Dec 2024
Release notes
Open source →- fix(v7/cdn): Ensure
_sentryModuleMetadatais not mangled (#14357)
Work in this release contributed by @gilisho. Thank you for your contribution!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.9 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.14 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.52 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.78 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.67 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.73 KB @sentry/browser - Webpack (gzipped) 22.92 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.18 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.5 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.42 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.94 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.54 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.26 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB @sentry/react - Webpack (gzipped) 22.95 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB @sentry/nextjs Client - Webpack (gzipped) 54.28 KB @sentry-internal/feedback - Webpack (gzipped) 17.34 KB - fix(v7/cdn): Ensure
- 7.120.013 Nov 2024
Release notes
Open source →- feat(v7/browser): Add moduleMetadataIntegration lazy loading support (#13822)
Work in this release contributed by @gilisho. Thank you for your contribution!
- 7.119.210 Oct 2024
Release notes
Open source →- chore(nextjs/v7): Bump rollup to 2.79.2
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.9 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.15 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.53 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.78 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.67 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.73 KB @sentry/browser - Webpack (gzipped) 22.92 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.18 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.5 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.42 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.94 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.54 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.26 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB @sentry/react - Webpack (gzipped) 22.95 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB @sentry/nextjs Client - Webpack (gzipped) 54.28 KB @sentry-internal/feedback - Webpack (gzipped) 17.34 KB - 7.119.14 Oct 2024
Release notes
Open source →- fix(browser/v7): Ensure wrap() only returns functions (#13838 backport)
Work in this release contributed by @legobeat. Thank you for your contribution!
- 7.119.014 Aug 2024
Release notes
Open source →- backport(tracing): Report dropped spans for transactions (#13343)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.89 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.14 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.52 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.77 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.66 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.72 KB @sentry/browser - Webpack (gzipped) 22.91 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.17 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.49 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.41 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.92 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.52 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.24 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB @sentry/react - Webpack (gzipped) 22.94 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB @sentry/nextjs Client - Webpack (gzipped) 54.27 KB @sentry-internal/feedback - Webpack (gzipped) 17.34 KB - 7.118.021 Jun 2024
Release notes
Open source →- fix(v7/bundle): Ensure CDN bundles do not overwrite
window.Sentry(#12579)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.83 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.77 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.02 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.38 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.64 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.53 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.6 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.61 KB @sentry/browser - Webpack (gzipped) 22.78 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.05 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.38 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.06 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.29 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.51 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.1 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.83 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.34 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.27 KB @sentry/react - Webpack (gzipped) 22.81 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.03 KB @sentry/nextjs Client - Webpack (gzipped) 54.15 KB @sentry-internal/feedback - Webpack (gzipped) 17.34 KB - fix(v7/bundle): Ensure CDN bundles do not overwrite
- 7.117.010 Jun 2024
Release notes
Open source →- feat(browser/v7): Publish browserprofling CDN bundle (#12224)
- fix(v7/publish): Add
v7tag to@sentry/replay(#12304)
- 7.116.017 May 2024
Release notes
Open source →- build(craft): Publish lambda layer under its own name for v7 (#12098) (#12099)
This release publishes a new AWS Lambda layer under the name
SentryNodeServerlessSDKv7that users still running v7 can use instead of pinning themselves toSentryNodeServerlessSDK:235.Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.83 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.77 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.02 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.38 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.64 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.53 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.6 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.61 KB @sentry/browser - Webpack (gzipped) 22.78 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.04 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.37 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.05 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.28 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.49 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.08 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.81 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.33 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.27 KB @sentry/react - Webpack (gzipped) 22.81 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.03 KB @sentry/nextjs Client - Webpack (gzipped) 54.15 KB @sentry-internal/feedback - Webpack (gzipped) 17.34 KB - 7.115.016 May 2024
Release notes
Open source →- feat(v7): Add support for global onUnhandled Error/Promise for Bun (#11959)
- fix(replay/v7): Fix user activity not being updated in
start()(#12003) - ref(api): Remove
lastEventIddeprecation warnings (#12042)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.83 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.77 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.02 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.38 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.64 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.53 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.6 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.61 KB @sentry/browser - Webpack (gzipped) 22.78 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.04 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.37 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.05 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.28 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.49 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.08 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.81 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.33 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.27 KB @sentry/react - Webpack (gzipped) 22.81 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.03 KB @sentry/nextjs Client - Webpack (gzipped) 54.15 KB @sentry-internal/feedback - Webpack (gzipped) 17.34 KB - 7.114.08 May 2024
Release notes
Open source →Important Changes
- fix(browser/v7): Continuously record CLS (#11935)
This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the cases where it should have been reported. With this change, the CLS web vital should now always be reported for pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.
Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.
Other Changes
- build(aws-lambda/v7): Turn off lambda layer publishing (#11875)
- feat(v7): Add
tunnelsupport to multiplexed transport (#11851) - fix(opentelemetry-node): support
HTTP_REQUEST_METHODattribute (#11929) - fix(react/v7): Fix react router v4/v5 span names (#11940)
- 7.113.02 May 2024
Release notes
Open source →Important Changes
- feat(node): Support Node 22 (#11754)
This release adds support for Node 22! 🎉
It also adds prebuilt-binaries for Node 22 to
@sentry/profiling-node.Other Changes
- feat(feedback): [v7] New feedback button design (#11841)
- feat(replay/v7): Upgrade rrweb packages to 2.15.0 (#11752)
- fix(ember/v7): Ensure unnecessary spans are avoided (#11848)
- 7.112.224 Apr 2024
Release notes
Open source →- fix(nextjs|sveltekit): Ensure we can pass
browserTracingIntegration(#11765)
- fix(nextjs|sveltekit): Ensure we can pass
- 7.112.123 Apr 2024
Release notes
Open source →- fix(ember/v7): Do not create rendering spans without transaction (#11750)
- 7.112.023 Apr 2024
Release notes
Open source →Important Changes
- feat: Export pluggable integrations from SDK packages (#11723)
Instead of installing
@sentry/integrations, you can now import the pluggable integrations directly from your SDK package:// Before import * as Sentry fromv '@sentry/browser'; import { dedupeIntegration } from '@sentry/integrations'; Sentry.init({ integrations: [dedupeIntegration()], }); // After import * as Sentry from '@sentry/browser'; Sentry.init({ integrations: [Sentry.dedupeIntegration()], });Note that only the functional integrations (e.g.
xxxIntegration()) are re-exported.Other Changes
- feat(replay): Add "maxCanvasSize" option for replay canvases (#11732)
- fix(serverless): [v7] Check if cloud event callback is a function (#11734)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.72 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.69 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.91 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.32 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.62 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.5 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB @sentry/browser - Webpack (gzipped) 22.78 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.9 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.02 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.28 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.25 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.01 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.3 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.18 KB @sentry/react - Webpack (gzipped) 22.81 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.01 KB @sentry/nextjs Client - Webpack (gzipped) 54.15 KB @sentry-internal/feedback - Webpack (gzipped) 17.32 KB - 7.111.018 Apr 2024
Release notes
Open source →- feat(core): Add
server.addressto browserhttp.clientspans (#11663) - fix: Ensure next & sveltekit correctly handle
browserTracingIntegration(#11647) - fix(browser): Don't assume window.document is available (#11598)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.71 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.68 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.7 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.31 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.62 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.5 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB @sentry/browser - Webpack (gzipped) 22.78 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.89 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.25 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.02 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.27 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.21 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.01 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.3 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.17 KB @sentry/react - Webpack (gzipped) 22.81 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90 KB @sentry/nextjs Client - Webpack (gzipped) 54.15 KB @sentry-internal/feedback - Webpack (gzipped) 17.32 KB - feat(core): Add
- 7.110.115 Apr 2024
Release notes
Open source →- fix(nextjs): Fix
tunnelRoutematching logic for hybrid cloud (#11577)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.58 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.55 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.57 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.18 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.49 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.37 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB @sentry/browser - Webpack (gzipped) 22.78 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.76 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.12 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.9 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.27 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.72 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 108.53 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.17 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.03 KB @sentry/react - Webpack (gzipped) 22.81 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.87 KB @sentry/nextjs Client - Webpack (gzipped) 54.01 KB @sentry-internal/feedback - Webpack (gzipped) 17.32 KB - fix(nextjs): Fix
- 7.110.011 Apr 2024
Release notes
Open source →Important Changes
- feat(tracing): Add interactions sample rate to browser tracing integrations (#11382)
You can now use a
interactionsSampleRateto control the sample rate of INP spans.interactionsSampleRateis applied on top of the globaltracesSampleRate. Therefore ifinteractionsSampleRateis0.5andtracesSampleRateis0.1, then the actual sample rate for interactions is0.05.Sentry.init({ tracesSampleRate: 0.1, integrations: [ Sentry.browserTracingIntegration({ interactionsSampleRate: 0.5, }), ], });- Deprecations
This release deprecates the
Hubclass, as well as theaddRequestDataToTransactionmethod. ThetrpcMiddlewaremethod is no longer on theHandlersexport, but instead is a standalone export.Please see the detailed Migration docs on how to migrate to the new APIs.
- feat: Deprecate and relocate
trpcMiddleware(#11389) - feat(core): Deprecate
Hubclass (#11528) - feat(types): Deprecate
Hubinterface (#11530) - ref: Deprecate
addRequestDataToTransaction(#11368)
Other Changes
- feat(core): Update metric normalization (#11519)
- feat(feedback): Customize feedback placeholder text color (#11521)
- feat(remix): Skip span creation for
OPTIONSandHEADrequest. (#11485) - feat(utils): Add metric buckets rate limit (#11506)
- fix(core): unref timer to not block node exit (#11483)
- fix(metrics): Map
statsdtometric_bucket(#11505) - fix(spans): Allow zero exclusive time for INP spans (#11408)
- ref(feedback): Configure feedback fonts (#11520)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.58 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.55 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.57 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.18 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.49 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.37 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB @sentry/browser - Webpack (gzipped) 22.78 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.76 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.12 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.9 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.27 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.72 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 108.53 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.17 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.03 KB @sentry/react - Webpack (gzipped) 22.81 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.87 KB @sentry/nextjs Client - Webpack (gzipped) 54.01 KB @sentry-internal/feedback - Webpack (gzipped) 17.32 KB - 7.109.028 Mar 2024
Release notes
Open source →This release deprecates some exports from the
@sentry/replaypackage. These exports have been moved to the browser SDK (or related framework SDKs like@sentry/react).- feat(feedback): Make "required" text for input elements configurable (#11287)
- feat(node): Add scope to ANR events (#11267)
- feat(replay): Bump
rrwebto 2.12.0 (#11317) - fix(node): Local variables skipped after Promise (#11248)
- fix(node): Skip capturing Hapi Boom error responses (#11324)
- fix(web-vitals): Check for undefined navigation entry (#11312)
- ref(replay): Deprecate
@sentry/replayexports (#11242)
Work in this release contributed by @soerface. Thank you for your contribution!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.48 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.47 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.49 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.11 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.41 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.29 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.52 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.53 KB @sentry/browser - Webpack (gzipped) 22.74 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.59 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.97 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.77 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.17 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.31 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 108.12 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.48 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 71.97 KB @sentry/react - Webpack (gzipped) 22.77 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.81 KB @sentry/nextjs Client - Webpack (gzipped) 53.95 KB @sentry-internal/feedback - Webpack (gzipped) 17.3 KB - 7.108.022 Mar 2024
Release notes
Open source →This release fixes issues with Time to First Byte (TTFB) calculation in the SDK that was introduced with
7.95.0. It also fixes some bugs with Interaction to First Paint (INP) instrumentation. This may impact your Sentry Performance Score calculation.- feat(serverless): Add Node.js 20 to compatible runtimes (#11104)
- feat(core): Backport
ResizeObserverandgoogletagdefault filters (#11210) - feat(webvitals): Adds event entry names for INP handler. Also guard against empty metric value
- fix(metrics): use correct statsd data category (#11187)
- fix(node): Record local variables with falsy values (v7) (#11190)
- fix(node): Use unique variable for ANR context transfer (v7) (#11162)
- fix(node): Time zone handling for
cron(#11225) - fix(tracing): use web-vitals ttfb calculation (#11231)
- fix(types): Fix incorrect
sampledtype onTransaction(#11146) - fix(webvitals): Fix mapping not being maintained properly and sometimes not sending INP spans (#11183)
Work in this release contributed by @quisido and @joshkel. Thank you for your contributions!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.45 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.47 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.47 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.1 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.4 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.29 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.49 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.5 KB @sentry/browser - Webpack (gzipped) 22.74 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.55 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.97 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.77 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.17 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.29 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 108.1 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.48 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 38.99 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 71.96 KB @sentry/react - Webpack (gzipped) 22.77 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.81 KB @sentry/nextjs Client - Webpack (gzipped) 53.95 KB @sentry-internal/feedback - Webpack (gzipped) 17.28 KB - 7.107.014 Mar 2024
Release notes
Open source →This release fixes issues with INP instrumentation with the Next.js SDK and adds support for the
enableInpoption in the deprecatedBrowserTracingintegration for backwards compatibility.- feat(performance): Port INP span instrumentation to old browser tracing (#11085)
- fix(ember): Ensure browser tracing is correctly lazy loaded (#11027)
- fix(node): Do not assert in vendored proxy code (v7 backport) (#11009)
- fix(react): Set
handledvalue in ErrorBoundary depending on fallback [v7] (#11037)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 79.95 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.06 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.04 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 64.7 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.02 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.9 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB @sentry/browser - Webpack (gzipped) 22.68 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.18 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.57 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.34 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.11 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 219.07 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 106.88 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.38 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 38.62 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 71.53 KB @sentry/react - Webpack (gzipped) 22.71 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.35 KB @sentry/nextjs Client - Webpack (gzipped) 53.51 KB @sentry-internal/feedback - Webpack (gzipped) 17.28 KB - 7.106.111 Mar 2024
Release notes
Open source →- fix(nextjs/v7): Use passthrough
createReduxEnhanceron server (#11010)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB @sentry/browser - Webpack (gzipped) 22.68 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.98 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.4 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.2 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.11 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.54 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.35 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.38 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.38 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB @sentry/react - Webpack (gzipped) 22.71 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.13 KB @sentry/nextjs Client - Webpack (gzipped) 53.3 KB @sentry-internal/feedback - Webpack (gzipped) 17.28 KB - fix(nextjs/v7): Use passthrough
- 7.106.08 Mar 2024
Release notes
Open source →- feat(nextjs): Support Hybrid Cloud DSNs with
tunnelRouteoption (#10958) - feat(remix): Add Vite dev-mode support to Express instrumentation (#10811)
- fix(core): Undeprecate
setTransactionName - fix(browser): Don't use chrome variable name (#10874)
- fix(nextjs): Client code should not use Node
global(#10925) - fix(node): support undici headers as strings or arrays (#10938)
- fix(types): Add
AttachmentTypeand use for envelopeattachment_typeproperty (#10946) - ref(ember): Avoid namespace import to hopefully resolve minification issue (#10885)
- chore(sveltekit): Fix punctuation in a console.log (#10895)
Work in this release contributed by @jessezhang91 and @bfontaine. Thank you for your contributions!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB @sentry/browser - Webpack (gzipped) 22.68 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.98 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.4 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.2 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.11 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.54 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.35 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.38 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.38 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB @sentry/react - Webpack (gzipped) 22.71 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.13 KB @sentry/nextjs Client - Webpack (gzipped) 53.3 KB @sentry-internal/feedback - Webpack (gzipped) 17.28 KB - feat(nextjs): Support Hybrid Cloud DSNs with
- 7.105.04 Mar 2024
Release notes
Open source →Important Changes
- feat: Ensure
withActiveSpanis exported everywhere (#10877)
You can use the
withActiveSpanmethod to ensure a certain span is the active span in a given callback. This can be used to create a span as a child of a specific span with thestartSpanAPI methods:const parentSpan = Sentry.startInactiveSpan({ name: 'parent' }); if (parentSpan) { withActiveSpan(parentSpan, () => { // This will be a direct child of parentSpan const childSpan = Sentry.startInactiveSpan({ name: 'child' }); }); }Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB @sentry/browser - Webpack (gzipped) 22.68 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.98 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.4 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.2 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.11 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.54 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.35 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.38 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.37 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB @sentry/react - Webpack (gzipped) 22.71 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.1 KB @sentry/nextjs Client - Webpack (gzipped) 53.28 KB @sentry-internal/feedback - Webpack (gzipped) 17.28 KB - feat: Ensure
- 7.104.029 Feb 2024
Release notes
Open source →Important Changes
- feat(performance): create Interaction standalone spans on inp events (#10709)
This release adds support for the INP web vital. This is currently only supported for Saas Sentry, and product support is released with the upcoming
24.3.0release of self-hosted.To opt-in to this feature, you can use the
enableInpoption in thebrowserTracingIntegration:Sentry.init({ integrations: [ Sentry.browserTracingIntegration({ enableInp: true, }); ] })Other Changes
- feat(feedback): Flush replays when feedback form opens (#10567)
- feat(profiling-node): Expose
nodeProfilingIntegration(#10864) - fix(profiling-node): Fix dependencies to point to current versions (#10861)
- fix(replay): Add
errorHandlerfor replayCanvas integration (#10796) - fix(utils): Only mark aggregate errors as exception groups (#10850)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB @sentry/browser - Webpack (gzipped) 22.68 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.96 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.38 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.18 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.09 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.47 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.28 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.32 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.35 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB @sentry/react - Webpack (gzipped) 22.71 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.1 KB @sentry/nextjs Client - Webpack (gzipped) 53.28 KB @sentry-internal/feedback - Webpack (gzipped) 17.28 KB - 7.103.027 Feb 2024
Release notes
Open source →Important Changes
- feat(core): Allow to pass
forceTransactiontostartSpan()APIs (#10819)
You can now pass
forceTransaction: truetostartSpan(),startSpanManual()andstartInactiveSpan(). This allows you to start a span that you want to be a transaction, if possible. Under the hood, the SDK will connect this span to the running active span (if there is one), but still send the new span as a transaction to the Sentry backend, if possible, ensuring it shows up as a transaction throughout the system.Please note that setting this to
truedoes not guarantee that this will be sent as a transaction, but that the SDK will try to do so. You can enable this flag if this span is important to you and you want to ensure that you can see it in the Sentry UI.Other Changes
- fix: Make breadcrumbs option optional in WinterCGFetch integration (#10792)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.54 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.76 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.7 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.38 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.73 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.64 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.38 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.39 KB @sentry/browser - Webpack (gzipped) 22.66 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.78 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.28 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.08 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.06 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.17 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.96 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.27 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.25 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.14 KB @sentry/react - Webpack (gzipped) 22.69 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.86 KB @sentry/nextjs Client - Webpack (gzipped) 52.05 KB @sentry-internal/feedback - Webpack (gzipped) 17.24 KB - feat(core): Allow to pass
- 7.102.122 Feb 2024
Release notes
Open source →- fix(performance): Fixes latest route name and source for interactions not updating properly on navigation (#10702)
- fix(tracing): Guard against missing
window.location(#10659) - ref: Make span types more robust (#10660)
- ref(remix): Make
@remix-run/routera dependency (v7) (#10779)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.43 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.66 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.6 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.28 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.62 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.54 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.38 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.39 KB @sentry/browser - Webpack (gzipped) 22.66 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.72 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.21 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.03 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.05 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.99 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.78 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.08 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.19 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.03 KB @sentry/react - Webpack (gzipped) 22.69 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.75 KB @sentry/nextjs Client - Webpack (gzipped) 51.95 KB @sentry-internal/feedback - Webpack (gzipped) 17.24 KB - 7.102.020 Feb 2024
Release notes
Open source →- fix: Export session API (#10712)
- fix(core): Fix scope capturing via
captureContextfunction (#10737)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.43 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.66 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.6 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.28 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.62 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.5 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.38 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.39 KB @sentry/browser - Webpack (gzipped) 22.66 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.72 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.21 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.03 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25.05 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.99 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.78 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.08 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.19 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.03 KB @sentry/react - Webpack (gzipped) 22.69 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.7 KB @sentry/nextjs Client - Webpack (gzipped) 51.89 KB @sentry-internal/feedback - Webpack (gzipped) 17.24 KB - 7.101.115 Feb 2024
Release notes
Open source →In version 7.101.0 the
@sentry/hubpackage was missing due to a publishing issue. This release contains the package again.- fix(nextjs): Remove
webpack://prefix more broadly from source mapsourcesfield (#10641)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.42 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.65 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.58 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.26 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.6 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.48 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.38 KB @sentry/browser - Webpack (gzipped) 22.64 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.69 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.18 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.01 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.8 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.6 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.89 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.14 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.01 KB @sentry/react - Webpack (gzipped) 22.67 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.68 KB @sentry/nextjs Client - Webpack (gzipped) 51.87 KB @sentry-internal/feedback - Webpack (gzipped) 17.22 KB - fix(nextjs): Remove
- 7.101.013 Feb 2024
Release notes
Open source →- feat: Export semantic attribute keys from SDK packages (#10637)
- feat(core): Add metric summaries to spans (#10554)
- feat(core): Deprecate the
Hubconstructor (#10584) - feat(core): Make custom tracing methods return spans & set default op (#10633)
- feat(replay): Add
getReplayutility function (#10510) - fix(angular-ivy): Add
exportsfield topackage.json(#10569) - fix(sveltekit): Avoid capturing Http 4xx errors on the client (#10571)
- fix(sveltekit): Properly await sourcemaps flattening (#10602)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.42 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.65 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.58 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.26 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.6 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.48 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.38 KB @sentry/browser - Webpack (gzipped) 22.64 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.69 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.18 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.01 KB @sentry/browser - ES6 CDN Bundle (gzipped) 25 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.8 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.6 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.89 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.14 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.01 KB @sentry/react - Webpack (gzipped) 22.67 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.68 KB @sentry/nextjs Client - Webpack (gzipped) 51.87 KB @sentry-internal/feedback - Webpack (gzipped) 17.22 KB - 7.100.17 Feb 2024
Release notes
Open source →This release contains build fixes for profiling-node.
- build(profiling-node): make sure debug build plugin is used #10534
- build: Only run profiling e2e test if bindings have changed #10542
- fix(feedback): Replay breadcrumb for feedback events was incorrect #10536
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.33 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.57 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.49 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.17 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.52 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.39 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.37 KB @sentry/browser - Webpack (gzipped) 22.63 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.36 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.9 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.66 KB @sentry/browser - ES6 CDN Bundle (gzipped) 24.73 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.07 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.87 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.26 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.8 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.93 KB @sentry/react - Webpack (gzipped) 22.67 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.54 KB @sentry/nextjs Client - Webpack (gzipped) 51.72 KB @sentry-internal/feedback - Webpack (gzipped) 17.22 KB - 7.100.06 Feb 2024
Release notes
Open source →Important Changes
Deprecations
This release includes some deprecations. For more details please look at our migration guide.
The deprecation most likely to affect you is the one of
BrowserTracing. Instead ofnew BrowserTracing(), you should now usebrowserTracingIntegration(), which will also handle framework-specific instrumentation out of the box for you - no need to pass a customroutingInstrumentationanymore. For@sentry/react, we expose dedicated integrations for the different react-router versions:reactRouterV6BrowserTracingIntegration()reactRouterV5BrowserTracingIntegration()reactRouterV4BrowserTracingIntegration()reactRouterV3BrowserTracingIntegration()
See the migration guide for details.
- feat(angular): Export custom
browserTracingIntegration()(#10353) - feat(browser): Deprecate
BrowserTracingintegration (#10493) - feat(browser): Export
browserProfilingIntegration(#10438) - feat(bun): Export
bunServerIntegration()(#10439) - feat(nextjs): Add
browserTracingIntegration(#10397) - feat(react): Add
reactRouterV3BrowserTracingIntegrationfor react router v3 (#10489) - feat(react): Add
reactRouterV4/V5BrowserTracingIntegrationfor react router v4 & v5 (#10488) - feat(react): Add
reactRouterV6BrowserTracingIntegrationfor react router v6 & v6.4 (#10491) - feat(remix): Add custom
browserTracingIntegration(#10442) - feat(node): Expose functional integrations to replace classes (#10356)
- feat(vercel-edge): Replace
WinterCGFetchwithwinterCGFetchIntegration(#10436) - feat: Deprecate non-callback based
continueTrace(#10301) - feat(vue): Deprecate
new VueIntegration()(#10440) - feat(vue): Implement vue
browserTracingIntegration()(#10477) - feat(sveltekit): Add custom
browserTracingIntegration()(#10450)
Profiling Node
@sentry/profiling-nodehas been ported into the monorepo. Future development for it will happen here!- pkg(profiling-node): port profiling-node repo to monorepo (#10151)
Other Changes
- feat: Export
setHttpStatusfrom all packages (#10475) - feat(bundles): Add pluggable integrations on CDN to
Sentrynamespace (#10452) - feat(core): Pass
name&attributestotracesSampler(#10426) - feat(feedback): Add
system-uito start of font family (#10464) - feat(node-experimental): Add koa integration (#10451)
- feat(node-experimental): Update opentelemetry packages (#10456)
- feat(node-experimental): Update tracing integrations to functional style (#10443)
- feat(replay): Bump
rrwebto 2.10.0 (#10445) - feat(replay): Enforce masking of credit card fields (#10472)
- feat(utils): Add
propagationContextFromHeaders(#10313) - fix: Make
startSpan,startSpanManualandstartInactiveSpanpick up the scopes at time of creation instead of termination (#10492) - fix(feedback): Fix logo color when colorScheme is "system" (#10465)
- fix(nextjs): Do not report redirects and notFound calls as errors in server actions (#10474)
- fix(nextjs): Fix navigation tracing on app router (#10502)
- fix(nextjs): Apply server action data to correct isolation scope (#10514)
- fix(node): Use normal
requirecall to import Undici (#10388) - ref(nextjs): Remove internally used deprecated APIs (#10453)
- ref(vue): use startInactiveSpan in tracing mixin (#10406)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.33 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.57 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.5 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.18 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.52 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.39 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.37 KB @sentry/browser - Webpack (gzipped) 22.63 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.36 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.89 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.66 KB @sentry/browser - ES6 CDN Bundle (gzipped) 24.73 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.06 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.87 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.26 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.8 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.93 KB @sentry/react - Webpack (gzipped) 22.67 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.55 KB @sentry/nextjs Client - Webpack (gzipped) 51.72 KB @sentry-internal/feedback - Webpack (gzipped) 17.22 KB - 7.99.030 Jan 2024
Release notes
Open source →Important Changes
Deprecations
This release includes some deprecations for span related methods and integrations in our Deno SDK,
@sentry/deno. For more details please look at our migration guide.- feat(core): Deprecate
Span.setHttpStatusin favor ofsetHttpStatus(#10268) - feat(core): Deprecate
spanStatusfromHttpCodein favour ofgetSpanStatusFromHttpCode(#10361) - feat(core): Deprecate
StartSpanOptions.originin favour of passing attribute (#10274) - feat(deno): Expose functional integrations to replace classes (#10355)
Other Changes
- feat(bun): Add missing
@sentry/nodere-exports (#10396) - feat(core): Add
afterAllSetuphook for integrations (#10345) - feat(core): Ensure
startSpan()can handle spans that require parent (#10386) - feat(core): Read propagation context off scopes in
startSpanAPIs (#10300) - feat(remix): Export missing
@sentry/nodefunctions (#10385, #10391) - feat(serverless): Add missing
@sentry/nodere-exports (#10390) - feat(sveltekit): Add more missing
@sentry/nodere-exports (#10392) - feat(tracing): Export proper type for browser tracing (#10411)
- feat(tracing): Expose new
browserTracingIntegration(#10351) - fix: Ensure
afterAllSetupis called when usingaddIntegration()(#10372) - fix(core): Export
spanToTraceContextfunction from span utils (#10364) - fix(core): Make
FunctionToStringintegration use SETUP_CLIENTS weakmap (#10358) - fix(deno): Call function if client is not setup (#10354)
- fix(react): Fix attachReduxState option (#10381)
- fix(spotlight): Use unpatched http.request (#10369)
- fix(tracing): Only create request span if there is active span (#10375)
- ref: Read propagation context off of scope and isolation scope when propagating and applying trace context (#10297)
Work in this release contributed by @AleshaOleg. Thank you for your contribution!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.18 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.39 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.28 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.01 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.41 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.28 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.33 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.34 KB @sentry/browser - Webpack (gzipped) 22.6 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.54 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.45 KB @sentry/browser - ES6 CDN Bundle (gzipped) 24.66 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 213.12 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.13 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.56 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.78 KB @sentry/react - Webpack (gzipped) 22.63 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.45 KB @sentry/nextjs Client - Webpack (gzipped) 50.76 KB @sentry-internal/feedback - Webpack (gzipped) 17.21 KB - feat(core): Deprecate
- 7.98.025 Jan 2024
Release notes
Open source →This release primarily fixes some type declaration errors:
- feat(core): Export
IntegrationIndextype (#10337) - fix(nextjs): Fix Http integration type declaration (#10338)
- fix(node): Fix type definitions (#10339)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.84 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.04 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.93 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.68 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.07 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.25 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.26 KB @sentry/browser - Webpack (gzipped) 22.5 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.57 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.13 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.97 KB @sentry/browser - ES6 CDN Bundle (gzipped) 24.43 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.42 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.44 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 73.08 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.07 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.45 KB @sentry/react - Webpack (gzipped) 22.55 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.11 KB @sentry/nextjs Client - Webpack (gzipped) 50.4 KB @sentry-internal/feedback - Webpack (gzipped) 17.21 KB - feat(core): Export
- 7.97.025 Jan 2024
Release notes
Open source →This release contains a bug that can lead to too many spans being generated. This has been fixed in v7.99.0, we recommend updating to this version.
Note: The 7.96.0 release was incomplete. This release is partially encompassing changes from
7.96.0.- feat(react): Add
stripBasenameoption for React Router 6 (#10314)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.84 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.04 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.93 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.68 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.07 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.25 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.26 KB @sentry/browser - Webpack (gzipped) 22.5 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.57 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.13 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.97 KB @sentry/browser - ES6 CDN Bundle (gzipped) 24.43 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.42 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.44 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 73.08 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.07 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.44 KB @sentry/react - Webpack (gzipped) 22.55 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.11 KB @sentry/nextjs Client - Webpack (gzipped) 50.4 KB @sentry-internal/feedback - Webpack (gzipped) 17.21 KB - feat(react): Add
- 7.95.023 Jan 2024
Release notes
Open source →Important Changes
Deprecations
This release includes some deprecations in preparation for v8.
Most notably, it deprecates the
Replay&Feedbackclasses in favor of a functional replacement:import * as Sentry from '@sentry/browser'; Sentry.init({ integrations: [ // Instead of new Sentry.Replay(), new Sentry.Feedback(), // Use the functional replacement: Sentry.replayIntegration(), Sentry.feedbackIntegration(), ], });- feat(core): Deprecate
Span.originin favor ofsentry.originattribute (#10260) - feat(core): Deprecate
Span.parentSpanId(#10244) - feat(core): Expose
isInitialized()to replace checking viagetClient(#10296) - feat(replay): Deprecate
Replay,ReplayCanvas,Feedbackclasses (#10270) - feat(wasm): Deprecate
Wasmintegration class (#10230)
Other Changes
- feat: Make
parameterizefunction available through browser and node API (#10085) - feat(feedback): Configure feedback border radius (#10289)
- feat(sveltekit): Update default integration handling & deprecate
addOrUpdateIntegration(#10263) - fix(replay-canvas): Add missing dependency on @sentry/utils (#10279)
- fix(tracing): Don't send negative ttfb (#10286)
Work in this release contributed by @AleshaOleg. Thank you for your contribution!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.79 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.96 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.85 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.6 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 32.97 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.24 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.25 KB @sentry/browser - Webpack (gzipped) 22.53 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.46 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.03 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.85 KB @sentry/browser - ES6 CDN Bundle (gzipped) 24.36 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.12 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.11 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 72.91 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.95 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.37 KB @sentry/react - Webpack (gzipped) 22.58 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.98 KB @sentry/nextjs Client - Webpack (gzipped) 50.27 KB @sentry-internal/feedback - Webpack (gzipped) 17.21 KB - feat(core): Deprecate
- 7.94.119 Jan 2024
Release notes
Open source →This release fixes a publishing issue with
7.94.0.These are the
7.94.0release notes:Important Changes
Deprecations
As we're moving closer to the next major version of the SDK, more public APIs were deprecated.
To get a head start on migrating to the replacement APIs, please take a look at our migration guide.
- feat: Deprecate user segment field (#10210)
- feat(core): Deprecate
finishonSpaninterface in favour ofend(#10161) - feat(core): Deprecate
getCurrentHub()(#10200) - feat(core): Deprecate
hub.bindClient()&makeMain()(#10188) - feat(core): Deprecate
Span.instrumenter(#10139) - feat(core): Deprecate
Span.isSuccess()in favor of reading span status (#10213) - feat(core): Deprecate
Span.opin favor of op attribute (#10189) - feat(core): Deprecate
Span.spanRecorder(#10199) - feat(core): Deprecate
Span.status(#10208) - feat(core): Deprecate
Span.transactionin favor ofgetRootSpan(#10134) - feat(core): Deprecate
Transaction.instrumenter(#10162) - feat(core): Deprecate
Transaction.setMeasurementin favor ofsetMeasurement(#10182) - feat(core): Deprecate integration classes &
Integrations.X(#10198) - feat(core): Deprecate methods on
Hub(#10124) - feat(core): Deprecate remaining
setNamedeclarations onTransactionandSpan(#10164) - feat(core): Deprecate span
startTimestamp&endTimestamp(#10192) - feat(core): Deprecate
hub.bindClient()andmakeMain()(#10118) - feat(types): Deprecate
oponSpaninterface (#10217) - feat(integrations): Deprecate
Transactionintegration (#10178) - feat(integrations): Deprecate pluggable integration classes (#10211)
Replay & Canvas
We have added a new
ReplayCanvasintegration (#10112), which you can add to capture the contents of canvas elements with Replay.Just add it in addition to the regular replay integration:
Sentry.init({ integrations: [new Sentry.Replay(), new Sentry.ReplayCanvas()], });Other Changes
- feat(core): Add
client.getIntegrationByName()(#10130) - feat(core): Add
client.init()to replaceclient.setupIntegrations()(#10118) - feat(core): Add
withActiveSpan(#10195) - feat(core): Add
withIsolationScope(#10141) - feat(core): Streamline integration function results to be compatible (#10135)
- feat(core): Write data from
setUser,setTags,setExtras,setTag,setExtra, andsetContextto isolation scope (#10163) - feat(core): Add domain information to resource span data #10205
- feat(feedback): Export sendFeedback from @sentry/browser (#10231)
- feat(node): Update and vendor https-proxy-agent (#10088)
- feat(node-experimental): Add
withActiveSpan(#10194) - feat(replays): Add snapshot function to replay canvas integration (#10066)
- feat(types): Add
SerializedEventinterface (pre v8) (#10240) - feat(types): Add support for new monitor config thresholds (#10225)
- fix: Ensure all integration classes have correct types (#10183)
- fix(astro): Fix import path when using external init files with default path (#10214)
- fix(cdn): Emit console warning instead of error for integration shims (#10193)
- fix(core): Take user from current scope when starting a session (#10153)
- fix(node-experimental): Ensure
http.status_codeis always a string (#10177) - fix(node): Guard against
process.argv[1]being undefined (#10155) - fix(node): Module name resolution (#10144)
- fix(node): Remove leading slash in Windows filenames (#10147)
- fix(remix): Capture thrown fetch responses. (#10166)
- fix(tracing): Gate mongo operation span data behind sendDefaultPii (#10227)
- fix(tracing-internal): Delay pageload transaction finish until document is interactive (#10215)
- fix(tracing-internal): Only collect request/response spans when browser performance timing is available (#10207)
- fix(tracing-internal): Prefer
fetchinit headers overfetchinput headers (#10176) - fix(utils): Ensure dropUndefinedKeys() does not break class instances (#10245)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.62 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.88 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.77 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.52 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 32.89 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.15 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.16 KB @sentry/browser - Webpack (gzipped) 22.51 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.2 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 66.81 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.66 KB @sentry/browser - ES6 CDN Bundle (gzipped) 24.21 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 210.51 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 98.48 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 72.46 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.71 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.3 KB @sentry/react - Webpack (gzipped) 22.55 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.88 KB @sentry/nextjs Client - Webpack (gzipped) 50.01 KB @sentry-internal/feedback - Webpack (gzipped) 17.14 KB - 7.93.010 Jan 2024
Release notes
Open source →Important Changes
Deprecations
As we're moving closer to the next major version of the SDK, more public APIs were deprecated.
To get a head start on migrating to the replacement APIs, please take a look at our migration guide.
- feat(core): Deprecate
getActiveTransaction()&scope.getTransaction()(#10098) - feat(core): Deprecate
Hub.shouldSendDefaultPii(#10062) - feat(core): Deprecate
new Transaction()(#10125) - feat(core): Deprecate
scope.getSpan()&scope.setSpan()(#10114) - feat(core): Deprecate
scope.setTransactionName()(#10113) - feat(core): Deprecate
span.startChild()(#10091) - feat(core): Deprecate
startTransaction()(#10073) - feat(core): Deprecate
Transaction.getDynamicSamplingContextin favor ofgetDynamicSamplingContextFromSpan(#10094) - feat(core): Deprecate arguments for
startSpan()(#10101) - feat(core): Deprecate hub capture APIs and add them to
Scope(#10039) - feat(core): Deprecate session APIs on hub and add global replacements (#10054)
- feat(core): Deprecate span
nameanddescription(#10056) - feat(core): Deprecate span
tags,data,context& setters (#10053) - feat(core): Deprecate transaction metadata in favor of attributes (#10097)
- feat(core): Deprecate
span.sampledin favor ofspan.isRecording()(#10034) - ref(node-experimental): Deprecate
lastEventIdon scope (#10093)
Cron Monitoring Support for
node-schedulelibraryThis release adds auto instrumented check-ins for the
node-schedulelibrary.import * as Sentry from '@sentry/node'; import * as schedule from 'node-schedule'; const scheduleWithCheckIn = Sentry.cron.instrumentNodeSchedule(schedule); const job = scheduleWithCheckIn.scheduleJob('my-cron-job', '* * * * *', () => { console.log('You will see this message every minute'); });- feat(node): Instrumentation for
node-schedulelibrary (#10086)
Other Changes
- feat(core): Add
span.spanContext()(#10037) - feat(core): Add
spanToJSON()method to get span properties (#10074) - feat(core): Allow to pass
scopetostartSpanAPIs (#10076) - feat(core): Allow to pass start/end timestamp for spans flexibly (#10060)
- feat(node): Make
getModuleFromFilenamecompatible with ESM (#10061) - feat(replay): Update rrweb to 2.7.3 (#10072)
- feat(utils): Add
parameterizefunction (#9145) - fix(astro): Use correct package name for CF (#10099)
- fix(core): Do not run
setupfor integration on client multiple times (#10116) - fix(core): Ensure we copy passed in span data/tags/attributes (#10105)
- fix(cron): Make name required for instrumentNodeCron option (#10070)
- fix(nextjs): Don't capture not-found and redirect errors in generation functions (#10057)
- fix(node):
LocalVariablesintegration should have correct name (#10084) - fix(node): Anr events should have an
event_id(#10068) - fix(node): Revert to only use sync debugger for
LocalVariables(#10077) - fix(node): Update ANR min node version to v16.17.0 (#10107)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 76.98 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.36 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 61.99 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 32.38 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 30.98 KB @sentry/browser - Webpack (gzipped) 22.31 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 74.61 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 66.26 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.07 KB @sentry/browser - ES6 CDN Bundle (gzipped) 23.9 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 208.7 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 96.75 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 71.35 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.04 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 68.72 KB @sentry/react - Webpack (gzipped) 22.35 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.37 KB @sentry/nextjs Client - Webpack (gzipped) 49.5 KB @sentry-internal/feedback - Webpack (gzipped) 17.01 KB - feat(core): Deprecate
- 7.92.04 Jan 2024
Release notes
Open source →Important Changes
Deprecations
- feat(core): Add
span.updateName()and deprecatespan.setName()(#10018) - feat(core): Deprecate
span.getTraceContext()(#10032) - feat(core): Deprecate
span.toTraceparent()in favor ofspanToTraceHeader()util (#10031) - feat(core): Deprecate
tracein favor ofstartSpan(#10012) - feat(core): Deprecate span
toContext()andupdateWithContext()(#10030) - ref: Deprecate
deepReadDirSync(#10016) - ref: Deprecate
lastEventId()(#10043)
Please take a look at the Migration docs for more details. These methods will be removed in the upcoming v8 major release.
Cron Monitoring Support for
cronandnode-cronlibraries- feat(node): Instrumentation for
cronlibrary (#9999) - feat(node): Instrumentation for
node-cronlibrary (#9904)
This release adds instrumentation for the
cronandnode-cronlibraries. This allows you to monitor your cron jobs with Sentry cron monitors.For
cron:import * as Sentry from '@sentry/node'; import { CronJob } from 'cron'; const CronJobWithCheckIn = Sentry.cron.instrumentCron(CronJob, 'my-cron-job'); // use the constructor const job = new CronJobWithCheckIn('* * * * *', () => { console.log('You will see this message every minute'); }); // or from const job = CronJobWithCheckIn.from({ cronTime: '* * * * *', onTick: () => { console.log('You will see this message every minute'); }, });For
node-cron:import * as Sentry from '@sentry/node'; import cron from 'node-cron'; const cronWithCheckIn = Sentry.cron.instrumentNodeCron(cron); cronWithCheckIn.schedule( '* * * * *', () => { console.log('running a task every minute'); }, { name: 'my-cron-job' }, );Other Changes
- feat(astro): Add
enabledoption to Astro integration options (#10007) - feat(core): Add
attributestoSpan(#10008) - feat(core): Add
setClient()andgetClient()toScope(#10055) - feat(integrations): Capture error cause with
captureErrorCauseinExtraErrorDataintegration (#9914) - feat(node-experimental): Allow to pass base span options to trace methods (#10006)
- feat(node): Local variables via async inspector in node 19+ (#9962)
- fix(astro): handle commonjs related issues (#10042)
- fix(astro): Handle non-utf8 encoded streams in middleware (#9989)
- fix(astro): prevent sentry from externalized (#9994)
- fix(core): Ensure
withScopesets current scope correctly with async callbacks (#9974) - fix(node): ANR fixes and additions (#9998)
- fix(node): Anr should not block exit (#10035)
- fix(node): Correctly resolve module name (#10001)
- fix(node): Handle inspector already open (#10025)
- fix(node): Make
NODE_VERSIONproperties required (#9964) - fix(node): Anr doesn't block exit (#10064)
- fix(utils): use correct typeof URL validation (#10028)
- perf(astro): reduce unnecessary path resolutions (#10021)
- ref(astro): Use astro logger instead of console (#9995)
- ref(remix): Isolate Express instrumentation from server auto-instrumentation. (#9966)
Work in this release contributed by @joshkel. Thank you for your contribution!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 76.1 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 67.5 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 61.1 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 32.08 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 30.49 KB @sentry/browser - Webpack (gzipped) 22.21 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 73.53 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 65.2 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 31.37 KB @sentry/browser - ES6 CDN Bundle (gzipped) 23.29 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 204.35 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 94.24 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 69.09 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 34.33 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 67.91 KB @sentry/react - Webpack (gzipped) 22.23 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 84.53 KB @sentry/nextjs Client - Webpack (gzipped) 49.14 KB @sentry-internal/feedback - Webpack (gzipped) 16.73 KB - feat(core): Add
- 7.91.022 Dec 2023
Release notes
Open source →Important Changes
- feat: Add server runtime metrics aggregator (#9894)
The release adds alpha support for Sentry developer metrics in the server runtime SDKs (
@sentry/node,@sentry/deno,@sentry/nextjsserver-side, etc.). Via the newly introduced APIs, you can now flush metrics directly to Sentry.To enable capturing metrics, you first need to add the
metricsAggregatorexperiment to yourSentry.initcall.Sentry.init({ dsn: '__DSN__', _experiments: { metricsAggregator: true, }, });Then you'll be able to add
counters,sets,distributions, andgaugesunder theSentry.metricsnamespace.// Add 4 to a counter named `hits` Sentry.metrics.increment('hits', 4); // Add 2 to gauge named `parallel_requests`, tagged with `type: "a"` Sentry.metrics.gauge('parallel_requests', 2, { tags: { type: 'a' } }); // Add 4.6 to a distribution named `response_time` with unit seconds Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' }); // Add 2 to a set named `valuable.ids` Sentry.metrics.set('valuable.ids', 2);- feat(node): Rework ANR to use worker script via an integration (#9945)
The ANR tracking integration for Node has been reworked to use an integration. ANR tracking now requires a minimum Node version of 16 or higher. Previously you had to call
Sentry.enableANRDetectionbefore running your application, now you can simply add theAnrintegration to yourSentry.initcall.import * as Sentry from '@sentry/node'; Sentry.init({ dsn: 'https://[email protected]/1337', integrations: [new Sentry.Integrations.Anr({ captureStackTrace: true, anrThreshold: 200 })], });Other Changes
- feat(breadcrumbs): Send component names on UI breadcrumbs (#9946)
- feat(core): Add
getGlobalScope()method (#9920) - feat(core): Add
getIsolationScope()method (#9957) - feat(core): Add
span.end()to replacespan.finish()(#9954) - feat(core): Ensure
startSpan&startSpanManualfork scope (#9955) - feat(react): Send component name on spans (#9949)
- feat(replay): Send component names in replay breadcrumbs (#9947)
- feat(sveltekit): Add options to configure fetch instrumentation script for CSP (#9969)
- feat(tracing): Send component name on interaction spans (#9948)
- feat(utils): Add function to extract relevant component name (#9921)
- fix(core): Rethrow caught promise rejections in
startSpan,startSpanManual,trace(#9958)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.89 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 67.25 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.87 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.83 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 30.39 KB @sentry/browser - Webpack (gzipped) 22.09 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 73.3 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.97 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 31.12 KB @sentry/browser - ES6 CDN Bundle (gzipped) 23.12 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 203.77 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 93.66 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 68.58 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 34.07 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 67.66 KB @sentry/react - Webpack (gzipped) 22.12 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 84.31 KB @sentry/nextjs Client - Webpack (gzipped) 48.95 KB @sentry-internal/feedback - Webpack (gzipped) 16.6 KB - 7.90.020 Dec 2023
Release notes
Open source →- feat(replay): Change to use preset quality values (#9903)
- fix(replay): Adjust development hydration error messages (#9922)
- fix(sveltekit): Add
typesfield to package.jsonexports(#9926)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.39 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.79 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.38 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.39 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 30.04 KB @sentry/browser - Webpack (gzipped) 21.69 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 72.79 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.51 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 30.71 KB @sentry/browser - ES6 CDN Bundle (gzipped) 22.77 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 202.36 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 92.28 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 67.34 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 33.62 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 67.17 KB @sentry/react - Webpack (gzipped) 21.72 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.94 KB @sentry/nextjs Client - Webpack (gzipped) 48.57 KB @sentry-internal/feedback - Webpack (gzipped) 16.35 KB - 7.89.019 Dec 2023
Release notes
Open source →Important Changes
Deprecations
- feat(core): Deprecate
configureScope(#9887) - feat(core): Deprecate
pushScope&popScope(#9890)
This release deprecates
configureScope,pushScope, andpopScope, which will be removed in the upcoming v8 major release.Hapi Integration
- feat(node): Add Hapi Integration (#9539)
This release adds an integration for Hapi. It can be used as follows:
const Sentry = require('@sentry/node'); const Hapi = require('@hapi/hapi'); const init = async () => { const server = Hapi.server({ // your server configuration ... }); Sentry.init({ dsn: '__DSN__', tracesSampleRate: 1.0, integrations: [ new Sentry.Integrations.Hapi({ server }), ], }); server.route({ // your route configuration ... }); await server.start(); };SvelteKit 2.0
- chore(sveltekit): Add SvelteKit 2.0 to peer dependencies (#9861)
This release adds support for SvelteKit 2.0 in the
@sentry/sveltekitpackage. If you're upgrading from SvelteKit 1.x to 2.x and already use the Sentry SvelteKit SDK, no changes apart from upgrading to this (or a newer) version are necessary.Other Changes
- feat(core): Add type & utility for function-based integrations (#9818)
- feat(core): Update
withScopeto return callback return value (#9866) - feat(deno): Support
Deno.CronSchedulefor cron jobs (#9880) - feat(nextjs): Auto instrument generation functions (#9781)
- feat(nextjs): Connect server component transactions if there is no incoming trace (#9845)
- feat(node-experimental): Update to new Scope APIs (#9799)
- feat(replay): Add
canvas.typesetting (#9877) - fix(nextjs): Export
createReduxEnhancer(#9854) - fix(remix): Do not capture thrown redirect responses. (#9909)
- fix(sveltekit): Add conditional exports (#9872)
- fix(sveltekit): Avoid capturing 404 errors on client side (#9902)
- fix(utils): Do not use
Eventtype in worldwide (#9864) - fix(utils): Support crypto.getRandomValues in old Chromium versions (#9251)
- fix(utils): Update
eventFromUnknownInputto avoid scope pollution &getCurrentHub(#9868) - ref: Use
addBreadcrumbdirectly & allow to pass hint (#9867)
Work in this release contributed by @adam187, and @jghinestrosa. Thank you for your contributions!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.14 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.57 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.16 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.23 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 29.85 KB @sentry/browser - Webpack (gzipped) 21.53 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 72.57 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.28 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 30.54 KB @sentry/browser - ES6 CDN Bundle (gzipped) 22.59 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 202.16 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 92.26 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 67.31 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 33.4 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.92 KB @sentry/react - Webpack (gzipped) 21.57 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.71 KB @sentry/nextjs Client - Webpack (gzipped) 48.38 KB @sentry-internal/feedback - Webpack (gzipped) 16.18 KB - feat(core): Deprecate
- 7.88.014 Dec 2023
Release notes
Open source →Important Changes
- feat(browser): Add browser metrics sdk (#9794)
The release adds alpha support for Sentry developer metrics in the Browser SDKs (
@sentry/browserand related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry.To enable capturing metrics, you first need to add the
MetricsAggregatorintegration.Sentry.init({ dsn: '__DSN__', integrations: [ new Sentry.metrics.MetricsAggregator(), ], });Then you'll be able to add
counters,sets,distributions, andgaugesunder theSentry.metricsnamespace.// Add 4 to a counter named `hits` Sentry.metrics.increment('hits', 4); // Add 2 to gauge named `parallel_requests`, tagged with `happy: "no"` Sentry.metrics.gauge('parallel_requests', 2, { tags: { happy: 'no' } }); // Add 4.6 to a distribution named `response_time` with unit seconds Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' }); // Add 2 to a set named `valuable.ids` Sentry.metrics.set('valuable.ids', 2);In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.)
- feat(deno): Optionally instrument
Deno.cron(#9808)
This releases add support for instrumenting Deno cron's with Sentry cron monitors. This requires v1.38 of Deno run with the
--unstableflag and the usage of theDenoCronSentry integration.// Import from the Deno registry import * as Sentry from "https://deno.land/x/sentry/index.mjs"; Sentry.init({ dsn: '__DSN__', integrations: [ new Sentry.Integrations.DenoCron(), ], });Other Changes
- feat(replay): Bump
rrwebto 2.6.0 (#9847) - fix(nextjs): Guard against injecting multiple times (#9807)
- ref(remix): Bump Sentry CLI to ^2.23.0 (#9773)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.24 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.63 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.22 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.3 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 29.9 KB @sentry/browser - Webpack (gzipped) 21.56 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 72.58 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.31 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 30.58 KB @sentry/browser - ES6 CDN Bundle (gzipped) 22.61 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 202.5 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 92.65 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 67.63 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 33.47 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.97 KB @sentry/react - Webpack (gzipped) 21.6 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.73 KB @sentry/nextjs Client - Webpack (gzipped) 48.41 KB @sentry-internal/feedback - Webpack (gzipped) 16.19 KB - 7.87.013 Dec 2023
Release notes
Open source →- feat: Add top level
getCurrentScope()method (#9800) - feat(replay): Bump
rrwebto 2.5.0 (#9803) - feat(replay): Capture hydration error breadcrumb (#9759)
- feat(types): Add profile envelope types (#9798)
- fix(astro): Avoid RegExp creation during route interpolation (#9815)
- fix(browser): Avoid importing from
./exports(#9775) - fix(nextjs): Catch rejecting flushes (#9811)
- fix(nextjs): Fix devserver CORS blockage when
assetPrefixis defined (#9766) - fix(node): Capture errors in tRPC middleware (#9782)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.04 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.38 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.99 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.13 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 29.74 KB @sentry/browser - Webpack (gzipped) 21.39 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.61 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 63.33 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.67 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.72 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 199.58 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.94 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.92 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.34 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.75 KB @sentry/react - Webpack (gzipped) 21.44 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.48 KB @sentry/nextjs Client - Webpack (gzipped) 48.23 KB @sentry-internal/feedback - Webpack (gzipped) 16.19 KB - feat: Add top level
- 7.86.07 Dec 2023
Release notes
Open source →- feat(core): Use SDK_VERSION for hub API version (#9732)
- feat(nextjs): Emit warning if your app directory doesn't have a global-error.js file (#9753)
- feat(node): Add cloudflare pages commit sha (#9751)
- feat(remix): Bump @sentry/cli to 2.22.3 (#9741)
- fix(nextjs): Don't accidentally trigger static generation bailout (#9749)
- fix(node): Guard
process.env.NODE_ENVaccess in Spotlight integration (#9748) - fix(utils): Fix XHR instrumentation early return (#9770)
- ref(remix): Rework Error Handling (#9725)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 74.66 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.6 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.13 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 29.74 KB @sentry/browser - Webpack (gzipped) 21.39 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.25 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.97 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.65 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.71 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 198.35 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.78 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.76 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.3 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.36 KB @sentry/react - Webpack (gzipped) 21.43 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.09 KB @sentry/nextjs Client - Webpack (gzipped) 48.23 KB @sentry-internal/feedback - Webpack (gzipped) 16.19 KB - 7.85.04 Dec 2023
Release notes
Open source →- feat(core): Add
addEventProcessormethod (#9554) - feat(crons): Add interface for heartbeat checkin (#9706)
- feat(feedback): Include Feedback package in browser SDK (#9586)
- fix(astro): Isolate request instrumentation in middleware (#9709)
- fix(replay): Capture JSON XHR response bodies (#9623)
- ref(feedback): Change form
box-shadowto use CSS var (#9630)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 74.63 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.99 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.59 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.12 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 29.72 KB @sentry/browser - Webpack (gzipped) 21.38 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.22 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.97 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.62 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.7 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 198.31 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.73 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.71 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.29 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.35 KB @sentry/react - Webpack (gzipped) 21.42 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.07 KB @sentry/nextjs Client - Webpack (gzipped) 48.21 KB @sentry-internal/feedback - Webpack (gzipped) 16.17 KB - feat(core): Add
- 7.84.030 Nov 2023
Release notes
Open source →Important Changes
- ref(nextjs): Set
automaticVercelMonitorsto befalseby default (#9697)
From this version onwards the default for the
automaticVercelMonitorsoption in the Next.js SDK is set to false. Previously, if you made use of Vercel Crons the SDK automatically instrumented the relevant routes to create Sentry monitors. Because this feature will soon be generally available, we are now flipping the default to avoid situations where quota is used unexpectedly.If you want to continue using this feature, make sure to set the
automaticVercelMonitorsflag totruein yournext.config.jsSentry settings.Other Changes
- chore(astro): Add 4.0.0 preview versions to
astropeer dependency range (#9696) - feat(metrics): Add interfaces for metrics (#9698)
- feat(web-vitals): Vendor in INP from web-vitals library (#9690)
- fix(astro): Avoid adding the Sentry Vite plugin in dev mode (#9688)
- fix(nextjs): Don't match files called
middlewarein node_modules (#9686) - fix(remix): Don't capture error responses that are not 5xx on Remix v2. (#9655)
- fix(tracing): Don't attach resource size if null (#9669)
- fix(utils): Regex match port to stop accidental replace (#9676)
- fix(utils): Try catch new URL when extracting query params (#9675)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.86 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.46 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.12 KB @sentry/browser - Webpack (gzipped) 21.38 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.72 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.53 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.6 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 197.46 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.32 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.29 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.22 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.25 KB @sentry/react - Webpack (gzipped) 21.42 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.96 KB @sentry/nextjs Client - Webpack (gzipped) 48.21 KB @sentry-internal/feedback - Webpack (gzipped) 16.19 KB - ref(nextjs): Set
- 7.83.028 Nov 2023
Release notes
Open source →- chore(astro): Allow Astro 4.0 in peer dependencies (#9683)
- feat(astro): Add
assetsoption to source maps upload options (#9668) - feat(react): Support
exactOptionalPropertyTypesonErrorBoundary(#9098) - fix: Don't depend on browser types in
types(#9682) - fix(astro): Configure sourcemap assets directory for Vercel adapter (#9665)
- fix(remix): Check the error data before spreading. (#9664)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.86 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.46 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.11 KB @sentry/browser - Webpack (gzipped) 21.38 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.71 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.52 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.6 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 197.46 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.32 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.29 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.21 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.24 KB @sentry/react - Webpack (gzipped) 21.42 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.96 KB @sentry/nextjs Client - Webpack (gzipped) 48.21 KB @sentry-internal/feedback - Webpack (gzipped) 16.19 KB - 7.82.027 Nov 2023
Release notes
Open source →- feat(astro): Automatically add Sentry middleware in Astro integration (#9532)
- feat(core): Add optional
setuphook to integrations (#9556) - feat(core): Add top level
getClient()method (#9638) - feat(core): Allow to pass
mechanismas event hint (#9590) - feat(core): Allow to use
continueTracewithout callback (#9615) - feat(feedback): Add onClose callback to showReportDialog (#9433) (#9550)
- feat(nextjs): Add request data to all edge-capable functionalities (#9636)
- feat(node): Add Spotlight option to Node SDK (#9629)
- feat(utils): Refactor
addInstrumentationHandlerto dedicated methods (#9542) - fix: Make full url customizable for Spotlight (#9652)
- fix(astro): Remove Auth Token existence check (#9651)
- fix(nextjs): Fix middleware detection logic (#9637)
- fix(remix): Skip capturing aborted requests (#9659)
- fix(replay): Add
BODY_PARSE_ERRORwarning & time out fetch response load (#9622) - fix(tracing): Filter out invalid resource sizes (#9641)
- ref: Hoist
RequestDataintegration to@sentry/core(#9597) - ref(feedback): Rename onDialog* to onForm*, remove onActorClick (#9625)
Work in this release contributed by @arya-s. Thank you for your contribution!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.02 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 56.21 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.19 KB @sentry/browser - Webpack (gzipped) 21.4 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.65 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.47 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.55 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 197.27 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.15 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.12 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.13 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.43 KB @sentry/react - Webpack (gzipped) 21.45 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.16 KB @sentry/nextjs Client - Webpack (gzipped) 48.32 KB @sentry-internal/feedback - Webpack (gzipped) 16.19 KB - 7.81.121 Nov 2023
Release notes
Open source →- fix(astro): Remove method from span op (#9603)
- fix(deno): Make sure files get published (#9611)
- fix(nextjs): Use
globalThisinstead ofglobalin edge runtime (#9612) - fix(node): Improve error handling and shutdown handling for ANR (#9548)
- fix(tracing-internal): Fix case when originalURL contain query params (#9531)
Work in this release contributed by @powerfulyang, @LubomirIgonda1, @joshkel, and @alexgleason. Thank you for your contributions!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.61 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.72 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.01 KB @sentry/browser - Webpack (gzipped) 21.32 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.03 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.13 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.26 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.71 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.38 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.34 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.85 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.92 KB @sentry/react - Webpack (gzipped) 21.36 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.66 KB @sentry/nextjs Client - Webpack (gzipped) 48.15 KB @sentry-internal/feedback - Webpack (gzipped) 16.12 KB - 7.81.020 Nov 2023
Release notes
Open source →Important Changes
- feat(nextjs): Add instrumentation utility for server actions (#9553)
This release adds a utility function
withServerActionInstrumentationto the@sentry/nextjsSDK for instrumenting your Next.js server actions with error and performance monitoring.You can optionally pass form data and headers to record them, and configure the wrapper to record the Server Action responses:
import * as Sentry from "@sentry/nextjs"; import { headers } from "next/headers"; export default function ServerComponent() { async function myServerAction(formData: FormData) { "use server"; return await Sentry.withServerActionInstrumentation( "myServerAction", // The name you want to associate this Server Action with in Sentry { formData, // Optionally pass in the form data headers: headers(), // Optionally pass in headers recordResponse: true, // Optionally record the server action response }, async () => { // ... Your Server Action code return { name: "John Doe" }; } ); } return ( <form action={myServerAction}> <input type="text" name="some-input-value" /> <button type="submit">Run Action</button> </form> ); }Other Changes
- docs(feedback): Example docs on
sendFeedback(#9560) - feat(feedback): Add
leveland remove breadcrumbs from feedback event (#9533) - feat(vercel-edge): Add fetch instrumentation (#9504)
- feat(vue): Support Vue 3 lifecycle hooks in mixin options (#9578)
- fix(nextjs): Download CLI binary if it can't be found (#9584)
- ref: Deprecate
extractTraceParentDatafrom@sentry/core& downstream packages (#9158) - ref(replay): Add further logging to network body parsing (#9566)
Work in this release contributed by @snoozbuster. Thank you for your contribution!
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.53 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.67 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.01 KB @sentry/browser - Webpack (gzipped) 21.32 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 61.99 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.13 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.26 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.53 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.38 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.34 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.85 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.84 KB @sentry/react - Webpack (gzipped) 21.36 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.58 KB @sentry/nextjs Client - Webpack (gzipped) 48.15 KB @sentry-internal/feedback - Webpack (gzipped) 16.08 KB - docs(feedback): Example docs on
- 7.80.2-alpha.115 Nov 2023pre-release
Release notes
Open source →No longer will prioritize the component names for replays, as this will break searching by CSS selector.
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.47 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.68 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.03 KB @sentry/browser - Webpack (gzipped) 21.34 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.14 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.29 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.54 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.43 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.41 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.86 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.79 KB @sentry/react - Webpack (gzipped) 21.39 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.53 KB @sentry/nextjs Client - Webpack (gzipped) 48.17 KB @sentry-internal/feedback - Webpack (gzipped) 16.04 KB - 7.80.2-alpha.014 Nov 2023pre-release
Release notes
Open source →- feat(utils): Prioritize Component name attributes over HTML Tree String (#9496)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.46 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.68 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.03 KB @sentry/browser - Webpack (gzipped) 21.34 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.14 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.29 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.53 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.43 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.41 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.86 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.81 KB @sentry/react - Webpack (gzipped) 21.39 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.53 KB @sentry/nextjs Client - Webpack (gzipped) 48.17 KB @sentry-internal/feedback - Webpack (gzipped) 16.04 KB - 7.80.114 Nov 2023
Release notes
Open source →- fix(astro): Adjust Vite plugin config to upload server source maps (#9541)
- fix(nextjs): Add tracing extensions in all serverside wrappers (#9537)
- fix(nextjs): Fix serverside transaction names on Windows (#9526)
- fix(node): Fix tRPC middleware typing (#9540)
- fix(replay): Add additional safeguards for capturing network bodies (#9506)
- fix(tracing): Update prisma span to be
db.prisma(#9512)
Bundle size 📦
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.42 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.63 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 30.98 KB @sentry/browser - Webpack (gzipped) 21.3 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 61.95 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.1 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.24 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.42 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.32 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.3 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.81 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.77 KB @sentry/react - Webpack (gzipped) 21.34 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.49 KB @sentry/nextjs Client - Webpack (gzipped) 48.13 KB @sentry-internal/feedback - Webpack (gzipped) 16 KB - 7.80.09 Nov 2023
Nothing published for this version
- 7.79.08 Nov 2023
Nothing published for this version