dependabot npm(deps): bump @sentry/node from 7.80.1 to 7.81.0
Bumps @sentry/node from 7.80.1 to 7.81.0.
Release notes
Sourced from @sentry/node
's releases.
7.81.0
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)
... (truncated)
Changelog
Sourced from @sentry/node
's changelog.
7.81.0
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)
... (truncated)
Commits
-
2f364fe
release: 7.81.0 -
feeb70a
Merge pull request #9596 from getsentry/prepare-release/7.81.0 -
4ff96ec
meta(changelog): Update changelog for 7.81.0 -
6f4edf8
feat(vue): Support Vue 3 lifecycle hooks in mixin options (#9578) -
ff416ae
feat(vercel-edge): Add fetch instrumentation (#9504) -
1e2bf6e
ref(tracing-internal): Export fetch instrumentation (#9473) -
f48b697
dev: Add missing--sig
arg toyalc:publish
task (#9511) -
13aaf3c
feat(feedback): Addlevel
and remove breadcrumbs from feedback event (#9533) -
ed2b201
fix(nextjs): Download CLI binary if it can't be found (#9584) -
5698094
ref(replay): Add further logging to network body parsing (#9566) - Additional commits viewable in compare view