TryGhost / gscan

Ghost theme scanner - checks for errors and feature support
https://gscan.ghost.org
MIT License
75 stars 55 forks source link

Update dependency @sentry/node to v7.46.0 #474

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

getsentry/sentry-javascript ### [`v7.46.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#​7460) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.45.0...7.46.0) ##### Important Changes - **feat(sveltekit)**: Add Performance Monitoring for SvelteKit - feat(sveltekit): Add meta tag for backend -> frontend ([#​7574](https://togithub.com/getsentry/sentry-javascript/issues/7574)) - fix(sveltekit): Explicitly export Node SDK exports ([#​7644](https://togithub.com/getsentry/sentry-javascript/issues/7644)) - fix(sveltekit): Handle nested server calls in `sentryHandle` ([#​7598](https://togithub.com/getsentry/sentry-javascript/issues/7598)) - ref(sveltekit): Split up universal and server load wrappers ([#​7652](https://togithub.com/getsentry/sentry-javascript/issues/7652)) This release adds support for Performance Monitoring in our SvelteKit SDK for the client/server. We've also changed how you should initialize your SDK. Please read our updated [SvelteKit README instructions](./packages/sveltekit/README.md) for more details. - **feat(core)**: Add `ignoreTransactions` option ([#​7594](https://togithub.com/getsentry/sentry-javascript/issues/7594)) You can now easily filter out certain transactions from being sent to Sentry based on their name. ```ts Sentry.init({ ignoreTransactions: ['/api/healthcheck', '/ping'], }) ``` - **feat(node)**: Undici integration ([#​7582](https://togithub.com/getsentry/sentry-javascript/issues/7582)) - feat(nextjs): Add Undici integration automatically ([#​7648](https://togithub.com/getsentry/sentry-javascript/issues/7648)) - feat(sveltekit): Add Undici integration by default ([#​7650](https://togithub.com/getsentry/sentry-javascript/issues/7650)) We've added an integration that automatically instruments [Undici](https://togithub.com/nodejs/undici) and Node server side fetch. This supports Undici `v4.7.0` or higher and requires Node `v16.7.0` or higher. After adding the integration outgoing requests made by Undici will have associated spans and breadcrumbs in Sentry. ```ts Sentry.init({ integrations: [new Sentry.Integrations.Undici()], }) ``` In our Next.js and SvelteKit SDKs, this integration is automatically added. - **feat(node)**: Add Sentry tRPC middleware ([#​7511](https://togithub.com/getsentry/sentry-javascript/issues/7511)) We've added a new middleware for [trpc](https://trpc.io/) that automatically adds TRPC information to Sentry transactions. This middleware is meant to be used in combination with a Sentry server integration (Next.js, Express, etc). ```ts import { initTRPC } from '@​trpc/server'; import * as Sentry from '@​sentry/node'; const t = initTRPC.context().create(); const sentryMiddleware = t.middleware( Sentry.Handlers.trpcMiddleware({ attachRpcInput: true, }), ); const sentrifiedProcedure = t.procedure.use(sentryMiddleware); ``` - **feat(tracing)**: Remove requirement for `@sentry/tracing` package With `7.46.0` you no longer require the `@sentry/tracing` package to use tracing and performance monitoring with the Sentry JavaScript SDKs. The `@sentry/tracing` package will be removed in a future major release, but can still be used with no changes. Please see the [Migration docs](./MIGRATION.md/#remove-requirement-for-sentrytracing-package-since-7460) for more details. - **fix(node)**: Convert debugging code to callbacks to fix memory leak in `LocalVariables` integration ([#​7637](https://togithub.com/getsentry/sentry-javascript/issues/7637)) This fixes a memory leak in the opt-in [`LocalVariables` integration](https://blog.sentry.io/2023/02/01/local-variables-for-nodejs-in-sentry/), which adds local variables to the stacktraces sent to Sentry. The minimum recommended version to use the `LocalVariables` is now `7.46.0`. ##### Additional Features and Fixes - feat(node): Auto discovery only returns integrations where dependency loads ([#​7603](https://togithub.com/getsentry/sentry-javascript/issues/7603)) - feat(node): Sanitize URLs in Span descriptions and breadcrumbs (PII) ([#​7667](https://togithub.com/getsentry/sentry-javascript/issues/7667)) - feat(replay): Add `responseStatus`, `decodedBodySize` to perf entries ([#​7613](https://togithub.com/getsentry/sentry-javascript/issues/7613)) - feat(replay): Add experiment to capture request/response bodies ([#​7589](https://togithub.com/getsentry/sentry-javascript/issues/7589)) - feat(replay): Capture replay mutation breadcrumbs & add experiment ([#​7568](https://togithub.com/getsentry/sentry-javascript/issues/7568)) - feat(tracing): Ensure `pageload` transaction starts at timeOrigin ([#​7632](https://togithub.com/getsentry/sentry-javascript/issues/7632)) - fix(core): Remove `abs_path` from stack trace (reverting [#​7167](https://togithub.com/getsentry/sentry-javascript/issues/7167)) ([#​7623](https://togithub.com/getsentry/sentry-javascript/issues/7623)) - fix(nextjs): Add loading component type to server component wrapping ([#​7639](https://togithub.com/getsentry/sentry-javascript/issues/7639)) - fix(nextjs): Don't report `NEXT_NOT_FOUND` and `NEXT_REDIRECT` errors ([#​7642](https://togithub.com/getsentry/sentry-javascript/issues/7642)) - fix(nextjs): Rewrite `abs_path` frames ([#​7619](https://togithub.com/getsentry/sentry-javascript/issues/7619)) - fix(nextjs): Show errors and warnings only once during build ([#​7651](https://togithub.com/getsentry/sentry-javascript/issues/7651)) - fix(nextjs): Use Next.js internal AsyncStorage ([#​7630](https://togithub.com/getsentry/sentry-javascript/issues/7630)) - fix(nextjs): Gracefully handle undefined `beforeFiles` in rewrites ([#​7649](https://togithub.com/getsentry/sentry-javascript/issues/7649)) Work in this release contributed by [@​aldenquimby](https://togithub.com/aldenquimby) and [@​bertho-zero](https://togithub.com/bertho-zero). Thank you for your contributions! ### [`v7.45.0`](https://togithub.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#​7450) [Compare Source](https://togithub.com/getsentry/sentry-javascript/compare/7.44.2...7.45.0) - build(cdn): Ensure ES5 bundles do not use non-ES5 code ([#​7550](https://togithub.com/getsentry/sentry-javascript/issues/7550)) - feat(core): Add trace function ([#​7556](https://togithub.com/getsentry/sentry-javascript/issues/7556)) - feat(hub): Make scope always defined on the hub ([#​7551](https://togithub.com/getsentry/sentry-javascript/issues/7551)) - feat(replay): Add `replay_id` to transaction DSC ([#​7571](https://togithub.com/getsentry/sentry-javascript/issues/7571)) - feat(replay): Capture fetch body size for replay events ([#​7524](https://togithub.com/getsentry/sentry-javascript/issues/7524)) - feat(sveltekit): Add performance monitoring for client load ([#​7537](https://togithub.com/getsentry/sentry-javascript/issues/7537)) - feat(sveltekit): Add performance monitoring for server load ([#​7536](https://togithub.com/getsentry/sentry-javascript/issues/7536)) - feat(sveltekit): Add performance monitoring to Sveltekit server handle ([#​7532](https://togithub.com/getsentry/sentry-javascript/issues/7532)) - feat(sveltekit): Add SvelteKit routing instrumentation ([#​7565](https://togithub.com/getsentry/sentry-javascript/issues/7565)) - fix(browser): Ensure keepalive flag is correctly set for parallel requests ([#​7553](https://togithub.com/getsentry/sentry-javascript/issues/7553)) - fix(core): Ensure `ignoreErrors` only applies to error events ([#​7573](https://togithub.com/getsentry/sentry-javascript/issues/7573)) - fix(node): Consider tracing error handler for process exit ([#​7558](https://togithub.com/getsentry/sentry-javascript/issues/7558)) - fix(otel): Make sure we use correct hub on finish ([#​7577](https://togithub.com/getsentry/sentry-javascript/issues/7577)) - fix(react): Handle case where error.cause already defined ([#​7557](https://togithub.com/getsentry/sentry-javascript/issues/7557))

Configuration

📅 Schedule: Branch creation - "every weekday" (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.