rsnext/packages/next/server
Shu Ding 853442dfc3
Make concurrent features independent from the global runtime option (#35245)
This PR depends on #35242 and #35243. It allows the global runtime to be unset, as well as enables static optimization for Fizz and RSC pages in the Node.js runtime. Currently for the Edge runtime pages are still always SSR'd.

Closes #31317.

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [x] Related issues linked using `fixes #number`
- [x] 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`


Co-authored-by: Jiachi Liu <4800338+huozhi@users.noreply.github.com>
2022-03-16 12:11:57 +00:00
..
api-utils Ensure unstable_revalidate does not error from notFound: true (#34826) 2022-02-25 14:17:07 -08:00
base-http Allow reading request bodies in middlewares (#34294) (#34519) 2022-02-18 19:43:43 +00:00
dev Make concurrent features independent from the global runtime option (#35245) 2022-03-16 12:11:57 +00:00
lib Refactor base server to remove native dependencies (#33499) 2022-01-20 21:25:44 +00:00
send-payload Reduce the size of web server (#34767) 2022-02-24 19:53:17 +00:00
web Render resolved streaming content for static render result (#35221) 2022-03-10 21:34:40 +00:00
accept-header.ts Implement Middleware RFC (#30081) 2021-10-20 17:52:11 +00:00
base-server.ts Adds web worker support to <Script /> using Partytown (#34244) 2022-03-11 22:26:46 +00:00
body-streams.ts fix post request hangs when no body is consumed on middleware (#35131) 2022-03-08 19:24:58 +00:00
config-shared.ts SWC emotion transform plugin (#34687) 2022-03-15 08:51:15 +01:00
config-utils.ts Remove webpack 4 support (#29660) 2021-10-06 17:40:01 +02:00
config.ts Adopt react 18 rc2 (#35161) 2022-03-09 21:12:36 +01:00
crypto-utils.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
denormalize-page-path.ts Fix dynamic routes with pages under index folder (#32440) 2021-12-13 20:36:31 +00:00
font-utils.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
get-page-files.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
get-route-from-entrypoint.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
htmlescape.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
image-optimizer.ts Fix next/image when src is webp but browser doesnt support it (#35190) 2022-03-10 15:02:13 +01:00
incremental-cache.ts Update to leverage response-cache for image-optimizer (#34075) 2022-02-08 18:46:59 -05:00
load-components.ts Make concurrent features independent from the global runtime option (#35245) 2022-03-16 12:11:57 +00:00
next-server.ts Make concurrent features independent from the global runtime option (#35245) 2022-03-16 12:11:57 +00:00
next.ts Base Http for BaseServer (#32999) 2022-01-14 21:01:35 +00:00
node-polyfill-fetch.js Pre-compile more dependencies (#32742) 2022-01-17 15:17:22 +00:00
node-polyfill-web-streams.js Deprecate concurrentFeatures with runtime (#34068) 2022-02-08 14:16:46 +01:00
normalize-page-path.ts Fix dynamic routes with pages under index folder (#32440) 2021-12-13 20:36:31 +00:00
optimize-amp.ts Move next-server directory files to server directory (#26756) 2021-06-30 13:44:40 +02:00
render-result.ts Add unstable_useFlushEffects hook (#34117) 2022-02-18 00:18:28 +00:00
render.tsx Make concurrent features independent from the global runtime option (#35245) 2022-03-16 12:11:57 +00:00
request-meta.ts Ensure we don't poll page in development when notFound: true is returned (#34352) 2022-02-16 18:53:48 +00:00
require.ts Expose WASM bindings in Middleware (#34437) 2022-03-02 15:09:36 +00:00
response-cache.ts Handle de-duping revalidations in minimal mode (#34935) 2022-03-02 15:06:54 -08:00
router.ts Ensure non-matching API routes can be rewritten (#33966) 2022-03-01 15:53:25 -05:00
serve-static.ts Add support for AVIF to next/image (#29683) 2021-10-11 23:17:47 +00:00
server-route-utils.ts Fix encoding error with location and refresh headers (#33763) 2022-01-28 16:20:34 +00:00
utils.ts Refactor base server to remove native dependencies (#33499) 2022-01-20 21:25:44 +00:00
web-server.ts Render resolved streaming content for static render result (#35221) 2022-03-10 21:34:40 +00:00