- 28 Apr, 2021 5 commits
-
-
JJ Kasper authored
-
JJ Kasper authored
-
Tim Neutkens authored
Fixes #24421 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added Can't add an integration test currently, we'll add Node 16 tests later. ## 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
* Try enabling Babel turbo mode * Pass config file explicitly to babel turbo loader. * Update NextBabelLoaderOptions to use `configFile` instead of `babelrc`. * Re-add support for options passed to next/babel preset with new babel loader. * Load babel config files depending on their file extension. * Include `next/babel` if no Babel config is provided. * Minor cleanup. * Avoid duplicate `next/babel` entries. * No need to pass configFile anymore. * Fix multiple small issues in merging loader opts with cached config. * Remove redundant logging (that also breaks a test). * Include file extension CharacteristicsGermaneToCaching. * bump * Disable turboMode now that tests pass Co-authored-by:Dale Bustad <dale@divmain.com>
-
JJ Kasper authored
This removes the warnings/notes for the `has` custom-routes feature being experimental ## Documentation / Examples - [x] Make sure the linting passes
-
- 27 Apr, 2021 3 commits
-
-
Mario Souto authored
Hi folks I know many people that use that example and it could be using the new version of React to be according with the NextJS v11 ## Documentation / Examples - [ ] Make sure the linting passes - [ ] Make sure that the bumped up versions are okay
-
JJ Kasper authored
-
JJ Kasper authored
This ensures when CSS requests stall that they are included in the route load timeout so that stalled CSS requests don't block us from falling back to a hard navigation. This handles a rare case noticed by @pacocoursey where a transition did not complete while attempting to load CSS assets. ## Bug - [ ] Related issues linked using `fixes #number` - [x] Integration tests added
-
- 26 Apr, 2021 3 commits
-
-
Janicklas Ralph authored
## Bug - [x] Related issues linked using `fixes #23896` - [x] Integration tests added Fixes #23896
-
Jerry K Jia authored
According to the official Next.js documentation on [Environmental Variables](https://nextjs.org/docs/basic-features/environment-variables): > `process.env` is not a standard JavaScript object, so you’re not able to use object destructuring. Environment variables must be referenced as e.g. `process.env.NEXT_PUBLIC_PUBLISHABLE_KEY`, not `const { NEXT_PUBLIC_PUBLISHABLE_KEY } = process.env`. <!-- Thanks for opening a PR! Your contribution is much appreciated. In order to make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change that you're making: --> ## 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
-
JJ Kasper authored
* Ensure proxy rewrite does not hang on error * remove logs * Listen to req close
-
- 25 Apr, 2021 3 commits
-
-
Tim Neutkens authored
## 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
-
Allen Hai authored
This PR updates the initial typescript config message to mention that strict-mode is off by default to maintain expectations about type errors. [Tweet](https://twitter.com/timneutkens/status/1372218890260987904?s=20)
-
Sam Poder authored
View title :)
-
- 24 Apr, 2021 1 commit
-
-
Gerald Monaco authored
* Remove reactMode config * Add config + warning * Tweak wording on warning * Tweak wording on warning * Don't default reactRoot for 10.x * yak shaving * Add warning when using old reactMode
-
- 23 Apr, 2021 5 commits
-
-
Joe Haddad authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Gerald Monaco authored
This test is failing for the same reason as https://github.com/facebook/react/pull/21173, so we'll borrow their fix, and follow along for updates.
-
- 22 Apr, 2021 9 commits
-
-
Joe Haddad authored
* chore: remove old plugins implementation * chore: remove `onErrorMiddleware` * Reduce allowed middleware * remove collect plugins file * remove old tests * remove old demo packages
-
Gerald Monaco authored
Fixes the [failing react@experimental tests](https://github.com/vercel/next.js/actions/workflows/test_react_experimental.yml).
-
JJ Kasper authored
-
Shu Ding authored
Fixes #24056. ## 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
-
JJ Kasper authored
This expands on https://github.com/vercel/next.js/issues/24070 and ensures we show the dev overlay for additional cases like where `_app` or `_document` have syntax errors causing compilation to not be able to complete. This achieves showing the dev overlay even when compilation fails from a syntax error by doing a third minimal compilation in development with the needed client-side assets to render the dev overlay. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added x-ref: https://github.com/vercel/next.js/issues/24070
-
Jarrod Watts authored
- Update the Readme to use the latest Amplify CLI versions' prompts - Update the example to use the [SSR features of AWS Amplify ](https://aws.amazon.com/blogs/mobile/ssr-support-for-aws-amplify-javascript-libraries/) - Update to use Next version `10` instead of `9` - Correctly use the types produced by the Amplify CLI in `API.ts` - Add `amplify auth` and auth rules to the GraphQL model as suggested by the Amplify CLI.
-
JJ Kasper authored
This bumps the babel cache key since we modified the `react-loadable` babel plugin and we don't want any cached versions used since the module names generated in previous cached version won't match the newly expected values. x-ref: https://github.com/vercel/next.js/pull/24281 ## 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
-
Janicklas Ralph authored
Adding script loader files to package.json
-
Kyle Marshall authored
Ensure locale key not duplicated when navigating back to root path with a query or hash value (#24323) This ensures that a duplicate locale key is not prepended to the path when navigating back (using browsers back button) to the root path containing query parameters or a hash value. Current behaviour: * `/fr?value=1` -> `/fr/another` -> click browser back button -> `/fr/fr?value=1` * `/fr?value=1` -> `/fr?value=2` -> click browser back button -> `/fr/fr?value=1` * `/fr#section` -> `/fr/another` -> click browser back button -> `/fr/fr#section` * `/fr#section` -> `/fr#another` -> click browser back button -> `/fr/fr#section` Fix: Remove query string or hash value from path before determining whether to add the locale to the path in `addLocale` function. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added Fixes: #24287
-
- 21 Apr, 2021 8 commits
-
-
Shu Uesugi authored
Fix broken links on the `cms-strapi` example. - [x] https://strapi.io/documentation/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.html - [x] https://github.com/strapi/strapi-starter-next-blog/blob/23b184781a3f219ad472f6a2c3a3d239a3d16513/backend/extensions/upload/config/settings.js ## Documentation / Examples - [x] Make sure the linting passes
-
Sokratis Vidros authored
## 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 - [x] Make sure the linting passes The predev npm script assumes that vercel cli is installed. It's better for the example to run without it.
-
Sokratis Vidros authored
## 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 - [x] Make sure the linting passes
-
JJ Kasper authored
This adds an additional test for the change in https://github.com/vercel/next.js/pull/24079 to ensure top-level errors in `_document` are also handled correctly. ## 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
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Tobias Koppers authored
Co-authored-by:
JJ Kasper <jj@jjsweb.site> ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added Closes: https://github.com/vercel/next.js/issues/22741
-
Tobias Koppers authored
* memory usage improvements for `next dev`
-
- 20 Apr, 2021 3 commits
-
-
JJ Kasper authored
-
Ahmed Essam authored
## Bug Fixes #21324 ## Documentation / Examples - [X] Make sure the linting passes
-
Brandon Bayer authored
This does not touch any next.js code. This improves the integration test setup by properly typing next-webdriver.
-