npm @sentry/browser 8.0.0-rc.2

latest releases: 7.116.0, 8.2.1, 8.2.0...
12 days ago

Important Changes

  • feat(node): Register ESM patching hooks in init for supported Node.js versions

This release includes adds support for ESM when Sentry.init() is called within a module imported via the --import
Node.js flag:

node --import ./your-file-with-sentry-init.mjs your-app.mjs

Note that the SDK only supports ESM for node versions 18.19.0 and above, and 20.6.0 above.

Other Changes

  • deps(node): Bump @opentelemetry/core to 1.24.1 and @opentelemetry/instrumentation to 0.51.1 (#11941)
  • feat(connect): Warn if connect is not instrumented (#11936)
  • feat(express): Warn if express is not instrumented (#11930)
  • feat(fastify): Warn if fastify is not instrumented (#11917)
  • feat(hapi): Warn if hapi is not instrumented (#11937)
  • feat(koa): Warn if koa is not instrumented (#11931)
  • fix(browser): Continuously record CLS web vital (#11934)
  • fix(feedback): Pick user from any scope (#11928)
  • fix(node): Fix cron instrumentation and add tests (#11811)

Bundle size 📦

Path Size
@sentry/browser 21.65 KB
@sentry/browser (incl. Tracing) 32.68 KB
@sentry/browser (incl. Tracing, Replay) 68.02 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.42 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 72.06 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 84.15 KB
@sentry/browser (incl. Feedback) 37.66 KB
@sentry/browser (incl. sendFeedback) 26.21 KB
@sentry/browser (incl. FeedbackAsync) 30.84 KB
@sentry/react 24.33 KB
@sentry/react (incl. Tracing) 35.64 KB
@sentry/vue 25.48 KB
@sentry/vue (incl. Tracing) 34.47 KB
@sentry/svelte 21.78 KB
CDN Bundle 24.13 KB
CDN Bundle (incl. Tracing) 34.05 KB
CDN Bundle (incl. Tracing, Replay) 67.72 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 72.93 KB
CDN Bundle - uncompressed 70.99 KB
CDN Bundle (incl. Tracing) - uncompressed 101 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 210.61 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 223.89 KB
@sentry/nextjs (client) 34.87 KB
@sentry/sveltekit (client) 33.24 KB
@sentry/node 147.35 KB

Don't miss a new browser release

NewReleases is sending notifications on new releases.