- 29 Oct, 2021 9 commits
-
-
jj@jjsweb.site authored
-
Steven authored
-
JJ Kasper authored
-
Jiachi Liu authored
* error when react 18 experimental flags aren't setup properly * add more tests for rsc ssr
-
Shu Ding authored
This PR adds buffering to `renderToReadableStream` with `onCompleteShell`, to ensure that we don't flush too early and `<head>` is completed when the client receives the first chunk of data. X-ref: #30547.
-
Erlend Åmdal authored
The page links to itself, but was presumably meant to link to "Output File Tracing" under "Advanced Features".
-
Maia Teegarden authored
Fixes https://github.com/vercel/styled-jsx/issues/756 ## 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`
-
jj@jjsweb.site authored
-
JJ Kasper authored
-
- 28 Oct, 2021 27 commits
-
-
Steven authored
Some users reported false hits when using complex loaders that implement Art Direction. We can relax the warnings so that query string params named width should not warn.
-
jj@jjsweb.site authored
-
JJ Kasper authored
-
JJ Kasper authored
-
George Karagkiaouris authored
## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Fixes #30430 There's some more discussion in the issue, but in summary: - web `Headers` implementation combines all header values with `', '` - For `Set-Cookie` headers, you're supposed to set them as separate values, not combine them - web `Headers` forbids the use of `Cookie`, `Set-Cookie` and some more headers, so they don't have custom implementation for those, and still joins them with `,` - We currently just split them using `split(',')`, but this breaks when the header contains a date (expires, max-age) that also includes a `,` I used this method to split the Set-Cookie header properly: https://www.npmjs.com/package/set-cookie-parser#splitcookiestringcombinedsetcookieheader as suggested [here](https://github.com/whatwg/fetch/issues/973#issuecomment-559678813) I didn't add it as a dependency, since we only needed that one method and I wasn't sure what the process is for adding dependencies, so I just added the method in the middleware utils -
Jiachi Liu authored
Co-authored-by:
kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> Co-authored-by:
JJ Kasper <jj@jjsweb.site>
-
jj@jjsweb.site authored
-
JJ Kasper authored
-
JJ Kasper authored
-
Keen Yee Liau authored
`featureName` is restricted to certain values for security reasons. Before any change is made in the client, backend code has to be updated first.
-
Mitheel authored
-
Akira Tsuboi authored
## Bug - [x] Related issues linked using `fixes #number` fixes #27170 ### Before  ### After 
-
Tobias Koppers authored
-
Tobias Koppers authored
Co-authored-by:Donny/강동윤 <kdy1997.dev@gmail.com>
-
Tobias Koppers authored
-
Tobias Koppers authored
-
Tobias Koppers authored
-
Tobias Koppers authored
This reverts commit 387d6564.
-
Donny/강동윤 authored
-
Donny/강동윤 authored
Co-authored-by:kdy1 <kdy1@users.noreply.github.com>
-
Kai Malcolm authored
This PR adds documentation on how to debug through VS Code on Windows. Closes #30231 ## Documentation / Examples - [x] Make sure the linting passes
-
Donny/강동윤 authored
Co-authored-by:kdy1 <kdy1@users.noreply.github.com>
-
JJ Kasper authored
Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Tim Neutkens authored
-
JJ Kasper authored
Co-authored-by:kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
-
Lucas Vazquez authored
Several examples at https://nextjs.org/docs/api-reference/next.config.js/headers have a comma at the end of the returns, which makes them invalid examples.
-
Maia Teegarden authored
* Fix issue with placeholder followed by numbers * Build next-swc binaries
-
- 27 Oct, 2021 4 commits
-
-
Balázs Orbán authored
I changed the order of `NextRequest` and `NextFetchEvent` as they are presented in the function signature. There also seemed to be some issues with the heading levels. Also, `NextResponse` is a documented API, but the example code uses `Response`. I wasn't sure if this was a mistake in the docs or in the code. I noticed that other similar docs pages have a collapsible `Examples` section at their top: - https://nextjs.org/docs/api-reference/next/image - https://nextjs.org/docs/api-reference/next/head - https://nextjs.org/docs/api-reference/next/amp Image below:  Should the Middleware docs have the same?
-
JJ Kasper authored
This ensures we don't add non-es5 code from ncc'ing Fixes: https://github.com/vercel/next.js/issues/30450 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [x] Errors have helpful link attached, see `contributing.md`
-
JJ Kasper authored
-
JJ Kasper authored
-