Skip to content

Tags: SaraVieira/next-on-netlify

Tags

v2.6.0

Toggle v2.6.0's commit message
Publish v2.6.0 - Support for SSG Preview Mode ([netlify#50](netlify#50)) - Expose core setup logic to be required as a package ([netlify#64](netlify#64)) - Miscellaneous README cleanup

v2.5.2

Toggle v2.5.2's commit message
Publish v2.5.2 - README rebrand - Fix: update logs to correct path constants in prepareFolders ([netlify#58](netlify#58)) - Fix: show experimental-serverless-trace target option in README ([netlify#59](netlify#59)) - Fix: x-forwarded-host is undefined on Netlify ([netlify#54](netlify#54)) - Fix: No-op redirect for root catch-all page chunks ([netlify#52](netlify#52)) - prettier pre-commit hook

v2.5.1

Toggle v2.5.1's commit message
Publish v2.5.1 - Fix: broken redirects for optional catch-alls ([netlify#47](netlify#47))

v2.5.0

Toggle v2.5.0's commit message
Publish v2.5.0 - Copy host property from headers to multiValueHeaders [netlify#44](netlify#44) - More support for ISR (getStaticProps with revalidate) [Discussion](https://github.com/netlify/next-on-netlify/issues/35) / [Commit](netlify@ef45cc5) - Fixed redirect for index with getServerSideProps [netlify#39](netlify#39)

v2.4.0

Toggle v2.4.0's commit message
Publish v2.4.0 - Add support for base64 encoding in responses returned from SSR pages and API endpoints - Reduce the number of rewrites generated by skipping SSG & HTML pages with static routing. These pages are routed automatically by Netlify ([netlify#26](netlify#26)) - Limit the default number of lines of build output to 50. More or fewer lines can be shown by running `next-on-netlify` with the option `--max-log-lines XX`. See `next-on-netlify --help` and [this comment](netlify#26 (comment)). - Remove workaround for making `404.html` work with `netlify dev`. The workaround is no longer required because [`netlify dev` has been patched](netlify/cli#1159).

v2.3.2

Toggle v2.3.2's commit message
Publish v2.3.2 - Fix: Bump elliptic to v6.5.3 to fix [CVE-2020-13822](GHSA-vh7m-p724-62c2)

v2.3.1

Toggle v2.3.1's commit message
Publish v2.3.1 - Fix: Correctly get distDir from `next.config.js` when config is a function ([netlify#25](netlify#25))

v2.3.0

Toggle v2.3.0's commit message
Publish v2.3.0 - Add support for [NextJS Preview Mode]( https://nextjs.org/docs/advanced-features/preview-mode) ([netlify#10](netlify#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.

v2.2.0

Toggle v2.2.0's commit message
Publish v2.2.0 - 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` ([netlify#21](netlify#21))

v2.1.0

Toggle v2.1.0's commit message
Publish v2.1.0 - Add support for [NextJS optional catch-all routes]( https://nextjs.org/docs/api-routes/dynamic-api-routes#optional-catch-all-api-routes ) ([netlify#15](netlify#15)) - Fix: An `index.js` page with `getStaticProps` no longer causes `next-on-netlify` to fail ([netlify#18](netlify#18)) - Fix: Catch-all routes now correctly require that at least one URL parameter is present (unlike optional catch-all routes) ([479b7e7](netlify@479b7e7)) - Fix: Data routes now correctly work for pages with catch-all routing ([0412b45](netlify@0412b45))