Gerald Monaco
402f0360ce
Refactor decode failures ( #26899 )
2021-07-05 18:31:32 +02:00
Tim Neutkens
5b9ad8da90
Move next-server directory files to server directory ( #26756 )
...
* Move next-server directory files to server directory
* Update tests
* Update paths in other places
2021-06-30 13:44:40 +02:00
Joe Haddad
079c629165
experimental: remove legacy plugin system ( #20759 )
...
* chore: remove old plugins implementation
* chore: remove `onErrorMiddleware`
* Reduce allowed middleware
* remove collect plugins file
* remove old tests
* remove old demo packages
2021-04-22 14:03:13 -05:00
JJ Kasper
75c721c583
Add has route field ( #22341 )
...
This adds support for a `has` field to `rewrites`, `redirects`, and `headers` to allow matching against `header`, `cookie`, and `query` values. Documentation and additional tests for the feature is also added in this PR.
Closes: https://github.com/vercel/next.js/issues/22345
2021-03-24 16:50:16 +00:00
JJ Kasper
899a29cade
Break up the serverless loader into typed handlers ( #19511 )
...
This breaks up the `serverless-loader` into typed handlers to allow for easier maintenance and better type-checking/linting.
Closes: https://github.com/vercel/next.js/issues/19071
2020-11-25 19:56:18 +00:00