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

Commit 131de77

Browse files
committed
Replace /FinnWoelm/next-on-netlify with /netlify/next-on-netlify
Replace all links to the old GitHub repository under FinnWoelm with the links to the new GitHub repository under netlify.
1 parent 1708586 commit 131de77

File tree

6 files changed

+27
-27
lines changed

6 files changed

+27
-27
lines changed

CHANGELOG.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,38 @@
66

77
## 2.3.1 (2020-07-19)
88

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))
1010

1111
## 2.3.0 (2020-06-26)
1212

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))
1414

1515
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`).
1616

1717
- 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.
1818

1919
## 2.2.0 (2020-06-22)
2020

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))
2222

2323
## 2.1.0 (2020-06-14)
2424

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))
2929

3030
## 2.0.0 (2020-06-02)
3131

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.
3333
`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))
3939
- 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))
4141
- 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.
4242
- `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.
4343
- 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,7 +50,7 @@
5050

5151
## 1.1.0 (2020-04-19)
5252

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))
5454
- README: Fix instructions for local preview
5555

5656
## 1.0.1 (2020-01-27)

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Principal Developer Experience Engineer at Netlify, will be joining
1515
# README
1616

1717
[![NPM version](https://img.shields.io/npm/v/next-on-netlify)](https://www.npmjs.com/package/next-on-netlify)
18-
[![MIT license](https://img.shields.io/npm/l/next-on-netlify)](https://github.com/FinnWoelm/next-on-netlify/blob/master/LICENSE)
18+
[![MIT license](https://img.shields.io/npm/l/next-on-netlify)](https://github.com/netlify/next-on-netlify/blob/master/LICENSE)
1919
[![NPM downloads](https://img.shields.io/npm/dt/next-on-netlify)](https://www.npmjs.com/package/next-on-netlify)
2020
[![Tested with Cypress.io](https://img.shields.io/badge/tested%20with-Cypress-04C38E.svg)](https://www.cypress.io/)
2121

@@ -81,7 +81,7 @@ We want the next-on-netlify command to run after we build our NextJS application
8181
}
8282
```
8383

84-
\*If you're curious about the "magic", check out the well-documented [`next-on-netlify.js` file](https://github.com/FinnWoelm/next-on-netlify/blob/master/next-on-netlify.js).
84+
\*If you're curious about the "magic", check out the well-documented [`next-on-netlify.js` file](https://github.com/netlify/next-on-netlify/blob/master/next-on-netlify.js).
8585

8686
#### 3. Configure Netlify
8787

@@ -104,7 +104,7 @@ I recommend you still use `next dev` to build and preview your application local
104104

105105
But if you want to emulate the Netlify deployment on your computer, you can also run `next-on-netlify` locally and then use `netlify-cli` to preview the result.
106106

107-
First, install the latest version of `netlify-cli` (you can also [look at package.json](https://github.com/FinnWoelm/next-on-netlify/blob/master/package.json) to see the version against which next-on-netlify has been tested):
107+
First, install the latest version of `netlify-cli` (you can also [look at package.json](https://github.com/netlify/next-on-netlify/blob/master/package.json) to see the version against which next-on-netlify has been tested):
108108

109109
```bash
110110
npm install -g netlify-cli
@@ -163,7 +163,7 @@ SSR pages and API endpoints. It is currently not possible to create custom Netli
163163

164164
### Preview Mode
165165

166-
[NextJS Preview Mode](https://nextjs.org/docs/advanced-features/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`). See: [Issue #10](https://github.com/FinnWoelm/next-on-netlify/issues/10)
166+
[NextJS Preview Mode](https://nextjs.org/docs/advanced-features/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`). See: [Issue #10](https://github.com/netlify/next-on-netlify/issues/10)
167167

168168

169169
### Fallbacks for Pages with `getStaticPaths`
@@ -172,14 +172,14 @@ SSR pages and API endpoints. It is currently not possible to create custom Netli
172172

173173
With `next-on-netlify`, when navigating to a path that is not defined in `getStaticPaths`, it server-side renders the page and sends it directly to the user. The user never sees the fallback page. The page is not cached for future requests.
174174

175-
For more on this, see: [Issue #7](https://github.com/FinnWoelm/next-on-netlify/issues/7#issuecomment-636883539)
175+
For more on this, see: [Issue #7](https://github.com/netlify/next-on-netlify/issues/7#issuecomment-636883539)
176176

177177
## Showcase
178178

179179
The following sites are built with `next-on-netlify`:
180180

181-
![missionbit.org](https://raw.githubusercontent.com/FinnWoelm/next-on-netlify/master/assets/showcase-missionbit.png)
182-
[missionbit.org](https://www.missionbit.org/) ([#18](https://github.com/FinnWoelm/next-on-netlify/pull/18#issuecomment-643828966))
181+
![missionbit.org](https://raw.githubusercontent.com/netlify/next-on-netlify/master/assets/showcase-missionbit.png)
182+
[missionbit.org](https://www.missionbit.org/) ([#18](https://github.com/netlify/next-on-netlify/pull/18#issuecomment-643828966))
183183

184184
Are you building something awesome with `next-on-netlify`? 🔥 Let me know and we will feature it here :)
185185

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
],
1717
"repository": {
1818
"type": "git",
19-
"url": "https://github.com/FinnWoelm/next-on-netlify"
19+
"url": "https://github.com/netlify/next-on-netlify"
2020
},
21-
"homepage": "https://github.com/FinnWoelm/next-on-netlify",
21+
"homepage": "https://github.com/netlify/next-on-netlify",
2222
"author": "Finn Woelm",
2323
"license": "MIT",
2424
"files": [

tests/nextConfigFunction.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Test next-on-netlify when config is set from a function in next.config.js
2-
// See: https://github.com/FinnWoelm/next-on-netlify/issues/25
2+
// See: https://github.com/netlify/next-on-netlify/issues/25
33
const { parse, join } = require('path')
44
const { copySync, emptyDirSync, existsSync,
55
readdirSync, readFileSync, readJsonSync } = require('fs-extra')

tests/optionalCatchAll.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Test that next-on-netlify does not crash when pre-rendering index.js file.
2-
// See: https://github.com/FinnWoelm/next-on-netlify/issues/2#issuecomment-636415494
2+
// See: https://github.com/netlify/next-on-netlify/issues/2#issuecomment-636415494
33

44
const { parse, join } = require('path')
55
const { copySync, emptyDirSync, existsSync,

tests/preRenderedIndexPages.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Test that next-on-netlify does not crash when pre-rendering index.js file.
2-
// See: https://github.com/FinnWoelm/next-on-netlify/issues/2#issuecomment-636415494
2+
// See: https://github.com/netlify/next-on-netlify/issues/2#issuecomment-636415494
33

44
const { parse, join } = require('path')
55
const { copySync, emptyDirSync, existsSync,

0 commit comments

Comments
 (0)