- 19 Nov, 2021 9 commits
-
-
JJ Kasper authored
-
Mateusz Burzyński authored
* Bring back accidentally lost deprecation warning for using string as a children for `next/link` * Wrap warning with the env check * Remove warning, just go with removed comment about deprecation
-
JJ Kasper authored
This ensures functional `_document` is rendered correctly when not using concurrent mode. ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes: https://github.com/vercel/next.js/issues/31593 x-ref: https://github.com/vercel/next.js/pull/30156
-
Jiachi Liu authored
Fixes #31620 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
-
JJ Kasper authored
-
Tim Neutkens authored
-
Gerald Monaco authored
Extracted from #31223. We need to move the root `<div id="__next">` wrapper to be rendered as part of the page content, rather than the`Document`, so that flush effects (like styles) are flushed before (or after) the div, rather than inside, where they would cause hydration mismatches.
-
Nils Kaspersson authored
The rule [`no-html-link-for-pages`](https://nextjs.org/docs/messages/no-html-link-for-pages) will incorrectly flag an `<a>`-tag intended to download a local asset. This PR adds an exception to the rule for any anchor element with a `download` attribute. Co-authored-by:
JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
Hannes Bornö authored
Fixes #30810 Added tests similar to the fixture ones, but the output is stderr. That way the test can make sure the error message and span is correct. Let me know if you think this is a bad idea.
-
- 18 Nov, 2021 10 commits
-
-
jj@jjsweb.site authored
-
JJ Kasper authored
* Fix accessing router before ready for HMR ping * update test name * lint-fix
-
Gerald Monaco authored
Simplifies `renderToWebStream` a little bit for #31223
-
Javi Velasco authored
Fixes #30791 The issue is that with Middleware we are introducing client compilation on a new layer. When a middleware changes (or is dropped after some time), Webpack reorganizes non-user modules as they are duplicated across different layer. This is currently triggering a full reload. This also brings tests for HMR: - Refresh on a Middleware change - HMR works after a middleware compilation change. Co-authored-by:Tobias Koppers <1365881+sokra@users.noreply.github.com>
-
jj@jjsweb.site authored
-
Tim Neutkens authored
-
fabienheureux authored
An issue in the path of the public directory ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint`
-
JJ Kasper authored
-
jj@jjsweb.site authored
-
JJ Kasper authored
* Re-add native package folders and update publish-native * update jobs * ensure wasm-binaries are downloaded * only build-wasm on release
-
- 17 Nov, 2021 12 commits
-
-
jj@jjsweb.site authored
-
JJ Kasper authored
This ensures we properly catch the rejection on route change failure in development so the dev overlay doesn't flash with the unhandled rejection. A test case isn't able to be added for this specific scenario as the unhandled rejection is fired right before the page is navigated so we can't consistently check if the rejection was unhandled or not. ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes: https://github.com/vercel/next.js/issues/28560
-
Steven authored
Generally, AVIF quality can be lower compared to WebP so we can adjust this for the user so that it looks roughly the same depending on if the browser supports AVIF or WebP. - Fixes #31254 - Related to https://github.com/lovell/sharp/issues/2850
-
Gerald Monaco authored
* Make missing document components an error * Fix broken tests
-
Keen Yee Liau authored
`optimizeFonts` is enabled by default, but the Aurora team would like to find out how many users explicitly turn it off.
-
Maia Teegarden authored
-
Kevin Wolf authored
## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint`
-
xuchaobei authored
Remove `NEXT_PUBLIC_` prefix for server-only enviroment vars. ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint`
-
Donny/강동윤 authored
This PR applies - https://github.com/swc-project/swc/pull/2784 Closes #31479
-
Jiachi Liu authored
React-dom renders doctype automatically when `<html>` is detected. We should append `DOCTYPE` prefix only when necessary. x-ref: https://github.com/facebook/react/pull/21680 ## Bug  - [ ] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md`
-
Yang Feng authored
-
Steven authored
- Fixes https://github.com/vercel/next.js/discussions/31482
-
- 16 Nov, 2021 9 commits
-
-
jj@jjsweb.site authored
-
Shu Ding authored
Initial step for #31506, to move the adapter logic out of the loader output string so it will be easier to reuse code in the future. Also, more options are passed to the loader to align with the serverless loader. ## 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
Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Kiko Beats authored
closes: https://github.com/vercel/next.js/issues/31196 This new API was suggested in a previous version of this feature: https://github.com/vercel/next.js/pull/31024#discussion_r745035448Co-authored-by:
JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
Nikola Knežević authored
There is missing equals sign in the type declaration in the example for API Routes. ## Documentation / Examples - [ ] Make sure the linting passes by running `yarn lint` Co-authored-by:JJ Kasper <22380829+ijjk@users.noreply.github.com>
-
-
Gonzalo Pozzo authored
* Add script component examples * Update script examples * Refactor code * Remove unused files * Fix linter * Fix lint error * Fix prettier
-
Tobias Koppers authored
remove all `client/server/middleware only` messages and show `client and server` instead only when both compilers has been used.
-
Javi Velasco authored
This PR removes the class wrapper that we have for `TextEncoder` and `TextDecoder`. Since this is merged we will be using directly the Node version in the sandbox.
-