This repository was archived by the owner on May 10, 2021. It is now read-only.
Commit 9bf3e9f
committed
Publish 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 in
`out_publish`. Netlify Functions for SSR pages are built to
`out_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 in `netlify.toml`.1 parent c5bfede commit 9bf3e9f
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
3 | 18 | | |
4 | 19 | | |
5 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments