[autoconfig] Bump Next.js minimum versions & provide an automatic upgrade path - #14892
Open
ajhawkings wants to merge 1 commit into
Open
[autoconfig] Bump Next.js minimum versions & provide an automatic upgrade path#14892ajhawkings wants to merge 1 commit into
ajhawkings wants to merge 1 commit into
Conversation
🦋 Changeset detectedLatest commit: 082b0a9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
ajhawkings
marked this pull request as draft
July 28, 2026 10:35
workers-devprod
requested review from
a team and
emily-shen
and removed request for
a team
July 28, 2026 10:36
Contributor
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
@cloudflare/autoconfig
@cloudflare/config
create-cloudflare
@cloudflare/deploy-helpers
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-auth
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
ajhawkings
force-pushed
the
ahawkings/next-autoconfig-upgrade
branch
from
July 28, 2026 10:59
c095cff to
6fe4d5a
Compare
ajhawkings
marked this pull request as ready for review
July 28, 2026 13:29
ajhawkings
force-pushed
the
ahawkings/next-autoconfig-upgrade
branch
from
July 28, 2026 14:52
6fe4d5a to
082b0a9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi team, it's Angus here
Since opennextjs/opennextjs-cloudflare#1313, OpenNext requires minimum next versions
">=15.5.21 <16 || >=16.2.11". This PR bumps the minimum version in autoconfig to be15.5.21To make migrating simpler, this PR adds logic to automatically upgrade old (& vulnerable) Next 15 and 16 versions to the earliest compatible version within the same major release. Previously,

@opennextjs/cloudflare migrate --force-installwas run. This prints a bunch of peer dependency errors to the terminal during install but still succeeds, and lets users deploy the old version. This PR instead adds upgrading to autoconfig - which now confirms with the user that it will upgrade to the supported version:A picture of a cute animal (not mandatory, but encouraged)