fix(deps): update dependency @sentry/node to v7.81.1 #22

Merged
Fascinated merged 1 commits from renovate/sentry-javascript-monorepo into master 2023-11-24 09:15:42 +00:00
Owner

This PR contains the following updates:

Package Type Update Change
@sentry/node (source) dependencies minor 7.80.1 -> 7.81.1

Release Notes

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

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!

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 Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@sentry/node](https://github.com/getsentry/sentry-javascript/tree/master/packages/node) ([source](https://github.com/getsentry/sentry-javascript)) | dependencies | minor | [`7.80.1` -> `7.81.1`](https://renovatebot.com/diffs/npm/@sentry%2fnode/7.80.1/7.81.1) | --- ### Release Notes <details> <summary>getsentry/sentry-javascript (@&#8203;sentry/node)</summary> ### [`v7.81.1`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7811) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.81.0...7.81.1) - fix(astro): Remove method from span op ([#&#8203;9603](https://github.com/getsentry/sentry-javascript/issues/9603)) - fix(deno): Make sure files get published ([#&#8203;9611](https://github.com/getsentry/sentry-javascript/issues/9611)) - fix(nextjs): Use `globalThis` instead of `global` in edge runtime ([#&#8203;9612](https://github.com/getsentry/sentry-javascript/issues/9612)) - fix(node): Improve error handling and shutdown handling for ANR ([#&#8203;9548](https://github.com/getsentry/sentry-javascript/issues/9548)) - fix(tracing-internal): Fix case when originalURL contain query params ([#&#8203;9531](https://github.com/getsentry/sentry-javascript/issues/9531)) Work in this release contributed by [@&#8203;powerfulyang](https://github.com/powerfulyang), [@&#8203;LubomirIgonda1](https://github.com/LubomirIgonda1), [@&#8203;joshkel](https://github.com/joshkel), and [@&#8203;alexgleason](https://github.com/alexgleason). Thank you for your contributions! ### [`v7.81.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7810) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.80.1...7.81.0) ##### Important Changes **- feat(nextjs): Add instrumentation utility for server actions ([#&#8203;9553](https://github.com/getsentry/sentry-javascript/issues/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: ```tsx import * as Sentry from "@&#8203;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` ([#&#8203;9560](https://github.com/getsentry/sentry-javascript/issues/9560)) - feat(feedback): Add `level` and remove breadcrumbs from feedback event ([#&#8203;9533](https://github.com/getsentry/sentry-javascript/issues/9533)) - feat(vercel-edge): Add fetch instrumentation ([#&#8203;9504](https://github.com/getsentry/sentry-javascript/issues/9504)) - feat(vue): Support Vue 3 lifecycle hooks in mixin options ([#&#8203;9578](https://github.com/getsentry/sentry-javascript/issues/9578)) - fix(nextjs): Download CLI binary if it can't be found ([#&#8203;9584](https://github.com/getsentry/sentry-javascript/issues/9584)) - ref: Deprecate `extractTraceParentData` from `@sentry/core` & downstream packages ([#&#8203;9158](https://github.com/getsentry/sentry-javascript/issues/9158)) - ref(replay): Add further logging to network body parsing ([#&#8203;9566](https://github.com/getsentry/sentry-javascript/issues/9566)) Work in this release contributed by [@&#8203;snoozbuster](https://github.com/snoozbuster). Thank you for your contribution! </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy42MS40IiwidXBkYXRlZEluVmVyIjoiMzcuNjMuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
Fascinated force-pushed renovate/sentry-javascript-monorepo from 5b4368e7ef to be8b7d419c 2023-11-21 12:00:43 +00:00 Compare
Fascinated changed title from fix(deps): update dependency @sentry/node to v7.81.0 to fix(deps): update dependency @sentry/node to v7.81.1 2023-11-21 12:00:49 +00:00
Fascinated force-pushed renovate/sentry-javascript-monorepo from be8b7d419c to a086f540ad 2023-11-23 23:00:49 +00:00 Compare
Fascinated merged commit 6ed9d3e3b5 into master 2023-11-24 09:15:42 +00:00
Fascinated deleted branch renovate/sentry-javascript-monorepo 2023-11-24 09:15:42 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Fascinated/beatsaber-metrics-tracker#22
No description provided.