@sentry/replay
11.13.0 · 16 Nov 2026MIT37.2M / weekRepositoryHomepagenpmAtom feed
225 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
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 2024nextjs|sveltekit: Ensure we can pass
browserTracingIntegration
7.112.1
23 Apr 2024ember/v7: Do not create rendering spans without transaction
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 2024nextjs: Fix
tunnelRoutematching logic for hybrid cloud
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 2024nextjs/v7: Use passthrough
createReduxEnhanceron server
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 2024performance: Fixes latest route name and source for interactions not updating properly on navigation
tracing: Guard against missing
window.location
performance: Fixes latest route name and source for interactions not updating properly on navigation
tracing: Guard against missing
window.location
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.0
20 Feb 2024Export session API
core: Fix scope capturing via
captureContextfunction
7.101.1
15 Feb 2024nextjs: Remove
webpack://prefix more broadly from source mapsourcesfield
In version 7.101.0 the
@sentry/hubpackage was missing due to a publishing issue. This release contains the package
again.nextjs: Remove
webpack://prefix more broadly from source mapsourcesfield
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.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 2024feedback: Replay breadcrumb for feedback events was incorrect #10536
This release contains build fixes for profiling-node.
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.0
6 Feb 2024- Deprecated
reactRouterV6BrowserTracingIntegration() - Deprecated
reactRouterV5BrowserTracingIntegration() - Deprecated
reactRouterV4BrowserTracingIntegration()
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:- Deprecated
reactRouterV6BrowserTracingIntegration() - Deprecated
reactRouterV5BrowserTracingIntegration() - Deprecated
reactRouterV4BrowserTracingIntegration() - Deprecated
reactRouterV3BrowserTracingIntegration()
See the
migration guide
for details.- Deprecated
angular: Export custom
browserTracingIntegration() - Deprecated
browser: Deprecate
BrowserTracingintegration - Deprecated
browser: Export
browserProfilingIntegration - Deprecated
bun: Export
bunServerIntegration() - Deprecated
nextjs: Add
browserTracingIntegration - Deprecated
react: Add
reactRouterV3BrowserTracingIntegrationfor react router v3 - Deprecated
react: Add
reactRouterV4/V5BrowserTracingIntegrationfor react router v4 & v5 - Deprecated
react: Add
reactRouterV6BrowserTracingIntegrationfor react router v6 & v6.4 - Deprecated
remix: Add custom
browserTracingIntegration - Deprecated
node: Expose functional integrations to replace classes
- Deprecated
vercel-edge: Replace
WinterCGFetchwithwinterCGFetchIntegration - Deprecated
Deprecate non-callback based
continueTrace - Deprecated
vue: Deprecate
new VueIntegration() - Deprecated
vue: Implement vue
browserTracingIntegration() - Deprecated
sveltekit: Add custom
browserTracingIntegration()
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
Other Changes
Export
setHttpStatusfrom all packagesbundles: Add pluggable integrations on CDN to
Sentrynamespacecore: Pass
name&attributestotracesSamplerfeedback: Add
system-uito start of font familynode-experimental: Add koa integration
node-experimental: Update opentelemetry packages
node-experimental: Update tracing integrations to functional style
replay: Enforce masking of credit card fields
utils: Add
propagationContextFromHeadersMake
startSpan,startSpanManualandstartInactiveSpanpick up the scopes at time of creation instead of
termination (#10492)feedback: Fix logo color when colorScheme is "system"
nextjs: Do not report redirects and notFound calls as errors in server actions
nextjs: Fix navigation tracing on app router
nextjs: Apply server action data to correct isolation scope
node: Use normal
requirecall to import Undici
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.0
30 Jan 2024- Deprecated
core: Deprecate
Span.setHttpStatusin favor ofsetHttpStatus - Deprecated
core: Deprecate
spanStatusfromHttpCodein favour ofgetSpanStatusFromHttpCode - Deprecated
core: Deprecate
StartSpanOptions.originin favour of passing attribute
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.- Deprecated
core: Deprecate
Span.setHttpStatusin favor ofsetHttpStatus - Deprecated
core: Deprecate
spanStatusfromHttpCodein favour ofgetSpanStatusFromHttpCode - Deprecated
core: Deprecate
StartSpanOptions.originin favour of passing attribute - Deprecated
deno: Expose functional integrations to replace classes
Other Changes
bun: Add missing
@sentry/nodere-exportscore: Add
afterAllSetuphook for integrationscore: Ensure
startSpan()can handle spans that require parentcore: Read propagation context off scopes in
startSpanAPIsremix: Export missing
@sentry/nodefunctions (#10385, #10391)serverless: Add missing
@sentry/nodere-exportssveltekit: Add more missing
@sentry/nodere-exportstracing: Export proper type for browser tracing
tracing: Expose new
browserTracingIntegrationEnsure
afterAllSetupis called when usingaddIntegration()core: Export
spanToTraceContextfunction from span utilscore: Make
FunctionToStringintegration use SETUP_CLIENTS weakmapdeno: Call function if client is not setup
react: Fix attachReduxState option
spotlight: Use unpatched http.request
tracing: Only create request span if there is active span
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 7.98.0
25 Jan 2024core: Export
IntegrationIndextypenextjs: Fix Http integration type declaration
node: Fix type definitions
This release primarily fixes some type declaration errors:
core: Export
IntegrationIndextypenextjs: Fix Http integration type declaration
node: Fix type definitions
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.97.0
25 Jan 2024react: Add
stripBasenameoption for React Router 6
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.react: Add
stripBasenameoption for React Router 6
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 7.96.0
25 Jan 2024- Deprecated
browser: Export functional integrations & deprecate classes
tracing: Ensure web vitals are correctly stopped/captured
node: Fix
node-crontypes and add test
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.- Deprecated
browser: Export functional integrations & deprecate classes
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 version7.75.0.tracing: Ensure web vitals are correctly stopped/captured
Other Changes
node: Fix
node-crontypes and add testnode: Fix downleveled types entry point
node: LocalVariables integration should use setupOnce
replay: Fix type for options of replayIntegration
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.0
23 Jan 2024- Deprecated
core: Deprecate
Span.originin favor ofsentry.originattribute - Deprecated
core: Deprecate
Span.parentSpanId - Deprecated
core: Expose
isInitialized()to replace checking viagetClient
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(), ], });- Deprecated
core: Deprecate
Span.originin favor ofsentry.originattribute - Deprecated
core: Deprecate
Span.parentSpanId - Deprecated
core: Expose
isInitialized()to replace checking viagetClient - Deprecated
replay: Deprecate
Replay,ReplayCanvas,Feedbackclasses - Deprecated
wasm: Deprecate
Wasmintegration class
Other Changes
Make
parameterizefunction available through browser and node APIfeedback: Configure feedback border radius
sveltekit: Update default integration handling & deprecate
addOrUpdateIntegrationreplay-canvas: Add missing dependency on @sentry/utils
tracing: Don't send negative ttfb
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 7.94.1
19 Jan 2024- Deprecated
Deprecate user segment field
- Deprecated
core: Deprecate
finishonSpaninterface in favour ofend - Deprecated
core: Deprecate
getCurrentHub()
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.- Deprecated
Deprecate user segment field
- Deprecated
core: Deprecate
finishonSpaninterface in favour ofend - Deprecated
core: Deprecate
getCurrentHub() - Deprecated
core: Deprecate
hub.bindClient()&makeMain() - Deprecated
core: Deprecate
Span.instrumenter - Deprecated
core: Deprecate
Span.isSuccess()in favor of reading span status - Deprecated
core: Deprecate
Span.opin favor of op attribute - Deprecated
core: Deprecate
Span.spanRecorder - Deprecated
core: Deprecate
Span.status - Deprecated
core: Deprecate
Span.transactionin favor ofgetRootSpan - Deprecated
core: Deprecate
Transaction.instrumenter - Deprecated
core: Deprecate
Transaction.setMeasurementin favor ofsetMeasurement - Deprecated
core: Deprecate integration classes &
Integrations.X - Deprecated
core: Deprecate methods on
Hub - Deprecated
core: Deprecate remaining
setNamedeclarations onTransactionandSpan - Deprecated
core: Deprecate span
startTimestamp&endTimestamp - Deprecated
core: Deprecate
hub.bindClient()andmakeMain() - Deprecated
types: Deprecate
oponSpaninterface - Deprecated
integrations: Deprecate
Transactionintegration - Deprecated
integrations: Deprecate pluggable integration classes
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
core: Add
client.getIntegrationByName()core: Add
client.init()to replaceclient.setupIntegrations()core: Add
withActiveSpancore: Add
withIsolationScopecore: Streamline integration function results to be compatible
core: Write data from
setUser,setTags,setExtras,setTag,setExtra, andsetContextto isolation
scope (#10163)core: Add domain information to resource span data #10205
feedback: Export sendFeedback from @sentry/browser
node: Update and vendor https-proxy-agent
node-experimental: Add
withActiveSpanreplays: Add snapshot function to replay canvas integration
types: Add
SerializedEventinterface (pre v8)types: Add support for new monitor config thresholds
Ensure all integration classes have correct types
astro: Fix import path when using external init files with default path
cdn: Emit console warning instead of error for integration shims
core: Take user from current scope when starting a session
node-experimental: Ensure
http.status_codeis always a stringnode: Guard against
process.argv[1]being undefinednode: Module name resolution
node: Remove leading slash in Windows filenames
remix: Capture thrown fetch responses.
tracing: Gate mongo operation span data behind sendDefaultPii
tracing-internal: Delay pageload transaction finish until document is interactive
tracing-internal: Only collect request/response spans when browser performance timing is available
tracing-internal: Prefer
fetchinit headers overfetchinput headersutils: Ensure dropUndefinedKeys() does not break class instances
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.0
19 Jan 20247.93.0
10 Jan 2024- Deprecated
core: Deprecate
getActiveTransaction()&scope.getTransaction() - Deprecated
core: Deprecate
Hub.shouldSendDefaultPii - Deprecated
core: Deprecate
new Transaction()
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.- Deprecated
core: Deprecate
getActiveTransaction()&scope.getTransaction() - Deprecated
core: Deprecate
Hub.shouldSendDefaultPii - Deprecated
core: Deprecate
new Transaction() - Deprecated
core: Deprecate
scope.getSpan()&scope.setSpan() - Deprecated
core: Deprecate
scope.setTransactionName() - Deprecated
core: Deprecate
span.startChild() - Deprecated
core: Deprecate
startTransaction() - Deprecated
core: Deprecate
Transaction.getDynamicSamplingContextin favor ofgetDynamicSamplingContextFromSpan - Deprecated
core: Deprecate arguments for
startSpan() - Deprecated
core: Deprecate hub capture APIs and add them to
Scope - Deprecated
core: Deprecate session APIs on hub and add global replacements
- Deprecated
core: Deprecate span
nameanddescription - Deprecated
core: Deprecate span
tags,data,context& setters - Deprecated
core: Deprecate transaction metadata in favor of attributes
- Deprecated
core: Deprecate
span.sampledin favor ofspan.isRecording() - Deprecated
node-experimental: Deprecate
lastEventIdon scope
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'); });node: Instrumentation for
node-schedulelibrary
Other Changes
core: Add
span.spanContext()core: Add
spanToJSON()method to get span propertiescore: Allow to pass
scopetostartSpanAPIscore: Allow to pass start/end timestamp for spans flexibly
node: Make
getModuleFromFilenamecompatible with ESMutils: Add
parameterizefunctionastro: Use correct package name for CF
core: Do not run
setupfor integration on client multiple timescore: Ensure we copy passed in span data/tags/attributes
cron: Make name required for instrumentNodeCron option
nextjs: Don't capture not-found and redirect errors in generation functions
node:
LocalVariablesintegration should have correct namenode: Anr events should have an
event_idnode: Revert to only use sync debugger for
LocalVariablesnode: Update ANR min node version to v16.17.0
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 7.92.0
4 Jan 2024- Deprecated
core: Add
span.updateName()and deprecatespan.setName() - Deprecated
core: Deprecate
span.getTraceContext() - Deprecated
core: Deprecate
span.toTraceparent()in favor ofspanToTraceHeader()util
Important Changes
Deprecations
- Deprecated
core: Add
span.updateName()and deprecatespan.setName() - Deprecated
core: Deprecate
span.getTraceContext() - Deprecated
core: Deprecate
span.toTraceparent()in favor ofspanToTraceHeader()util - Deprecated
core: Deprecate
tracein favor ofstartSpan - Deprecated
core: Deprecate span
toContext()andupdateWithContext() - Deprecated
Deprecate
deepReadDirSync - Deprecated
Deprecate
lastEventId()
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-cronlibrariesnode: Instrumentation for
cronlibrarynode: Instrumentation for
node-cronlibrary
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
astro: Add
enabledoption to Astro integration optionscore: Add
attributestoSpancore: Add
setClient()andgetClient()toScopeintegrations: Capture error cause with
captureErrorCauseinExtraErrorDataintegrationnode-experimental: Allow to pass base span options to trace methods
node: Local variables via async inspector in node 19+
astro: Handle commonjs related issues
astro: Handle non-utf8 encoded streams in middleware
astro: Prevent sentry from externalized
core: Ensure
withScopesets current scope correctly with async callbacksnode: ANR fixes and additions
node: Anr should not block exit
node: Correctly resolve module name
node: Handle inspector already open
node: Make
NODE_VERSIONproperties requirednode: Anr doesn't block exit
utils: Use correct typeof URL validation
astro: Reduce unnecessary path resolutions
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 7.91.0
22 Dec 2023Add server runtime metrics aggregator
node: Rework ANR to use worker script via an integration
breadcrumbs: Send component names on UI breadcrumbs
Important Changes
Add server runtime metrics aggregator
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);node: Rework ANR to use worker script via an integration
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://public@dsn.ingest.sentry.io/1337', integrations: [new Sentry.Integrations.Anr({ captureStackTrace: true, anrThreshold: 200 })], });Other Changes
breadcrumbs: Send component names on UI breadcrumbs
core: Add
getGlobalScope()methodcore: Add
getIsolationScope()methodcore: Add
span.end()to replacespan.finish()core: Ensure
startSpan&startSpanManualfork scopereact: Send component name on spans
replay: Send component names in replay breadcrumbs
sveltekit: Add options to configure fetch instrumentation script for CSP
tracing: Send component name on interaction spans
utils: Add function to extract relevant component name
core: Rethrow caught promise rejections in
startSpan,startSpanManual,trace
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.0
20 Dec 2023replay: Change to use preset quality values
replay: Adjust development hydration error messages
sveltekit: Add
typesfield to package.jsonexports
7.89.0
19 Dec 2023- Deprecated
core: Deprecate
configureScope - Deprecated
core: Deprecate
pushScope&popScope node: Add Hapi Integration
Important Changes
Deprecations
- Deprecated
core: Deprecate
configureScope - Deprecated
core: Deprecate
pushScope&popScope
This release deprecates
configureScope,pushScope, andpopScope, which will be removed in the upcoming v8 major release.Hapi Integration
node: Add Hapi Integration
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
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
core: Add type & utility for function-based integrations
core: Update
withScopeto return callback return valuedeno: Support
Deno.CronSchedulefor cron jobsnextjs: Auto instrument generation functions
nextjs: Connect server component transactions if there is no incoming trace
node-experimental: Update to new Scope APIs
replay: Add
canvas.typesettingnextjs: Export
createReduxEnhancerremix: Do not capture thrown redirect responses.
sveltekit: Add conditional exports
sveltekit: Avoid capturing 404 errors on client side
utils: Do not use
Eventtype in worldwideutils: Support crypto.getRandomValues in old Chromium versions
utils: Update
eventFromUnknownInputto avoid scope pollution &getCurrentHub
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 7.88.0
14 Dec 2023browser: Add browser metrics sdk
deno: Optionally instrument
Deno.cronnextjs: Guard against injecting multiple times
Important Changes
browser: Add browser metrics sdk
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.)
deno: Optionally instrument
Deno.cron
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
nextjs: Guard against injecting multiple times
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.0
13 Dec 2023Add top level
getCurrentScope()methodreplay: Capture hydration error breadcrumb
types: Add profile envelope types
Add top level
getCurrentScope()methodreplay: Capture hydration error breadcrumb
types: Add profile envelope types
astro: Avoid RegExp creation during route interpolation
browser: Avoid importing from
./exportsnextjs: Catch rejecting flushes
nextjs: Fix devserver CORS blockage when
assetPrefixis definednode: Capture errors in tRPC middleware
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 7.86.0
7 Dec 2023core: Use SDK_VERSION for hub API version
nextjs: Emit warning if your app directory doesn't have a global-error.js file
node: Add cloudflare pages commit sha
core: Use SDK_VERSION for hub API version
nextjs: Emit warning if your app directory doesn't have a global-error.js file
node: Add cloudflare pages commit sha
nextjs: Don't accidentally trigger static generation bailout
node: Guard
process.env.NODE_ENVaccess in Spotlight integrationutils: Fix XHR instrumentation early return
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.0
4 Dec 2023core: Add
addEventProcessormethodcrons: Add interface for heartbeat checkin
feedback: Include Feedback package in browser SDK
core: Add
addEventProcessormethodcrons: Add interface for heartbeat checkin
feedback: Include Feedback package in browser SDK
astro: Isolate request instrumentation in middleware
replay: Capture JSON XHR response bodies
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 7.84.0
30 Nov 2023metrics: Add interfaces for metrics
web-vitals: Vendor in INP from web-vitals library
astro: Avoid adding the Sentry Vite plugin in dev mode
Important Changes
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
metrics: Add interfaces for metrics
web-vitals: Vendor in INP from web-vitals library
astro: Avoid adding the Sentry Vite plugin in dev mode
nextjs: Don't match files called
middlewarein node_modulesremix: Don't capture error responses that are not 5xx on Remix v2.
tracing: Don't attach resource size if null
utils: Regex match port to stop accidental replace
utils: Try catch new URL when extracting query params
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 7.83.0
28 Nov 2023astro: Add
assetsoption to source maps upload optionsreact: Support
exactOptionalPropertyTypesonErrorBoundaryDon't depend on browser types in
types
astro: Add
assetsoption to source maps upload optionsreact: Support
exactOptionalPropertyTypesonErrorBoundaryDon't depend on browser types in
typesastro: Configure sourcemap assets directory for Vercel adapter
remix: Check the error data before spreading.
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.86 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.46 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.11 KB @sentry/browser - Webpack (gzipped) 21.38 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.71 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.52 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.6 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 197.46 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.32 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.29 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.21 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.24 KB @sentry/react - Webpack (gzipped) 21.42 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.96 KB @sentry/nextjs Client - Webpack (gzipped) 48.21 KB @sentry-internal/feedback - Webpack (gzipped) 16.19 KB 7.82.0
27 Nov 2023astro: Automatically add Sentry middleware in Astro integration
core: Add optional
setuphook to integrationscore: Add top level
getClient()method
astro: Automatically add Sentry middleware in Astro integration
core: Add optional
setuphook to integrationscore: Add top level
getClient()methodcore: Allow to pass
mechanismas event hintcore: Allow to use
continueTracewithout callbackfeedback: Add onClose callback to showReportDialog
nextjs: Add request data to all edge-capable functionalities
node: Add Spotlight option to Node SDK
utils: Refactor
addInstrumentationHandlerto dedicated methodsMake full url customizable for Spotlight
astro: Remove Auth Token existence check
nextjs: Fix middleware detection logic
remix: Skip capturing aborted requests
replay: Add
BODY_PARSE_ERRORwarning & time out fetch response loadtracing: Filter out invalid resource sizes
Work in this release contributed by @arya-s. Thank you for your contribution!
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.02 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 56.21 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.19 KB @sentry/browser - Webpack (gzipped) 21.4 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.65 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.47 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.55 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 197.27 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.15 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.12 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.13 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.43 KB @sentry/react - Webpack (gzipped) 21.45 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.16 KB @sentry/nextjs Client - Webpack (gzipped) 48.32 KB @sentry-internal/feedback - Webpack (gzipped) 16.19 KB 7.81.1
21 Nov 2023- Removed
astro: Remove method from span op
deno: Make sure files get published
nextjs: Use
globalThisinstead ofglobalin edge runtime
- Removed
astro: Remove method from span op
deno: Make sure files get published
nextjs: Use
globalThisinstead ofglobalin edge runtimenode: Improve error handling and shutdown handling for ANR
tracing-internal: Fix case when originalURL contain query params
Work in this release contributed by @powerfulyang, @LubomirIgonda1, @joshkel, and @alexgleason. Thank you for your contributions!
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.61 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.72 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.01 KB @sentry/browser - Webpack (gzipped) 21.32 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.03 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.13 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.26 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.71 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.38 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.34 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.85 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.92 KB @sentry/react - Webpack (gzipped) 21.36 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.66 KB @sentry/nextjs Client - Webpack (gzipped) 48.15 KB @sentry-internal/feedback - Webpack (gzipped) 16.12 KB 7.81.0
20 Nov 2023- Deprecated
Deprecate
extractTraceParentDatafrom@sentry/core& downstream packages feedback: Add
leveland remove breadcrumbs from feedback eventvercel-edge: Add fetch instrumentation
Important Changes
- feat(nextjs): Add instrumentation utility for server actions (#9553)
This release adds a utility function
withServerActionInstrumentationto the@sentry/nextjsSDK for instrumenting your Next.js server actions with error and performance monitoring.You can optionally pass form data and headers to record them, and configure the wrapper to record the Server Action responses:
import * as Sentry from "@sentry/nextjs"; import { headers } from "next/headers"; export default function ServerComponent() { async function myServerAction(formData: FormData) { "use server"; return await Sentry.withServerActionInstrumentation( "myServerAction", // The name you want to associate this Server Action with in Sentry { formData, // Optionally pass in the form data headers: headers(), // Optionally pass in headers recordResponse: true, // Optionally record the server action response }, async () => { // ... Your Server Action code return { name: "John Doe" }; } ); } return ( <form action={myServerAction}> <input type="text" name="some-input-value" /> <button type="submit">Run Action</button> </form> ); }Other Changes
feedback: Add
leveland remove breadcrumbs from feedback eventvercel-edge: Add fetch instrumentation
vue: Support Vue 3 lifecycle hooks in mixin options
nextjs: Download CLI binary if it can't be found
- Deprecated
Deprecate
extractTraceParentDatafrom@sentry/core& downstream packages
Work in this release contributed by @snoozbuster. Thank you for your contribution!
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.53 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.67 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.01 KB @sentry/browser - Webpack (gzipped) 21.32 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 61.99 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.13 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.26 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.53 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.38 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.34 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.85 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.84 KB @sentry/react - Webpack (gzipped) 21.36 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.58 KB @sentry/nextjs Client - Webpack (gzipped) 48.15 KB @sentry-internal/feedback - Webpack (gzipped) 16.08 KB 7.80.1
14 Nov 2023astro: Adjust Vite plugin config to upload server source maps
nextjs: Add tracing extensions in all serverside wrappers
nextjs: Fix serverside transaction names on Windows
astro: Adjust Vite plugin config to upload server source maps
nextjs: Add tracing extensions in all serverside wrappers
nextjs: Fix serverside transaction names on Windows
node: Fix tRPC middleware typing
replay: Add additional safeguards for capturing network bodies
tracing: Update prisma span to be
db.prisma
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.42 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.63 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 30.98 KB @sentry/browser - Webpack (gzipped) 21.3 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 61.95 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.1 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.24 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.42 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.32 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.3 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.81 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.77 KB @sentry/react - Webpack (gzipped) 21.34 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.49 KB @sentry/nextjs Client - Webpack (gzipped) 48.13 KB @sentry-internal/feedback - Webpack (gzipped) 16 KB 7.80.0
9 Nov 2023astro: Add distributed tracing via
<meta>tagsnode: Capture internal server errors in trpc middleware
remix: Export a type to use for
MetaFunctionparameters
astro: Add distributed tracing via
<meta>tagsnode: Capture internal server errors in trpc middleware
remix: Export a type to use for
MetaFunctionparametersastro: Mark SDK package as Astro-external
Bundle size
Path Size @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.25 KB @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.49 KB @sentry/browser (incl. Tracing) - Webpack (gzipped) 30.98 KB @sentry/browser - Webpack (gzipped) 21.3 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 61.83 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.1 KB @sentry/browser - ES6 CDN Bundle (gzipped) 21.24 KB @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 194.91 KB @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.32 KB @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.3 KB @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.81 KB @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.61 KB @sentry/react - Webpack (gzipped) 21.34 KB @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.35 KB @sentry/nextjs Client - Webpack (gzipped) 48.13 KB @sentry-internal/feedback - Webpack (gzipped) 15.98 KB
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.