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/nextjs from 7.80.1 to 7.88.0 #536

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

NOUIY
Copy link
Owner

@NOUIY NOUIY commented Jan 9, 2024

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


Snyk has created this PR to upgrade @sentry/nextjs from 7.80.1 to 7.88.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 11 versions ahead of your current version.
  • The recommended version was released a month ago, on 2023-12-14.
Release notes
Package name: @sentry/nextjs
  • 7.88.0 - 2023-12-14

    Important Changes

    • feat(browser): Add browser metrics sdk (#9794)

    The release adds alpha support for Sentry developer metrics in the Browser SDKs (@ sentry/browser and related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry.

    To enable capturing metrics, you first need to add the MetricsAggregator integration.

    Sentry.init({
      dsn: '__DSN__',
      integrations: [
        new Sentry.metrics.MetricsAggregator(),
      ],
    });

    Then you'll be able to add counters, sets, distributions, and gauges under the Sentry.metrics namespace.

    // Add 4 to a counter named hits
    Sentry.metrics.increment('hits', 4);

    // Add 2 to gauge named parallel_requests, tagged with happy: "no"
    Sentry.metrics.gauge('parallel_requests', 2, { tags: { happy: 'no' } });

    // Add 4.6 to a distribution named response_time with unit seconds
    Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' });

    // Add 2 to a set named valuable.ids
    Sentry.metrics.set('valuable.ids', 2);

    In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.)

    • feat(deno): Optionally instrument Deno.cron (#9808)

    This releases add support for instrumenting Deno cron's with Sentry cron monitors. This requires v1.38 of Deno run with the --unstable flag and the usage of the DenoCron Sentry integration.

    // Import from the Deno registry
    import * as Sentry from "https://deno.land/x/sentry/index.mjs";

    Sentry.init({
    dsn: 'DSN',
    integrations: [
    new Sentry.Integrations.DenoCron(),
    ],
    });

    Other Changes

    • feat(replay): Bump rrweb to 2.6.0 (#9847)
    • fix(nextjs): Guard against injecting multiple times (#9807)
    • ref(remix): Bump Sentry CLI to ^2.23.0 (#9773)

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.24 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.63 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.22 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.3 KB
    @ sentry/browser (incl. Feedback) - Webpack (gzipped) 29.9 KB
    @ sentry/browser - Webpack (gzipped) 21.56 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 72.58 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.31 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 30.58 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 22.61 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 202.5 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 92.65 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 67.63 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 33.47 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.97 KB
    @ sentry/react - Webpack (gzipped) 21.6 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.73 KB
    @ sentry/nextjs Client - Webpack (gzipped) 48.41 KB
    @ sentry-internal/feedback - Webpack (gzipped) 16.19 KB
  • 7.87.0 - 2023-12-13
    • feat: Add top level getCurrentScope() method (#9800)
    • feat(replay): Bump rrweb to 2.5.0 (#9803)
    • feat(replay): Capture hydration error breadcrumb (#9759)
    • feat(types): Add profile envelope types (#9798)
    • fix(astro): Avoid RegExp creation during route interpolation (#9815)
    • fix(browser): Avoid importing from ./exports (#9775)
    • fix(nextjs): Catch rejecting flushes (#9811)
    • fix(nextjs): Fix devserver CORS blockage when assetPrefix is defined (#9766)
    • fix(node): Capture errors in tRPC middleware (#9782)

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.04 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.38 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.99 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.13 KB
    @ sentry/browser (incl. Feedback) - Webpack (gzipped) 29.74 KB
    @ sentry/browser - Webpack (gzipped) 21.39 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.61 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 63.33 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.67 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 21.72 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 199.58 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.94 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.92 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.34 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.75 KB
    @ sentry/react - Webpack (gzipped) 21.44 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.48 KB
    @ sentry/nextjs Client - Webpack (gzipped) 48.23 KB
    @ sentry-internal/feedback - Webpack (gzipped) 16.19 KB
  • 7.86.0 - 2023-12-07
    • feat(core): Use SDK_VERSION for hub API version (#9732)
    • feat(nextjs): Emit warning if your app directory doesn't have a global-error.js file (#9753)
    • feat(node): Add cloudflare pages commit sha (#9751)
    • feat(remix): Bump @ sentry/cli to 2.22.3 (#9741)
    • fix(nextjs): Don't accidentally trigger static generation bailout (#9749)
    • fix(node): Guard process.env.NODE_ENV access in Spotlight integration (#9748)
    • fix(utils): Fix XHR instrumentation early return (#9770)
    • ref(remix): Rework Error Handling (#9725)

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 74.66 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.6 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.13 KB
    @ sentry/browser (incl. Feedback) - Webpack (gzipped) 29.74 KB
    @ sentry/browser - Webpack (gzipped) 21.39 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.25 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.97 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.65 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 21.71 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 198.35 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.78 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.76 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.3 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.36 KB
    @ sentry/react - Webpack (gzipped) 21.43 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.09 KB
    @ sentry/nextjs Client - Webpack (gzipped) 48.23 KB
    @ sentry-internal/feedback - Webpack (gzipped) 16.19 KB
  • 7.85.0 - 2023-12-04
    Read more
  • 7.84.0 - 2023-11-30
    Read more
  • 7.83.0 - 2023-11-28
    Read more
  • 7.82.0 - 2023-11-27
  • 7.81.1 - 2023-11-21
  • 7.81.0 - 2023-11-20
  • 7.80.2-alpha.1 - 2023-11-15
  • 7.80.2-alpha.0 - 2023-11-14
  • 7.80.1 - 2023-11-14
from @sentry/nextjs 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

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