Skip to content

Bump @sentry/nextjs from 7.99.0 to 8.20.0

Bumps @sentry/nextjs from 7.99.0 to 8.20.0.

Release notes

Sourced from @​sentry/nextjs's releases.

8.20.0

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)

Bundle size 📦

Path Size
@​sentry/browser 22.31 KB
@​sentry/browser (incl. Tracing) 33.72 KB
@​sentry/browser (incl. Tracing, Replay) 69.82 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.16 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 74.21 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 86.58 KB
@​sentry/browser (incl. Tracing, Replay, Feedback, metrics) 88.45 KB
@​sentry/browser (incl. metrics) 26.62 KB
@​sentry/browser (incl. Feedback) 39.02 KB
@​sentry/browser (incl. sendFeedback) 26.93 KB
@​sentry/browser (incl. FeedbackAsync) 31.57 KB
@​sentry/react 25.08 KB
@​sentry/react (incl. Tracing) 36.8 KB
@​sentry/vue 26.45 KB
@​sentry/vue (incl. Tracing) 35.61 KB
@​sentry/svelte 22.44 KB
CDN Bundle 23.52 KB
CDN Bundle (incl. Tracing) 35.5 KB
CDN Bundle (incl. Tracing, Replay) 69.86 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 75.15 KB
CDN Bundle - uncompressed 69 KB
CDN Bundle (incl. Tracing) - uncompressed 105.1 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 216.74 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 229.57 KB

... (truncated)

Changelog

Sourced from @​sentry/nextjs's changelog.

8.20.0

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)

8.19.0

  • feat(core): Align Span interface with OTEL (#12898)
  • fix(angular): Remove afterSendEvent listener once root injector is destroyed (#12786)
  • fix(browser): Fix bug causing unintentional dropping of transactions (#12933)
  • fix(feedback): Add a missing call of Actor.appendToDom method when DOMContentLoaded event is triggered (#12973)
  • feat(vercel-edge): Add dedupe as default integration (#12957)
  • fix(node): Pass inferred name & attributes to tracesSampler (#12945)
  • feat(express): Allow to pass options to setupExpressErrorHandler (#12952)

Work in this release was contributed by @​jaspreet57 and @​arturovt. Thank you for your contribution!

8.18.0

Important Changes

  • ref: Deprecate enableTracing (12897)

The enableTracing option has been deprecated and will be removed in the next major version. We recommend removing it in favor of the tracesSampleRate and tracesSampler options. If you want to enable performance monitoring, please set the tracesSampleRate to a sample rate of your choice, or provide a sampling function as tracesSampler option instead. If you want to disable performance monitoring, remove the tracesSampler and tracesSampleRate options.

Other Changes

  • feat(node): Expose exclude and include options for ESM loader (#12910)
  • feat(browser): Add user agent to INP standalone span attributes (#12896)

... (truncated)

Commits
  • cdd0a92 release: 8.20.0
  • 13d29c3 Merge pull request #13036 from getsentry/prepare-release/8.20.0
  • 84f6fee meta(changelog): Update changelog for 8.20.0
  • ea07ec7 feat(nuxt): Setup source maps with vite config (#13018)
  • aaaedbc docs(nuxt): Add readme docs for server-side setup (ESM) (#13019)
  • 4bdd979 feat(replay): Improve public Replay APIs (#13000)
  • b2dded8 test(solid): Switch to explicit vitest imports (#13028)
  • 04a26a4 feat(node): Extend ESM hooks options for iitm v1.10.0 (#13016)
  • 65042b5 feat(feedback): Trigger button aria label configuration (#13008)
  • edea287 chore(google-cloud): Update private key used for tests (#13023)
  • Additional commits viewable in compare view

Merge request reports