@sentry/node
11.9.0 · 23 Oct 2026MIT36.1M / weekRepositoryHomepagenpmAtom feed
10.77.1 is the newest release of 10.x.
In short
1 deprecated7 new1 faster10 fixed31 internal
- deprecated
react-router: Always build client instrumentation and deprecate
useInstrumentationAPI
Release note
Important Changes
hono: Add support for the Deno runtime
@sentry/hononow supports the Deno runtime via a new@sentry/hono/denoentry point.
Install@sentry/denoas a peer dependency and initialize Sentry through thesentry()middleware:import { Hono } from 'hono'; import { sentry } from '@sentry/hono/deno'; const app = new Hono(); app.use( sentry(app, { dsn: '__DSN__', // or Deno.env.get('SENTRY_DSN') tracesSampleRate: 1.0, }), ); Deno.serve(app.fetch);core: Extract objects as structured logs in
consoleLoggingIntegrationThe
consoleLoggingIntegrationnow extracts structured log attributes when the first argument is a plain object.// Object keys become log attributes console.log({ userId: 123, action: 'login' }, 'User logged in'); // → attributes: { userId: 123, action: "login" } // Non-object first args use template + parameters (unchanged) console.log('Hello', 'world', 123); // → sentry.message.template: "Hello {} {}"react-router: Stabilize the instrumentation API
React Router's instrumentation API is now stable — the
@experimentalmarkers have been removed fromcreateSentryServerInstrumentation,createSentryClientInstrumentation, and the related helpers and types.
The manual server wrapperswrapServerLoaderandwrapServerActionare now deprecated in favor of it. Exportinstrumentations = [Sentry.createSentryServerInstrumentation()]from yourentry.server.tsxto instrument all loaders and actions without wrapping them individually.
Other Changes
hono: Add HTTP connection info to server spans
node-core: Attach log message and fields to pino error events
- deprecated
react-router: Always build client instrumentation and deprecate
useInstrumentationAPI react-router: Rename client navigation roots from the route pattern
astro: Resolve middleware export types
browser: Ignore
__sentry_wrapped__inherited fromFunction.prototypecore: Avoid double counting cached input tokens for Vercel AI SDK v6
core: Keep
safeJoinside-effect-free for DOM elementsdeno: Use correct paths for
moduleandtypesfields inpackage.jsonnextjs: Mark redirect server actions as
okinstead ofinternal_errorreact-router: Mark instrumentation API active on invocation
redis: Bring span attributes into alignment with conventions
sveltekit: Add
defaultexports conditiontanstackstart-react: Preserve middleware context types
core: Reuse unchanged Vercel AI messages JSON
Work in this release was contributed by @archievi, @AyaanFaisal21, @itosa-kazu, and @bkchr. Thank you for your contributions!
Internal Changes
nestjs: Migrate vendored nest instrumentation to Sentry APIs