Packages

@sentry/node

11.9.0 · 23 Oct 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed

Your version

8.3.0

22 May 2024Where it was published

8.55.2 is the newest release of 8.x.

In short

14 new6 fixed1 changed10 internal

Release note

Important Changes

  • Better Node Framework Span Data

This release improves data quality of spans emitted by Express, Fastify, Connect, Koa, Nest.js and Hapi.

  • node: Ensure connect spans have better data

  • node: Ensure express spans have better data

  • node: Ensure fastify spans have better data

  • node: Ensure hapi spans have better data

  • node: Ensure koa spans have better data

  • node: Ensure Nest.js spans have better data

  • node: No-code init via --import=@sentry/node/init

When using Sentry in ESM mode, you can now use Sentry without manually calling init like this:

 SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0 node --import=@sentry/node/init app.mjs

When using CommonJS, you can do:

 SENTRY_DSN=https://examplePublicKey@o0.ingest.sentry.io/0 node --require=@sentry/node/init app.js

Other Changes

  • browser: Ensure browserProfilingIntegration is published to CDN

  • google-cloud: Expose ESM build

  • nextjs: Ignore Prisma critical dependency warnings

  • node: Add app.free_memory info to events

  • node: Do not create GraphQL resolver spans by default

  • node: Use node: prefix for node built-ins

  • replay: Use unwrapped setTimeout to avoid e.g. angular change detection

  • core: Add dsn to span envelope header

  • feedback: Improve feedback border color in dark-mode, and prevent auto-dark mode when a theme is picked

  • feedback: Set optionOverrides to be optional in TS definition

  • nextjs: Don't put undefined values in props

  • nextjs: Fix legacy configuration method detection for emitting warning

  • node: Ensure fetch/http breadcrumbs are created correctly

Work in this release contributed by @pboling. Thank you for your contribution!

Bundle size

PathSize
@sentry/browser21.77 KB
@sentry/browser (incl. Tracing)32.92 KB
@sentry/browser (incl. Tracing, Replay)68.26 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags61.68 KB
@sentry/browser (incl. Tracing, Replay with Canvas)72.29 KB
@sentry/browser (incl. Tracing, Replay, Feedback)84.35 KB
@sentry/browser (incl. Feedback)37.78 KB
@sentry/browser (incl. sendFeedback)26.34 KB
@sentry/browser (incl. FeedbackAsync)30.76 KB
@sentry/react24.45 KB
@sentry/react (incl. Tracing)35.89 KB
@sentry/vue25.72 KB
@sentry/vue (incl. Tracing)34.74 KB
@sentry/svelte21.91 KB
CDN Bundle24.29 KB
CDN Bundle (incl. Tracing)34.35 KB
CDN Bundle (incl. Tracing, Replay)68.05 KB
CDN Bundle (incl. Tracing, Replay, Feedback)73.05 KB
CDN Bundle - uncompressed71.47 KB
CDN Bundle (incl. Tracing) - uncompressed101.88 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed211.51 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed223.86 KB
@sentry/nextjs (client)35.17 KB
@sentry/sveltekit (client)33.52 KB
@sentry/node114.09 KB
@sentry/aws-serverless103 KB