{
  "schemaVersion": "ebb.rule.v1",
  "id": "npm.package.next.15.support-end",
  "ecosystem": "npm",
  "purl": "pkg:npm/next",
  "affectedVersions": "vers:npm/>=15.0.0|<16.0.0",
  "event": "end-of-support",
  "severity": "high",
  "title": "Next.js 15 is out of support",
  "summary": "Next.js 15 was released on 2024-10-21. The support policy keeps each major in Maintenance LTS for two years after release, so its window ended on 2026-10-21; the policy page still listed 15.x under Supported Versions on 2026-10-25. Next.js 16 is the Active LTS release.",
  "replacement": "Next.js 16 (Active LTS)",
  "deadline": "2026-10-21",
  "sources": [
    {
      "title": "Next.js support policy",
      "url": "https://nextjs.org/support-policy",
      "accessedAt": "2026-10-25"
    },
    {
      "title": "Next.js upgrade guide: version 16",
      "url": "https://nextjs.org/docs/app/guides/upgrading/version-16",
      "accessedAt": "2026-10-25"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-25",
    "reviewedAt": "2026-10-25",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Preserve the routes, rendering modes, data fetching, and public behavior of the application; change only what the Next.js 16 upgrade guide requires."
    ],
    "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 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."
      }
    ]
  }
}
