You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add backwards compat for middleware → proxy field renames
When a new proxy config key is set but the old middlewar names is not, copy the value to the old name on the *resolved* config object. This avoids breaking changes for providers and other integrations that read the the `.next/` build output files.
Applies to:
- `experimental.proxyPrefetch` → `experimental.middlewarePrefetch`
- `experimental.externalProxyRewritesResolve` → `experimental.externalMiddlewareRewritesResolve`
- `skipProxyUrlNormalize` → `skipMiddlewareUrlNormalize`
This also adds test coverage for both the existing forward compat (old→new) and the new backwards compat (new→old).
0 commit comments