Yes-Theory-Fam / yesbot-ts

Codebase for the production bot on https://discord.gg/yestheory
MIT License
34 stars 20 forks source link

fix(deps): update dependency @sentry/node to v8.7.0 #1320

Closed renovate[bot] closed 1 month ago

renovate[bot] commented 1 month ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

getsentry/sentry-javascript (@​sentry/node) ### [`v8.7.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#870) ##### Important Changes - **feat(react): Add TanStack Router integration ([#​12095](https://togithub.com/getsentry/sentry-javascript/issues/12095))** This release adds instrumentation for TanStack router with a new `tanstackRouterBrowserTracingIntegration` in the `@sentry/react` SDK: ```javascript import * as Sentry from '@​sentry/react'; import { createRouter } from '@​tanstack/react-router'; const router = createRouter({ // Your router options... }); Sentry.init({ dsn: '___PUBLIC_DSN___', integrations: [Sentry.tanstackRouterBrowserTracingIntegration(router)], tracesSampleRate: 1.0, }); ``` ##### Other Changes - fix(nextjs): Do not hide `sourceMappingURL` comment on client when `nextConfig.productionBrowserSourceMaps: true` is set ([#​12278](https://togithub.com/getsentry/sentry-javascript/issues/12278)) ### [`v8.6.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#860) ##### Important Changes - **feat(metrics): Add `timings` method to metrics ([#​12226](https://togithub.com/getsentry/sentry-javascript/issues/12226))** This introduces a new method, `metrics.timing()`, which can be used in two ways: 1. With a numeric value, to simplify creating a distribution metric. This will default to `second` as unit: ```js Sentry.metrics.timing('myMetric', 100); ``` 2. With a callback, which will wrap the duration of the callback. This can accept a sync or async callback. It will create an inactive span around the callback and at the end emit a metric with the duration of the span in seconds: ```js const returnValue = Sentry.metrics.timing('myMetric', measureThisFunction); ``` - **feat(react): Add `Sentry.reactErrorHandler` ([#​12147](https://togithub.com/getsentry/sentry-javascript/issues/12147))** This PR introduces `Sentry.reactErrorHandler`, which you can use in React 19 as follows: ```js import * as Sentry from '@​sentry/react'; import { hydrateRoot } from 'react-dom/client'; ReactDOM.hydrateRoot( document.getElementById('root'), , { onUncaughtError: Sentry.reactErrorHandler(), onCaughtError: Sentry.reactErrorHandler((error, errorInfo) => { // optional callback if users want custom config. }), }, ); ``` For more details, take a look at [the PR](https://togithub.com/getsentry/sentry-javascript/pull/12147). Our documentation will be updated soon! ##### Other Changes - feat(sveltekit): Add request data to server-side events ([#​12254](https://togithub.com/getsentry/sentry-javascript/issues/12254)) - fix(core): Pass in cron monitor config correctly ([#​12248](https://togithub.com/getsentry/sentry-javascript/issues/12248)) - fix(nextjs): Don't capture suspense errors in server components ([#​12261](https://togithub.com/getsentry/sentry-javascript/issues/12261)) - fix(tracing): Ensure sent spans are limited to 1000 ([#​12252](https://togithub.com/getsentry/sentry-javascript/issues/12252)) - ref(core): Use versioned carrier on global object ([#​12206](https://togithub.com/getsentry/sentry-javascript/issues/12206)) ### [`v8.5.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#850) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/8.4.0...8.5.0) ##### Important Changes - **feat(react): Add React 19 to peer deps ([#​12207](https://togithub.com/getsentry/sentry-javascript/issues/12207))** This release adds support for React 19 in the `@sentry/react` SDK package. - **feat(node): Add `@sentry/node/preload` hook ([#​12213](https://togithub.com/getsentry/sentry-javascript/issues/12213))** This release adds a new way to initialize `@sentry/node`, which allows you to use the SDK with performance instrumentation even if you cannot call `Sentry.init()` at the very start of your app. First, run the SDK like this: ```bash node --require @​sentry/node/preload ./app.js ``` Now, you can initialize and import the rest of the SDK later or asynchronously: ```js const express = require('express'); const Sentry = require('@​sentry/node'); const dsn = await getSentryDsn(); Sentry.init({ dsn }); ``` For more details, head over to the [PR Description of the new feature](https://togithub.com/getsentry/sentry-javascript/pull/12213). Our docs will be updated soon with a new guide. ##### Other Changes - feat(browser): Do not include metrics in base CDN bundle ([#​12230](https://togithub.com/getsentry/sentry-javascript/issues/12230)) - feat(core): Add `startNewTrace` API ([#​12138](https://togithub.com/getsentry/sentry-javascript/issues/12138)) - feat(core): Allow to pass custom scope to `captureFeedback()` ([#​12216](https://togithub.com/getsentry/sentry-javascript/issues/12216)) - feat(core): Only allow `SerializedSession` in session envelope items ([#​11979](https://togithub.com/getsentry/sentry-javascript/issues/11979)) - feat(nextjs): Use Vercel's `waitUntil` to defer freezing of Vercel Lambdas ([#​12133](https://togithub.com/getsentry/sentry-javascript/issues/12133)) - feat(node): Ensure manual OTEL setup works ([#​12214](https://togithub.com/getsentry/sentry-javascript/issues/12214)) - fix(aws-serverless): Avoid minifying `Module._resolveFilename` in Lambda layer bundle ([#​12232](https://togithub.com/getsentry/sentry-javascript/issues/12232)) - fix(aws-serverless): Ensure lambda layer uses default export from `ImportInTheMiddle` ([#​12233](https://togithub.com/getsentry/sentry-javascript/issues/12233)) - fix(browser): Improve browser extension error message check ([#​12146](https://togithub.com/getsentry/sentry-javascript/issues/12146)) - fix(browser): Remove optional chaining in INP code ([#​12196](https://togithub.com/getsentry/sentry-javascript/issues/12196)) - fix(nextjs): Don't report React postpone errors ([#​12194](https://togithub.com/getsentry/sentry-javascript/issues/12194)) - fix(nextjs): Use global scope for generic event filters ([#​12205](https://togithub.com/getsentry/sentry-javascript/issues/12205)) - fix(node): Add origin to redis span ([#​12201](https://togithub.com/getsentry/sentry-javascript/issues/12201)) - fix(node): Change import of `@prisma/instrumentation` to use default import ([#​12185](https://togithub.com/getsentry/sentry-javascript/issues/12185)) - fix(node): Only import `inspector` asynchronously ([#​12231](https://togithub.com/getsentry/sentry-javascript/issues/12231)) - fix(replay): Update matcher for hydration error detection to new React docs ([#​12209](https://togithub.com/getsentry/sentry-javascript/issues/12209)) - ref(profiling-node): Add warning when using non-LTS node ([#​12211](https://togithub.com/getsentry/sentry-javascript/issues/12211))

Configuration

πŸ“… Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

β™» 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.