|
6 | 6 |
|
7 | 7 | ## 2.3.1 (2020-07-19)
|
8 | 8 |
|
9 |
| -- Fix: Correctly get distDir from `next.config.js` when config is a function ([#25](https://github.com/FinnWoelm/next-on-netlify/issues/25)) |
| 9 | +- Fix: Correctly get distDir from `next.config.js` when config is a function ([#25](https://github.com/netlify/next-on-netlify/issues/25)) |
10 | 10 |
|
11 | 11 | ## 2.3.0 (2020-06-26)
|
12 | 12 |
|
13 |
| -- Add support for [NextJS Preview Mode](https://nextjs.org/docs/advanced-features/preview-mode) ([#10](https://github.com/FinnWoelm/next-on-netlify/issues/10)) |
| 13 | +- Add support for [NextJS Preview Mode](https://nextjs.org/docs/advanced-features/preview-mode) ([#10](https://github.com/netlify/next-on-netlify/issues/10)) |
14 | 14 |
|
15 | 15 | 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`).
|
16 | 16 |
|
17 | 17 | - 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.
|
18 | 18 |
|
19 | 19 | ## 2.2.0 (2020-06-22)
|
20 | 20 |
|
21 |
| -- 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)) |
| 21 | +- 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/netlify/next-on-netlify/pull/21)) |
22 | 22 |
|
23 | 23 | ## 2.1.0 (2020-06-14)
|
24 | 24 |
|
25 |
| -- Add support for [NextJS optional catch-all routes](https://nextjs.org/docs/api-routes/dynamic-api-routes#optional-catch-all-api-routes) ([#15](https://github.com/FinnWoelm/next-on-netlify/pull/15)) |
26 |
| -- Fix: An `index.js` page with `getStaticProps` no longer causes `next-on-netlify` to fail ([#18](https://github.com/FinnWoelm/next-on-netlify/pull/18)) |
27 |
| -- Fix: Catch-all routes now correctly require that at least one URL parameter is present (unlike optional catch-all routes) ([479b7e7](https://github.com/FinnWoelm/next-on-netlify/commit/479b7e73f1a11778eb5ef66ded02aa1c17e38697)) |
28 |
| -- Fix: Data routes now correctly work for pages with catch-all routing ([0412b45](https://github.com/FinnWoelm/next-on-netlify/commit/0412b45fe3917a082be563c1720e85cf3affd4e1)) |
| 25 | +- Add support for [NextJS optional catch-all routes](https://nextjs.org/docs/api-routes/dynamic-api-routes#optional-catch-all-api-routes) ([#15](https://github.com/netlify/next-on-netlify/pull/15)) |
| 26 | +- Fix: An `index.js` page with `getStaticProps` no longer causes `next-on-netlify` to fail ([#18](https://github.com/netlify/next-on-netlify/pull/18)) |
| 27 | +- Fix: Catch-all routes now correctly require that at least one URL parameter is present (unlike optional catch-all routes) ([479b7e7](https://github.com/netlify/next-on-netlify/commit/479b7e73f1a11778eb5ef66ded02aa1c17e38697)) |
| 28 | +- Fix: Data routes now correctly work for pages with catch-all routing ([0412b45](https://github.com/netlify/next-on-netlify/commit/0412b45fe3917a082be563c1720e85cf3affd4e1)) |
29 | 29 |
|
30 | 30 | ## 2.0.0 (2020-06-02)
|
31 | 31 |
|
32 |
| -- **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. |
| 32 | +- **Breaking: You must change your `netlify.toml` configuration for next-on-netlify v2.0.0.** Please [look at the README](https://github.com/netlify/next-on-netlify#3-configure-netlify) for the latest configuration. |
33 | 33 | `next-on-netlify` now builds pre-rendered pages and static assets in `out_publish`. Netlify Functions for SSR pages are built to `out_functions`.
|
34 |
| -- Add support for `getStaticProps` ([#7](https://github.com/FinnWoelm/next-on-netlify/issues/7)) |
35 |
| -- Add support for `getStaticPaths` with and without fallback ([#7](https://github.com/FinnWoelm/next-on-netlify/issues/7)) |
36 |
| -- Add support for `getServerSideProps` ([#7](https://github.com/FinnWoelm/next-on-netlify/issues/7)) |
37 |
| -- Query string parameters are now correctly passed to Next Pages and API endpoints ([#9](https://github.com/FinnWoelm/next-on-netlify/issues/9)) |
38 |
| -- Response headers are now correctly set ([#9](https://github.com/FinnWoelm/next-on-netlify/issues/9#issuecomment-633288179)) |
| 34 | +- Add support for `getStaticProps` ([#7](https://github.com/netlify/next-on-netlify/issues/7)) |
| 35 | +- Add support for `getStaticPaths` with and without fallback ([#7](https://github.com/netlify/next-on-netlify/issues/7)) |
| 36 | +- Add support for `getServerSideProps` ([#7](https://github.com/netlify/next-on-netlify/issues/7)) |
| 37 | +- Query string parameters are now correctly passed to Next Pages and API endpoints ([#9](https://github.com/netlify/next-on-netlify/issues/9)) |
| 38 | +- Response headers are now correctly set ([#9](https://github.com/netlify/next-on-netlify/issues/9#issuecomment-633288179)) |
39 | 39 | - 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).
|
40 |
| - ([#2](https://github.com/FinnWoelm/next-on-netlify/issues/2)) |
| 40 | + ([#2](https://github.com/netlify/next-on-netlify/issues/2)) |
41 | 41 | - 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.
|
42 | 42 | - `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.
|
43 | 43 | - 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`.
|
|
50 | 50 |
|
51 | 51 | ## 1.1.0 (2020-04-19)
|
52 | 52 |
|
53 |
| -- Add support for catch-all routes ([#1](https://github.com/FinnWoelm/next-on-netlify/pull/1), [#5](https://github.com/FinnWoelm/next-on-netlify/pull/5)) |
| 53 | +- Add support for catch-all routes ([#1](https://github.com/netlify/next-on-netlify/pull/1), [#5](https://github.com/netlify/next-on-netlify/pull/5)) |
54 | 54 | - README: Fix instructions for local preview
|
55 | 55 |
|
56 | 56 | ## 1.0.1 (2020-01-27)
|
|
0 commit comments