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

fix(deps): update dependency @sentry/nextjs to v7.81.1 #2332

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 20, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/nextjs (source) 7.80.1 -> 7.81.1 age adoption passing confidence

Release Notes

getsentry/sentry-javascript (@​sentry/nextjs)

v7.81.1

Compare Source

  • 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

v7.81.0

Compare Source

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

        return { name: "John Doe" };
      }
    );
  }

  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!


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.

Copy link

socket-security bot commented Nov 20, 2023

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@sentry/nextjs 7.80.1...7.81.1 None +12/-12 10.9 MB sentry-bot

@renovate renovate bot force-pushed the renovate/dependencies-minor-patch branch 4 times, most recently from ad24bd9 to 837aaf5 Compare November 21, 2023 04:09
@renovate renovate bot force-pushed the renovate/dependencies-minor-patch branch 5 times, most recently from 9ee9551 to c4bfabf Compare November 21, 2023 09:33
@renovate renovate bot changed the title fix(deps): update dependency @sentry/nextjs to v7.81.0 fix(deps): update dependency @sentry/nextjs to v7.81.1 Nov 21, 2023
@renovate renovate bot force-pushed the renovate/dependencies-minor-patch branch 15 times, most recently from 8322f59 to 166521c Compare November 24, 2023 00:49
@renovate renovate bot force-pushed the renovate/dependencies-minor-patch branch from 166521c to f812d98 Compare November 24, 2023 08:51
@Naorid Naorid merged commit e3ae9b4 into main Nov 24, 2023
6 checks passed
@Naorid Naorid deleted the renovate/dependencies-minor-patch branch November 24, 2023 09:30
Naorid pushed a commit that referenced this pull request Nov 27, 2023
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant