serverless-next.js
serverless-next.js copied to clipboard
Unsupported/partially supported features as of Next.js 10.2.0
Here's a list of unsupported features I've gathered so far while working through refactoring:
- [ ] Custom headers, redirects and rewrites are missing the new
hasmatching from 10.2: https://nextjs.org/blog/next-10-2#header-cookie-and-query-matching-for-rewrites-and-redirects - [ ] Rewrites missing the new object format from 10.1 #1003
- [x] Static 500 page is unsupported: https://nextjs.org/docs/advanced-features/custom-error-page#500-page
- [ ] Locale domains: https://nextjs.org/docs/advanced-features/i18n-routing#domain-routing
- [x] Locale detection disabling: https://nextjs.org/docs/advanced-features/i18n-routing#disabling-automatic-locale-detection (indirectly possible by not forwarding accept-language)
- [ ] Measuring performance #762
- [ ] Longterm asset caching with webpack 5: https://nextjs.org/blog/next-10-2#webpack-5 (browser caches work, but invalidated in cloudfront)
Most of these I don't personally have a use case for, so have no immediate plans to implement. Static 500 is something I might do.
Static 500 pages should be supported in: https://github.com/serverless-nextjs/serverless-next.js/pull/1135
Hi, @dphang @jvarho
I do have a use case for this enhancement "Customer headers, redirects and rewrites are missing the new has matching from 10.2" and here is the issue that i created https://github.com/serverless-nextjs/serverless-next.js/issues/1297
If there any thing, i can add or modify to provide more details, i will be happy to :)
Regards, Seif
Any plan to support the new has matching soon?
First of all, awesome library! I want to implement multi tenancy and I am dependent on middleware in NextJS 12 (best solution) or 'has' and the new rewrite object structure from 10.1. What is the status on:
- Custom headers, redirects and rewrites are missing the new has matching from 10.2
- Rewrites missing the new object format from 10.1