Next.config.js header based redirects not working when upgrading to netlify runtime v5

When upgrading to netlify runtime v5 we noticed the redirects we had configured in next.config.js based off a header
i.e “has: [{ type: “header”, key: “CloudFront-Viewer-Country”, value: (?<Country>${country}) }]” were no longer working.

Did anything change regarding nextjs redirects from v4 to v5?

It’s a major version change, so quite a bit, but for the better.

You haven’t mentioned any site name or did not provide any way for us to reproduce the issue.