fix(deps): update sentry-javascript monorepo to v7.46.0 #3333

Merged
konrad merged 1 commits from renovate/sentry-javascript-monorepo into main 2023-03-30 14:27:59 +00:00
Member

This PR contains the following updates:

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

Release Notes

getsentry/sentry-javascript

v7.46.0

Compare Source

Important Changes
  • feat(sveltekit): Add Performance Monitoring for SvelteKit
    • feat(sveltekit): Add meta tag for backend -> frontend (#​7574)
    • fix(sveltekit): Explicitly export Node SDK exports (#​7644)
    • fix(sveltekit): Handle nested server calls in sentryHandle (#​7598)
    • ref(sveltekit): Split up universal and server load wrappers (#​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 for more details.

  • feat(core): Add ignoreTransactions option (#​7594)

You can now easily filter out certain transactions from being sent to Sentry based on their name.

Sentry.init({
  ignoreTransactions: ['/api/healthcheck', '/ping'],
})
  • feat(node): Undici integration (#​7582)
    • feat(nextjs): Add Undici integration automatically (#​7648)
    • feat(sveltekit): Add Undici integration by default (#​7650)

We've added an integration that automatically instruments 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.

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)

We've added a new middleware for trpc 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).

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 for more details.

  • fix(node): Convert debugging code to callbacks to fix memory leak in LocalVariables integration (#​7637)

This fixes a memory leak in the opt-in LocalVariables integration, 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)
  • feat(node): Sanitize URLs in Span descriptions and breadcrumbs (PII) (#​7667)
  • feat(replay): Add responseStatus, decodedBodySize to perf entries (#​7613)
  • feat(replay): Add experiment to capture request/response bodies (#​7589)
  • feat(replay): Capture replay mutation breadcrumbs & add experiment (#​7568)
  • feat(tracing): Ensure pageload transaction starts at timeOrigin (#​7632)
  • fix(core): Remove abs_path from stack trace (reverting #​7167) (#​7623)
  • fix(nextjs): Add loading component type to server component wrapping (#​7639)
  • fix(nextjs): Don't report NEXT_NOT_FOUND and NEXT_REDIRECT errors (#​7642)
  • fix(nextjs): Rewrite abs_path frames (#​7619)
  • fix(nextjs): Show errors and warnings only once during build (#​7651)
  • fix(nextjs): Use Next.js internal AsyncStorage (#​7630)
  • fix(nextjs): Gracefully handle undefined beforeFiles in rewrites (#​7649)

Work in this release contributed by @​aldenquimby and @​bertho-zero. Thank you for your contributions!


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.45.0` -> `7.46.0`](https://renovatebot.com/diffs/npm/@sentry%2ftracing/7.45.0/7.46.0) | | [@sentry/vue](https://github.com/getsentry/sentry-javascript/tree/master/packages/vue) ([source](https://github.com/getsentry/sentry-javascript)) | dependencies | minor | [`7.45.0` -> `7.46.0`](https://renovatebot.com/diffs/npm/@sentry%2fvue/7.45.0/7.46.0) | --- ### Release Notes <details> <summary>getsentry/sentry-javascript</summary> ### [`v7.46.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#&#8203;7460) [Compare Source](https://github.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 ([#&#8203;7574](https://github.com/getsentry/sentry-javascript/issues/7574)) - fix(sveltekit): Explicitly export Node SDK exports ([#&#8203;7644](https://github.com/getsentry/sentry-javascript/issues/7644)) - fix(sveltekit): Handle nested server calls in `sentryHandle` ([#&#8203;7598](https://github.com/getsentry/sentry-javascript/issues/7598)) - ref(sveltekit): Split up universal and server load wrappers ([#&#8203;7652](https://github.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 ([#&#8203;7594](https://github.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 ([#&#8203;7582](https://github.com/getsentry/sentry-javascript/issues/7582)) - feat(nextjs): Add Undici integration automatically ([#&#8203;7648](https://github.com/getsentry/sentry-javascript/issues/7648)) - feat(sveltekit): Add Undici integration by default ([#&#8203;7650](https://github.com/getsentry/sentry-javascript/issues/7650)) We've added an integration that automatically instruments [Undici](https://github.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 ([#&#8203;7511](https://github.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 '@&#8203;trpc/server'; import * as Sentry from '@&#8203;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 ([#&#8203;7637](https://github.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 ([#&#8203;7603](https://github.com/getsentry/sentry-javascript/issues/7603)) - feat(node): Sanitize URLs in Span descriptions and breadcrumbs (PII) ([#&#8203;7667](https://github.com/getsentry/sentry-javascript/issues/7667)) - feat(replay): Add `responseStatus`, `decodedBodySize` to perf entries ([#&#8203;7613](https://github.com/getsentry/sentry-javascript/issues/7613)) - feat(replay): Add experiment to capture request/response bodies ([#&#8203;7589](https://github.com/getsentry/sentry-javascript/issues/7589)) - feat(replay): Capture replay mutation breadcrumbs & add experiment ([#&#8203;7568](https://github.com/getsentry/sentry-javascript/issues/7568)) - feat(tracing): Ensure `pageload` transaction starts at timeOrigin ([#&#8203;7632](https://github.com/getsentry/sentry-javascript/issues/7632)) - fix(core): Remove `abs_path` from stack trace (reverting [#&#8203;7167](https://github.com/getsentry/sentry-javascript/issues/7167)) ([#&#8203;7623](https://github.com/getsentry/sentry-javascript/issues/7623)) - fix(nextjs): Add loading component type to server component wrapping ([#&#8203;7639](https://github.com/getsentry/sentry-javascript/issues/7639)) - fix(nextjs): Don't report `NEXT_NOT_FOUND` and `NEXT_REDIRECT` errors ([#&#8203;7642](https://github.com/getsentry/sentry-javascript/issues/7642)) - fix(nextjs): Rewrite `abs_path` frames ([#&#8203;7619](https://github.com/getsentry/sentry-javascript/issues/7619)) - fix(nextjs): Show errors and warnings only once during build ([#&#8203;7651](https://github.com/getsentry/sentry-javascript/issues/7651)) - fix(nextjs): Use Next.js internal AsyncStorage ([#&#8203;7630](https://github.com/getsentry/sentry-javascript/issues/7630)) - fix(nextjs): Gracefully handle undefined `beforeFiles` in rewrites ([#&#8203;7649](https://github.com/getsentry/sentry-javascript/issues/7649)) Work in this release contributed by [@&#8203;aldenquimby](https://github.com/aldenquimby) and [@&#8203;bertho-zero](https://github.com/bertho-zero). Thank you for your contributions! </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:eyJjcmVhdGVkSW5WZXIiOiIzNS4yNC42IiwidXBkYXRlZEluVmVyIjoiMzUuMjQuNiJ9-->
renovate added the
dependencies
label 2023-03-30 14:04:44 +00:00
renovate added 1 commit 2023-03-30 14:04:45 +00:00
fix(deps): update sentry-javascript monorepo to v7.46.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
d8015913c3
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://3333-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://3333-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.
konrad merged commit d8015913c3 into main 2023-03-30 14:27:59 +00:00
konrad deleted branch renovate/sentry-javascript-monorepo 2023-03-30 14:27:59 +00:00
Member

I updated the vite-plugin-sentry branch to incorporate the change of the removed @sentry/tracing package requirement.

I updated the vite-plugin-sentry branch to incorporate the change of the removed @sentry/tracing package requirement.
This repo is archived. You cannot comment on pull requests.
No description provided.