- 03 Nov, 2021 4 commits
-
-
jj@jjsweb.site authored
-
Shu Ding authored
* ensure client components are correctly tracked in the client compilation * fix test
-
JJ Kasper authored
* Ensure correct tmpdir is used for install-native * Use execa for Windows * lint-fix
-
JJ Kasper authored
* Ensure dev react bundles are not ignored in traces * update test * update lock
-
- 02 Nov, 2021 18 commits
-
-
Maia Teegarden authored
* Add postinstall script to install native packages * Use a subdirectory of tmpdir * Ensure tmpdir exists * Remove tmpdir once done Co-authored-by:
JJ Kasper <jj@jjsweb.site> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
Tobias Koppers authored
- Fixes #30366 - Closes #30367
-
Jiachi Liu authored
Improvement for #30696, covering more native module when failed on edge runtime
-
Steven authored
Fixes #30600
-
Evan Bradley authored
Currently, hot reloading is broken when running dev mode in systems like Bazel, where the source files are marked as read-only. The goal of the check is merely to see if a file exists, so checking for read permissions should be sufficient. Let me know if any additional information is needed. I didn't see any good spots to add tests, but I'm willing to add them with some guidance. ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
-
JJ Kasper authored
This re-enables minifying middleware chunks as testing on nextjs.org and front shows it is working properly now. The separation of middleware chunks from other client chunks is still kept in this PR to ensure client code doesn't leak into middleware bundles. Closes: https://github.com/vercel/next.js/issues/30798 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
Tim Neutkens authored
Co-authored-by:
jj@jjsweb.site <jj@jjsweb.site> Co-authored-by:
Steven <steven@ceriously.com> Co-authored-by:
Jiachi Liu <inbox@huozhi.im>
-
Iris van Ollefen authored
In Setting the status code of a response, it says "returns a name property with the value of John Doe as a JSON response". But, the code example actually returns a message property with a different value. ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Donny/강동윤 authored
## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` This PR applies - https://github.com/swc-project/swc/pull/2610 This increases the pass limit (which is required to prevent hanging) from 30 to 100. Fixes https://github.com/vercel/next.js/issues/30636. - https://github.com/swc-project/swc/pull/2625 This marks assignment with operators as `usage`+ `assign`. Previously it was only `assisgn`. This is to preserve assignments to variables used like `(a += '').split('.'))`. Fixes https://github.com/vercel/next.js/issues/30414. --- I expect this to fix some more issues on next.js repository, but I didn't list them because it's not tested.
-
JJ Kasper authored
This adds a note for the query being updated for rewrites on static pages. Closes: https://github.com/vercel/next.js/issues/30720 ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint`
-
PrashoonB authored
## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
Rodrigo Delduca authored
Co-authored-by:Steven <steven@ceriously.com>
-
Tim Neutkens authored
-
Kam Figy authored
In Next 12, `router.replace()` treats the page props cache as authoritative when fetching SSG props in preview mode. This makes sense outside preview mode (static props won't change), but within preview mode this prevents reloading the preview data dynamically without force-refreshing the page. This PR fixes the problem by instructing Next to bypass the props cache if it's an SSG route AND preview mode is on. Repro: https://github.com/kamsar/next-replace-previewmode-staticprops/blob/main/pages/index.js ## Bug - [x] Related issues linked using `fixes #number`: Fixes https://github.com/vercel/next.js/issues/30756 - [ ] Integration tests added: Did not find existing tests for the router, but I'd be happy to write one if someone could point me in the right direction.
-
Rishabh Poddar authored
-
Steven authored
The built-in `imgixLoader()` unexpectedly works with `image.path = ''` and `src` as an absolute URL. So we need to relax this restriction for now until we can officially deprecate built-in loaders (eventually they can all be implemented in userland via loader prop). - Follow up to #30080
-
- 01 Nov, 2021 14 commits
-
-
ihmpavel authored
* Image content disposition * Add tests * Fixed import * Add TS types * Revert readme.md * Alphabet sorting * Compile `content-disposition` * Rename for tests * Fix test * Fix accidentally added letter Co-authored-by:Steven <steven@ceriously.com>
-
Steven authored
This will make sure #30743 doesn't regress
-
stef authored
Fixes #29023 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [x] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [x] Make sure the linting passes
-
Maia Teegarden authored
Multiple binaries may be installed when only one of them will work with the host machine (limitation of `optionalDependencies`). Failing to `require` a binary that exists does not necessarily mean there is a problem with the binary. We need to keep checking if other binaries work. Fixes #30713 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
Jiachi Liu authored
* Add `next/head` as unsupported for rsc * Change the description about `_document` page
-
Vadym Shymko authored
Small typo fix in `with-elasticsearch` example ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint`
-
matamatanot authored
-
JJ Kasper authored
-
JJ Kasper authored
-
Erik Hedberg authored
-
Shu Ding authored
This PR improves the error message for the case that `fs` is being imported under `concurrentFeatures`. This is a common error, but the current console output isn't very clear about the cause. The new output will be: > Native Node.js APIs are not supported in the Edge Runtime with \`concurrentFeatures\` enabled. Found \`fs\` imported. Related to #30424. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
Lee Robinson authored
-
Lee Robinson authored
-
JJ Kasper authored
Co-authored-by:Lee Robinson <me@leerob.io>
-
- 31 Oct, 2021 3 commits
-
-
Tim Neutkens authored
-
Tim Neutkens authored
-
Donny/강동윤 authored
## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## 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. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` - This fixes error message about unsupported cpu features. - This applies https://github.com/swc-project/swc/pull/2597 - This fix an infinite loop issue related to `@ericblade/quagga2`
-
- 30 Oct, 2021 1 commit
-
-
jj@jjsweb.site authored
-