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

Commit 8cca21a

Browse files
committed
Publish v2.3.0
- Add support for [NextJS Preview Mode]( https://nextjs.org/docs/advanced-features/preview-mode) ([#10](#10)) Note: NextJS Preview Mode does not work on pages that are pre-rendered (pages with `getStaticProps`). Netlify currently does not support cookie-based redirects, which are needed for supporting preview mode on pre-rendered pages. Preview mode works correctly on any server-side-rendered pages (pages with `getInitialProps` or `getServerSideProps`). - Use `multiValueHeaders` in Netlify Functions for incoming requests and for outgoing responses. This offers many benefits over plain `headers`, such as setting multiple cookies within one response.
1 parent 4f43aef commit 8cca21a

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 2.3.0 (2020-06-26)
4+
5+
- Add support for [NextJS Preview Mode](https://nextjs.org/docs/advanced-features/preview-mode) ([#10](https://github.com/FinnWoelm/next-on-netlify/issues/10))
6+
7+
Note: NextJS Preview Mode does not work on pages that are pre-rendered (pages with `getStaticProps`). Netlify currently does not support cookie-based redirects, which are needed for supporting preview mode on pre-rendered pages. Preview mode works correctly on any server-side-rendered pages (pages with `getInitialProps` or `getServerSideProps`).
8+
9+
- Use `multiValueHeaders` in Netlify Functions for incoming requests and for outgoing responses. This offers many benefits over plain `headers`, such as setting multiple cookies within one response.
10+
311
## 2.2.0 (2020-06-22)
412

513
- Add support for defining custom redirects in a `_redirects` file at the project root directory. Unlike redirects specified in your `netlify.toml` file, the redirects from the `_redirects` file take precedence over those generated by `next-on-netlify` ([#21](https://github.com/FinnWoelm/next-on-netlify/pull/21))

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "next-on-netlify",
3-
"version": "2.2.0",
3+
"version": "2.3.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)