Skip to content

Releases: getsentry/sentry-javascript

7.40.0

01 Mar 18:20
Compare
Choose a tag to compare
  • feat(nextjs): Automatically resolve source of errors in dev mode (#7294)
  • feat(vue): Log errors to the console by default (#7310)
  • fix(ember): Disable performance in FastBoot (#7282)
  • fix(serverless): Capture custom tags in error events of GCP functions (#7298)
  • fix(serverless): Capture custom tags in GCP Background and CloudEvent function error events (#7301)

7.39.0

27 Feb 14:47
Compare
Choose a tag to compare

This release adds a new package, @sentry/angular-ivy, which is our Angular SDK with full support for Angular's rendering engine, Ivy.

This release also adds a new enableTracing option, which can be used instead of tracesSampleRate for an easier setup.
Related to this, the hasTracingEnabled utility function was moved from @sentry/tracing to @sentry/core.
The old export from @sentry/tracing has been deprecated and will be removed in v8.

  • feat(angular): Add Ivy-compatible Angular SDK package (#7264)
  • feat(core): Add source map images to debug_meta (#7168)
  • feat(loader): Make lazy-loading configurable (#7232)
  • feat(nextjs): Add performance monitoring to server components (#7242)
  • feat(nextjs): Default to VERCEL_ENV as environment (#7227)
  • feat(replay): Add more default block filters (#7233)
  • feat(tracing): Add enableTracing option (#7238)
  • fix(core): Exclude client reports from offline queuing (#7226)
  • fix(nextjs): Export serverside data-fetcher wrappers from client (#7256)
  • fix(replay): Fix timestamps on LCP (#7225)

Replay rrweb changes:

@sentry-internal/rrweb was updated from 1.103.0 to 1.104.1 (#7238):

  • feat: Export typings/types (#60)
  • feat: Remove autoplay attribute from audio/video tags (#59)
  • fix: Exclude modulepreload as well (#52)
  • fix: Handle removed attributes (#65)
  • fix: Masking inputs on change when maskAllInputs:false (#61)
  • fix: More robust rootShadowHost check (#50)
  • fix: Textarea value is being duplicated (#62)

7.38.0

17 Feb 13:34
Compare
Choose a tag to compare
  • feat: Put abs_path into stack frame object (#7167)
  • feat(integrations): Deprecate Offline integration (#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

13 Feb 15:34
Compare
Choose a tag to compare

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 blockSelector for blocking elements as well
  • feat: With maskAllText, mask the attributes: placeholder, title, aria-label
  • feat: fix masking on textarea
  • feat: Add maskAllText option

SDK Changes:

  • fix(replay): Fix svgs not getting unblocked (#7132)

7.37.1

10 Feb 15:36
Compare
Choose a tag to compare
  • fix(browser): Support async in stack frame urls (#7131)
  • fix(nextjs): Make api route identifier stricter (#7126)
  • fix(node): Don't rely on this in http integration (#7135)
  • fix(replay): Fix missing fetch/xhr requests (#7134)
  • fix(tracing): Export defaultStackParser from tracing CDN bundles (#7116)

7.37.0

09 Feb 16:09
Compare
Choose a tag to compare
  • 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

02 Feb 13:33
Compare
Choose a tag to compare

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 BaseClient integrations added after init (#7011)
  • fix(replay): Don't mangle private rrweb property (#7033)
  • fix(replay): Fix feature detection of PerformanceObserver (#7029)

7.35.0

01 Feb 12:07
Compare
Choose a tag to compare

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, withErrorBoundary and showReportDialog (#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 _app instead of main (#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.getLastBreadcrumb if 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

26 Jan 21:09
Compare
Choose a tag to compare

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 app directory (#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

25 Jan 13:50
Compare
Choose a tag to compare
7.34.0-beta.0 Pre-release
Pre-release

This release is a preview build to test out SDK support for the server-side Next.js app directory.