fix(deps): update sentry-javascript monorepo to v7.85.0 #3831

Merged
konrad merged 4 commits from renovate/sentry-javascript-monorepo into main 2023-12-06 11:59:46 +00:00
Member

This PR contains the following updates:

Package Type Update Change
@sentry/tracing (source) dependencies minor 7.80.1 -> 7.85.0
@sentry/vue (source) dependencies minor 7.80.1 -> 7.85.0

Release Notes

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

v7.85.0

Compare Source

  • feat(core): Add addEventProcessor method (#​9554)
  • feat(crons): Add interface for heartbeat checkin (#​9706)
  • feat(feedback): Include Feedback package in browser SDK (#​9586)
  • fix(astro): Isolate request instrumentation in middleware (#​9709)
  • fix(replay): Capture JSON XHR response bodies (#​9623)
  • ref(feedback): Change form box-shadow to use CSS var (#​9630)

v7.84.0

Compare Source

Important Changes
  • ref(nextjs): Set automaticVercelMonitors to be false by default (#​9697)

From this version onwards the default for the automaticVercelMonitors option in the Next.js SDK is set to false.
Previously, if you made use of Vercel Crons the SDK automatically instrumented the relevant routes to create Sentry monitors.
Because this feature will soon be generally available, we are now flipping the default to avoid situations where quota is used unexpectedly.

If you want to continue using this feature, make sure to set the automaticVercelMonitors flag to true in your next.config.js Sentry settings.

Other Changes
  • chore(astro): Add 4.0.0 preview versions to astro peer dependency range (#​9696)
  • feat(metrics): Add interfaces for metrics (#​9698)
  • feat(web-vitals): Vendor in INP from web-vitals library (#​9690)
  • fix(astro): Avoid adding the Sentry Vite plugin in dev mode (#​9688)
  • fix(nextjs): Don't match files called middleware in node_modules (#​9686)
  • fix(remix): Don't capture error responses that are not 5xx on Remix v2. (#​9655)
  • fix(tracing): Don't attach resource size if null (#​9669)
  • fix(utils): Regex match port to stop accidental replace (#​9676)
  • fix(utils): Try catch new URL when extracting query params (#​9675)

v7.83.0

Compare Source

  • chore(astro): Allow Astro 4.0 in peer dependencies (#​9683)
  • feat(astro): Add assets option to source maps upload options (#​9668)
  • feat(react): Support exactOptionalPropertyTypes on ErrorBoundary (#​9098)
  • fix: Don't depend on browser types in types (#​9682)
  • fix(astro): Configure sourcemap assets directory for Vercel adapter (#​9665)
  • fix(remix): Check the error data before spreading. (#​9664)

v7.82.0

Compare Source

  • feat(astro): Automatically add Sentry middleware in Astro integration (#​9532)
  • feat(core): Add optional setup hook to integrations (#​9556)
  • feat(core): Add top level getClient() method (#​9638)
  • feat(core): Allow to pass mechanism as event hint (#​9590)
  • feat(core): Allow to use continueTrace without callback (#​9615)
  • feat(feedback): Add onClose callback to showReportDialog (#​9433) (#​9550)
  • feat(nextjs): Add request data to all edge-capable functionalities (#​9636)
  • feat(node): Add Spotlight option to Node SDK (#​9629)
  • feat(utils): Refactor addInstrumentationHandler to dedicated methods (#​9542)
  • fix: Make full url customizable for Spotlight (#​9652)
  • fix(astro): Remove Auth Token existence check (#​9651)
  • fix(nextjs): Fix middleware detection logic (#​9637)
  • fix(remix): Skip capturing aborted requests (#​9659)
  • fix(replay): Add BODY_PARSE_ERROR warning & time out fetch response load (#​9622)
  • fix(tracing): Filter out invalid resource sizes (#​9641)
  • ref: Hoist RequestData integration to @sentry/core (#​9597)
  • ref(feedback): Rename onDialog* to onForm*, remove onActorClick (#​9625)

Work in this release contributed by @​arya-s. Thank you for your contribution!

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 these updates 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/tracing](https://github.com/getsentry/sentry-javascript/tree/master/packages/tracing) ([source](https://github.com/getsentry/sentry-javascript)) | dependencies | minor | [`7.80.1` -> `7.85.0`](https://renovatebot.com/diffs/npm/@sentry%2ftracing/7.80.1/7.85.0) | | [@sentry/vue](https://github.com/getsentry/sentry-javascript/tree/master/packages/vue) ([source](https://github.com/getsentry/sentry-javascript)) | dependencies | minor | [`7.80.1` -> `7.85.0`](https://renovatebot.com/diffs/npm/@sentry%2fvue/7.80.1/7.85.0) | --- ### Release Notes <details> <summary>getsentry/sentry-javascript (@&#8203;sentry/tracing)</summary> ### [`v7.85.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7850) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.84.0...7.85.0) - feat(core): Add `addEventProcessor` method ([#&#8203;9554](https://github.com/getsentry/sentry-javascript/issues/9554)) - feat(crons): Add interface for heartbeat checkin ([#&#8203;9706](https://github.com/getsentry/sentry-javascript/issues/9706)) - feat(feedback): Include Feedback package in browser SDK ([#&#8203;9586](https://github.com/getsentry/sentry-javascript/issues/9586)) - fix(astro): Isolate request instrumentation in middleware ([#&#8203;9709](https://github.com/getsentry/sentry-javascript/issues/9709)) - fix(replay): Capture JSON XHR response bodies ([#&#8203;9623](https://github.com/getsentry/sentry-javascript/issues/9623)) - ref(feedback): Change form `box-shadow` to use CSS var ([#&#8203;9630](https://github.com/getsentry/sentry-javascript/issues/9630)) ### [`v7.84.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7840) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.83.0...7.84.0) ##### Important Changes - **ref(nextjs): Set `automaticVercelMonitors` to be `false` by default ([#&#8203;9697](https://github.com/getsentry/sentry-javascript/issues/9697))** From this version onwards the default for the `automaticVercelMonitors` option in the Next.js SDK is set to false. Previously, if you made use of Vercel Crons the SDK automatically instrumented the relevant routes to create Sentry monitors. Because this feature will soon be generally available, we are now flipping the default to avoid situations where quota is used unexpectedly. If you want to continue using this feature, make sure to set the `automaticVercelMonitors` flag to `true` in your `next.config.js` Sentry settings. ##### Other Changes - chore(astro): Add 4.0.0 preview versions to `astro` peer dependency range ([#&#8203;9696](https://github.com/getsentry/sentry-javascript/issues/9696)) - feat(metrics): Add interfaces for metrics ([#&#8203;9698](https://github.com/getsentry/sentry-javascript/issues/9698)) - feat(web-vitals): Vendor in INP from web-vitals library ([#&#8203;9690](https://github.com/getsentry/sentry-javascript/issues/9690)) - fix(astro): Avoid adding the Sentry Vite plugin in dev mode ([#&#8203;9688](https://github.com/getsentry/sentry-javascript/issues/9688)) - fix(nextjs): Don't match files called `middleware` in node_modules ([#&#8203;9686](https://github.com/getsentry/sentry-javascript/issues/9686)) - fix(remix): Don't capture error responses that are not 5xx on Remix v2. ([#&#8203;9655](https://github.com/getsentry/sentry-javascript/issues/9655)) - fix(tracing): Don't attach resource size if null ([#&#8203;9669](https://github.com/getsentry/sentry-javascript/issues/9669)) - fix(utils): Regex match port to stop accidental replace ([#&#8203;9676](https://github.com/getsentry/sentry-javascript/issues/9676)) - fix(utils): Try catch new URL when extracting query params ([#&#8203;9675](https://github.com/getsentry/sentry-javascript/issues/9675)) ### [`v7.83.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7830) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.82.0...7.83.0) - chore(astro): Allow Astro 4.0 in peer dependencies ([#&#8203;9683](https://github.com/getsentry/sentry-javascript/issues/9683)) - feat(astro): Add `assets` option to source maps upload options ([#&#8203;9668](https://github.com/getsentry/sentry-javascript/issues/9668)) - feat(react): Support `exactOptionalPropertyTypes` on `ErrorBoundary` ([#&#8203;9098](https://github.com/getsentry/sentry-javascript/issues/9098)) - fix: Don't depend on browser types in `types` ([#&#8203;9682](https://github.com/getsentry/sentry-javascript/issues/9682)) - fix(astro): Configure sourcemap assets directory for Vercel adapter ([#&#8203;9665](https://github.com/getsentry/sentry-javascript/issues/9665)) - fix(remix): Check the error data before spreading. ([#&#8203;9664](https://github.com/getsentry/sentry-javascript/issues/9664)) ### [`v7.82.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#7820) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.81.1...7.82.0) - feat(astro): Automatically add Sentry middleware in Astro integration ([#&#8203;9532](https://github.com/getsentry/sentry-javascript/issues/9532)) - feat(core): Add optional `setup` hook to integrations ([#&#8203;9556](https://github.com/getsentry/sentry-javascript/issues/9556)) - feat(core): Add top level `getClient()` method ([#&#8203;9638](https://github.com/getsentry/sentry-javascript/issues/9638)) - feat(core): Allow to pass `mechanism` as event hint ([#&#8203;9590](https://github.com/getsentry/sentry-javascript/issues/9590)) - feat(core): Allow to use `continueTrace` without callback ([#&#8203;9615](https://github.com/getsentry/sentry-javascript/issues/9615)) - feat(feedback): Add onClose callback to showReportDialog ([#&#8203;9433](https://github.com/getsentry/sentry-javascript/issues/9433)) ([#&#8203;9550](https://github.com/getsentry/sentry-javascript/issues/9550)) - feat(nextjs): Add request data to all edge-capable functionalities ([#&#8203;9636](https://github.com/getsentry/sentry-javascript/issues/9636)) - feat(node): Add Spotlight option to Node SDK ([#&#8203;9629](https://github.com/getsentry/sentry-javascript/issues/9629)) - feat(utils): Refactor `addInstrumentationHandler` to dedicated methods ([#&#8203;9542](https://github.com/getsentry/sentry-javascript/issues/9542)) - fix: Make full url customizable for Spotlight ([#&#8203;9652](https://github.com/getsentry/sentry-javascript/issues/9652)) - fix(astro): Remove Auth Token existence check ([#&#8203;9651](https://github.com/getsentry/sentry-javascript/issues/9651)) - fix(nextjs): Fix middleware detection logic ([#&#8203;9637](https://github.com/getsentry/sentry-javascript/issues/9637)) - fix(remix): Skip capturing aborted requests ([#&#8203;9659](https://github.com/getsentry/sentry-javascript/issues/9659)) - fix(replay): Add `BODY_PARSE_ERROR` warning & time out fetch response load ([#&#8203;9622](https://github.com/getsentry/sentry-javascript/issues/9622)) - fix(tracing): Filter out invalid resource sizes ([#&#8203;9641](https://github.com/getsentry/sentry-javascript/issues/9641)) - ref: Hoist `RequestData` integration to `@sentry/core` ([#&#8203;9597](https://github.com/getsentry/sentry-javascript/issues/9597)) - ref(feedback): Rename onDialog\* to onForm\*, remove onActorClick ([#&#8203;9625](https://github.com/getsentry/sentry-javascript/issues/9625)) Work in this release contributed by [@&#8203;arya-s](https://github.com/arya-s). Thank you for your contribution! ### [`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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy41MC4xIiwidXBkYXRlZEluVmVyIjoiMzcuNTAuMSIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->
renovate added the
dependencies
label 2023-11-20 14:13:13 +00:00
renovate force-pushed renovate/sentry-javascript-monorepo from a68c3a6515 to 691d504c8b 2023-11-20 14:13:17 +00:00 Compare
renovate changed title from fix(deps): update sentry-javascript monorepo to v7.81.0 to fix(deps): update sentry-javascript monorepo to v7.81.1 2023-11-21 12:13:09 +00:00
renovate force-pushed renovate/sentry-javascript-monorepo from 691d504c8b to 61d7c9b5cb 2023-11-21 12:13:26 +00:00 Compare
renovate changed title from fix(deps): update sentry-javascript monorepo to v7.81.1 to fix(deps): update sentry-javascript monorepo to v7.82.0 2023-11-27 18:15:07 +00:00
renovate force-pushed renovate/sentry-javascript-monorepo from 61d7c9b5cb to c4120ba3ce 2023-11-27 18:15:12 +00:00 Compare
renovate changed title from fix(deps): update sentry-javascript monorepo to v7.82.0 to fix(deps): update sentry-javascript monorepo to v7.83.0 2023-11-28 11:15:04 +00:00
renovate force-pushed renovate/sentry-javascript-monorepo from c4120ba3ce to 03a4bdf7db 2023-11-28 11:15:09 +00:00 Compare
renovate changed title from fix(deps): update sentry-javascript monorepo to v7.83.0 to fix(deps): update sentry-javascript monorepo to v7.84.0 2023-11-30 12:14:35 +00:00
renovate force-pushed renovate/sentry-javascript-monorepo from 03a4bdf7db to 399d25a830 2023-11-30 12:14:40 +00:00 Compare
konrad approved these changes 2023-12-01 10:37:35 +00:00
konrad scheduled this pull request to auto merge when all checks succeed 2023-12-01 10:37:41 +00:00
konrad force-pushed renovate/sentry-javascript-monorepo from 51cd03f44b to 9dc442bcd3 2023-12-01 11:03:28 +00:00 Compare
renovate force-pushed renovate/sentry-javascript-monorepo from 9dc442bcd3 to 74334a3dc7 2023-12-01 11:15:33 +00:00 Compare
Member

Hi renovate!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://3831-renovate-sentry-javascript-monor--vikunja-frontend-preview.netlify.app

You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.

Have a nice day!

Beep boop, I'm a bot.

Hi renovate! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://3831-renovate-sentry-javascript-monor--vikunja-frontend-preview.netlify.app You can use this url to view the changes live and test them out. You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/. Have a nice day! > Beep boop, I'm a bot.
renovate force-pushed renovate/sentry-javascript-monorepo from 20a451506e to 0e214dc1bf 2023-12-01 13:14:13 +00:00 Compare
renovate changed title from fix(deps): update sentry-javascript monorepo to v7.84.0 to fix(deps): update sentry-javascript monorepo to v7.85.0 2023-12-04 20:14:37 +00:00
renovate force-pushed renovate/sentry-javascript-monorepo from 0e214dc1bf to 93263ad248 2023-12-04 20:14:43 +00:00 Compare
konrad added 3 commits 2023-12-06 11:45:00 +00:00
konrad canceled auto merging this pull request when all checks succeed 2023-12-06 11:45:06 +00:00
konrad scheduled this pull request to auto merge when all checks succeed 2023-12-06 11:45:13 +00:00
konrad merged commit 97d149c2f5 into main 2023-12-06 11:59:46 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.