Packages

@sentry/tracing

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

Your version

7.75.0

24 Oct 2023Where it was published

7.120.4 is the newest release of 7.x.

In short

9 new10 fixed3 changed2 internal

Release note

Important Changes

This release publishes a new package, @sentry/opentelemetry. This is a runtime agnostic replacement for @sentry/opentelemetry-node and exports a couple of useful utilities which can be used to use Sentry together with OpenTelemetry.

You can read more about @sentry/opentelemetry in the Readme.

  • replay: Allow to treeshake rrweb features

Starting with this release, you can configure the following build-time flags in order to reduce the SDK bundle size:

  • __RRWEB_EXCLUDE_CANVAS__

  • __RRWEB_EXCLUDE_IFRAME__

  • __RRWEB_EXCLUDE_SHADOW_DOM__

You can read more about tree shaking in our docs.

Other Changes

  • Remove tslib

  • node: Add abnormal session support for ANR

  • node: Remove lru_map dependency

  • node: Vendor cookie module

  • replay: Share performance instrumentation with tracing

  • types: Add missing Profiling types (macho debug image, profile measurements, stack frame properties)

  • types: Add statsd envelope types

  • astro: Add integration default export to types entry point

  • astro: Convert SDK init file import paths to POSIX paths

  • astro: Make Replay and BrowserTracing integrations tree-shakeable

  • integrations: Fix transaction integration

  • nextjs: Restore autoInstrumentMiddleware functionality

  • nextjs: Guard for case where getInitialProps may return undefined

  • node-experimental: Make node-fetch support optional

  • node: Check buffer length when attempting to parse ANR frame

  • replay: Fix xhr start timestamps

  • tracing-internal: Remove query params from urls with a trailing slash

Bundle size

PathSize
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)82.66 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)71.77 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)30.94 KB
@sentry/browser - Webpack (gzipped)21.26 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)73.03 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)28.93 KB
@sentry/browser - ES6 CDN Bundle (gzipped)21.09 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)233.81 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)87.77 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)62.76 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)31.71 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)83.05 KB
@sentry/react - Webpack (gzipped)21.29 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)99.43 KB
@sentry/nextjs Client - Webpack (gzipped)47.83 KB