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 7.117.0 to 8.5.0 #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

naiba4
Copy link
Owner

@naiba4 naiba4 commented Jun 18, 2024

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 7.117.0 to 8.5.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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • The recommended version is 25 versions ahead of your current version.

  • The recommended version was released on 21 days ago.

Release notes
Package name: @sentry/browser
  • 8.5.0 - 2024-05-27

    Important Changes

    • feat(react): Add React 19 to peer deps (#12207)

    This release adds support for React 19 in the @ sentry/react SDK package.

    • feat(node): Add @ sentry/node/preload hook (#12213)

    This release adds a new way to initialize @ sentry/node, which allows you to use the SDK with performance
    instrumentation even if you cannot call Sentry.init() at the very start of your app.

    First, run the SDK like this:

    node --require @ sentry/node/preload ./app.js

    Now, you can initialize and import the rest of the SDK later or asynchronously:

    const express = require('express');
    const Sentry = require('@ sentry/node');

    const dsn = await getSentryDsn();
    Sentry.init({ dsn });

    For more details, head over to the
    PR Description of the new feature. Our docs will be updated
    soon with a new guide.

    Other Changes

    • feat(browser): Do not include metrics in base CDN bundle (#12230)
    • feat(core): Add startNewTrace API (#12138)
    • feat(core): Allow to pass custom scope to captureFeedback() (#12216)
    • feat(core): Only allow SerializedSession in session envelope items (#11979)
    • feat(nextjs): Use Vercel's waitUntil to defer freezing of Vercel Lambdas (#12133)
    • feat(node): Ensure manual OTEL setup works (#12214)
    • fix(aws-serverless): Avoid minifying Module._resolveFilename in Lambda layer bundle (#12232)
    • fix(aws-serverless): Ensure lambda layer uses default export from ImportInTheMiddle (#12233)
    • fix(browser): Improve browser extension error message check (#12146)
    • fix(browser): Remove optional chaining in INP code (#12196)
    • fix(nextjs): Don't report React postpone errors (#12194)
    • fix(nextjs): Use global scope for generic event filters (#12205)
    • fix(node): Add origin to redis span (#12201)
    • fix(node): Change import of @ prisma/instrumentation to use default import (#12185)
    • fix(node): Only import inspector asynchronously (#12231)
    • fix(replay): Update matcher for hydration error detection to new React docs (#12209)
    • ref(profiling-node): Add warning when using non-LTS node (#12211)

    Bundle size 📦

    Path Size
    @ sentry/browser 21.78 KB
    @ sentry/browser (incl. Tracing) 32.79 KB
    @ sentry/browser (incl. Tracing, Replay) 68.26 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.68 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 72.31 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 84.37 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 85.84 KB
    @ sentry/browser (incl. metrics) 23.17 KB
    @ sentry/browser (incl. Feedback) 37.8 KB
    @ sentry/browser (incl. sendFeedback) 26.36 KB
    @ sentry/browser (incl. FeedbackAsync) 30.79 KB
    @ sentry/react 24.47 KB
    @ sentry/react (incl. Tracing) 35.79 KB
    @ sentry/vue 25.73 KB
    @ sentry/vue (incl. Tracing) 34.59 KB
    @ sentry/svelte 21.92 KB
    CDN Bundle 23.01 KB
    CDN Bundle (incl. Tracing) 34.27 KB
    CDN Bundle (incl. Tracing, Replay) 68.08 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 73.09 KB
    CDN Bundle - uncompressed 67.88 KB
    CDN Bundle (incl. Tracing) - uncompressed 101.68 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 211.58 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 223.96 KB
    @ sentry/nextjs (client) 35.14 KB
    @ sentry/sveltekit (client) 33.39 KB
    @ sentry/node 114.65 KB
    @ sentry/aws-serverless 103.32 KB
  • 8.4.0 - 2024-05-23

    Important Changes

    • feat(nextjs): Trace pageloads in App Router (#12157)

    If you are using Next.js version 14.3.0-canary.64 or above, the Sentry Next.js SDK will now trace clientside pageloads
    with React Server Components. This means, that client-side errors like
    Error: An error occurred in the Server Components render., which previously didn't give you much information on how
    that error was caused, can now be traced back to a specific error in a server component.

    • feat(angular): Add Support for Angular 18 (#12183)

    This release guarantees support for Angular 18 with @ sentry/angular.

    Other Changes

    • feat(deps): Bump @ opentelemetry/instrumentation-aws-lambda from 0.41.0 to 0.41.1 (#12078)
    • fix(metrics): Ensure string values are interpreted for metrics (#12165)

    Bundle size 📦

    Path Size
    @ sentry/browser 21.74 KB
    @ sentry/browser (incl. Tracing) 32.88 KB
    @ sentry/browser (incl. Tracing, Replay) 68.25 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.66 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 72.28 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 84.33 KB
    @ sentry/browser (incl. Feedback) 37.75 KB
    @ sentry/browser (incl. sendFeedback) 26.31 KB
    @ sentry/browser (incl. FeedbackAsync) 30.73 KB
    @ sentry/react 24.43 KB
    @ sentry/react (incl. Tracing) 35.88 KB
    @ sentry/vue 25.68 KB
    @ sentry/vue (incl. Tracing) 34.7 KB
    @ sentry/svelte 21.88 KB
    CDN Bundle 24.28 KB
    CDN Bundle (incl. Tracing) 34.35 KB
    CDN Bundle (incl. Tracing, Replay) 68.04 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 73.03 KB
    CDN Bundle - uncompressed 71.46 KB
    CDN Bundle (incl. Tracing) - uncompressed 101.87 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 211.5 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 223.85 KB
    @ sentry/nextjs (client) 35.14 KB
    @ sentry/sveltekit (client) 33.48 KB
    @ sentry/node 114.31 KB
    @ sentry/aws-serverless 103.2 KB
  • 8.3.0 - 2024-05-22

    Important Changes

    • Better Node Framework Span Data

    This release improves data quality of spans emitted by Express, Fastify, Connect, Koa, Nest.js and Hapi.

    • feat(node): Ensure connect spans have better data (#12130)

    • feat(node): Ensure express spans have better data (#12107)

    • feat(node): Ensure fastify spans have better data (#12106)

    • feat(node): Ensure hapi spans have better data (#12140)

    • feat(node): Ensure koa spans have better data (#12108)

    • feat(node): Ensure Nest.js spans have better data (#12139)

    • feat(deps): Bump @ opentelemetry/instrumentation-express from 0.38.0 to 0.39.0 (#12079)

    • feat(node): No-code init via --import=@ sentry/node/init (#11999)

    When using Sentry in ESM mode, you can now use Sentry without manually calling init like this:

     SENTRY_DSN=https://[email protected]/0 node --import=@ sentry/node/init app.mjs

    When using CommonJS, you can do:

     SENTRY_DSN=https://[email protected]/0 node --require=@ sentry/node/init app.js

    Other Changes

    • chore: Align and update MIT license dates (#12143)
    • chore: Resolve or postpone a random assortment of TODOs (#11977)
    • doc(migration): Add entry for runWithAsyncContext (#12153)
    • docs: Add migration docs to point out that default import does not work (#12100)
    • docs(sveltekit): process.env.SENTRY_AUTH_TOKEN (#12118)
    • feat(browser): Ensure browserProfilingIntegration is published to CDN (#12158)
    • feat(google-cloud): Expose ESM build (#12149)
    • feat(nextjs): Ignore Prisma critical dependency warnings (#12144)
    • feat(node): Add app.free_memory info to events (#12150)
    • feat(node): Do not create GraphQL resolver spans by default (#12097)
    • feat(node): Use node: prefix for node built-ins (#11895)
    • feat(replay): Use unwrapped setTimeout to avoid e.g. angular change detection (#11924)
    • fix(core): Add dsn to span envelope header (#12096)
    • fix(feedback): Improve feedback border color in dark-mode, and prevent auto-dark mode when a theme is picked (#12126)
    • fix(feedback): Set optionOverrides to be optional in TS definition (#12125)
    • fix(nextjs): Don't put undefined values in props (#12131)
    • fix(nextjs): Fix legacy configuration method detection for emitting warning (#12136)
    • fix(node): Ensure fetch/http breadcrumbs are created correctly (#12137)
    • fix(node): Update @ prisma/instrumentation from 5.13.0 to 5.14.0 (#12081)
    • ref(node): Add log for running in ESM/CommonJS mode (#12134)
    • ref(node): Handle failing hook registration gracefully (#12135)
    • ref(node): Only show instrumentation warning when tracing is enabled (#12141)

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

    Bundle size 📦

    Path Size
    @ sentry/browser 21.77 KB
    @ sentry/browser (incl. Tracing) 32.92 KB
    @ sentry/browser (incl. Tracing, Replay) 68.26 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.68 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 72.29 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 84.35 KB
    @ sentry/browser (incl. Feedback) 37.78 KB
    @ sentry/browser (incl. sendFeedback) 26.34 KB
    @ sentry/browser (incl. FeedbackAsync) 30.76 KB
    @ sentry/react 24.45 KB
    @ sentry/react (incl. Tracing) 35.89 KB
    @ sentry/vue 25.72 KB
    @ sentry/vue (incl. Tracing) 34.74 KB
    @ sentry/svelte 21.91 KB
    CDN Bundle 24.29 KB
    CDN Bundle (incl. Tracing) 34.35 KB
    CDN Bundle (incl. Tracing, Replay) 68.05 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 73.05 KB
    CDN Bundle - uncompressed 71.47 KB
    CDN Bundle (incl. Tracing) - uncompressed 101.88 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 211.51 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 223.86 KB
    @ sentry/nextjs (client) 35.17 KB
    @ sentry/sveltekit (client) 33.52 KB
    @ sentry/node 114.09 KB
    @ sentry/aws-serverless 103 KB
  • 8.2.1 - 2024-05-16
    • fix(aws-serverless): Fix build of lambda layer (#12083)
    • fix(nestjs): Broaden nest.js type (#12076)

    Bundle size 📦

    Path Size
    @ sentry/browser 21.72 KB
    @ sentry/browser (incl. Tracing) 32.86 KB
    @ sentry/browser (incl. Tracing, Replay) 68.21 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.6 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 72.25 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 84.25 KB
    @ sentry/browser (incl. Feedback) 37.68 KB
    @ sentry/browser (incl. sendFeedback) 26.29 KB
    @ sentry/browser (incl. FeedbackAsync) 30.66 KB
    @ sentry/react 24.41 KB
    @ sentry/react (incl. Tracing) 35.85 KB
    @ sentry/vue 25.65 KB
    @ sentry/vue (incl. Tracing) 34.68 KB
    @ sentry/svelte 21.86 KB
    CDN Bundle 24.26 KB
    CDN Bundle (incl. Tracing) 34.29 KB
    CDN Bundle (incl. Tracing, Replay) 67.99 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 72.95 KB
    CDN Bundle - uncompressed 71.33 KB
    CDN Bundle (incl. Tracing) - uncompressed 101.68 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 211.3 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 223.6 KB
    @ sentry/nextjs (client) 35.07 KB
    @ sentry/sveltekit (client) 33.44 KB
    @ sentry/node 141.32 KB
    @ sentry/aws-serverless 128.07 KB
  • 8.2.0 - 2024-05-16
  • 8.1.0 - 2024-05-16
  • 8.0.0 - 2024-05-13
  • 8.0.0-rc.3 - 2024-05-10
  • 8.0.0-rc.2 - 2024-05-08
  • 8.0.0-rc.1 - 2024-05-07
  • 8.0.0-rc.0 - 2024-05-06
  • 8.0.0-beta.6 - 2024-05-03
  • 8.0.0-beta.5 - 2024-04-30
  • 8.0.0-beta.4 - 2024-04-24
  • 8.0.0-beta.3 - 2024-04-19
  • 8.0.0-beta.2 - 2024-04-17
  • 8.0.0-beta.1 - 2024-04-15
  • 8.0.0-alpha.9 - 2024-04-08
  • 8.0.0-alpha.8 - 2024-04-08
  • 8.0.0-alpha.7 - 2024-03-27
  • 8.0.0-alpha.5 - 2024-03-22
  • 8.0.0-alpha.4 - 2024-03-14
  • 8.0.0-alpha.3 - 2024-03-14
  • 8.0.0-alpha.2 - 2024-03-05
  • 8.0.0-alpha.1 - 2024-03-04
  • 7.117.0 - 2024-06-10
    • feat(browser/v7): Publish browserprofling CDN bundle (#12224)
    • fix(v7/publish): Add v7 tag to @ sentry/replay (#12304)
from @sentry/browser GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • 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 7.117.0 to 8.5.0.

See this package in npm:
@sentry/browser

See this project in Snyk:
https://app.snyk.io/org/naiba4/project/cd476209-5fe7-420e-9753-626e76711f84?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

codesandbox bot commented Jun 18, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

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