Skip to content

8.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 17 Apr 13:45

Important Changes

  • feat(browser): Update propagationContext on spanEnd to keep trace consistent

To ensure consistency throughout a route's duration, we update the scope's propagation context when the initial page
load or navigation span ends. This keeps span-specific attributes like the sampled decision and dynamic sampling context
on the scope, even after the transaction has ended.

  • fix(browser): Don't assume window.document is available (#11602)

We won't assume window.dodument is available in the browser SDKs anymore. This should prevent errors in environments
where window.document is not available (such as web workers).

Other changes

  • feat(core): Add server.address to browser http.client spans (#11634)
  • feat(opentelemetry): Update OTEL packages & relax some version ranges (#11580)
  • feat(deps): bump @opentelemetry/instrumentation-hapi from 0.34.0 to 0.36.0 (#11496)
  • feat(deps): bump @opentelemetry/instrumentation-koa from 0.37.0 to 0.39.0 (#11495)
  • feat(deps): bump @opentelemetry/instrumentation-pg from 0.38.0 to 0.40.0 (#11494)
  • feat(nextjs): Skip OTEL root spans emitted by Next.js (#11623)
  • feat(node): Collect Local Variables via a worker (#11586)
  • fix(nextjs): Escape Next.js' OpenTelemetry instrumentation (#11625)
  • fix(feedback): Fix timeout on feedback submission (#11619)
  • fix(node): Allow use of NodeClient without calling init (#11585)
  • fix(node): Ensure DSC is correctly set in envelope headers (#11628)

Bundle size 📦

Path Size
@sentry/browser 21.67 KB
@sentry/browser (incl. Tracing) 31.46 KB
@sentry/browser (incl. Tracing, Replay) 66.79 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.19 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 70.62 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 80.5 KB
@sentry/browser (incl. Feedback) 35.25 KB
@sentry/browser (incl. Feedback, Feedback Modal) 35.25 KB
@sentry/browser (incl. Feedback, Feedback Modal, Feedback Screenshot) 37.28 KB
@sentry/browser (incl. sendFeedback) 26.46 KB
@sentry/react 24.35 KB
@sentry/react (incl. Tracing) 34.37 KB
@sentry/vue 25.2 KB
@sentry/vue (incl. Tracing) 33.18 KB
@sentry/svelte 21.79 KB
CDN Bundle 24.03 KB
CDN Bundle (incl. Tracing) 32.76 KB
CDN Bundle (incl. Tracing, Replay) 66.4 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 82.6 KB
CDN Bundle - uncompressed 70.86 KB
CDN Bundle (incl. Tracing) - uncompressed 97.59 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 207.25 KB
@sentry/nextjs (client) 33.7 KB
@sentry/sveltekit (client) 31.96 KB
@sentry/node 153.46 KB