Skip to content
This repository was archived by the owner on May 10, 2021. It is now read-only.

Commit 9bf3e9f

Browse files
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

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

CHANGELOG.md

+15
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,20 @@
11
# Changelog
22

3+
## 2.0.0 (2020-06-02)
4+
5+
- **Breaking: You must change your `netlify.toml` configuration for next-on-netlify v2.0.0.** Please [look at the README](https://github.com/FinnWoelm/next-on-netlify#3-configure-netlify) for the latest configuration.
6+
`next-on-netlify` now builds pre-rendered pages and static assets in `out_publish`. Netlify Functions for SSR pages are built to `out_functions`.
7+
- Add support for `getStaticProps` ([#7](https://github.com/FinnWoelm/next-on-netlify/issues/7))
8+
- Add support for `getStaticPaths` with and without fallback ([#7](https://github.com/FinnWoelm/next-on-netlify/issues/7))
9+
- Add support for `getServerSideProps` ([#7](https://github.com/FinnWoelm/next-on-netlify/issues/7))
10+
- Query string parameters are now correctly passed to Next Pages and API endpoints ([#9](https://github.com/FinnWoelm/next-on-netlify/issues/9))
11+
- Response headers are now correctly set ([#9](https://github.com/FinnWoelm/next-on-netlify/issues/9#issuecomment-633288179))
12+
- 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](https://nextjs.org/docs/advanced-features/custom-error-page#customizing-the-404-page).
13+
([#2](https://github.com/FinnWoelm/next-on-netlify/issues/2))
14+
- 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.
15+
- `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.
16+
- 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`.
17+
318
## 1.2.0 (2020-04-26)
419

520
- Add support for custom NextJS build directory: If `distDir` is specified in

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "next-on-netlify",
3-
"version": "1.2.0",
3+
"version": "2.0.0",
44
"description": "Wrapper for hosting NextJS applications with Server-Side Rendering on Netlify",
55
"bin": "./next-on-netlify.js",
66
"keywords": [

0 commit comments

Comments
 (0)