opticdev / optic

OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
https://useoptic.com
MIT License
1.35k stars 79 forks source link

fix(deps): update dependency @sentry/node to v7.92.0 #2645

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/node (source) 7.91.0 -> 7.92.0 age adoption passing confidence

Release Notes

getsentry/sentry-javascript (@​sentry/node) ### [`v7.92.0`](https://togithub.com/getsentry/sentry-javascript/releases/tag/7.92.0) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.91.0...7.92.0) ##### Important Changes ##### Deprecations - feat(core): Add `span.updateName()` and deprecate `span.setName()` ([#​10018](https://togithub.com/getsentry/sentry-javascript/issues/10018)) - feat(core): Deprecate `span.getTraceContext()` ([#​10032](https://togithub.com/getsentry/sentry-javascript/issues/10032)) - feat(core): Deprecate `span.toTraceparent()` in favor of `spanToTraceHeader()` util ([#​10031](https://togithub.com/getsentry/sentry-javascript/issues/10031)) - feat(core): Deprecate `trace` in favor of `startSpan` ([#​10012](https://togithub.com/getsentry/sentry-javascript/issues/10012)) - feat(core): Deprecate span `toContext()` and `updateWithContext()` ([#​10030](https://togithub.com/getsentry/sentry-javascript/issues/10030)) - ref: Deprecate `deepReadDirSync` ([#​10016](https://togithub.com/getsentry/sentry-javascript/issues/10016)) - ref: Deprecate `lastEventId()` ([#​10043](https://togithub.com/getsentry/sentry-javascript/issues/10043)) Please take a look at the [Migration docs](./MIGRATION.md) for more details. These methods will be removed in the upcoming [v8 major release](https://togithub.com/getsentry/sentry-javascript/discussions/9802). ##### Cron Monitoring Support for `cron` and `node-cron` libraries - feat(node): Instrumentation for `cron` library ([#​9999](https://togithub.com/getsentry/sentry-javascript/issues/9999)) - feat(node): Instrumentation for `node-cron` library ([#​9904](https://togithub.com/getsentry/sentry-javascript/issues/9904)) This release adds instrumentation for the `cron` and `node-cron` libraries. This allows you to monitor your cron jobs with [Sentry cron monitors](https://docs.sentry.io/product/crons/). For [`cron`](https://www.npmjs.com/package/cron): ```js import * as Sentry from '@​sentry/node'; import { CronJob } from 'cron'; const CronJobWithCheckIn = Sentry.cron.instrumentCron(CronJob, 'my-cron-job'); // use the constructor const job = new CronJobWithCheckIn('* * * * *', () => { console.log('You will see this message every minute'); }); // or from const job = CronJobWithCheckIn.from({ cronTime: '* * * * *', onTick: () => { console.log('You will see this message every minute'); }, }); ``` For [`node-cron`](https://www.npmjs.com/package/node-cron): ```js import * as Sentry from '@​sentry/node'; import cron from 'node-cron'; const cronWithCheckIn = Sentry.cron.instrumentNodeCron(cron); cronWithCheckIn.schedule( '* * * * *', () => { console.log('running a task every minute'); }, { name: 'my-cron-job' }, ); ``` ##### Other Changes - feat(astro): Add `enabled` option to Astro integration options ([#​10007](https://togithub.com/getsentry/sentry-javascript/issues/10007)) - feat(core): Add `attributes` to `Span` ([#​10008](https://togithub.com/getsentry/sentry-javascript/issues/10008)) - feat(core): Add `setClient()` and `getClient()` to `Scope` ([#​10055](https://togithub.com/getsentry/sentry-javascript/issues/10055)) - feat(integrations): Capture error cause with `captureErrorCause` in `ExtraErrorData` integration ([#​9914](https://togithub.com/getsentry/sentry-javascript/issues/9914)) - feat(node-experimental): Allow to pass base span options to trace methods ([#​10006](https://togithub.com/getsentry/sentry-javascript/issues/10006)) - feat(node): Local variables via async inspector in node 19+ ([#​9962](https://togithub.com/getsentry/sentry-javascript/issues/9962)) - fix(astro): handle commonjs related issues ([#​10042](https://togithub.com/getsentry/sentry-javascript/issues/10042)) - fix(astro): Handle non-utf8 encoded streams in middleware ([#​9989](https://togithub.com/getsentry/sentry-javascript/issues/9989)) - fix(astro): prevent sentry from externalized ([#​9994](https://togithub.com/getsentry/sentry-javascript/issues/9994)) - fix(core): Ensure `withScope` sets current scope correctly with async callbacks ([#​9974](https://togithub.com/getsentry/sentry-javascript/issues/9974)) - fix(node): ANR fixes and additions ([#​9998](https://togithub.com/getsentry/sentry-javascript/issues/9998)) - fix(node): Anr should not block exit ([#​10035](https://togithub.com/getsentry/sentry-javascript/issues/10035)) - fix(node): Correctly resolve module name ([#​10001](https://togithub.com/getsentry/sentry-javascript/issues/10001)) - fix(node): Handle inspector already open ([#​10025](https://togithub.com/getsentry/sentry-javascript/issues/10025)) - fix(node): Make `NODE_VERSION` properties required ([#​9964](https://togithub.com/getsentry/sentry-javascript/issues/9964)) - fix(node): Anr doesn't block exit ([#​10064](https://togithub.com/getsentry/sentry-javascript/issues/10064)) - fix(utils): use correct typeof URL validation ([#​10028](https://togithub.com/getsentry/sentry-javascript/issues/10028)) - perf(astro): reduce unnecessary path resolutions ([#​10021](https://togithub.com/getsentry/sentry-javascript/issues/10021)) - ref(astro): Use astro logger instead of console ([#​9995](https://togithub.com/getsentry/sentry-javascript/issues/9995)) - ref(remix): Isolate Express instrumentation from server auto-instrumentation. ([#​9966](https://togithub.com/getsentry/sentry-javascript/issues/9966)) Work in this release contributed by [@​joshkel](https://togithub.com/joshkel). Thank you for your contribution! #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 76.1 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 67.5 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 61.1 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 32.08 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Feedback) - Webpack (gzipped) | 30.49 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) - Webpack (gzipped) | 22.21 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 73.53 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 65.2 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 31.37 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 23.29 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 204.35 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 94.24 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 69.09 KB | | [@​sentry/browser](https://togithub.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 34.33 KB | | [@​sentry/react](https://togithub.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 67.91 KB | | [@​sentry/react](https://togithub.com/sentry/react) - Webpack (gzipped) | 22.23 KB | | [@​sentry/nextjs](https://togithub.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 84.53 KB | | [@​sentry/nextjs](https://togithub.com/sentry/nextjs) Client - Webpack (gzipped) | 49.14 KB | | [@​sentry-internal/feedback](https://togithub.com/sentry-internal/feedback) - Webpack (gzipped) | 16.73 KB |

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.



This PR has been generated by Mend Renovate. View repository job log here.