From bc96fc63295a4c47ee3a3276a667c2717709a979 Mon Sep 17 00:00:00 2001 From: Paul Aderoju Date: Thu, 8 Oct 2026 17:12:09 +0100 Subject: [PATCH 1/2] chore: raise minimum supported Next.js, React and Node.js versions Next.js 15 and earlier, and Node.js 20 and earlier, are end-of-life or about to be. Require the versions that are still supported, matching what CI tests. BREAKING CHANGE: next-cloudinary now requires Next.js 16, React 18.2 or 19, and Node.js 22 or later. Projects on older versions can stay on v6. --- next-cloudinary/package.json | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/next-cloudinary/package.json b/next-cloudinary/package.json index c05b2d4a..ef1be645 100644 --- a/next-cloudinary/package.json +++ b/next-cloudinary/package.json @@ -58,8 +58,11 @@ "vitest": "^2.0.5" }, "peerDependencies": { - "next": "^12 || ^13 || ^14 || >=15.0.0-rc || ^15 || ^16", - "react": "^17 || ^18 || >=19.0.0-beta || ^19" + "next": "^16", + "react": "^18.2.0 || ^19" + }, + "engines": { + "node": ">=22" }, "preconstruct": { "exports": { From f17dfb3f02ada2f90341135a740683cbc9a0786f Mon Sep 17 00:00:00 2001 From: Paul Aderoju Date: Thu, 8 Oct 2026 17:12:22 +0100 Subject: [PATCH 2/2] ci: test on Node.js 22 and 24 --- .github/workflows/test_and_release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test_and_release.yml b/.github/workflows/test_and_release.yml index 6a002ccc..f9f1145d 100644 --- a/.github/workflows/test_and_release.yml +++ b/.github/workflows/test_and_release.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node: [ '20', '22' ] + node: [ '22', '24' ] steps: - uses: actions/checkout@v6