Packages

@sentry/tracing

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

Your version

7.100.0

6 Feb 2024Where it was published

7.120.4 is the newest release of 7.x.

In short

19 deprecated9 new6 fixed1 changed3 internal

  • deprecated

    reactRouterV6BrowserTracingIntegration()

  • deprecated

    reactRouterV5BrowserTracingIntegration()

  • deprecated

    reactRouterV4BrowserTracingIntegration()

  • deprecated

    reactRouterV3BrowserTracingIntegration()

  • deprecated

    angular: Export custom browserTracingIntegration()

  • deprecated

    browser: Deprecate BrowserTracing integration

  • deprecated

    browser: Export browserProfilingIntegration

  • deprecated

    bun: Export bunServerIntegration()

Release note

Important Changes

Deprecations

This release includes some deprecations. For more details please look at our
migration guide.

The deprecation most likely to affect you is the one of BrowserTracing. Instead of new BrowserTracing(), you should
now use browserTracingIntegration(), which will also handle framework-specific instrumentation out of the box for
you - no need to pass a custom routingInstrumentation anymore. For @sentry/react, we expose dedicated integrations
for the different react-router versions:

  • deprecated

    reactRouterV6BrowserTracingIntegration()

  • deprecated

    reactRouterV5BrowserTracingIntegration()

  • deprecated

    reactRouterV4BrowserTracingIntegration()

  • deprecated

    reactRouterV3BrowserTracingIntegration()

See the
migration guide
for details.

  • deprecated

    angular: Export custom browserTracingIntegration()

  • deprecated

    browser: Deprecate BrowserTracing integration

  • deprecated

    browser: Export browserProfilingIntegration

  • deprecated

    bun: Export bunServerIntegration()

  • deprecated

    nextjs: Add browserTracingIntegration

  • deprecated

    react: Add reactRouterV3BrowserTracingIntegration for react router v3

  • deprecated

    react: Add reactRouterV4/V5BrowserTracingIntegration for react router v4 & v5

  • deprecated

    react: Add reactRouterV6BrowserTracingIntegration for react router v6 & v6.4

  • deprecated

    remix: Add custom browserTracingIntegration

  • deprecated

    node: Expose functional integrations to replace classes

  • deprecated

    vercel-edge: Replace WinterCGFetch with winterCGFetchIntegration

  • deprecated

    Deprecate non-callback based continueTrace

  • deprecated

    vue: Deprecate new VueIntegration()

  • deprecated

    vue: Implement vue browserTracingIntegration()

  • deprecated

    sveltekit: Add custom browserTracingIntegration()

Profiling Node

@sentry/profiling-node has been ported into the monorepo. Future development for it will happen here!

  • pkg(profiling-node): port profiling-node repo to monorepo

Other Changes

  • Export setHttpStatus from all packages

  • bundles: Add pluggable integrations on CDN to Sentry namespace

  • core: Pass name & attributes to tracesSampler

  • feedback: Add system-ui to start of font family

  • node-experimental: Add koa integration

  • node-experimental: Update opentelemetry packages

  • node-experimental: Update tracing integrations to functional style

  • replay: Enforce masking of credit card fields

  • utils: Add propagationContextFromHeaders

  • Make startSpan, startSpanManual and startInactiveSpan pick up the scopes at time of creation instead of
    termination (#10492)

  • feedback: Fix logo color when colorScheme is "system"

  • nextjs: Do not report redirects and notFound calls as errors in server actions

  • nextjs: Fix navigation tracing on app router

  • nextjs: Apply server action data to correct isolation scope

  • node: Use normal require call to import Undici

Bundle size

PathSize
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped)78.33 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)69.57 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped)73.5 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)63.18 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)33.52 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped)33.39 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped)31.37 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped)31.37 KB
@sentry/browser - Webpack (gzipped)22.63 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)76.36 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)67.89 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)33.66 KB
@sentry/browser - ES6 CDN Bundle (gzipped)24.73 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)214.06 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)101.87 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)74.26 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)36.8 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)69.93 KB
@sentry/react - Webpack (gzipped)22.67 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)87.55 KB
@sentry/nextjs Client - Webpack (gzipped)51.72 KB
@sentry-internal/feedback - Webpack (gzipped)17.22 KB