Skip to content

Releases: getsentry/sentry-javascript

7.43.0

13 Mar 15:10
Compare
Choose a tag to compare
  • feat(nextjs): Run source map upload in Vercel develop and preview environments (#7436)
  • feat(types): Add profilesSampler option to node client type (#7385)
  • fix(core): Avoid using Array.findIndex() as it is ES5 incompatible (#7400)
  • fix(nextjs): Add better error messages for missing params during next build (#7434)
  • fix(nextjs): Don't crash build when auth token is missing
  • fix(node): Revert to dynamic require call to fix monkey patching (#7430)
  • fix(types): Fix node types & add E2E test (#7429)

7.42.0

09 Mar 13:38
Compare
Choose a tag to compare
  • feat(core): Add lifecycle hooks (#7370)
  • feat(core): Emit hooks for transaction start/finish (#7387)
  • feat(nextjs): Connect traces for server components (#7320)
  • feat(replay): Attach an error cause to send exceptions (#7350)
  • feat(replay): Consider user input in form field as "user activity" (#7355)
  • feat(replay): Update rrweb to 1.105.0 & add breadcrumb when encountering large mutation (#7314)
  • feat(tracing): Expose cancelIdleTimeout and add option to make it permanent (#7236)
  • feat(tracing): Track PerformanceObserver interactions as spans (#7331)
  • fix(core): Ensure originalException has type unknown (#7361)
  • fix(core): Avoid using Object.values() (#7360)
  • fix(react): Make redux integration be configurable via normalizeDepth (#7379)
  • fix(tracing): Record LCP and CLS on transaction finish (#7386)
  • ref(browser): Improve type safety of breadcrumbs integration (#7382)
  • ref(node): Parallelize disk io when reading source files for context lines (#7374)
  • ref(node): Partially remove dynamic require calls (#7377)

Replay rrweb changes:

@sentry-internal/rrweb was updated from 1.104.1 to 1.105.0 (#7314):

  • feat: Add onMutation option to record (#70)
  • fix: Ensure <input type='submit' value='Btn text'> is masked (#69)

7.41.0

06 Mar 12:36
Compare
Choose a tag to compare
  • feat: Ensure we use the same default environment everywhere (#7327)
  • feat(profiling): Add JS self profiling in the browser (#7273)
  • feat(vue): Allow to set routeLabel: 'path' to opt-out of using name (#7326)
  • fix(profiling): Guard from throwing if profiler constructor throws (#7328)
  • fix(react): Use namespace import for react router v6 (#7330)
  • fix(remix): Correctly parse X-Forwarded-For Http header (#7329)

Work in this release contributed by @OliverJAsh. Thank you for your contribution!

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)