Skip to content

[Snyk] Upgrade @sentry/tracing from 7.45.0 to 7.46.0 #511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

snyk-bot
Copy link
Contributor

Snyk has created this PR to upgrade @sentry/tracing from 7.45.0 to 7.46.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.
  • The recommended version was released 21 days ago, on 2023-03-30.
Release notes
Package name: @sentry/tracing
  • 7.46.0 - 2023-03-30

    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!

    Bundle size 📦

    Path Size
    @ sentry/browser - ES5 CDN Bundle (gzipped + minified) 20.62 KB
    @ sentry/browser - ES5 CDN Bundle (minified) 64.4 KB
    @ sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.15 KB
    @ sentry/browser - ES6 CDN Bundle (minified) 56.78 KB
    @ sentry/browser - Webpack (gzipped + minified) 21.53 KB
    @ sentry/browser - Webpack (minified) 72 KB
    @ sentry/react - Webpack (gzipped + minified) 21.55 KB
    @ sentry/nextjs Client - Webpack (gzipped + minified) 52.05 KB
    @ sentry/browser + @ sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.21 KB
    @ sentry/browser + @ sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.41 KB
    @ sentry/replay ES6 CDN Bundle (gzipped + minified) 44.74 KB
    @ sentry/replay - Webpack (gzipped + minified) 38.86 KB
    @ sentry/browser + @ sentry/tracing + @ sentry/replay - ES6 CDN Bundle (gzipped + minified) 63.46 KB
    @ sentry/browser + @ sentry/replay - ES6 CDN Bundle (gzipped + minified) 56.49 KB
  • 7.45.0 - 2023-03-24
    Read more
from @sentry/tracing GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@maidul98 maidul98 merged commit 7d8c6eb into main Apr 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants