Skip to content

Update dependency @sentry/react to v7.43.0#133

Merged
tudddorrr merged 1 commit intodevelopfrom
renovate/sentry-javascript-monorepo
Mar 19, 2023
Merged

Update dependency @sentry/react to v7.43.0#133
tudddorrr merged 1 commit intodevelopfrom
renovate/sentry-javascript-monorepo

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 17, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/react (source) 7.30.0 -> 7.43.0 age adoption passing confidence

Release Notes

getsentry/sentry-javascript

v7.43.0

Compare Source

  • 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)

v7.42.0

Compare Source

  • 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)

v7.41.0

Compare Source

  • 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!

v7.40.0

Compare Source

  • 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)

v7.39.0

Compare Source

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)

v7.38.0

Compare Source

  • 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!

v7.37.2

Compare Source

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)

v7.37.1

Compare Source

  • 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)

v7.37.0

Compare Source

  • 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!

v7.36.0

Compare Source

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)

v7.35.0

Compare Source

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!

v7.34.0

Compare Source

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!

v7.33.0

Compare Source

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.

  • feat(replay): Remove default sample rates for replay (#​6878)
  • feat(replay): try/catch around stopRecording (#​6856)
  • fix(nextjs): Mark multiplexer targets as entrypoints (#​6919)

v7.32.1

Compare Source

  • fix(nextjs): Make SDK multiplexer more resilient (#​6905)

v7.32.0

Compare Source

  • build(replay): Stop preserving modules (#​6817)
  • feat(nextjs): Add browser SDK to app directory browser bundle (#​6812)
  • feat(node): Use includeLocalVariables option to enable LocalVariables integration (#​6874)
  • feat(node): Add option to capture local variables for caught exceptions via LocalVariables integration (#​6876)
  • feat(replay): Add flush method to integration (#​6776)
  • feat(replay): Handle worker loading errors (#​6827)
  • feat(replay): Lower the flush max delay from 15 seconds to 5 seconds (#​6761)
  • feat(tracing): Promote enableLongTask to option of BrowserTracing (#​6837)
  • fix(core): Fix replay client report data category (#​6891)
  • fix(nextjs): Fix SDK multiplexer loader on Windows (#​6866)
  • fix(otel): Use http/grpc status over span status (#​6879)
  • fix(react): Add children prop for Profiler (#​6828)
  • fix(react): Make wrapCreateBrowserRouter generic (#​6862)
  • fix(remix): Make sure the domain is created before running. (#​6852)
  • ref(nextjs): Remove NFT build time exclusions (#​6846)
  • ref(replay): Avoid duplicate debounce timers (#​6863)
  • ref(replay): Remove unused initialFlushDelay option (#​6867)
  • ref(replay): Send SDK version in Replay events (#​6814)

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

v7.31.1

Compare Source

  • build(replay): Provide full browser+tracing+replay bundle (#​6793)
  • feat(nextjs): Disable NextJS perf monitoring when using otel (#​6820)
  • fix(nextjs): Add back browser field in package.json (#​6809)
  • fix(nextjs): Connect Edge API route errors to span (#​6806)
  • fix(nextjs): Correctly handle ts middleware files (#​6816)

v7.31.0

Compare Source

The Next.js SDK now supports error and performance monitoring for Next.js middleware and Edge API routes.
To set it up, add a sentry.edge.config.js or sentry.edge.config.ts file to the root of your project and initialize the SDK:

// sentry.edge.config.js or sentry.edge.config.ts

import * as Sentry from "@&#8203;sentry/nextjs";

const SENTRY_DSN = process.env.SENTRY_DSN || process.env.NEXT_PUBLIC_SENTRY_DSN;

Sentry.init({
  dsn: SENTRY_DSN || "YOUR DSN HERE",
  tracesSampleRate: 1.0,
});

The Next.js will automatically instrument Edge API routes and middleware.
If you want to opt out of automatic instrumentation of middleware can use the autoInstrumentMiddleware option in the sentry object of your Next.js configuration:

const moduleExports = {
  sentry: {
    autoInstrumentMiddleware: false,
  },
};

Middleware can be manually instrumented by using the wrapMiddlewareWithSentry function.

  • feat(nextjs): Add Edge Runtime SDK (#​6752)
  • feat(nextjs): Add optional options argument to withSentryConfig as an alternative to the sentry property (#​6721)
  • feat(nextjs): Add edge route and middleware wrappers (#​6771)
  • feat(nextjs): Auto-wrap edge-routes and middleware (#​6746)
  • feat(replay): Update rrweb & rrweb-snapshot (#​6749)
  • feat(replay): Stop recording when retry fails (#​6765)
  • feat(replay): Stop without retry when receiving bad API response (#​6773)
  • feat(types): Add Trace Context type (#​6714)
  • fix(nextjs): Export isomorphic data fetching wrappers from client SDK (#​6790)
  • fix(nextjs): Make Next.js types isomorphic (#​6707)
  • fix(node): Handle node build without inspector in LocalVariables integration (#​6780)
  • fix(otel): Set trace context via Otel Span instead of Sentry span (#​6724)
  • fix(otel): Prevent baggage from being overwritten (#​6709)
  • fix(otel): Make sure we handle when sentry-trace is an empty array (#​6781)
  • fix(remix): Make remix SDK type exports isomorphic (#​6715)
  • fix(replay): Fix checkoutEveryNms (#​6722)
  • fix(replay): Fix incorrect uncompressed recording size due to encoding (#​6740)
  • fix(tracing): Attach request instrumentation span to active span instead of current transaction (#​6778)
  • ref(nextjs): Deprecate isBuild() and IS_BUILD (#​6727)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Mar 17, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (0095695) 97.83% compared to head (599d93c) 97.83%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #133   +/-   ##
========================================
  Coverage    97.83%   97.83%           
========================================
  Files           86       86           
  Lines         6056     6056           
  Branches       382      382           
========================================
  Hits          5925     5925           
  Misses         130      130           
  Partials         1        1           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tudddorrr tudddorrr merged commit a37cb3e into develop Mar 19, 2023
@tudddorrr tudddorrr deleted the renovate/sentry-javascript-monorepo branch March 19, 2023 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant