Packages

@sentry/node

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

Your version

9.33.0

27 Jun 2025Where it was published

9.47.2 is the newest release of 9.x.

In short

5 new1 fixed

Release note

Important Changes

  • Add opt-in vercelAiIntegration to cloudflare & vercel-edge

The vercelAiIntegration is now available as opt-in for the Cloudflare and the Next.js SDK for Vercel Edge.
To use it, add the integration in Sentry.init

Sentry.init({
  tracesSampleRate: 1.0,
  integrations: [Sentry.vercelAIIntegration()],
});

And enable telemetry for Vercel AI calls

const result = await generateText({
  model: openai('gpt-4o'),
  experimental_telemetry: {
    isEnabled: true,
  },
});
  • node: Add postgresjs instrumentation

The Node.js SDK now includes instrumentation for Postgres.js.

  • node: Use diagnostics channel for Fastify v5 error handling

If you're on Fastify v5, you no longer need to call setupFastifyErrorHandler. It is done automatically by the node SDK. Older versions still rely on calling setupFastifyErrorHandler.

Other Changes

  • cloudflare: Allow interop with OpenTelemetry emitted spans

  • cloudflare: Flush after waitUntil

  • nextjs: Remove ai from default server external packages

Work in this release was contributed by @0xbad0c0d3. Thank you for your contribution!