- 28 Jun, 2021 5 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
This ensures API routes are not available under the locale path since API routes don't need to be localized and we don't provide the locale to the API in any way currently so the user wouldn't be aware if the localized API route was visited instead of the non-localized. Fixes: https://github.com/vercel/next.js/issues/25790 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added
-
Jiachi Liu authored
Fixes #19862 Avoid executing `webpack` property on `loadableGenerated` of loadable component compiled from `next/dynamic` when `require.resolveWeak` is unavailable due to jest runtime missing `require.resolveWeak`. ## Bug - [x] Related issues linked using `fixes #number` - [x] unit tests added
-
JJ Kasper authored
This fixes non-stop reloading when visiting `_error` directly in development caused by the `statusCode` being 200 unexpectedly while HMR returns the page as `invalid` which triggers `on-demand-entries` to reload the page. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added Fixes: https://github.com/vercel/next.js/issues/8036 x-ref: https://github.com/vercel/next.js/pull/8033
-
JJ Kasper authored
This makes sure we don't attempt flushing cache info to disk for `getStaticProps` `redirect` items with `revalidate` Fixes: https://github.com/vercel/next.js/issues/20816 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added
-
- 25 Jun, 2021 7 commits
-
-
Vadorequest authored
* Add link to live demo already hosted To make it easier for people to simply see the live example without having to deploy a whole new project * update link Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Peter Mekhaeil authored
-
Tim Neutkens authored
Fixes #26547 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
Tim Neutkens authored
-
Tim Neutkens authored
* Add trace url on bootup * Update whitelist -> accesslist * Add name to webpack-invalidated
-
Tim Neutkens authored
- 24 Jun, 2021 9 commits
-
-
John authored
## Documentation / Examples - [X] Make sure the linting passes This PR updates the with-loading example to follow the documentation of router events for next 11
-
JJ Kasper authored
* Separate node polyfill test from basic suite * update test
-
JJ Kasper authored
This adds a comment to the generated `next-env.d.ts` to mention it should not be edited pointing to the documentation which contains an example of adding custom types separately. x-ref: https://github.com/vercel/next.js/issues/26560 ## Documentation / Examples - [x] Make sure the linting passes
-
Tim Neutkens authored
Partially solves #26539 by adding back the log output when a config file is used ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
Jiachi Liu authored
x-ref: https://github.com/vercel/next.js/pull/26518#issuecomment-867566010 ## Documentation / Examples - [x] Make sure the linting passes
-
Pranav P authored
## Documentation / Examples - [x] Make sure the linting passes
-
Joshua Byrd authored
* Previous example doesn't work * Apply suggestions from code review * Update docs/basic-features/data-fetching.md * lint-fix Co-authored-by:
Lee Robinson <me@leerob.io> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
Peter Mekhaeil authored
-
JJ Kasper authored
-
- 23 Jun, 2021 6 commits
-
-
Steven authored
In PR #26281, we solved one use case but broke another. This PR will allow the user to [override the built-in loader](https://github.com/vercel/next.js/pull/26281#issuecomment-866251944) via custom webpack config.
-
JJ Kasper authored
* Add note about adding additional types * Update to bold edit also * Apply suggestions from code review Co-authored-by:Steven <steven@ceriously.com>
-
destruc7i0n authored
Currently, there is only a `hashChangeStart` and subsequent `hashChangeComplete` event and no props update (which would be used to get translations, etc.). Happy for any feedback fixes #23467 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
Lee Robinson authored
Closes https://github.com/vercel/next.js/issues/12019 with a better example of proper SSR caching.
-
JJ Kasper authored
This ensures we don't recommend editing the `next-env` file since we need to be able to tweak it to accept future types we add in Next.js ## Documentation / Examples - [x] Make sure the linting passes Closes: https://github.com/vercel/next.js/issues/26533
-
Vitaly Baev authored
## Documentation / Examples - [x] Make sure the linting passes According to new requirements in `package.json` minimum Node.js version for now is 12.0
-
- 22 Jun, 2021 12 commits
-
-
Alex Castle authored
fixes #21549 Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
JJ Kasper authored
-
JJ Kasper authored
-
JJ Kasper authored
-
Brandon Bayer authored
This strongly types `Router.events.on` and `Router.events.off`. Previously the event type was `string` but now it's `'routeChangeStart' | 'beforeHistoryChange' | 'routeChangeComplete' | 'routeChangeError' | 'hashChangeStart' | 'hashChangeComplete'` ## Bug - ~[ ] Related issues linked using `fixes #number`~ - [x] Integration tests added Closes #25679 Closes #23753 Closes #15497
-
JJ Kasper authored
-
JJ Kasper authored
Closes: https://github.com/vercel/next.js/issues/24991 ## Documentation / Examples - [x] Make sure the linting passes
-
JJ Kasper authored
* Update to only add image import types when enabled * add type check to test
-
Rob Vermeer authored
* bug: Fix domain locales not available on client * Add test case * update tests Co-authored-by:JJ Kasper <jj@jjsweb.site>
-
Peter Mekhaeil authored
This Pull Request adds [Alex](https://alexjs.com/) to our documentation. It catches insensitive, inconsiderate writing. The original PR (https://github.com/vercel/next.js/pull/25821) is too large so I have decided to break it down into smaller PRs. This PR is the first part. Then I will continue to add the rest of the documentation in smaller PRs. ## More Information on Alex: https://alexjs.com/ https://github.com/get-alex/alex ## Documentation / Examples - [x] Make sure the linting passes
-
Jiachi Liu authored
Fixes #22329 ## Bug - [x] Related issues linked using fixes #22329 - [x] Integration tests added ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. ## Documentation / Examples - [ ] Make sure the linting passes
-
Sam Robbins authored
Without `module.exports`, the provided code won't work if just pasted into `next.config.js` ## Documentation / Examples - [x] Make sure the linting passes
-
- 21 Jun, 2021 1 commit
-
-
Vitaly Baev authored
## Documentation / Examples - [x] Make sure the linting passes Fixes #26436 As mention in #25854 `with-webassembly` example doesn't work anymore after switching to webpack 5. This PR adds webpack experimental configuration.
-