Closed
Description
Summary
Next 13.0.1 introduces a breaking change that adds a ResponseCookies
class. This new class uses the deprecated method, getAll
, which is not implemented in Deno's fetch
and thus throws a 500 error.
I imagine the solution will be to polyfill the method in the @netlify/next middleware response object.
Steps to reproduce
- Clone repro site
- Run
ntl dev
A link to a reproduction repository
https://github.com/orinokai/test-next-adv-middleware
Next Runtime version
4.28.3
More information about your build
- I am building using the CLI
- I am building using file-based configuration (
netlify.toml
)
What OS are you using?
Mac OS
Your netlify.toml file
`netlify.toml`
# Paste content of your `netlify.toml` file here
Your public/_redirects file
`_redirects`
# Paste content of your `_redirects` file here
Your next.config.js
file
`next.config.js`
# Paste content of your `next.config.js` file here. Check there is no private info in there.
Builds logs (or link to your logs)
Build logs
# Paste logs here
Function logs
Function logs
# Paste logs here
.next JSON files
generated .next JSON files
# Paste file contents here. Please check there isn't any private info in them
# You can either build locally, or download the deploy from Netlify by clicking the arrow next to the deploy time.