@sentry/tracing
7.120.4 · 29 Jul 2025MIT1.8M / weekRepositoryHomepagenpmAtom feed
266 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
7.120.4
29 Jul 2025Reading the note…
7.120.3
10 Jan 2025Reading the note…
7.120.2
13 Dec 2024Reading the note…
7.120.1
5 Dec 2024Reading the note…
7.119.2
10 Oct 2024Reading the note…
7.119.1
4 Oct 2024Reading the note…
7.119.0
14 Aug 2024backport(tracing): Report dropped spans for transactions
7.118.0
21 Jun 2024v7/bundle: Ensure CDN bundles do not overwrite
window.Sentry
7.117.0
10 Jun 2024browser/v7: Publish browserprofling CDN bundle
v7/publish: Add
v7tag to@sentry/replay
7.116.0
17 May 2024This release publishes a new AWS Lambda layer under the name
SentryNodeServerlessSDKv7that users still running v7 can
use instead of pinning themselves toSentryNodeServerlessSDK:235.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.0
16 May 2024v7: Add support for global onUnhandled Error/Promise for Bun
replay/v7: Fix user activity not being updated in
start()
v7: Add support for global onUnhandled Error/Promise for Bun
replay/v7: Fix user activity not being updated in
start()
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.0
8 May 2024browser/v7: Continuously record CLS
v7: Add
tunnelsupport to multiplexed transportopentelemetry-node: Support
HTTP_REQUEST_METHODattribute
Important Changes
browser/v7: Continuously record CLS
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
v7: Add
tunnelsupport to multiplexed transportopentelemetry-node: Support
HTTP_REQUEST_METHODattributereact/v7: Fix react router v4/v5 span names
7.113.0
2 May 2024node: Support Node 22
feedback: [v7] New feedback button design
replay/v7: Upgrade rrweb packages to 2.15.0
Important Changes
node: Support Node 22
This release adds support for Node 22! 🎉
It also adds prebuilt-binaries for Node 22 to
@sentry/profiling-node.Other Changes
feedback: [v7] New feedback button design
replay/v7: Upgrade rrweb packages to 2.15.0
ember/v7: Ensure unnecessary spans are avoided
7.112.2
24 Apr 2024Reading the note…
7.112.1
23 Apr 2024Reading the note…
7.112.0
23 Apr 2024Export pluggable integrations from SDK packages
replay: Add "maxCanvasSize" option for replay canvases
serverless: [v7] Check if cloud event callback is a function
Important Changes
Export pluggable integrations from SDK packages
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
replay: Add "maxCanvasSize" option for replay canvases
serverless: [v7] Check if cloud event callback is a function
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.0
18 Apr 2024core: Add
server.addressto browserhttp.clientspansEnsure next & sveltekit correctly handle
browserTracingIntegrationbrowser: Don't assume window.document is available
7.110.1
15 Apr 2024Reading the note…
7.110.0
11 Apr 2024- deprecated
Deprecate and relocate
trpcMiddleware - deprecated
core: Deprecate
Hubclass - deprecated
types: Deprecate
Hubinterface
Important Changes
tracing: Add interactions sample rate to browser tracing integrations
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. ThetrpcMiddleware
method 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.
- deprecated
Deprecate and relocate
trpcMiddleware - deprecated
core: Deprecate
Hubclass - deprecated
types: Deprecate
Hubinterface - deprecated
Deprecate
addRequestDataToTransaction
Other Changes
core: Update metric normalization
feedback: Customize feedback placeholder text color
remix: Skip span creation for
OPTIONSandHEADrequest.utils: Add metric buckets rate limit
core: Unref timer to not block node exit
metrics: Map
statsdtometric_bucketspans: Allow zero exclusive time for INP spans
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.0
28 Mar 2024- deprecated
replay: Deprecate
@sentry/replayexports feedback: Make "required" text for input elements configurable
node: Add scope to ANR events
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).feedback: Make "required" text for input elements configurable
node: Add scope to ANR events
node: Local variables skipped after Promise
node: Skip capturing Hapi Boom error responses
web-vitals: Check for undefined navigation entry
- deprecated
replay: Deprecate
@sentry/replayexports
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.0
22 Mar 2024serverless: Add Node.js 20 to compatible runtimes
core: Backport
ResizeObserverandgoogletagdefault filterswebvitals: Adds event entry names for INP handler. Also guard against empty metric value
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.serverless: Add Node.js 20 to compatible runtimes
core: Backport
ResizeObserverandgoogletagdefault filterswebvitals: Adds event entry names for INP handler. Also guard against empty metric value
metrics: Use correct statsd data category
node: Record local variables with falsy values (v7)
node: Use unique variable for ANR context transfer (v7)
node: Time zone handling for
crontracing: Use web-vitals ttfb calculation
types: Fix incorrect
sampledtype onTransactionwebvitals: Fix mapping not being maintained properly and sometimes not sending INP spans
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.0
14 Mar 2024performance: Port INP span instrumentation to old browser tracing
ember: Ensure browser tracing is correctly lazy loaded
node: Do not assert in vendored proxy code (v7 backport)
This release fixes issues with INP instrumentation with the Next.js SDK and adds support for the
enableInpoption in
the deprecatedBrowserTracingintegration for backwards compatibility.performance: Port INP span instrumentation to old browser tracing
ember: Ensure browser tracing is correctly lazy loaded
node: Do not assert in vendored proxy code (v7 backport)
react: Set
handledvalue in ErrorBoundary depending on fallback [v7]
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.1
11 Mar 2024Reading the note…
7.106.0
8 Mar 2024nextjs: Support Hybrid Cloud DSNs with
tunnelRouteoptionremix: Add Vite dev-mode support to Express instrumentation
core: Undeprecate
setTransactionName
nextjs: Support Hybrid Cloud DSNs with
tunnelRouteoptionremix: Add Vite dev-mode support to Express instrumentation
core: Undeprecate
setTransactionNamebrowser: Don't use chrome variable name
nextjs: Client code should not use Node
globalnode: Support undici headers as strings or arrays
types: Add
AttachmentTypeand use for envelopeattachment_typeproperty
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 7.105.0
4 Mar 2024Ensure
withActiveSpanis exported everywhere
Important Changes
Ensure
withActiveSpanis exported everywhere
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 7.104.0
29 Feb 2024performance: Create Interaction standalone spans on inp events
feedback: Flush replays when feedback form opens
profiling-node: Expose
nodeProfilingIntegration
Important Changes
performance: Create Interaction standalone spans on inp events
This release adds support for the INP web vital. This is currently only supported for Saas Sentry, and product support
is released with the upcoming24.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
feedback: Flush replays when feedback form opens
profiling-node: Expose
nodeProfilingIntegrationprofiling-node: Fix dependencies to point to current versions
replay: Add
errorHandlerfor replayCanvas integrationutils: Only mark aggregate errors as exception groups
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.0
27 Feb 2024core: Allow to pass
forceTransactiontostartSpan()APIsMake breadcrumbs option optional in WinterCGFetch integration
Important Changes
core: Allow to pass
forceTransactiontostartSpan()APIs
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
Make breadcrumbs option optional in WinterCGFetch integration
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 7.102.1
22 Feb 2024Reading the note…
7.102.0
20 Feb 2024Export session API
core: Fix scope capturing via
captureContextfunction
7.101.1
15 Feb 2024Reading the note…
7.101.0
13 Feb 2024- deprecated
core: Deprecate the
Hubconstructor Export semantic attribute keys from SDK packages
core: Add metric summaries to spans
Export semantic attribute keys from SDK packages
core: Add metric summaries to spans
- deprecated
core: Deprecate the
Hubconstructor core: Make custom tracing methods return spans & set default op
replay: Add
getReplayutility functionangular-ivy: Add
exportsfield topackage.jsonsveltekit: Avoid capturing Http 4xx errors on the client
sveltekit: Properly await sourcemaps flattening
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.1
7 Feb 2024Reading the note…
7.100.0
6 Feb 2024Reading the note…
7.99.0
30 Jan 2024Reading the note…
7.98.0
25 Jan 2024Reading the note…
7.97.0
25 Jan 2024Reading the note…
7.95.0
23 Jan 2024Reading the note…
7.94.1
19 Jan 2024Reading the note…
7.93.0
10 Jan 2024Reading the note…
7.92.0
4 Jan 2024Reading the note…
7.91.0
22 Dec 2023Reading the note…
7.90.0
20 Dec 2023Reading the note…
7.89.0
19 Dec 2023Reading the note…
7.88.0
14 Dec 2023Reading the note…
7.87.0
13 Dec 2023Reading the note…
7.86.0
7 Dec 2023Reading the note…
7.85.0
4 Dec 2023Reading the note…
7.84.0
30 Nov 2023Reading the note…
7.83.0
28 Nov 2023Reading the note…