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.11.0 to 8.12.0 #162

Closed

Conversation

DanielMiao1
Copy link
Contributor

This PR was automatically created by Snyk using the credentials of a real user.


![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)

Snyk has created this PR to upgrade @sentry/browser from 8.11.0 to 8.12.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 2 versions ahead of your current version.

  • The recommended version was released on 22 days ago.

Release notes
Package name: @sentry/browser
  • 8.12.0 - 2024-06-25

    Important Changes

    • feat(solid): Remove need to pass router hooks to solid integration (breaking)

    This release introduces breaking changes to the @ sentry/solid package (which is currently out in alpha).

    We've made it easier to get started with the solid router integration by removing the need to pass use* hooks
    explicitly to solidRouterBrowserTracingIntegration. Import solidRouterBrowserTracingIntegration from
    @ sentry/solid/solidrouter and add it to Sentry.init

    import * as Sentry from '@ sentry/solid';
    import { solidRouterBrowserTracingIntegration, withSentryRouterRouting } from '@ sentry/solid/solidrouter';
    import { Router } from '@ solidjs/router';

    Sentry.init({
    dsn: 'PUBLIC_DSN',
    integrations: [solidRouterBrowserTracingIntegration()],
    tracesSampleRate: 1.0, // Capture 100% of the transactions
    });

    const SentryRouter = withSentryRouterRouting(Router);

    • feat(core): Return client from init method (#12585)

    Sentry.init() now returns a client directly, so you don't need to explicitly call getClient() anymore:

    const client = Sentry.init();
    • feat(nextjs): Add deleteSourcemapsAfterUpload option (#12457)

    This adds an easy way to delete sourcemaps immediately after uploading them:

    module.exports = withSentryConfig(nextConfig, {
      sourcemaps: {
        deleteSourcemapsAfterUpload: true,
      },
    });
    • feat(node): Allow to configure maxSpanWaitDuration (#12610)

    Adds configuration option for the max. duration in seconds that the SDK will wait for parent spans to be finished before
    discarding a span. The SDK will automatically clean up spans that have no finished parent after this duration. This is
    necessary to prevent memory leaks in case of parent spans that are never finished or otherwise dropped/missing. However,
    if you have very long-running spans in your application, a shorter duration might cause spans to be discarded too early.
    In this case, you can increase this duration to a value that fits your expected data.

    Other Changes

    • feat(feedback): Extra check for iPad in screenshot support (#12593)
    • fix(bundle): Ensure CDN bundles do not overwrite window.Sentry (#12580)
    • fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integration (#12535)
    • fix(node): Re-throw errors from koa middleware (#12609)
    • fix(remix): Mark isRemixV2 as optional in exposed types. (#12614)
    • ref(node): Add error message to NodeFetch log (#12612)

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

    Bundle size 📦

    Path Size
    @ sentry/browser 22.22 KB
    @ sentry/browser (incl. Tracing) 33.31 KB
    @ sentry/browser (incl. Tracing, Replay) 69.09 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.42 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 73.15 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 85.76 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.62 KB
    @ sentry/browser (incl. metrics) 26.5 KB
    @ sentry/browser (incl. Feedback) 38.87 KB
    @ sentry/browser (incl. sendFeedback) 26.85 KB
    @ sentry/browser (incl. FeedbackAsync) 31.45 KB
    @ sentry/react 24.97 KB
    @ sentry/react (incl. Tracing) 36.36 KB
    @ sentry/vue 26.33 KB
    @ sentry/vue (incl. Tracing) 35.17 KB
    @ sentry/svelte 22.36 KB
    CDN Bundle 23.42 KB
    CDN Bundle (incl. Tracing) 35.05 KB
    CDN Bundle (incl. Tracing, Replay) 69.18 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 74.38 KB
    CDN Bundle - uncompressed 68.8 KB
    CDN Bundle (incl. Tracing) - uncompressed 103.66 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 214.13 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 226.79 KB
    @ sentry/nextjs (client) 36.24 KB
    @ sentry/sveltekit (client) 33.95 KB
    @ sentry/node 113.27 KB
    @ sentry/node - without tracing 90.65 KB
    @ sentry/aws-serverless 99.74 KB
  • 8.12.0-beta.0 - 2024-06-24

    This pre-release includes an rrweb version bump that
    includes quite a few upstream changes. We will test this on Sentry before a release.

    Bundle size 📦

    Path Size
    @ sentry/browser 22.23 KB
    @ sentry/browser (incl. Tracing) 33.32 KB
    @ sentry/browser (incl. Tracing, Replay) 69.4 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.7 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 73.8 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 85.67 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.55 KB
    @ sentry/browser (incl. metrics) 26.51 KB
    @ sentry/browser (incl. Feedback) 38.46 KB
    @ sentry/browser (incl. sendFeedback) 26.86 KB
    @ sentry/browser (incl. FeedbackAsync) 31.46 KB
    @ sentry/react 24.97 KB
    @ sentry/react (incl. Tracing) 36.37 KB
    @ sentry/vue 26.33 KB
    @ sentry/vue (incl. Tracing) 35.17 KB
    @ sentry/svelte 22.36 KB
    CDN Bundle 23.43 KB
    CDN Bundle (incl. Tracing) 35.06 KB
    CDN Bundle (incl. Tracing, Replay) 69.48 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 74.74 KB
    CDN Bundle - uncompressed 68.81 KB
    CDN Bundle (incl. Tracing) - uncompressed 103.66 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 215.52 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 228.18 KB
    @ sentry/nextjs (client) 36.24 KB
    @ sentry/sveltekit (client) 33.96 KB
    @ sentry/node 113.27 KB
    @ sentry/node - without tracing 90.67 KB
    @ sentry/aws-serverless 99.76 KB
  • 8.11.0 - 2024-06-21

    Important Changes

    • feat(core): Add parentSpan option to startSpan* APIs (#12567)

    We've made it easier to create a span as a child of a specific span via the startSpan* APIs. This should allow you to
    explicitly manage the parent-child relationship of your spans better.

    Sentry.startSpan({ name: 'root' }, parent => {
    const span = Sentry.startInactiveSpan({ name: 'xxx', parentSpan: parent });

    Sentry.startSpan({ name: 'xxx', parentSpan: parent }, () => {});

    Sentry.startSpanManual({ name: 'xxx', parentSpan: parent }, () => {});
    });

    Other Changes

    • feat(node): Detect release from more providers (#12529)
    • fix(profiling-node): Use correct getGlobalScope import (#12564)
    • fix(profiling-node) sample timestamps need to be in seconds (#12563)
    • ref: Align @ sentry/node exports from framework SDKs. (#12589)

    Bundle size 📦

    Path Size
    @ sentry/browser 22.22 KB
    @ sentry/browser (incl. Tracing) 33.31 KB
    @ sentry/browser (incl. Tracing, Replay) 69.09 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.41 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 73.14 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 85.31 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.17 KB
    @ sentry/browser (incl. metrics) 26.5 KB
    @ sentry/browser (incl. Feedback) 38.42 KB
    @ sentry/browser (incl. sendFeedback) 26.85 KB
    @ sentry/browser (incl. FeedbackAsync) 31.42 KB
    @ sentry/react 24.96 KB
    @ sentry/react (incl. Tracing) 36.35 KB
    @ sentry/vue 26.32 KB
    @ sentry/vue (incl. Tracing) 35.16 KB
    @ sentry/svelte 22.35 KB
    CDN Bundle 23.41 KB
    CDN Bundle (incl. Tracing) 35.04 KB
    CDN Bundle (incl. Tracing, Replay) 69.17 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 74.34 KB
    CDN Bundle - uncompressed 68.76 KB
    CDN Bundle (incl. Tracing) - uncompressed 103.61 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 214.08 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 226.67 KB
    @ sentry/nextjs (client) 36.23 KB
    @ sentry/sveltekit (client) 33.95 KB
    @ sentry/node 112.99 KB
    @ sentry/node - without tracing 90.4 KB
    @ sentry/aws-serverless 99.48 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.11.0 to 8.12.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 Jul 17, 2024

Deploying climatechangeinformation with  Cloudflare Pages  Cloudflare Pages

Latest commit: e52cfd8
Status: ✅  Deploy successful!
Preview URL: https://5957e213.climatechangeinformation.pages.dev
Branch Preview URL: https://snyk-upgrade-31e52723d2ff1b8.climatechangeinformation.pages.dev

View logs

@DanielMiao1 DanielMiao1 deleted the snyk-upgrade-31e52723d2ff1b8aae84c96253d4e097 branch July 18, 2024 08:48
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