Packages

@sentry/nextjs

11.12.0 · 10 Nov 2026MIT17.7M / weekRepositoryHomepagenpmAtom feed

Upgrading @sentry/nextjs From 6.19.7 to 7.0.0

1 release in betweenevery note read

Other targets from 6.19.7Latest11.12.0
  1. 6.19.7yours
  2. 7.0.0target
  3. 6 pre

Start here

Before you upgrade

Tick each one off as you go
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0
  • Breaking7.0.0

Release by release

  1. 7.0.0

    Migration needed30 May 202210 new · 11 fixes
    • Breaking

      The internal breaking changes are aimed at libraries that build on top of and extend the JavaScript SDK (like @sentry/electron or @sentry/react-native).

    • Breaking

      Updated CommonJS distributions to use ES6 by default. If you need to support Internet Explorer 11 or old Node.js versions, we recommend using a preprocessing tool like Babel to convert Sentry packages to ES5.

    • Breaking

      Default bundle.min.js to ES6 instead of ES5. ES5 bundles are still available at bundle.es5.min.js.

    • Breaking

      Updated build system to use TypeScript 3.8.3

18 internal lines (docs, tests, tooling) left out.

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.