Closed renovate[bot] closed 1 week ago
This PR contains the following updates:
8.38.0
8.40.0
π Schedule: Branch creation - "every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.
This PR contains the following updates:
8.38.0
->8.40.0
8.38.0
->8.40.0
8.38.0
->8.40.0
8.38.0
->8.40.0
Release Notes
getsentry/sentry-javascript (@sentry/browser)
### [`v8.40.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.40.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/8.39.0...8.40.0) ##### Important Changes - **feat(angular): Support Angular 19 ([#14398](https://redirect.github.com/getsentry/sentry-javascript/pull/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`: ```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](https://redirect.github.com/getsentry/sentry-javascript/pull/14363))** The `debugIntegration` was deprecated and will be removed in the next major version of the SDK. To log outgoing events, use [Hook Options](https://docs.sentry.io/platforms/javascript/configuration/options/#hooks) (`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](https://docs.sentry.io/platforms/javascript/enriching-events/context/) (`Sentry.setContext()`). - **feat(nestjs): Deprecate `@WithSentry` in favor of `@SentryExceptionCaptured` ([#14323](https://redirect.github.com/getsentry/sentry-javascript/pull/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](https://redirect.github.com/getsentry/sentry-javascript/pull/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](https://redirect.github.com/getsentry/sentry-javascript/pull/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](https://redirect.github.com/getsentry/sentry-javascript/pull/14372)) - feat(replay): Clear event buffer when full and in buffer mode ([#14078](https://redirect.github.com/getsentry/sentry-javascript/pull/14078)) - feat(core): Ensure `normalizedRequest` on `sdkProcessingMetadata` is merged ([#14315](https://redirect.github.com/getsentry/sentry-javascript/pull/14315)) - feat(core): Hoist everything from `@sentry/utils` into `@sentry/core` ([#14382](https://redirect.github.com/getsentry/sentry-javascript/pull/14382)) - fix(core): Do not throw when trying to fill readonly properties ([#14402](https://redirect.github.com/getsentry/sentry-javascript/pull/14402)) - fix(feedback): Fix `__self` and `__source` attributes on feedback nodes ([#14356](https://redirect.github.com/getsentry/sentry-javascript/pull/14356)) - fix(feedback): Fix non-wrapping form title ([#14355](https://redirect.github.com/getsentry/sentry-javascript/pull/14355)) - fix(nextjs): Update check for not found navigation error ([#14378](https://redirect.github.com/getsentry/sentry-javascript/pull/14378)) #### Bundle size π¦ | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://redirect.github.com/sentry/browser) | 22.88 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 21.57 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 35.46 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 72.22 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 62.53 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 76.52 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 89.02 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.63 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 27.51 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.32 KB | | [@sentry/react](https://redirect.github.com/sentry/react) | 25.58 KB | | [@sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 38.32 KB | | [@sentry/vue](https://redirect.github.com/sentry/vue) | 27.04 KB | | [@sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 37.27 KB | | [@sentry/svelte](https://redirect.github.com/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](https://redirect.github.com/sentry/nextjs) (client) | 38.42 KB | | [@sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 35.97 KB | | [@sentry/node](https://redirect.github.com/sentry/node) | 134.48 KB | | [@sentry/node](https://redirect.github.com/sentry/node) - without tracing | 96.32 KB | | [@sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 106.57 KB | ### [`v8.39.0`](https://redirect.github.com/getsentry/sentry-javascript/releases/tag/8.39.0) [Compare Source](https://redirect.github.com/getsentry/sentry-javascript/compare/8.38.0...8.39.0) ##### Important Changes - **feat(nestjs): Instrument event handlers ([#14307](https://redirect.github.com/getsentry/sentry-javascript/pull/14307))** The `@sentry/nestjs` SDK will now capture performance data for [NestJS Events (`@nestjs/event-emitter`)](https://docs.nestjs.com/techniques/events) ##### Other Changes - feat(nestjs): Add alias `@SentryExceptionCaptured` for `@WithSentry` ([#14322](https://redirect.github.com/getsentry/sentry-javascript/pull/14322)) - feat(nestjs): Duplicate `SentryService` behaviour into `@sentry/nestjs` SDK `init()` ([#14321](https://redirect.github.com/getsentry/sentry-javascript/pull/14321)) - feat(nestjs): Handle GraphQL contexts in `SentryGlobalFilter` ([#14320](https://redirect.github.com/getsentry/sentry-javascript/pull/14320)) - feat(node): Add alias `childProcessIntegration` for `processThreadBreadcrumbIntegration` and deprecate it ([#14334](https://redirect.github.com/getsentry/sentry-javascript/pull/14334)) - feat(node): Ensure request bodies are reliably captured for http requests ([#13746](https://redirect.github.com/getsentry/sentry-javascript/pull/13746)) - feat(replay): Upgrade rrweb packages to 2.29.0 ([#14160](https://redirect.github.com/getsentry/sentry-javascript/pull/14160)) - fix(cdn): Ensure `_sentryModuleMetadata` is not mangled ([#14344](https://redirect.github.com/getsentry/sentry-javascript/pull/14344)) - fix(core): Set `sentry.source` attribute to `custom` when calling `span.updateName` on `SentrySpan` ([#14251](https://redirect.github.com/getsentry/sentry-javascript/pull/14251)) - fix(mongo): rewrite Buffer as ? during serialization ([#14071](https://redirect.github.com/getsentry/sentry-javascript/pull/14071)) - fix(replay): Remove replay id from DSC on expired sessions ([#14342](https://redirect.github.com/getsentry/sentry-javascript/pull/14342)) - ref(profiling) Fix electron crash ([#14216](https://redirect.github.com/getsentry/sentry-javascript/pull/14216)) - ref(types): Deprecate `Request` type in favor of `RequestEventData` ([#14317](https://redirect.github.com/getsentry/sentry-javascript/pull/14317)) - ref(utils): Stop setting `transaction` in `requestDataIntegration` ([#14306](https://redirect.github.com/getsentry/sentry-javascript/pull/14306)) - ref(vue): Reduce bundle size for starting application render span ([#14275](https://redirect.github.com/getsentry/sentry-javascript/pull/14275)) #### Bundle size π¦ | Path | Size | | ---------------------------------------------------------------- | ----------------- | | [@sentry/browser](https://redirect.github.com/sentry/browser) | 22.77 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) - with treeshaking flags | 21.53 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing) | 35.27 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) | 72 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay) - with treeshaking flags | 62.38 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay with Canvas) | 76.31 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Tracing, Replay, Feedback) | 89.17 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. Feedback) | 39.93 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. sendFeedback) | 27.42 KB | | [@sentry/browser](https://redirect.github.com/sentry/browser) (incl. FeedbackAsync) | 32.23 KB | | [@sentry/react](https://redirect.github.com/sentry/react) | 25.52 KB | | [@sentry/react](https://redirect.github.com/sentry/react) (incl. Tracing) | 38.23 KB | | [@sentry/vue](https://redirect.github.com/sentry/vue) | 26.92 KB | | [@sentry/vue](https://redirect.github.com/sentry/vue) (incl. Tracing) | 37.1 KB | | [@sentry/svelte](https://redirect.github.com/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](https://redirect.github.com/sentry/nextjs) (client) | 38.35 KB | | [@sentry/sveltekit](https://redirect.github.com/sentry/sveltekit) (client) | 35.85 KB | | [@sentry/node](https://redirect.github.com/sentry/node) | 134.33 KB | | [@sentry/node](https://redirect.github.com/sentry/node) - without tracing | 96.2 KB | | [@sentry/aws-serverless](https://redirect.github.com/sentry/aws-serverless) | 106.48 KB |Configuration
π Schedule: Branch creation - "every weekend" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).
π¦ Automerge: Enabled.
β» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.