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/react from 8.22.0 to 8.40.0 #33

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

Conversation

bagulm123
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @sentry/react from 8.22.0 to 8.40.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 29 versions ahead of your current version.

  • The recommended version was released on 25 days ago.

Release notes
Package name: @sentry/react
  • 8.40.0 - 2024-11-22

    Important Changes

    • feat(angular): Support Angular 19 (#14398)

      The @ sentry/angular SDK can now be used with Angular 19. If you're upgrading to the new Angular version, you might want to migrate from the now deprecated APP_INITIALIZER token to provideAppInitializer.
      In this case, change the Sentry TraceService initialization in app.config.ts:

      // Angular 18
      export const appConfig: ApplicationConfig = {
      providers: [
      // other providers
      {
      provide: TraceService,
      deps: [Router],
      },
      {
      provide: APP_INITIALIZER,
      useFactory: () => () => {},
      deps: [TraceService],
      multi: true,
      },
      ],
      };

      // Angular 19
      export const appConfig: ApplicationConfig = {
      providers: [
      // other providers
      {
      provide: TraceService,
      deps: [Router],
      },
      provideAppInitializer(() => {
      inject(TraceService);
      }),
      ],
      };

    • feat(core): Deprecate debugIntegration and sessionTimingIntegration (#14363)

      The debugIntegration was deprecated and will be removed in the next major version of the SDK.
      To log outgoing events, use Hook Options (beforeSend, beforeSendTransaction, ...).

      The sessionTimingIntegration was deprecated and will be removed in the next major version of the SDK.
      To capture session durations alongside events, use Context (Sentry.setContext()).

    • feat(nestjs): Deprecate @ WithSentry in favor of @ SentryExceptionCaptured (#14323)

      The @ WithSentry decorator was deprecated. Use @ SentryExceptionCaptured instead. This is a simple renaming and functionality stays identical.

    • feat(nestjs): Deprecate SentryTracingInterceptor, SentryService, SentryGlobalGenericFilter, SentryGlobalGraphQLFilter (#14371)

      The SentryTracingInterceptor was deprecated. If you are using @ sentry/nestjs you can safely remove any references to the SentryTracingInterceptor. If you are using another package migrate to @ sentry/nestjs and remove the SentryTracingInterceptor afterwards.

      The SentryService was deprecated and its functionality was added to Sentry.init. If you are using @ sentry/nestjs you can safely remove any references to the SentryService. If you are using another package migrate to @ sentry/nestjs and remove the SentryService afterwards.

      The SentryGlobalGenericFilter was deprecated. Use the SentryGlobalFilter instead which is a drop-in replacement.

      The SentryGlobalGraphQLFilter was deprecated. Use the SentryGlobalFilter instead which is a drop-in replacement.

    • feat(node): Deprecate nestIntegration and setupNestErrorHandler in favor of using @ sentry/nestjs (#14374)

      The nestIntegration and setupNestErrorHandler functions from @ sentry/node were deprecated and will be removed in the next major version of the SDK. If you're using @ sentry/node in a NestJS application, we recommend switching to our new dedicated @ sentry/nestjs package.

    Other Changes

    • feat(browser): Send additional LCP timing info (#14372)
    • feat(replay): Clear event buffer when full and in buffer mode (#14078)
    • feat(core): Ensure normalizedRequest on sdkProcessingMetadata is merged (#14315)
    • feat(core): Hoist everything from @ sentry/utils into @ sentry/core (#14382)
    • fix(core): Do not throw when trying to fill readonly properties (#14402)
    • fix(feedback): Fix __self and __source attributes on feedback nodes (#14356)
    • fix(feedback): Fix non-wrapping form title (#14355)
    • fix(nextjs): Update check for not found navigation error (#14378)

    Bundle size 📦

    Path Size
    @ sentry/browser 22.88 KB
    @ sentry/browser - with treeshaking flags 21.57 KB
    @ sentry/browser (incl. Tracing) 35.46 KB
    @ sentry/browser (incl. Tracing, Replay) 72.22 KB
    @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.53 KB
    @ sentry/browser (incl. Tracing, Replay with Canvas) 76.52 KB
    @ sentry/browser (incl. Tracing, Replay, Feedback) 89.02 KB
    @ sentry/browser (incl. Feedback) 39.63 KB
    @ sentry/browser (incl. sendFeedback) 27.51 KB
    @ sentry/browser (incl. FeedbackAsync) 32.32 KB
    @ sentry/react 25.58 KB
    @ sentry/react (incl. Tracing) 38.32 KB
    @ sentry/vue 27.04 KB
    @ sentry/vue (incl. Tracing) 37.27 KB
    @ sentry/svelte 23.03 KB
    CDN Bundle 24.04 KB
    CDN Bundle (incl. Tracing) 37.02 KB
    CDN Bundle (incl. Tracing, Replay) 71.81 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 77.16 KB
    CDN Bundle - uncompressed 70.9 KB
    CDN Bundle (incl. Tracing) - uncompressed 110.25 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 223.05 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.27 KB
    @ sentry/nextjs (client) 38.42 KB
    @ sentry/sveltekit (client) 35.97 KB
    @ sentry/node 134.48 KB
    @ sentry/node - without tracing 96.32 KB
    @ sentry/aws-serverless 106.57 KB
  • 8.39.0 - 2024-11-19
  • 8.39.0-dev.0 - 2024-11-12
  • 8.39.0-beta.0 - 2024-11-14
  • 8.38.0 - 2024-11-12
  • 8.37.1 - 2024-11-05
  • 8.37.0 - 2024-11-05
  • 8.36.0 - 2024-10-31
  • 8.36.0-beta.0 - 2024-10-23
  • 8.36.0-alpha.1 - 2024-10-24
  • 8.36.0-alpha.0 - 2024-10-22
  • 8.35.0 - 2024-10-21
  • 8.35.0-beta.0 - 2024-10-15
  • 8.35.0-alpha.0 - 2024-10-11
  • 8.34.0 - 2024-10-10
  • 8.34.0-internal.0 - 2024-10-10
  • 8.33.1 - 2024-10-03
  • 8.33.0 - 2024-10-02
  • 8.32.0 - 2024-09-25
  • 8.31.0 - 2024-09-23
  • 8.31.0-beta.0 - 2024-09-23
  • 8.30.0 - 2024-09-10
  • 8.29.0 - 2024-09-09
  • 8.28.0 - 2024-09-03
  • 8.27.0 - 2024-08-27
  • 8.26.0 - 2024-08-14
  • 8.25.0 - 2024-08-09
  • 8.24.0 - 2024-08-06
  • 8.23.0 - 2024-08-05
  • 8.22.0 - 2024-08-01
from @sentry/react 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/react from 8.22.0 to 8.40.0.

See this package in npm:
@sentry/react

See this project in Snyk:
https://app.snyk.io/org/bagulm123/project/cba38089-cb3f-4932-8dcc-28c113adc291?utm_source=github&utm_medium=referral&page=upgrade-pr
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