Skip to content

Update dependency @sentry/react to v8.22.0

Renovate requested to merge renovate/sentry-javascript-monorepo into main

This MR contains the following updates:

Package Type Update Change
@sentry/react (source) dependencies minor 8.19.0 -> 8.22.0

Release Notes

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

v8.22.0

Compare Source

Important Changes
  • feat(cloudflare): Add plugin for cloudflare pages (#​13123)

This release adds support for Cloudflare Pages to @sentry/cloudflare, our SDK for the Cloudflare Workers JavaScript Runtime! For details on how to use it, please see the README. Any feedback/bug reports are greatly appreciated, please reach out on GitHub.

// functions/_middleware.js
import * as Sentry from '@​sentry/cloudflare';

export const onRequest = Sentry.sentryPagesPlugin({
  dsn: __PUBLIC_DSN__,
  // Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
  tracesSampleRate: 1.0,
});
Other Changes
  • feat(meta-sdks): Remove runtime tags (#​13105)
  • feat(nestjs): Automatic instrumentation of nestjs guards (#​13129)
  • feat(nestjs): Filter all HttpExceptions (#​13120)
  • feat(replay): Capture exception when internal_sdk_error client report happens (#​13072)
  • fix: Use globalThis for code injection (#​13132)

v8.21.0

Compare Source

Important Changes
  • Alpha release of Official Cloudflare SDK
    • feat(cloudflare): Add withSentry method (#​13025)
    • feat(cloudflare): Add cloudflare sdk scaffolding (#​12953)
    • feat(cloudflare): Add basic cloudflare package and tests (#​12861)

This release contains the alpha version of @sentry/cloudflare, our SDK for the Cloudflare Workers JavaScript Runtime! For details on how to use it, please see the README. Any feedback/bug reports are greatly appreciated, please reach out on GitHub.

Please note that only Cloudflare Workers are tested and supported - official Cloudflare Pages support will come in an upcoming release.

Other Changes
  • feat(feedback): Make cropped screenshot area draggable (#​13071)
  • feat(core): Adapt spans for client-side fetch to streaming responses (#​12723)
  • feat(core): Capture # of dropped spans through beforeSendTransaction (#​13022)
  • feat(deps): bump @opentelemetry/instrumentation-aws-sdk from 0.43.0 to 0.43.1 (#​13089)
  • feat(deps): bump @opentelemetry/instrumentation-express from 0.41.0 to 0.41.1 (#​13090)
  • feat(nestjs): Automatic instrumentation of nestjs middleware (#​13065)
  • feat(node): Upgrade import-in-the-middle to 1.11.0 (#​13107)
  • feat(nuxt): Add connected tracing meta tags (#​13098)
  • feat(nuxt): Add vue-router instrumentation (#​13054)
  • feat(solidstart): Add server action instrumentation helper (#​13035)
  • fix(feedback): Ensure pluggable feedback CDN bundle is correctly built (#​13081)
  • fix(nextjs): Only delete clientside bundle source maps with sourcemaps.deleteFilesAfterUpload (#​13102)
  • fix(node): Improve OTEL validation logic (#​13079)

v8.20.0

Compare Source

Important Changes
  • feat(node): Allow to pass registerEsmLoaderHooks to preload (#​12998)

You can write your own custom preload script and configure this in the preload options. registerEsmLoaderHooks can be passed as an option to preloadOpenTelemetry, which allows to exclude/include packages in the preload.

  • fix(node): Do not emit fetch spans when tracing is disabled (#​13003)

Sentry will not emit "fetch" spans if tracing is disabled. This is relevant for user who use their own sampler.

Other Changes
  • feat(feedback): Trigger button aria label configuration (#​13008)
  • feat(nestjs): Change nest sdk setup (#​12920)
  • feat(node): Extend ESM hooks options for iitm v1.10.0 (#​13016)
  • feat(node): Send client reports (#​12951)
  • feat(nuxt): Automatically add BrowserTracing (#​13005)
  • feat(nuxt): Setup source maps with vite config (#​13018)
  • feat(replay): Improve public Replay APIs (#​13000)

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 MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


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

This MR has been generated by Renovate Bot.

Edited by Renovate

Merge request reports