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.81.1 #352

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

Conversation

NOUIY
Copy link
Owner

@NOUIY NOUIY commented Dec 14, 2023

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.81.1.

ℹ️ 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 4 versions ahead of your current version.
  • The recommended version was released 23 days ago, on 2023-11-21.
Release notes
Package name: @sentry/nextjs
  • 7.81.1 - 2023-11-21
    • fix(astro): Remove method from span op (#9603)
    • fix(deno): Make sure files get published (#9611)
    • fix(nextjs): Use globalThis instead of global in edge runtime (#9612)
    • fix(node): Improve error handling and shutdown handling for ANR (#9548)
    • fix(tracing-internal): Fix case when originalURL contain query params (#9531)

    Work in this release contributed by @ powerfulyang, @ LubomirIgonda1, @ joshkel, and @ alexgleason. Thank you for your contributions!

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.61 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.72 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.01 KB
    @ sentry/browser - Webpack (gzipped) 21.32 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.03 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.13 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 21.26 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.71 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.38 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.34 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.85 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.92 KB
    @ sentry/react - Webpack (gzipped) 21.36 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.66 KB
    @ sentry/nextjs Client - Webpack (gzipped) 48.15 KB
    @ sentry-internal/feedback - Webpack (gzipped) 16.12 KB
  • 7.81.0 - 2023-11-20

    Important Changes

    - feat(nextjs): Add instrumentation utility for server actions (#9553)

    This release adds a utility function withServerActionInstrumentation to the @ sentry/nextjs SDK for instrumenting your Next.js server actions with error and performance monitoring.

    You can optionally pass form data and headers to record them, and configure the wrapper to record the Server Action responses:

    import * as Sentry from "@ sentry/nextjs";
    import { headers } from "next/headers";

    export default function ServerComponent() {
    async function myServerAction(formData: FormData) {
    "use server";
    return await Sentry.withServerActionInstrumentation(
    "myServerAction", // The name you want to associate this Server Action with in Sentry
    {
    formData, // Optionally pass in the form data
    headers: headers(), // Optionally pass in headers
    recordResponse: true, // Optionally record the server action response
    },
    async () => {
    // ... Your Server Action code

        <span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-s">"John Doe"</span> <span class="pl-kos">}</span><span class="pl-kos">;</span>
      <span class="pl-kos">}</span>
    <span class="pl-kos">)</span><span class="pl-kos">;</span>
    

    }

    return (
    <form action={myServerAction}>
    <input type="text" name="some-input-value" />
    <button type="submit">Run Action</button>
    </form>
    );
    }

    Other Changes

    • docs(feedback): Example docs on sendFeedback (#9560)
    • feat(feedback): Add level and remove breadcrumbs from feedback event (#9533)
    • feat(vercel-edge): Add fetch instrumentation (#9504)
    • feat(vue): Support Vue 3 lifecycle hooks in mixin options (#9578)
    • fix(nextjs): Download CLI binary if it can't be found (#9584)
    • ref: Deprecate extractTraceParentData from @ sentry/core & downstream packages (#9158)
    • ref(replay): Add further logging to network body parsing (#9566)

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

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.53 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.67 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.01 KB
    @ sentry/browser - Webpack (gzipped) 21.32 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 61.99 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.13 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 21.26 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.53 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.38 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.34 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.85 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.84 KB
    @ sentry/react - Webpack (gzipped) 21.36 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.58 KB
    @ sentry/nextjs Client - Webpack (gzipped) 48.15 KB
    @ sentry-internal/feedback - Webpack (gzipped) 16.08 KB
  • 7.80.2-alpha.1 - 2023-11-15

    No longer will prioritize the component names for replays, as this will break searching by CSS selector.

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.47 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.68 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.03 KB
    @ sentry/browser - Webpack (gzipped) 21.34 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.14 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 21.29 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.54 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.43 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.41 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.86 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.79 KB
    @ sentry/react - Webpack (gzipped) 21.39 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.53 KB
    @ sentry/nextjs Client - Webpack (gzipped) 48.17 KB
    @ sentry-internal/feedback - Webpack (gzipped) 16.04 KB
  • 7.80.2-alpha.0 - 2023-11-14
    • feat(utils): Prioritize Component name attributes over HTML Tree String (#9496)

    Bundle size 📦

    Path Size
    @ sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 65.46 KB
    @ sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 55.68 KB
    @ sentry/browser (incl. Tracing) - Webpack (gzipped) 31.03 KB
    @ sentry/browser - Webpack (gzipped) 21.34 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.14 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped) 21.29 KB
    @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 195.53 KB
    @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 88.43 KB
    @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) 63.41 KB
    @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 31.86 KB
    @ sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 65.81 KB
    @ sentry/react - Webpack (gzipped) 21.39 KB
    @ sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 82.53 KB
    @ sentry/nextjs Client - Webpack (gzipped) 48.17 KB
    @ sentry-internal/feedback - Webpack (gzipped) 16.04 KB
  • 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