This repository was archived by the owner on May 10, 2021. It is now read-only.
v2.0.0
- Breaking: You must change your
netlify.toml
configuration for next-on-netlify v2.0.0. Please look at the README for the latest configuration.
next-on-netlify
now builds pre-rendered pages and static assets inout_publish
. Netlify Functions for SSR pages are built toout_functions
. - Add support for
getStaticProps
(#7) - Add support for
getStaticPaths
with and without fallback (#7) - Add support for
getServerSideProps
(#7) - Query string parameters are now correctly passed to Next Pages and API endpoints (#9)
- Response headers are now correctly set (#9)
- When a user encounters a 404,
next-on-netlify
now display the NextJS 404 page rather than Netlify's default 404 page. You can customize the NextJS 404 page.
(#2) - Every page with server-side rendering is now converted to a stand-alone Netlify Function. Previously, all SSR pages were bundled in a single Netlify Function.
next-on-netlify
now prints out which pages are being converted to Netlify Functions for SSR, which pages are served as pre-rendered HTML, and the redirects that are being generated.- Adding custom redirects via a
_redirects
file in the project root is no longer supported. Let me know if you want this back. Or define your redirects innetlify.toml
.