Releases: getsentry/sentry-javascript
7.38.0
- feat: Put
abs_pathinto stack frame object (#7167) - feat(integrations): Deprecate
Offlineintegration (#7063) - feat(otel): Convert exception otel events to sentry errors (#7165)
- feat(replay): Change LCP calculation (#7187)
- feat(tracing): Support Apollo/GraphQL with NestJS (#7194)
- feat(tracing): Track
PerformanceResourceTiming.renderBlockingStatus(#7127) - feat(tracing|core): Remove transaction name change recording (#7197)
- fix(browser): Ensure dedupe integration ignores non-errors (#7172)
- fix(core): Skip empty integrations (#7204)
- fix(nextjs): Fix faulty import in Next.js .d.ts (#7175)
- fix(otel): Make otel.kind be a string (#7182)
- fix(react): Make fallback render types more accurate (#7198)
- fix(replay): Debounced flushes not respecting
maxWait(#7207, #7208) - ref(replay): Improve logging for stopped replay (#7174)
Work in this release contributed by @lucas-zimermann. Thank you for your contribution!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser - ES5 CDN Bundle (gzipped + minified) | 20.05 KB |
| @sentry/browser - ES5 CDN Bundle (minified) | 62.14 KB |
| @sentry/browser - ES6 CDN Bundle (gzipped + minified) | 18.68 KB |
| @sentry/browser - ES6 CDN Bundle (minified) | 55.29 KB |
| @sentry/browser - Webpack (gzipped + minified) | 20.41 KB |
| @sentry/browser - Webpack (minified) | 66.73 KB |
| @sentry/react - Webpack (gzipped + minified) | 20.44 KB |
| @sentry/nextjs Client - Webpack (gzipped + minified) | 47.78 KB |
| @sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) | 26.93 KB |
| @sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) | 25.2 KB |
| @sentry/replay ES6 CDN Bundle (gzipped + minified) | 42.57 KB |
| @sentry/replay - Webpack (gzipped + minified) | 36.78 KB |
| @sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 60.2 KB |
| @sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) | 53.8 KB |
7.37.2
This release includes changes and fixes around text masking and blocking in Replay's rrweb dependency. See versions 1.102.0 and 1.103.0.
- feat: Check
blockSelectorfor blocking elements as well - feat: With maskAllText, mask the attributes: placeholder, title,
aria-label - feat: fix masking on
textarea - feat: Add
maskAllTextoption
SDK Changes:
- fix(replay): Fix svgs not getting unblocked (#7132)
7.37.1
7.37.0
- feat: Add source map debug ids (#7068)
- feat(browser): Add IndexedDb offline transport store (#6983)
- feat(nextjs): Add auto-wrapping for server components (#6953)
- feat(nextjs): Improve client stack traces (#7097)
- feat(replay): Improve rrweb error ignoring (#7087 & #7094)
- feat(replay): Send client_report when replay sending fails (#7093)
- fix(node):
LocalVariables, Improve frame matching for ESM (#7049) - fix(node): Add lru cache to http integration span map (#7064)
- fix(replay): Export Replay from Sentry namespace in full CDN bundle (#7119)
Work in this release contributed by @JamesHenry. Thank you for your contribution!
7.36.0
This Release re-introduces the accidentally removed but still deprecated maskInputOptions option for Session Replay.
Furthermore, replays are now stopped instead of paused when a rate limit is encountered.
- feat(replay): Add back deprecated
maskInputOptions(#6981) - feat(replay): Stop recording when hitting a rate limit (#7018)
- fix(integrations): Report
BaseClientintegrations added after init (#7011) - fix(replay): Don't mangle private rrweb property (#7033)
- fix(replay): Fix feature detection of PerformanceObserver (#7029)
7.35.0
Session Replay is deprecating privacy options in favor of a more streamlined API. Please see the Replay migration guide for further information.
Additionally, the following configuration options will no longer be configurable: slimDOMOptions, recordCanvas, inlineStylesheet, collectFonts, inlineImages.
- feat(browser): Track if cdn or npm bundle (#6976)
- feat(core): Add aria label to breadcrumb attributes (#6955)
- feat(core): Add Offline Transport wrapper (#6884)
- feat(loader): Add SENTRY_SDK_SOURCE to track loader stats (#6985)
- feat(loader): Sync loader with Sentry template (#7001)
- feat(replay): Deprecate privacy options in favor of a new API, remove some recording options (#6645)
- feat(replay): Move sample rate tags into event context (#6659)
- fix(nextjs): Add isomorphic versions of
ErrorBoundary,withErrorBoundaryandshowReportDialog(#6987) - fix(nextjs): Don't modify require calls in wrapping loader (#6979)
- fix(nextjs): Don't share I/O resources in between requests (#6980)
- fix(nextjs): Inject client config into
_appinstead ofmain(#7009) - fix(nextjs): Use Proxies to wrap to preserve static methods (#7002)
- fix(replay): Catch style mutation handling & null events in rrweb (#7010)
- fix(replay): Handle compression failures more robustly (#6988)
- fix(replay): Only call
scope.getLastBreadcrumbif available (#6969) - fix(utils): Account for null prototype during normalization (#6925)
- ref(replay): Log warning if sample rates are all undefined (#6959)
Work in this release contributed by @boblauer. Thank you for your contribution!
7.34.0
This release adds automatic injection of the Next.js SDK into serverside app directory bundles, allowing users to call the Sentry SDK in server components.
- feat(nextjs): Add SDK to serverside
appdirectory (#6927) - fix(replay): Do not renew session in error mode (#6948)
- fix(replay): Handle compression worker errors more gracefully (#6936)
- fix(replay): fix path separator substitution to replay all
\(#6932) - fix(replay): ignore errors in CSSStyleSheetObserver (getsentry/rrweb#16)
Work in this release contributed by @mdtro. Thank you for your contribution!
7.34.0-beta.0
This release is a preview build to test out SDK support for the server-side Next.js app directory.
7.33.0
With this release, the sample rate for Session Replays will default to 0. We recommend explicitly setting the sample rate via the replaysSessionSampleRate and replaysOnErrorSampleRate options.