This repository was archived by the owner on May 10, 2021. It is now read-only.
Commit 8cca21a
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
3 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| 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