@sentry/nextjs
11.12.0 · 10 Nov 2026MIT17.7M / weekRepositoryHomepagenpmAtom feed
10.78.0 is the newest release of 10.x.
In short
1 deprecated1 new1 fixed1 internal
- Deprecated
v10/node: Deprecate
shouldHandleErroronsetupExpressErrorHandlerandsetupFasitfyErrorHandler
Security
1 advisory affects 10.73.0; 10.75.2 fixes them
- CriticalSentry-Javascript: Middleware Bypass when using Tunnel routeGHSA-mchm-gjx6-7h55 · 22 Oct 2026Fixed in 10.75.2
Release note
Important Changes
v10/nextjs: Add
@sentry/nextjs/configentry pointwithSentryConfigis now available from@sentry/nextjs/config, the path it moves to in v11. Importing it from@sentry/nextjsstill works on v10 but logs a warning once, so you can change yournext.configfile today and upgrade to v11 without touching it again.// next.config.mjs - import { withSentryConfig } from '@sentry/nextjs'; + import { withSentryConfig } from '@sentry/nextjs/config';
Other Changes
- Deprecated
v10/node: Deprecate
shouldHandleErroronsetupExpressErrorHandlerandsetupFasitfyErrorHandler v10/cloudflare: Instrument Durable Object handlers installed as read-only properties
Internal Changes
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.