Skip to content
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

[Snyk] Upgrade @sentry/browser from 8.22.0 to 8.23.0 #195

Closed

Conversation

DanielMiao1
Copy link
Contributor

snyk-top-banner

Snyk has created this PR to upgrade @sentry/browser from 8.22.0 to 8.23.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 on 22 days ago.

Release notes
Package name: @sentry/browser
  • 8.23.0 - 2024-08-05

    Important Changes

    • feat(cloudflare): Add Cloudflare D1 instrumentation (#13142)

    This release includes support for Cloudflare D1, Cloudflare's serverless SQL database. To instrument your Cloudflare D1
    database, use the instrumentD1WithSentry method as follows:

    // env.DB is the D1 DB binding configured in your `wrangler.toml`
    const db = instrumentD1WithSentry(env.DB);
    // Now you can use the database as usual
    await db.prepare('SELECT * FROM table WHERE id = ?').bind(1).run();

    Other Changes

    • feat(cloudflare): Allow users to pass handler to sentryPagesPlugin (#13192)
    • feat(cloudflare): Instrument scheduled handler (#13114)
    • feat(core): Add getTraceData function (#13134)
    • feat(nestjs): Automatic instrumentation of nestjs interceptors before route execution (#13153)
    • feat(nestjs): Automatic instrumentation of nestjs pipes (#13137)
    • feat(nuxt): Filter out Nuxt build assets (#13148)
    • feat(profiling): Attach sdk info to chunks (#13145)
    • feat(solidstart): Add sentry onBeforeResponse middleware to enable distributed tracing (#13221)
    • feat(solidstart): Filter out low quality transactions for build assets (#13222)
    • fix(browser): Avoid showing browser extension error message in non-window global scopes (#13156)
    • fix(feedback): Call dialog.close() in dialog close callbacks in \_loadAndRenderDialog (#13203)
    • fix(nestjs): Inline Observable type to resolve missing 'rxjs' dependency (#13166)
    • fix(nuxt): Detect pageload by adding flag in Vue router (#13171)
    • fix(utils): Handle when requests get aborted in fetch instrumentation (#13202)
    • ref(browser): Improve browserMetrics collection (#13062)

    Work in this release was contributed by @ horochx. Thank you for your contribution!

  • 8.22.0 - 2024-08-01

    Important Changes

    • feat(cloudflare): Add plugin for cloudflare pages (#13123)

    This release adds support for Cloudflare Pages to @ sentry/cloudflare, our SDK for the
    Cloudflare Workers JavaScript Runtime! For details on how to use it,
    please see the README. Any feedback/bug reports are greatly appreciated, please
    reach out on GitHub.

    // functions/_middleware.js
    import * as Sentry from '@ sentry/cloudflare';

    export const onRequest = Sentry.sentryPagesPlugin({
    dsn: PUBLIC_DSN,
    // Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
    tracesSampleRate: 1.0,
    });

    Other Changes

    • feat(meta-sdks): Remove runtime tags (#13105)
    • feat(nestjs): Automatic instrumentation of nestjs guards (#13129)
    • feat(nestjs): Filter all HttpExceptions (#13120)
    • feat(replay): Capture exception when internal_sdk_error client report happens (#13072)
    • fix: Use globalThis for code injection (#13132)

    Bundle size 📦

    Path Size
    @ sentry/browser 22.45 KB
    @ sentry/browser (incl. Tracing) 34.22 KB
    @ sentry/browser (incl. Tracing, Replay) 70.28 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.62 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 74.68 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 87.26 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 89.11 KB
    @ sentry/browser (incl. metrics) 26.75 KB
    @ sentry/browser (incl. Feedback) 39.37 KB
    @ sentry/browser (incl. sendFeedback) 27.06 KB
    @ sentry/browser (incl. FeedbackAsync) 31.7 KB
    @ sentry/react 25.22 KB
    @ sentry/react (incl. Tracing) 37.22 KB
    @ sentry/vue 26.6 KB
    @ sentry/vue (incl. Tracing) 36.06 KB
    @ sentry/svelte 22.58 KB
    CDN Bundle 23.64 KB
    CDN Bundle (incl. Tracing) 35.88 KB
    CDN Bundle (incl. Tracing, Replay) 70.31 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 75.57 KB
    CDN Bundle - uncompressed 69.37 KB
    CDN Bundle (incl. Tracing) - uncompressed 106.31 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 218.16 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 230.99 KB
    @ sentry/nextjs (client) 37.07 KB
    @ sentry/sveltekit (client) 34.79 KB
    @ sentry/node 114.65 KB
    @ sentry/node - without tracing 89.33 KB
    @ sentry/aws-serverless 98.5 KB
from @sentry/browser GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

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:

Snyk has created this PR to upgrade @sentry/browser from 8.22.0 to 8.23.0.

See this package in npm:
@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/danielmiao1/project/ee7246e9-9884-4510-8e23-dd3b1534698b?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

cloudflare-workers-and-pages bot commented Aug 27, 2024

Deploying climatechangeinformation with  Cloudflare Pages  Cloudflare Pages

Latest commit: f6a3468
Status: ✅  Deploy successful!
Preview URL: https://3ba67e0c.climatechangeinformation.pages.dev
Branch Preview URL: https://snyk-upgrade-29fe815879a7dc1.climatechangeinformation.pages.dev

View logs

@DanielMiao1 DanielMiao1 deleted the snyk-upgrade-29fe815879a7dc1eb3e8a00c6187f2ef branch September 2, 2024 22:12
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