Packages

@sentry/serverless

7.120.4 · 29 Jul 2025MIT226.6k / weekRepositoryHomepagenpmAtom feed

Your version

7.94.1

19 Jan 2024Where it was published

7.120.4 is the newest release of 7.x.

In short

20 deprecated13 new14 fixed

  • deprecated

    Deprecate user segment field

  • deprecated

    core: Deprecate finish on Span interface in favour of end

  • deprecated

    core: Deprecate getCurrentHub()

  • deprecated

    core: Deprecate hub.bindClient() & makeMain()

  • deprecated

    core: Deprecate Span.instrumenter

  • deprecated

    core: Deprecate Span.isSuccess() in favor of reading span status

  • deprecated

    core: Deprecate Span.op in favor of op attribute

  • deprecated

    core: Deprecate Span.spanRecorder

Release note

This release fixes a publishing issue with 7.94.0.

These are the 7.94.0 release notes:

Important Changes

Deprecations

As we're moving closer to the next major version of the SDK, more public APIs were deprecated.

To get a head start on migrating to the replacement APIs, please take a look at our
migration guide.

  • deprecated

    Deprecate user segment field

  • deprecated

    core: Deprecate finish on Span interface in favour of end

  • deprecated

    core: Deprecate getCurrentHub()

  • deprecated

    core: Deprecate hub.bindClient() & makeMain()

  • deprecated

    core: Deprecate Span.instrumenter

  • deprecated

    core: Deprecate Span.isSuccess() in favor of reading span status

  • deprecated

    core: Deprecate Span.op in favor of op attribute

  • deprecated

    core: Deprecate Span.spanRecorder

  • deprecated

    core: Deprecate Span.status

  • deprecated

    core: Deprecate Span.transaction in favor of getRootSpan

  • deprecated

    core: Deprecate Transaction.instrumenter

  • deprecated

    core: Deprecate Transaction.setMeasurement in favor of setMeasurement

  • deprecated

    core: Deprecate integration classes & Integrations.X

  • deprecated

    core: Deprecate methods on Hub

  • deprecated

    core: Deprecate remaining setName declarations on Transaction and Span

  • deprecated

    core: Deprecate span startTimestamp & endTimestamp

  • deprecated

    core: Deprecate hub.bindClient() and makeMain()

  • deprecated

    types: Deprecate op on Span interface

  • deprecated

    integrations: Deprecate Transaction integration

  • deprecated

    integrations: Deprecate pluggable integration classes

Replay & Canvas

We have added a new ReplayCanvas integration (#10112), which you can add to capture the contents of canvas elements
with Replay.

Just add it in addition to the regular replay integration:

Sentry.init({
  integrations: [new Sentry.Replay(), new Sentry.ReplayCanvas()],
});

Other Changes

  • core: Add client.getIntegrationByName()

  • core: Add client.init() to replace client.setupIntegrations()

  • core: Add withActiveSpan

  • core: Add withIsolationScope

  • core: Streamline integration function results to be compatible

  • core: Write data from setUser, setTags, setExtras, setTag, setExtra, and setContext to isolation
    scope (#10163)

  • core: Add domain information to resource span data #10205

  • feedback: Export sendFeedback from @sentry/browser

  • node: Update and vendor https-proxy-agent

  • node-experimental: Add withActiveSpan

  • replays: Add snapshot function to replay canvas integration

  • types: Add SerializedEvent interface (pre v8)

  • types: Add support for new monitor config thresholds

  • Ensure all integration classes have correct types

  • astro: Fix import path when using external init files with default path

  • cdn: Emit console warning instead of error for integration shims

  • core: Take user from current scope when starting a session

  • node-experimental: Ensure http.status_code is always a string

  • node: Guard against process.argv[1] being undefined

  • node: Module name resolution

  • node: Remove leading slash in Windows filenames

  • remix: Capture thrown fetch responses.

  • tracing: Gate mongo operation span data behind sendDefaultPii

  • tracing-internal: Delay pageload transaction finish until document is interactive

  • tracing-internal: Only collect request/response spans when browser performance timing is available

  • tracing-internal: Prefer fetch init headers over fetch input headers

  • utils: Ensure dropUndefinedKeys() does not break class instances

Bundle size

PathSize
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped)77.62 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)68.88 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped)72.77 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)62.52 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)32.89 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped)31.15 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped)31.16 KB
@sentry/browser - Webpack (gzipped)22.51 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)75.2 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)66.81 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)32.66 KB
@sentry/browser - ES6 CDN Bundle (gzipped)24.21 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)210.51 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)98.48 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)72.46 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)35.71 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)69.3 KB
@sentry/react - Webpack (gzipped)22.55 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)85.88 KB
@sentry/nextjs Client - Webpack (gzipped)50.01 KB
@sentry-internal/feedback - Webpack (gzipped)17.14 KB