Next.js 12 is out of support
End of support as of 2023-10-26. Replacement: Next.js 16 (Active LTS). Source: Next.js support policy.
Check a version:
evergreen check pkg:npm/next
Next.js 12 was released on 2021-10-26 and is listed under Unsupported Versions in the support policy. Its two-year Maintenance LTS window ended on 2023-10-26.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | End of support |
| Severity | high |
| Ecosystem | npm |
| Component | pkg:npm/next |
| Affected versions | vers:npm/>=12.0.0\|<13.0.0 |
| Date from the source | 2023-10-26 |
| Replacement | Next.js 16 (Active LTS) |
| Evidence last seen | 2026-10-21 |
| Reviewed | 2026-10-21 by arminazimi |
| Review due | 2027-10-21 (365 days after the last review) |
| Rule ID | npm.package.next.12.support-end |
Sources
- Next.js support policy (accessed 2026-10-21)
- Next.js upgrade guide: version 13 (accessed 2026-10-21)
- Next.js upgrade guide: version 14 (accessed 2026-10-21)
- Next.js upgrade guide: version 15 (accessed 2026-10-21)
- Next.js upgrade guide: version 16 (accessed 2026-10-21)
Migration
Constraints
- Preserve the routes, rendering modes, data fetching, and public behavior of the application; change only what each official upgrade guide requires.
- Upgrade one major at a time (13, 14, 15, then 16) and verify each step before the next.
Steps
- Move next to a supported major. Set the next dependency to the Active LTS release (16.x) in the package.json that declares it, then align react and react-dom with the versions the guides require. The 15 guide requires React 19.
- Apply the upgrade guides in order. Work through the official upgrade guides for 13, 14, 15 and 16, one major at a time, and resolve each breaking change they list before starting the next. Check the Node.js minimum each guide states.
- Run the official codemods. Run the codemods the guides name (for example the upgrade codemod from @next/codemod) or make the same changes by hand, and review every change before committing.
- Replace renamed or removed APIs. Replace the imports, components, and configuration options that the guides rename or remove, such as the target option removed in Next.js 13 and next lint removed in Next.js 16.
Verification
npm run build --if-present: Build the application with the upgraded Next.js.npm run test --if-present: Run the repository tests when defined.npm run lint --if-present: Lint with the ESLint CLI; the next lint command is removed in Next.js 16.
Detected by
The npm detector. See Detectors and Compatibility.
Related
Other versions of this product
Same ecosystem
- abab is deprecated
- @angular/core v18 and older are no longer supported
- @angular/core v19 is no longer supported
- @angular/core v20 reaches end of life on 2026-11-28
- @angular/core v21 reaches end of life on 2027-06-30
- @angular/core v22 reaches end of life on 2028-06-30
- are-we-there-yet is no longer supported
- babel-eslint is deprecated
Data
This page is generated from registry/npm.json, rule npm.package.next.12.support-end, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated