@sentry/node
11.9.0 · 23 Oct 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed
10.77.1 is the newest release of 10.x.
In short
12 new20 fixed40 internal
Release note
Important Changes
tanstackstart-react: Auto-instrument server function middleware
The
sentryTanstackStartVite plugin now automatically instruments middleware increateServerFn().middleware([...])calls. This captures performance data without requiring manual wrapping withwrapMiddlewaresWithSentry().nextjs: New experimental automatic vercel cron monitoring
Setting
_experimental.vercelCronMonitoringtotruein your Sentry configuration will automatically create Sentry cron monitors for your Vercel Cron Jobs.Please note that this is an experimental unstable feature and subject to change.
// next.config.ts export default withSentryConfig(nextConfig, { _experimental: { vercelCronMonitoring: true, }, });node-core: Add node-core/light
This release adds a new light-weight
@sentry/node-core/lightexport to@sentry/node-core. The export acts as a light-weight SDK that does not depend on OpenTelemetry and emits no spans.Use this SDK when:
You only need error tracking, logs or metrics without tracing data (no spans)
You want to minimize bundle size and runtime overhead
You don't need spans emitted by OpenTelemetry instrumentation
It supports error tracking and reporting, logs, metrics, automatic request isolation (requires Node.js 22+) and basic tracing via our
Sentry.startSpan*APIs.Install the SDK by running
npm install @sentry/node-core
and add Sentry at the top of your application's entry file:
import * as Sentry from '@sentry/node-core/light'; Sentry.init({ dsn: '__DSN__', });
Other Changes
browser: Add mode option for the browser session integration
browser: Include culture context with events
browser: Trace continuation from server-timing headers
core,cloudflare: Enable certain fields with env variables
hono: Add base for Sentry Hono middleware (Cloudflare)
nextjs: Set cloudflare runtime
node-core: Add outgoing fetch trace propagation to light mode
react: Add
lazyRouteManifestoption to resolve lazy-route namesvercel-ai: Add rerank support and fix token attribute mapping
core: Avoid blocking the process for weightBasedFlushing
core: Avoid blocking the process when calling
flushon empty buffercore: Ensure partially set SDK metadata options are preserved
core: Fix truncation to only keep last message in vercel
core: Intercept .withResponse() to preserve OpenAI stream instrumentation
core: Prevent infinite recursion when event processor throws
core: Record client report with reason for HTTP 413 responses
core: Remove outdated
_experiments.enableMetricsreferences from metrics JSDoccore: Respect event.event_id in scope.captureEvent return value
core: Use sessionId for MCP transport correlation
nextjs: Expose an event id when
captureUnderscoreErrorExceptioncaptures an exceptionnextjs: Populate SENTRY_SERVER_MODULES in Turbopack
node: Use snake_case for Fastify's
request-handlerop.nuxt: Avoid logging database skip warning when
debugis disablednuxt: Respect configured environment settings
profiling-node: 137 ABI should not be pruned for node 24
replay: Improve error messages when compression worker fails to load
svelte: Bump svelte dev dependency to
3.59.2sveltekit: Detect used adapter via
svelte.config.jstanstackstart-react: Use
auto.middleware.tanstackstartas middleware trace origin
Internal Changes
Work in this release was contributed by @limbonaut and @rfoel. Thank you for your contributions!