npm @sentry/browser 10.9.0

16 hours ago

Important Changes

  • feat(node): Update httpIntegration handling of incoming requests (#17371)

This version updates the handling of the Node SDK of incoming requests. Instead of relying on @opentelemetry/instrumentation-http, we now handle incoming request instrumentation internally, ensuring that we can optimize performance as much as possible and avoid interop problems.

This change should not affect you, unless you're relying on very in-depth implementation details. Importantly, this also drops the _experimentalConfig option of the integration - this will no longer do anything.
Finally, you can still pass instrumentation.{requestHook,responseHook,applyCustomAttributesOnSpan} options, but they are deprecated and will be removed in v11. Instead, you can use the new incomingRequestSpanHook configuration option if you want to adjust the incoming request span.

Other Changes

  • feat(browser): Add replay.feedback CDN bundle (#17496)
  • feat(browser): Export sendFeedback from CDN bundles (#17495)
  • fix(astro): Ensure span name from beforeStartSpan isn't overwritten (#17500)
  • fix(browser): Ensure source is set correctly when updating span name in-place in beforeStartSpan (#17501)
  • fix(core): Only set template attributes on logs if parameters exist (#17480)
  • fix(nextjs): Fix parameterization for root catchall routes (#17489)
  • fix(node-core): Shut down OTel TraceProvider when calling Sentry.close() (#17499)
Internal Changes
  • chore: Add changelog script back to package.json (#17517)
  • chore: Ensure prettier is run on all files (#17497)
  • chore: Ignore prettier commit for git blame (#17498)
  • chore: Remove experimental from Nuxt SDK package description (#17483)
  • ci: Capture overhead in node app (#17420)
  • ci: Ensure we fail on cancelled jobs (#17506)
  • ci(deps): bump actions/checkout from 4 to 5 (#17505)
  • ci(deps): bump actions/create-github-app-token from 2.0.6 to 2.1.1 (#17504)
  • test(aws): Improve reliability on CI (#17502)

Bundle size 📦

Path Size
@sentry/browser 23.59 KB
@sentry/browser - with treeshaking flags 22.2 KB
@sentry/browser (incl. Tracing) 38.93 KB
@sentry/browser (incl. Tracing, Replay) 76.4 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.43 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 80.97 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 92.81 KB
@sentry/browser (incl. Feedback) 39.88 KB
@sentry/browser (incl. sendFeedback) 28.13 KB
@sentry/browser (incl. FeedbackAsync) 32.92 KB
@sentry/react 25.27 KB
@sentry/react (incl. Tracing) 40.91 KB
@sentry/vue 27.97 KB
@sentry/vue (incl. Tracing) 40.72 KB
@sentry/svelte 23.62 KB
CDN Bundle 25.06 KB
CDN Bundle (incl. Tracing) 38.82 KB
CDN Bundle (incl. Tracing, Replay) 74.25 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 79.56 KB
CDN Bundle - uncompressed 73.2 KB
CDN Bundle (incl. Tracing) - uncompressed 114.83 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 227.23 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 239.56 KB
@sentry/nextjs (client) 42.86 KB
@sentry/sveltekit (client) 39.38 KB
@sentry/node-core 48.45 KB
@sentry/node 146.74 KB
@sentry/node - without tracing 90.02 KB
@sentry/aws-serverless 103.01 KB

Don't miss a new browser release

NewReleases is sending notifications on new releases.