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/react to v7.81.1 #23

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 22, 2023

Mend Renovate logo banner

This PR contains the following updates:

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

Release Notes

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

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 - "after 10pm every weekday,before 5am every weekday,every weekend" (UTC).

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

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 22, 2023
@spaenleh spaenleh merged commit 37b6d70 into main Nov 27, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file v1.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant