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

fix(deps): update sentry-javascript monorepo to v8.40.0 #6098

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/nextjs (source) 8.38.0 -> 8.40.0 age adoption passing confidence
@sentry/react (source) 8.38.0 -> 8.40.0 age adoption passing confidence

Release Notes

getsentry/sentry-javascript (@​sentry/nextjs)

v8.40.0

Compare Source

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

v8.39.0

Compare Source

Important Changes
  • feat(nestjs): Instrument event handlers (#​14307)

The @sentry/nestjs SDK will now capture performance data for NestJS Events (@nestjs/event-emitter)

Other Changes
  • feat(nestjs): Add alias @SentryExceptionCaptured for @WithSentry (#​14322)
  • feat(nestjs): Duplicate SentryService behaviour into @sentry/nestjs SDK init() (#​14321)
  • feat(nestjs): Handle GraphQL contexts in SentryGlobalFilter (#​14320)
  • feat(node): Add alias childProcessIntegration for processThreadBreadcrumbIntegration and deprecate it (#​14334)
  • feat(node): Ensure request bodies are reliably captured for http requests (#​13746)
  • feat(replay): Upgrade rrweb packages to 2.29.0 (#​14160)
  • fix(cdn): Ensure _sentryModuleMetadata is not mangled (#​14344)
  • fix(core): Set sentry.source attribute to custom when calling span.updateName on SentrySpan (#​14251)
  • fix(mongo): rewrite Buffer as ? during serialization (#​14071)
  • fix(replay): Remove replay id from DSC on expired sessions (#​14342)
  • ref(profiling) Fix electron crash (#​14216)
  • ref(types): Deprecate Request type in favor of RequestEventData (#​14317)
  • ref(utils): Stop setting transaction in requestDataIntegration (#​14306)
  • ref(vue): Reduce bundle size for starting application render span (#​14275)

Bundle size 📦

Path Size
@​sentry/browser 22.77 KB
@​sentry/browser - with treeshaking flags 21.53 KB
@​sentry/browser (incl. Tracing) 35.27 KB
@​sentry/browser (incl. Tracing, Replay) 72 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.38 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 76.31 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 89.17 KB
@​sentry/browser (incl. Feedback) 39.93 KB
@​sentry/browser (incl. sendFeedback) 27.42 KB
@​sentry/browser (incl. FeedbackAsync) 32.23 KB
@​sentry/react 25.52 KB
@​sentry/react (incl. Tracing) 38.23 KB
@​sentry/vue 26.92 KB
@​sentry/vue (incl. Tracing) 37.1 KB
@​sentry/svelte 22.91 KB
CDN Bundle 24.13 KB
CDN Bundle (incl. Tracing) 37.05 KB
CDN Bundle (incl. Tracing, Replay) 71.72 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.07 KB
CDN Bundle - uncompressed 70.73 KB
CDN Bundle (incl. Tracing) - uncompressed 109.94 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.46 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.68 KB
@​sentry/nextjs (client) 38.35 KB
@​sentry/sveltekit (client) 35.85 KB
@​sentry/node 134.33 KB
@​sentry/node - without tracing 96.2 KB
@​sentry/aws-serverless 106.48 KB

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

vercel bot commented Nov 23, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
monorepo-nextjs-app ⬜️ Ignored (Inspect) Visit Preview Nov 23, 2024 9:19am
monorepo-vite-app ⬜️ Ignored (Inspect) Visit Preview Nov 23, 2024 9:19am

Copy link

changeset-bot bot commented Nov 23, 2024

⚠️ No Changeset found

Latest commit: 229ca14

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

codeclimate bot commented Nov 23, 2024

Code Climate has analyzed commit 229ca14 and detected 0 issues on this pull request.

View more on Code Climate.

@belgattitude belgattitude merged commit c38b02e into main Nov 23, 2024
14 of 15 checks passed
@belgattitude belgattitude deleted the renovate/sentry-javascript-monorepo branch November 23, 2024 09:47
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.

1 participant