Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @sentry/react from 7.69.0 to 7.72.0 #247

Closed
wants to merge 1 commit into from

Conversation

wkylin
Copy link
Owner

@wkylin wkylin commented Oct 17, 2023

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @sentry/react from 7.69.0 to 7.72.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 5 versions ahead of your current version.
  • The recommended version was released 21 days ago, on 2023-09-26.
Release notes
Package name: @sentry/react
  • 7.72.0 - 2023-09-26

    Important Changes

    • feat(node): App Not Responding with stack traces (#9079)

    This release introduces support for Application Not Responding (ANR) errors for Node.js applications.
    These errors are triggered when the Node.js main thread event loop of an application is blocked for more than five seconds.
    The Node SDK reports ANR errors as Sentry events and can optionally attach a stacktrace of the blocking code to the ANR event.

    To enable ANR detection, import and use the enableANRDetection function from the @ sentry/node package before you run the rest of your application code.
    Any event loop blocking before calling enableANRDetection will not be detected by the SDK.

    Example (ESM):

    import * as Sentry from "@ sentry/node";

    Sentry.init({
    dsn: "PUBLIC_DSN",
    tracesSampleRate: 1.0,
    });

    await Sentry.enableANRDetection({ captureStackTrace: true });
    // Function that runs your app
    runApp();

    Example (CJS):

    const Sentry = require("@ sentry/node");

    Sentry.init({
    dsn: "PUBLIC_DSN",
    tracesSampleRate: 1.0,
    });

    Sentry.enableANRDetection({ captureStackTrace: true }).then(() => {
    // Function that runs your app
    runApp();
    });

    Other Changes

    • fix(nextjs): Filter RequestAsyncStorage locations by locations that webpack will resolve (#9114)
    • fix(replay): Ensure replay_id is not captured when session is expired (#9109)

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.58 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.46 KB
    @ sentry/browser - Webpack (gzipped) 22.06 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.28 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.57 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 20.65 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 222.21 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.57 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.42 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.43 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.61 KB
    @ sentry/react - Webpack (gzipped) 22.09 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.48 KB
    @ sentry/nextjs Client - Webpack (gzipped) 51.04 KB
  • 7.71.0 - 2023-09-25
    • feat(bun): Instrument Bun.serve (#9080)
    • fix(core): Ensure global event processors are always applied to event (#9064)
    • fix(core): Run client eventProcessors before global ones (#9032)
    • fix(nextjs): Use webpack module paths to attempt to resolve internal request async storage module (#9100)
    • fix(react): Add actual error name to boundary error name (#9065)
    • fix(react): Compare location against basename-prefixed route. (#9076)
    • ref(browser): Refactor browser integrations to use processEvent (#9022)

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

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.58 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.46 KB
    @ sentry/browser - Webpack (gzipped) 22.06 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.57 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 20.64 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 222.17 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.57 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.42 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.43 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.6 KB
    @ sentry/react - Webpack (gzipped) 22.09 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.48 KB
    @ sentry/nextjs Client - Webpack (gzipped) 51.04 KB
  • 7.70.0 - 2023-09-20

    Important Changes

    • feat: Add Bun SDK (#9029)

    This release contains the beta version of @ sentry/bun, our SDK for the Bun JavaScript runtime! For details on how to use it, please see the README. Any feedback/bug reports are greatly appreciated, please reach out on GitHub.

    Note that as of now the Bun runtime does not support global error handlers. This is being actively worked on, see the tracking issue in Bun's GitHub repo.

    • feat(remix): Add Remix 2.x release support. (#8940)

    The Sentry Remix SDK now officially supports Remix v2! See our Remix docs for more details.

    Other Changes

    • chore(node): Upgrade cookie to ^0.5.0 (#9013)
    • feat(core): Introduce processEvent hook on Integration (#9017)
    • feat(node): Improve non-error messages (#9026)
    • feat(vercel-edge): Add Vercel Edge Runtime package (#9041)
    • fix(remix): Use React.ComponentType instead of React.FC as withSentry's generic type. (#9043)
    • fix(replay): Ensure replay events go through preprocessEvent hook (#9034)
    • fix(replay): Fix typo in Replay types (#9028)
    • fix(sveltekit): Adjust handleErrorWithSentry type (#9054)
    • fix(utils): Try-catch monkeypatching to handle frozen objects/functions (#9031)

    Work in this release contributed by @ Dima-Dim, @ krist7599555 and @ lifeiscontent. Thank you for your contributions!

    Special thanks for @ isaacharrisholt for helping us implement a Vercel Edge Runtime SDK which we use under the hood for our Next.js SDK.

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 75.58 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.49 KB
    @ sentry/browser - Webpack (gzipped) 22.09 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.59 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 20.66 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 222.15 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.64 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.49 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.46 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 75.61 KB
    @ sentry/react - Webpack (gzipped) 22.12 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 93.49 KB
    @ sentry/nextjs Client - Webpack (gzipped) 51.07 KB
  • 7.70.0-beta.1 - 2023-09-15

    Important Changes

    • feat(replay): Upgrade to rrweb2.0

    This is fully backwards compatible with previously recorded replays. Only breaking change is that we will not be masking aria-label by default. This is to better support searching by clicks. Another issue is there is about a 13% bundle size increase, however this comes with improved performance and improved replay fidelity especially in regards to web components.

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 84.27 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.5 KB
    @ sentry/browser - Webpack (gzipped) 22.09 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 78.69 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.61 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 20.67 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 254.08 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.66 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.5 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.48 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 84.29 KB
    @ sentry/react - Webpack (gzipped) 22.12 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 102.22 KB
    @ sentry/nextjs Client - Webpack (gzipped) 51.07 KB
  • 7.70.0-beta.0 - 2023-09-14

    Important Changes

    • feat(replay): Upgrade to rrweb2.0

    This is fully backwards compatible with previously recorded replays. Only breaking change is that we will not be masking aria-label by default. This is to better support searching by clicks. Another issue is there is about a 13% bundle size increase, however this comes with improved performance and improved replay fidelity especially in regards to web components.

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 84.09 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.32 KB
    @ sentry/browser - Webpack (gzipped) 21.92 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 78.61 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 28.52 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 20.6 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 253.77 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 86.35 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 61.19 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.4 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 84.12 KB
    @ sentry/react - Webpack (gzipped) 21.95 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 102.02 KB
    @ sentry/nextjs Client - Webpack (gzipped) 50.89 KB
  • 7.69.0 - 2023-09-13
    Read more
from @sentry/react GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@vercel
Copy link

vercel bot commented Oct 17, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pro-react-admin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 17, 2023 5:26pm

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@wkylin wkylin closed this Oct 18, 2023
@wkylin wkylin deleted the snyk-upgrade-785180401b9aa6793dbee6a4ed96018b branch October 24, 2023 01:46
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.

2 participants