github getsentry/sentry-javascript 7.73.0

latest releases: 7.120.0, 8.38.0, 8.37.1...
13 months ago

Important Changes

  • feat(replay): Upgrade to rrweb2

This is fully backwards compatible with prior versions of the Replay SDK. The only breaking change that we will making is to not be masking aria-label by default. The reason for this change is to align with our core SDK which also does not mask aria-label. This change also enables better support of searching by clicks.

Another change that needs to be highlighted is the 13% bundle size increase. This bundle size increase is necessary to bring improved recording performance and improved replay fidelity, especially in regards to web components and iframes. We will be investigating the reduction of the bundle size in this PR.

Here are benchmarks comparing the version 1 of rrweb to version 2

metric v1 v2
lcp 1486.06 ms 1529.11 ms
cls 0.40 ms 0.40 ms
fid 1.53 ms 1.50 ms
tbt 3207.22 ms 3036.80 ms
memoryAvg 131.83 MB 124.84 MB
memoryMax 324.8 MB 339.03 MB
netTx 282.67 KB 272.51 KB
netRx 8.02 MB 8.07 MB

Other Changes

  • feat: Always assemble Envelopes (#9101)
  • feat(node): Rate limit local variables for caught exceptions and enable captureAllExceptions by default (#9102)
  • fix(core): Ensure tunnel is considered for isSentryUrl checks (#9130)
  • fix(nextjs): Fix RequestAsyncStorage fallback path (#9126)
  • fix(node-otel): Suppress tracing for generated sentry spans (#9142)
  • fix(node): fill in span data from http request options object (#9112)
  • fix(node): Fixes and improvements to ANR detection (#9128)
  • fix(sveltekit): Avoid data invalidation in wrapped client-side load functions (#9071)
  • ref(core): Refactor InboundFilters integration to use processEvent (#9020)
  • ref(wasm): Refactor Wasm integration to use processEvent (#9019)

Work in this release contributed by @vlad-zhukov. Thank you for your contribution!

Bundle size 📦

Path Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 84.26 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped) 31.42 KB
@sentry/browser - Webpack (gzipped) 22 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 78.69 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.52 KB
@sentry/browser - ES6 CDN Bundle (gzipped) 20.59 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 254.14 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.42 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.23 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.38 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 84.28 KB
@sentry/react - Webpack (gzipped) 22.03 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 102.2 KB
@sentry/nextjs Client - Webpack (gzipped) 50.95 KB

Don't miss a new sentry-javascript release

NewReleases is sending notifications on new releases.