@sentry/serverless
7.120.4 · 29 Jul 2025MIT226.6k / weekRepositoryHomepagenpmAtom feed
7.120.4 is the newest release of 7.x.
In short
4 deprecated9 new7 fixed1 internal
- deprecated
core: Deprecate
Span.setHttpStatusin favor ofsetHttpStatus - deprecated
core: Deprecate
spanStatusfromHttpCodein favour ofgetSpanStatusFromHttpCode - deprecated
core: Deprecate
StartSpanOptions.originin 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.setHttpStatusin favor ofsetHttpStatus - deprecated
core: Deprecate
spanStatusfromHttpCodein favour ofgetSpanStatusFromHttpCode - deprecated
core: Deprecate
StartSpanOptions.originin favour of passing attribute - deprecated
deno: Expose functional integrations to replace classes
Other Changes
bun: Add missing
@sentry/nodere-exportscore: Add
afterAllSetuphook for integrationscore: Ensure
startSpan()can handle spans that require parentcore: Read propagation context off scopes in
startSpanAPIsremix: Export missing
@sentry/nodefunctions (#10385, #10391)serverless: Add missing
@sentry/nodere-exportssveltekit: Add more missing
@sentry/nodere-exportstracing: Export proper type for browser tracing
tracing: Expose new
browserTracingIntegrationEnsure
afterAllSetupis called when usingaddIntegration()core: Export
spanToTraceContextfunction from span utilscore: Make
FunctionToStringintegration use SETUP_CLIENTS weakmapdeno: 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
| Path | Size |
|---|---|
| @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 |