Packages

@sentry/tracing

7.120.4 · 29 Jul 2025MIT1.8M / weekRepositoryHomepagenpmAtom feed

Your version

7.99.0

30 Jan 2024Where it was published

7.120.4 is the newest release of 7.x.

In short

4 deprecated9 new7 fixed1 internal

  • deprecated

    core: Deprecate Span.setHttpStatus in favor of setHttpStatus

  • deprecated

    core: Deprecate spanStatusfromHttpCode in favour of getSpanStatusFromHttpCode

  • deprecated

    core: Deprecate StartSpanOptions.origin in favour of passing attribute

  • deprecated

    deno: Expose functional integrations to replace classes

Release note

Important Changes

Deprecations

This release includes some deprecations for span related methods and integrations in our Deno SDK, @sentry/deno. For
more details please look at our
migration guide.

  • deprecated

    core: Deprecate Span.setHttpStatus in favor of setHttpStatus

  • deprecated

    core: Deprecate spanStatusfromHttpCode in favour of getSpanStatusFromHttpCode

  • deprecated

    core: Deprecate StartSpanOptions.origin in favour of passing attribute

  • deprecated

    deno: Expose functional integrations to replace classes

Other Changes

  • bun: Add missing @sentry/node re-exports

  • core: Add afterAllSetup hook for integrations

  • core: Ensure startSpan() can handle spans that require parent

  • core: Read propagation context off scopes in startSpan APIs

  • remix: Export missing @sentry/node functions (#10385, #10391)

  • serverless: Add missing @sentry/node re-exports

  • sveltekit: Add more missing @sentry/node re-exports

  • tracing: Export proper type for browser tracing

  • tracing: Expose new browserTracingIntegration

  • Ensure afterAllSetup is called when using addIntegration()

  • core: Export spanToTraceContext function from span utils

  • core: Make FunctionToString integration use SETUP_CLIENTS weakmap

  • deno: Call function if client is not setup

  • react: Fix attachReduxState option

  • spotlight: Use unpatched http.request

  • tracing: Only create request span if there is active span

Work in this release contributed by @AleshaOleg. Thank you for your contribution!

Bundle size

PathSize
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped)78.18 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)69.39 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped)73.28 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)63.01 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)33.41 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped)33.28 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped)31.33 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped)31.34 KB
@sentry/browser - Webpack (gzipped)22.6 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)76 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)67.54 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)33.45 KB
@sentry/browser - ES6 CDN Bundle (gzipped)24.66 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)213.12 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)101.13 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)74 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)36.56 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)69.78 KB
@sentry/react - Webpack (gzipped)22.63 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)86.45 KB
@sentry/nextjs Client - Webpack (gzipped)50.76 KB
@sentry-internal/feedback - Webpack (gzipped)17.21 KB