npm @sentry/browser 10.53.0

3 hours ago

Important Changes

  • feat(core): Add streamGenAiSpans options to stream gen_ai spans (#20785)

    Adds a new streamGenAiSpans option that controls how gen_ai spans are
    sent to Sentry. When set, the SDK extracts all gen_ai spans out of a
    transaction and sends them as v2 envelope items.

    Enable this option if gen_ai spans are being dropped because the transaction payload exceeds size limits.

    Sentry.init({
      dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0',
      streamGenAiSpans: true,
    });

Other Changes

  • feat(browser): Migrate browser profiling thread data to span attributes (#20800)
  • feat(core): Add addConsoleInstrumentationFilter utility (#20790)
  • feat(core): Add applicationKey to BuildTimeOptionsBase (#20789)
  • feat(core): split exports by browser/server for bundle size (#20435)
  • feat(nextjs): Add top-level applicationKey option (#20794)
  • feat(node): Support Node 26 (#20710)
  • feat(profiling-node): Bump @sentry-internal/node-cpu-profiler to 2.4.0 (#20720)
  • fix(cloudflare): avoid flush lock self-wait (#20719)
  • fix(hono): Capture transaction name on request for correct culprit (#20801)
  • fix(mcp): retroactively wrap handlers registered before wrapMcpServerWithSentry (#20699)
  • fix(node-core): Guard against undefined util.getSystemErrorMap (#20660)
  • fix(replay): Capture aborted/errored fetch requests in replay network tab (#20722)
Internal Changes
  • chore: bump replay dependencies (#20746)
  • chore: Typo intergation -> integration (#20799)
  • chore(deps): Bump @babel/plugin-transform-modules-systemjs from 7.24.1 to 7.29.4 (#20773)
  • chore(deps): Bump next from 15.5.15 to 15.5.18 in /dev-packages/e2e-tests/test-applications/nextjs-15 (#20818)
  • chore(deps): Bump next from 16.2.4 to 16.2.6 in /dev-packages/e2e-tests/test-applications/nextjs-16-streaming (#20811)
  • chore(deps): Bump rollup from 4.59.0 to 4.60.3 (#20716)
  • ci: Ensure PR reminder workflow considers new sub teams (#20814)
  • ci: Remove codecov reporting (#20803)
  • feat(deps): Bump bundler plugins to 5.3.0 (#20820)
  • feat(deps): Bump fast-uri from 3.0.6 to 3.1.2 (#20774)
  • feat(deps): Bump hono from 4.12.16 to 4.12.18 (#20777)
  • test(cloudflare-hono): fix 'occured' -> 'occurred' typo in error log (#20783)
  • test(deps): Bump hono from 4.12.14 to 4.12.16 (#20712)
  • test(deps): Bump hono from 4.12.14 to 4.12.18 in /dev-packages/e2e-tests/test-applications/cloudflare-hono (#20776)
  • test(e2e): Pin astro version in astro-6 test app (#20709)

Work in this release was contributed by @dmmulroy and @SAY-5. Thank you for your contributions!

Bundle size 📦

Path Size
@sentry/browser 26.22 KB
@sentry/browser - with treeshaking flags 24.69 KB
@sentry/browser (incl. Tracing) 43.69 KB
@sentry/browser (incl. Tracing + Span Streaming) 45.63 KB
@sentry/browser (incl. Tracing, Profiling) 48.56 KB
@sentry/browser (incl. Tracing, Replay) 82.4 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 72.08 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 86.99 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 99.33 KB
@sentry/browser (incl. Feedback) 43 KB
@sentry/browser (incl. sendFeedback) 30.92 KB
@sentry/browser (incl. FeedbackAsync) 35.91 KB
@sentry/browser (incl. Metrics) 27.27 KB
@sentry/browser (incl. Logs) 27.42 KB
@sentry/browser (incl. Metrics & Logs) 28.08 KB
@sentry/react 27.92 KB
@sentry/react (incl. Tracing) 45.91 KB
@sentry/vue 31.01 KB
@sentry/vue (incl. Tracing) 45.5 KB
@sentry/svelte 26.24 KB
CDN Bundle 28.55 KB
CDN Bundle (incl. Tracing) 46.05 KB
CDN Bundle (incl. Logs, Metrics) 29.89 KB
CDN Bundle (incl. Tracing, Logs, Metrics) 47.15 KB
CDN Bundle (incl. Replay, Logs, Metrics) 68.3 KB
CDN Bundle (incl. Tracing, Replay) 82.57 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 83.62 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 88.24 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 89.32 KB
CDN Bundle - uncompressed 83.97 KB
CDN Bundle (incl. Tracing) - uncompressed 138.15 KB
CDN Bundle (incl. Logs, Metrics) - uncompressed 88.07 KB
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 141.53 KB
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 209.97 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 254.08 KB
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 257.44 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 267.46 KB
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 270.81 KB
@sentry/nextjs (client) 48.36 KB
@sentry/sveltekit (client) 44.17 KB
@sentry/node-core 59.4 KB
@sentry/node 162.08 KB
@sentry/node - without tracing 72.22 KB
@sentry/aws-serverless 105.53 KB
@sentry/cloudflare (withSentry) - minified 166.66 KB
@sentry/cloudflare (withSentry) 420.38 KB

Don't miss a new browser release

NewReleases is sending notifications on new releases.