{
  "schemaVersion": "ebb.rule.v1",
  "id": "npm.package.next.14.support-end",
  "ecosystem": "npm",
  "purl": "pkg:npm/next",
  "affectedVersions": "vers:npm/>=14.0.0|<15.0.0",
  "event": "end-of-support",
  "severity": "high",
  "title": "Next.js 14 is out of support",
  "summary": "Next.js 14 was released on 2023-10-26 and is listed under Unsupported Versions in the support policy. Its two-year Maintenance LTS window ended on 2025-10-26.",
  "replacement": "Next.js 16 (Active LTS)",
  "deadline": "2025-10-26",
  "sources": [
    {
      "title": "Next.js support policy",
      "url": "https://nextjs.org/support-policy",
      "accessedAt": "2026-10-21"
    },
    {
      "title": "Next.js upgrade guide: version 15",
      "url": "https://nextjs.org/docs/app/guides/upgrading/version-15",
      "accessedAt": "2026-10-21"
    },
    {
      "title": "Next.js upgrade guide: version 16",
      "url": "https://nextjs.org/docs/app/guides/upgrading/version-16",
      "accessedAt": "2026-10-21"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-21",
    "reviewedAt": "2026-10-21",
    "reviewer": "arminazimi"
  },
  "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 (15, then 16) and verify each step before the next."
    ],
    "steps": [
      {
        "id": "set-next-version",
        "title": "Move next to a supported major",
        "instructions": "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.",
        "targets": "declaration"
      },
      {
        "id": "apply-upgrade-guides",
        "title": "Apply the upgrade guides in order",
        "instructions": "Work through the official upgrade guides for 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.",
        "targets": "all"
      },
      {
        "id": "run-upgrade-codemods",
        "title": "Run the official codemods",
        "instructions": "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.",
        "targets": "all"
      },
      {
        "id": "replace-retired-apis",
        "title": "Replace renamed or removed APIs",
        "instructions": "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.",
        "targets": "usages"
      }
    ],
    "verification": [
      {
        "command": "npm run build --if-present",
        "purpose": "Build the application with the upgraded Next.js."
      },
      {
        "command": "npm run test --if-present",
        "purpose": "Run the repository tests when defined."
      },
      {
        "command": "npm run lint --if-present",
        "purpose": "Lint with the ESLint CLI; the next lint command is removed in Next.js 16."
      }
    ]
  }
}
