@sentry/node-core
10.75.2 · 22 Sep 2026MIT23.4M / weekRepositoryHomepagenpmAtom feed
10.77.1 is the newest release of 10.x.
In short
5 new7 fixed16 internal
Release note
Important Changes
core,cloudflare,deno: Add
instrumentPostgresJsSqlinstrumentationAdded a new instrumentation helper for the
postgres(postgres.js) library, designed for
SDKs that are not based on OpenTelemetry (e.g. Cloudflare, Deno). This wraps a postgres.jssqltagged template instance so that
all queries automatically create Sentry spans.import postgres from 'postgres'; import * as Sentry from '@sentry/cloudflare'; // or '@sentry/deno' export default Sentry.withSentry(env => ({ dsn: '__DSN__' }), { async fetch(request, env, ctx) { const sql = Sentry.instrumentPostgresJsSql(postgres(env.DATABASE_URL)); // All queries now create Sentry spans const users = await sql`SELECT * FROM users WHERE id = ${userId}`; return Response.json(users); }, });The instrumentation is available in
@sentry/core,@sentry/cloudflare, and@sentry/deno.nextjs: Add Turbopack support for
thirdPartyErrorFilterIntegrationWe added experimental support for the
thirdPartyErrorFilterIntegrationwith Turbopack builds.This feature requires Next.js 16+ and is currently behind an experimental flag:
// next.config.ts import { withSentryConfig } from '@sentry/nextjs'; export default withSentryConfig(nextConfig, { _experimental: { turbopackApplicationKey: 'my-app-key', }, });Then configure the integration in your client instrumentation file with a matching key:
// instrumentation-client.ts import * as Sentry from '@sentry/nextjs'; Sentry.init({ integrations: [ Sentry.thirdPartyErrorFilterIntegration({ filterKeys: ['my-app-key'], behaviour: 'apply-tag-if-exclusively-contains-third-party-frames', }), ], });
Other Changes
core,cloudflare: Add dispose to the client for proper cleanup
nextjs: Use
not: foreigncondition in turbopack loadersreact-router: Include middleware function names and indices
consola: Normalize extra keys from consola
core: Improve message truncation for multimodal content and normalize streaming span names
core: Strip inline media from multimodal content before stringification
langchain: Use runName argument in handleChainStart to fix unknown_chain spans
nestjs: Improve control flow exception filtering
tanstackstart-react: Flush events in server entry point for serverless environments
vue: Avoid triggering deprecated next callback from router instrumentation
Internal Changes
Work in this release was contributed by @YevheniiKotyrlo. Thank you for your contribution!