Packages

@sentry/tracing

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

Your version

7.74.0

13 Oct 2023Where it was published

7.120.4 is the newest release of 7.x.

In short

1 removed1 deprecated10 new11 fixed3 internal

  • removed

    node: Remove ANR debug option and instead add logger.isEnabled()

  • deprecated

    utils: Deprecate walk method

Release note

Important Changes

  • astro: Add sentryAstro integration

This Release introduces the first alpha version of our new SDK for Astro.
At this time, the SDK is considered experimental and things might break and change in future versions.

The core of the SDK is an Astro integration which you easily add to your Astro config:

// astro.config.js
import { defineConfig } from "astro/config";
import sentry from "@sentry/astro";

export default defineConfig({
  integrations: [
    sentry({
      dsn: "__DSN__",
      sourceMapsUploadOptions: {
        project: "astro",
        authToken: process.env.SENTRY_AUTH_TOKEN,
      },
    }),
  ],
});

Check out the README for usage instructions and what to expect from this alpha release.

Other Changes

  • core: Add addIntegration utility

  • core: Add continueTrace method

  • node-experimental: Add NodeFetch integration

  • node-experimental: Use native OTEL Spans (#9161, #9214)

  • node-experimental: Sample in OTEL Sampler

  • serverlesss: Allow disabling transaction traces

  • tracing: Allow direct pg module to enable esbuild support

  • utils: Move common node ANR code to utils

  • vue: Expose VueIntegration to initialize vue app later

  • Don't set referrerPolicy on serverside fetch transports

  • Ensure we never mutate options passed to init

  • ember: Avoid pulling in utils at build time

  • ember: Drop undefined config values

  • node: Ensure mysql integration works without callback

  • node: Only require inspector when needed

  • removed

    node: Remove ANR debug option and instead add logger.isEnabled()

  • node: Strip .mjs and .cjs extensions from module name

  • replay: Fix potential broken CSS in styled-components

  • sveltekit: Flush in server wrappers before exiting

  • types: Update signature of processEvent integration hook

  • utils: Dereference DOM events after they have servered their purpose

  • deprecated

    utils: Deprecate walk method

Work in this release contributed by @aldenquimby. Thank you for your contributions!

Bundle size

PathSize
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)84.27 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)31.43 KB
@sentry/browser - Webpack (gzipped)22.02 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)78.79 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)28.6 KB
@sentry/browser - ES6 CDN Bundle (gzipped)21.02 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)254.51 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)86.76 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)62.45 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)31.48 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)84.3 KB
@sentry/react - Webpack (gzipped)22.06 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)102.21 KB
@sentry/nextjs Client - Webpack (gzipped)50.96 KB