Sentry Internal Tracing Package
Last release 1 years ago
29 Jul 2025
Ships unpredictably
gaps range from 9 days to 7 months
Some releases are documented
notes for 55 of 108 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
130 releases ยท first in 2023
Release timeline
130 releases since 2023Releases
- 8.0.0-alpha.727 Mar 2024pre-release
Release notes
Open source โThis is the seventh alpha release of Sentry JavaScript SDK v8, which includes a variety of breaking changes.
Read the in-depth migration guide to find out how to address any breaking changes in your code.
Important Changes
- feat(nextjs): Use OpenTelemetry for performance monitoring and tracing (#11016)
We now use OpenTelemetry under the hood to power performance monitoring and tracing in the Next.js SDK.
- feat(v8/gatsby): Update SDK initialization for gatsby (#11292)
In v8, you cannot initialize the SDK anymore via Gatsby plugin options. Instead, you have to configure the SDK in a
sentry.config.jsfile.We also removed the automatic initialization of
browserTracingIntegration. You now have to add this integration yourself.Removal/Refactoring of deprecated functionality
- feat(v8): Remove addGlobalEventProcessor (#11255)
- feat(v8): Remove deprecated span id fields (#11180)
- feat(v8): Remove makeMain export (#11278)
- feat(v8/core): Remove deprecated span.sampled (#11274)
- feat(v8/core): Remove getActiveTransaction (#11280)
- feat(v8/core): Remove spanMetadata field (#11271)
- feat(v8/ember): Remove deprecated StartTransactionFunction (#11270)
- feat(v8/replay): Remove deprecated replay options (#11268)
- feat(v8/svelte): Remove deprecated componentTrackingPreprocessor export (#11277)
- ref: Remove more usages of getCurrentHub in the codebase (#11281)
- ref(core): Remove
scope.setSpan()andscope.getSpan()methods (#11051) - ref(profiling-node): Remove usage of getCurrentHub (#11275)
- ref(v8): change integration.setupOnce signature (#11238)
- ref: remove node-experimental references (#11290)
Other Changes
- feat(feedback): Make "required" text for input elements configurable (#11152) (#11153)
- feat(feedback): Update user feedback screenshot and cropping to align with designs (#11227)
- feat(nextjs): Remove
runtimeandverceltags (#11291) - feat(node): Add scope to ANR events (#11256)
- feat(node): Do not include
prismaIntegrationby default (#11265) - feat(node): Ensure
tracePropagationTargetsare respected (#11285) - feat(node): Simplify
SentrySpanProcessor(#11273) - feat(profiling): Use OTEL powered node package (#11239)
- feat(utils): Allow text encoder/decoder polyfill from global SENTRY (#11283)
- fix(nextjs): Show misconfiguration warning (no
instrumentation.ts) (#11266) - fix(node): Add logs when node-fetch cannot be instrumented (#11289)
- fix(node): Skip capturing Hapi Boom error responses. (#11151)
- fix(node): Use
suppressTracingto avoid capturing otel spans (#11288) - fix(opentelemetry): Do not stomp span status when
startSpancallback throws (#11170)
Bundle size ๐ฆ
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) 80.54 KB @sentry/browser (incl. Tracing, Replay) 71.88 KB @sentry/browser (incl. Tracing, Replay with Canvas) 75.68 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.44 KB @sentry/browser (incl. Tracing) 36.71 KB @sentry/browser (incl. browserTracingIntegration) 36.71 KB @sentry/browser (incl. feedbackIntegration) 31.38 KB @sentry/browser (incl. feedbackModalIntegration) 31.5 KB @sentry/browser (incl. feedbackScreenshotIntegration) 31.51 KB @sentry/browser (incl. sendFeedback) 27.45 KB @sentry/browser 22.61 KB CDN Bundle (incl. Tracing, Replay, Feedback) 74.98 KB CDN Bundle (incl. Tracing, Replay) 69.8 KB CDN Bundle (incl. Tracing) 36.35 KB CDN Bundle 23.97 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 219.11 KB CDN Bundle (incl. Tracing) - uncompressed 109.67 KB CDN Bundle - uncompressed 70.94 KB @sentry/react (incl. Tracing, Replay) 71.86 KB @sentry/react 22.63 KB - 8.0.0-alpha.627 Mar 2024pre-release
Nothing published for this version
- 8.0.0-alpha.522 Mar 2024pre-release
Release notes
Open source โThis is the fifth alpha release of Sentry JavaScript SDK v8, which includes a variety of breaking changes.
Read the in-depth migration guide to find out how to address any breaking changes in your code.
Important Changes
- feat(nextjs): Remove
client.(server|client).config.tsfunctionality in favor ofinstrumentation.ts(#11059)- feat(nextjs): Bump minimum required Next.js version to
13.2.0(#11097)
- feat(nextjs): Bump minimum required Next.js version to
With version 8 of the SDK we will no longer support the use of
sentry.server.config.tsandsentry.edge.config.tsfiles. Instead, please initialize the Sentry Next.js SDK for the serverside in a Next.js instrumentation hook.sentry.client.config.ts|jsis still supported and encouraged for initializing the clientside SDK. Please see the Migration Guide for more details.In addition, the Next.js SDK now requires a minimum Next.js version of
13.2.0.- feat(v8/angular): Merge angular and angular-ivy packages and start Angular support at v14 (#11091)
The
@sentry/angular-ivypackage has been removed. The@sentry/angularpackage now supports Ivy by default and requires at least Angular 14. See the Migration Guide for more details.Removal/Refactoring of deprecated functionality
- feat(aws-serverless): Remove deprecated
rethrowAfterCaptureoption (#11126) - feat(node): Remove deprecated/duplicate/unused definitions (#11120)
- feat(v8): Remove deprecated integration methods on client (#11134)
- feat(v8/browser): Remove class export for linked errors (#11129)
- feat(v8/browser): Remove deprecated wrap export (#11127)
- feat(v8/core): Remove deprecated client.setupIntegrations method (#11179)
- feat(v8/core): Remove deprecated integration classes (#11132)
- feat(v8/ember): Remove InitSentryForEmber export (#11202)
- feat(v8/nextjs): Remove usage of class integrations (#11182)
- feat(v8/replay): Delete deprecated types (#11177)
- feat(v8/utils): Remove deprecated util functions (#11143)
- ref(node): Remove class based export for local variable integration (#11128)
Other Changes
- feat(browser): Make fetch the default transport for offline (#11209)
- feat(core): Filter out noisy GoogleTag error by default (#11208)
- feat(deps): Bump @sentry/cli from 2.30.0 to 2.30.2 (#11168)
- feat(nextjs): Prefix webpack plugin log messages with runtime (#11173)
- feat(node-profiling): Output ESM and remove Sentry deps from output (#11135)
- feat(node): Allow Anr worker to be stopped and restarted (#11214)
- feat(node): Support
tunneloption for ANR (#11163) - feat(opentelemetry): Do not capture exceptions for timed events (#11221)
- feat(serverless): Add Node.js 20 to compatible runtimes (#11103)
- feat(sveltekit): Switch to Otel-based
@sentry/nodepackage (#11075) - fix(attachments): Add missing
view_hierarchyattachment type (#11197) - fix(build): Ensure tree shaking works properly for ESM output (#11122)
- fix(feedback): Only allow screenshots in secure contexts (#11188)
- fix(feedback): Reduce force layout in screenshots (#11181)
- fix(feedback): Smoother cropping experience and better UI (#11165)
- fix(feedback): Fix screenshot black bars in Safari (#11233)
- fix(metrics): use correct statsd data category (#11184)
- fix(metrics): use web-vitals ttfb calculation (#11185)
- fix(node): Export
initOpenTelemetry(#11158) - fix(node): Clear ANR timer on stop (#11229)
- fix(node): Time zone handling for
cron(#11225) - fix(node): Use unique variable for ANR context transfer (#11161)
- fix(opentelemetry): Do not stomp span error status (#11169)
- fix(types): Fix incorrect
sampledtype onTransaction(#11115)
Bundle size ๐ฆ
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) 80.9 KB @sentry/browser (incl. Tracing, Replay) 72.24 KB @sentry/browser (incl. Tracing, Replay with Canvas) 76.04 KB @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.81 KB @sentry/browser (incl. Tracing) 36.83 KB @sentry/browser (incl. browserTracingIntegration) 36.83 KB @sentry/browser (incl. feedbackIntegration) 31.35 KB @sentry/browser (incl. feedbackModalIntegration) 31.47 KB @sentry/browser (incl. feedbackScreenshotIntegration) 31.48 KB @sentry/browser (incl. sendFeedback) 27.43 KB @sentry/browser 22.6 KB CDN Bundle (incl. Tracing, Replay, Feedback) 75.21 KB CDN Bundle (incl. Tracing, Replay) 70.05 KB CDN Bundle (incl. Tracing) 36.41 KB CDN Bundle 23.97 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 220.04 KB CDN Bundle (incl. Tracing) - uncompressed 109.98 KB CDN Bundle - uncompressed 71 KB @sentry/react (incl. Tracing, Replay) 72.22 KB @sentry/react 22.63 KB - feat(nextjs): Remove
- 8.0.0-alpha.414 Mar 2024pre-release
Nothing published for this version
- 8.0.0-alpha.314 Mar 2024pre-release
Nothing published for this version
- 8.0.0-alpha.25 Mar 2024pre-release
Release notes
Open source โThis alpha release fixes a build problem that prevented 8.0.0-alpha.1 from being properly released.
Important Changes
- feat: Remove
@sentry/opentelemetry-nodepackage (#10906)
The
@sentry/opentelemetry-nodepackage has been removed. Instead, you can either use@sentry/nodewith built-in OpenTelemetry support, or use@sentry/opentelemetryto manually connect Sentry with OpenTelemetry.Removal/Refactoring of deprecated functionality
- ref: Refactor some deprecated
startSpanoptions (#10825) - feat(v8/core): remove void from transport return (#10794)
- ref(integrations): Delete deprecated class integrations (#10887)
Other Changes
- feat(core): Use serialized spans in transaction event (#10912)
- feat(deps): bump @sentry/cli from 2.28.6 to 2.29.1 (#10908)
- feat(node): Allow to configure
skipOpenTelemetrySetup(#10907) - feat(esm): Import rather than require
inspector(#10910) - fix(browser): Don't use chrome variable name (#10874)
- chore(sveltekit): Fix punctuation in a console.log (#10895)
- fix(opentelemetry): Ensure DSC propagation works correctly (#10904)
- feat(browser): Exclude span exports from non-performance CDN bundles (#10879)
- ref: Refactor span status handling to be OTEL compatible (#10871)
- feat(core): Fix span scope handling & transaction setting (#10886)
- ref(ember): Avoid namespace import to hopefully resolve minification issue (#10885)
Work in this release contributed by @harish-talview & @bfontaine. Thank you for your contributions!
Bundle size ๐ฆ
Path Size @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.16 KB @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.39 KB @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.32 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 61.94 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 32.65 KB @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 32.65 KB @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.01 KB @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.02 KB @sentry/browser - Webpack (gzipped) 22.25 KB @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.31 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 66.96 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.85 KB @sentry/browser - ES6 CDN Bundle (gzipped) 23.83 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 210.15 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.01 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 71.03 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.94 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 68.68 KB @sentry/react - Webpack (gzipped) 22.28 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.1 KB @sentry/nextjs Client - Webpack (gzipped) 49.51 KB @sentry-internal/feedback - Webpack (gzipped) 17.1 KB - feat: Remove
- 8.0.0-alpha.14 Mar 2024pre-release
Nothing published for this version
- 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.96.025 Jan 2024
Release notes
Open source โNote: This release was incomplete. Not all Sentry SDK packages were released for this version. Please upgrade to 7.98.0 directly.
Important Changes
Deprecations
This release includes some deprecations for integrations in
@sentry/browserand frontend framework SDKs (@sentry/react,@sentry/vue, etc.). Please take a look at our migration guide for more details.- feat(browser): Export functional integrations & deprecate classes (#10267)
Web Vitals Fix for LCP and CLS
This release fixes an issue with the Web Vitals integration where LCP and CLS were not being captured correctly, increasing capture rate by 10-30% for some apps. LCP and CLS capturing issues were introduced with version
7.75.0.- fix(tracing): Ensure web vitals are correctly stopped/captured (#10323)
Other Changes
- fix(node): Fix
node-crontypes and add test (#10315) - fix(node): Fix downleveled types entry point (#10321)
- fix(node): LocalVariables integration should use setupOnce (#10307)
- fix(replay): Fix type for options of replayIntegration (#10325)
Work in this release contributed by @Shubhdeep12. Thank you for your contribution!
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 - 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.94.019 Jan 2024
Nothing published for this version
- 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