Packages

@sentry/node

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

Your version

Where each line stands

Plan an upgrade

Latest releases

All 578 releases
  1. 11.x · latest line
  2. 11.9.0

    23 Oct 2026
    • Rename diagnostic_channel, fetch and gRPC span origins

      Some span origins changed their names to match the other v11 origins:

      If you have ignoreSpans rules, queries or alerts on the old origins, change them to use the new origins.

    • deno: Add incoming request options to denoServeIntegration

      denoServeIntegration now accepts ignoreRequestBody, ignoreIncomingRequests, ignoreStaticAssets, spans, onSpanCreated and onSpanEnd, with the same meaning as in denoHttpIntegration. The callbacks receive the web Request.

      ignoreStaticAssets defaults to true, so Deno.serve no longer creates spans for GET requests to common static assets such as favicon.ico, robots.txt or *.js files. To keep these spans, set denoServeIntegration({ ignoreStaticAssets: false }). Deno.serve spans also follow the client's tracing configuration by default, so the integration does not start spans when tracing is disabled.

    • deno: Record request sessions for Deno.serve

      denoServeIntegration now records a request session for each incoming request, as denoHttpIntegration does for node:http. This gives release health and crash-free rates for Deno.serve apps. Sessions are sent only when a release is set. To turn them off, set denoServeIntegration({ sessions: false }). sessionFlushingDelayMS sets how long the SDK waits before it sends the session aggregate.

  3. 11.8.0

    15 Oct 2026
    • bundler-plugins: Release @sentry/webpack-plugin, @sentry/vite-plugin, @sentry/rollup-plugin and @sentry/esbuild-plugin from the SDK repository

      The four standalone bundler plugins now release together with the SDK, so their version jumps from 5.4.1 to the SDK version. Each package re-exports the matching @sentry/bundler-plugins entry point, which we recommend for new projects. The plugin options do not change, but the update brings these breaking changes:

    • server-utils: Instrument the OpenAI decisions API as gen_ai.decide spans

      OpenAI decisions.create calls now create gen_ai.decide spans.

    • core: Support SuppressedError in LinkedErrors integration

  4. 11.7.0

    12 Oct 2026
    • cloudflare: Add opt-in cron monitoring for Cron Triggers

      The new cronTriggersIntegration sends check-ins for Cron Triggers. Each check-in includes the schedule from controller.cron, so Sentry creates the monitor on the first run. The integration is opt-in, because monitors are billed.

      Cron Triggers have no names, so map each cron expression of your wrangler config to a monitor slug. With the Sentry Cloudflare Vite plugin, add the integration to src/instrument.server.ts:

      // src/monitorSlugs.ts
      export const monitorSlugs: Record<string, string> = {
        '30 9 * * MON-FRI': 'daily-report',
      };
      
      // src/instrument.server.ts
      import * as Sentry from '@sentry/cloudflare';
      import { monitorSlugs } from './monitorSlugs';
      
      export default Sentry.defineCloudflareOptions(env => ({
        dsn: env.SENTRY_DSN,
        integrations: [Sentry.cronTriggersIntegration({ monitorSlug: cron => monitorSlugs[cron] })],
      }));
      
      // src/index.ts
      import { monitorSlugs } from './monitorSlugs';
      
      export default {
        async scheduled(controller, env) {
          switch (monitorSlugs[controller.cron]) {
            case 'daily-report':
              // Your daily report job
              break;
          }
        },
      };

      The monitorSlug function can also return monitor settings, for example { monitorSlug: 'daily-report', maxRuntime: 30 }, or undefined to send no check-ins for a trigger. Without monitorSlug, the SDK derives the slug from the cron expression. If you deploy with wrangler directly, pass the same integration to Sentry.withSentry.

    • node: Add neonIntegration for @neondatabase/serverless (#25164, #25176)

      The new neonIntegration creates db spans for queries of the @neondatabase/serverless driver: for the WebSocket Client and Pool, and for the HTTP neon() function. This includes the neon-http and neon-serverless adapters of Drizzle. The integration is on by default when tracing is enabled.

    • node: Stop sending the process session once request sessions are tracked

      Node servers sent release health data two times: as request session aggregates, and as the process session of processSessionIntegration. An error in a request also marked the process session as errored, so the SDK counted the error two times. Now the SDK drops the process session when it tracks the first request session. Scripts, CLIs and workers that do not serve requests keep the process session, and so do servers with httpServerIntegration({ sessions: false }). This changes the release health numbers of Node servers, because they no longer send the errored or crashed update of the process session.

Dependency tracking · free for 3 projects

Know when your own dependencies move

@sentry/node had 1 security advisory in the last 12 months. Inlinr emails you the day one touches a project of yours, with the version that fixes it.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Registry facts last checked 28 Oct 2026. Releases and advisories last read 28 Oct 2026.