yarn @sentry/nextjs 8.0.0-beta.3

latest releases: 7.120.0, 8.39.0-dev.0, 8.38.0...
6 months ago

Important Changes

  • feat(opentelemetry): Add addOpenTelemetryInstrumentation (#11667)

A utility function addOpenTelemetryInstrumentation was added that allows for the registration of instrumentations that
conform to the OpenTelemetry JS API without having to specify @opentelemetry/instrumentation as a dependency.

  • ref(core): Don't start transaction for trpc middleware (#11697)

Going forward, the Sentry trpcMiddleware will only create spans. Previously it used to always create a transaction.
This change was made to integrate more nicely with the HTTP instrumentation added in earlier versions to avoid creating
unnecessary transactions.

Other Changes

  • feat(nextjs): Instrument outgoing http requests (#11685)
  • feat(opentelemetry): Remove setupGlobalHub (#11668)
  • fix: Missing ErrorEvent export are added to node, browser, bun, deno, vercel-edge sub-packages (#11649)
  • fix(nextjs): Do not sample next spans if they have remote parent (#11680)
  • fix(nextjs): Re-enable OTEL fetch instrumentation and disable Next.js fetch instrumentation (#11686)
  • fix(node): Ensure DSC on envelope header uses root span (#11683)
  • ref(browser): Streamline pageload span creation and scope handling (#11679)
  • ref(core): Directly use endSession (#11669)

Bundle size 📦

Path Size
@sentry/browser 21.67 KB
@sentry/browser (incl. Tracing) 31.4 KB
@sentry/browser (incl. Tracing, Replay) 66.73 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.14 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 70.57 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 80.44 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.31 KB
@sentry/vue 25.2 KB
@sentry/vue (incl. Tracing) 33.12 KB
@sentry/svelte 21.79 KB
CDN Bundle 24.03 KB
CDN Bundle (incl. Tracing) 32.71 KB
CDN Bundle (incl. Tracing, Replay) 66.37 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 82.57 KB
CDN Bundle - uncompressed 70.85 KB
CDN Bundle (incl. Tracing) - uncompressed 97.5 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 207.16 KB
@sentry/nextjs (client) 33.64 KB
@sentry/sveltekit (client) 31.9 KB
@sentry/node 160.37 KB

Don't miss a new nextjs release

NewReleases is sending notifications on new releases.