Skip to content

Update dependency @sentry/react to v7.46.0#172

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

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

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Mar 30, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

getsentry/sentry-javascript

v7.46.0

Compare Source

Important Changes
  • feat(sveltekit): Add Performance Monitoring for SvelteKit
    • feat(sveltekit): Add meta tag for backend -> frontend (#​7574)
    • fix(sveltekit): Explicitly export Node SDK exports (#​7644)
    • fix(sveltekit): Handle nested server calls in sentryHandle (#​7598)
    • ref(sveltekit): Split up universal and server load wrappers (#​7652)

This release adds support for Performance Monitoring in our SvelteKit SDK for the client/server. We've also changed how you should initialize your SDK. Please read our updated SvelteKit README instructions for more details.

  • feat(core): Add ignoreTransactions option (#​7594)

You can now easily filter out certain transactions from being sent to Sentry based on their name.

Sentry.init({
  ignoreTransactions: ['/api/healthcheck', '/ping'],
})
  • feat(node): Undici integration (#​7582)
    • feat(nextjs): Add Undici integration automatically (#​7648)
    • feat(sveltekit): Add Undici integration by default (#​7650)

We've added an integration that automatically instruments Undici and Node server side fetch. This supports Undici v4.7.0 or higher and requires Node v16.7.0 or higher. After adding the integration outgoing requests made by Undici will have associated spans and breadcrumbs in Sentry.

Sentry.init({
  integrations: [new Sentry.Integrations.Undici()],
})

In our Next.js and SvelteKit SDKs, this integration is automatically added.

  • feat(node): Add Sentry tRPC middleware (#​7511)

We've added a new middleware for trpc that automatically adds TRPC information to Sentry transactions. This middleware is meant to be used in combination with a Sentry server integration (Next.js, Express, etc).

import { initTRPC } from '@​trpc/server';
import * as Sentry from '@​sentry/node';

const t = initTRPC.context().create();
const sentryMiddleware = t.middleware(
  Sentry.Handlers.trpcMiddleware({
    attachRpcInput: true,
  }),
);

const sentrifiedProcedure = t.procedure.use(sentryMiddleware);
  • feat(tracing): Remove requirement for @sentry/tracing package

With 7.46.0 you no longer require the @sentry/tracing package to use tracing and performance monitoring with the Sentry JavaScript SDKs. The @sentry/tracing package will be removed in a future major release, but can still be used with no changes.

Please see the Migration docs for more details.

  • fix(node): Convert debugging code to callbacks to fix memory leak in LocalVariables integration (#​7637)

This fixes a memory leak in the opt-in LocalVariables integration, which adds local variables to the stacktraces sent to Sentry. The minimum recommended version to use the LocalVariables is now 7.46.0.

Additional Features and Fixes
  • feat(node): Auto discovery only returns integrations where dependency loads (#​7603)
  • feat(node): Sanitize URLs in Span descriptions and breadcrumbs (PII) (#​7667)
  • feat(replay): Add responseStatus, decodedBodySize to perf entries (#​7613)
  • feat(replay): Add experiment to capture request/response bodies (#​7589)
  • feat(replay): Capture replay mutation breadcrumbs & add experiment (#​7568)
  • feat(tracing): Ensure pageload transaction starts at timeOrigin (#​7632)
  • fix(core): Remove abs_path from stack trace (reverting #​7167) (#​7623)
  • fix(nextjs): Add loading component type to server component wrapping (#​7639)
  • fix(nextjs): Don't report NEXT_NOT_FOUND and NEXT_REDIRECT errors (#​7642)
  • fix(nextjs): Rewrite abs_path frames (#​7619)
  • fix(nextjs): Show errors and warnings only once during build (#​7651)
  • fix(nextjs): Use Next.js internal AsyncStorage (#​7630)
  • fix(nextjs): Gracefully handle undefined beforeFiles in rewrites (#​7649)

Work in this release contributed by @​aldenquimby and @​bertho-zero. Thank you for your contributions!


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 30, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (536c0b9) 97.82% compared to head (4cdeb46) 97.82%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #172   +/-   ##
========================================
  Coverage    97.82%   97.82%           
========================================
  Files           87       87           
  Lines         6059     6059           
  Branches       381      381           
========================================
  Hits          5927     5927           
  Misses         131      131           
  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 0fa6b47 into develop Apr 1, 2023
@tudddorrr tudddorrr deleted the renovate/sentry-javascript-monorepo branch April 1, 2023 00:21
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