Skip to content

Conversation

@GiveMe-A-Name
Copy link
Member

@GiveMe-A-Name GiveMe-A-Name commented Jan 7, 2026

Summary

  • Add a unified streaming-mode resolver that honors a per-request x-should-stream-all marker (middleware-set) ahead of env forcing and isbot detection to choose [onAllReady] vs [onShellReady] across both Node and Edge streaming paths.
  • Keep existing fallbacks (MODERN_JS_STREAM_TO_STRING, isbot, default shell-first) for compatibility while enabling dynamic full-HTML responses for SEO/compliance scenarios.

Related Links

Checklist

  • I have added changeset via pnpm run change.
  • I have updated the documentation.
  • I have added tests to cover my changes.

@changeset-bot
Copy link

changeset-bot bot commented Jan 7, 2026

🦋 Changeset detected

Latest commit: 3771082

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 292 packages
Name Type
@modern-js/runtime Minor
@modern-js/plugin-bff Minor
@modern-js/plugin-tailwindcss Minor
@modern-js/devtools-client Minor
@modern-js/plugin-devtools Minor
@modern-js/plugin-garfish Minor
@modern-js/plugin-router-v5 Minor
@modern-js/plugin-router-v7 Minor
@modern-js/plugin-state Minor
@modern-js/plugin-testing Minor
@modern-js/storybook-builder Minor
@integration-test/alias-set Minor
app-document Minor
async-entry-test Minor
babel-object-config-test Minor
tmp Minor
bff-api-app Minor
bff-client-app Minor
bff-indep-client-app Minor
bff-hono Minor
integration-clean-dist-path Minor
integration-compatibility Minor
integration-custom-dist-path Minor
custom-file-system-entry Minor
integration-custom-render Minor
integration-custom-template Minor
deploy Minor
deploy-server Minor
dev-server Minor
integration-disable-html Minor
app-custom-bootstrap Minor
app-custom-entries Minor
app-custom-routes-runtime Minor
app-custom Minor
app-entry Minor
app-route Minor
app-entry-server Minor
app-garfish-dashboard Minor
app-garfish-master Minor
app-garfish-table Minor
@integration-test/image-component Minor
main-entry-name Minor
nonce Minor
pure-esm-project Minor
routes-match Minor
routes Minor
app-rsbuild-hooks Minor
rsc-csr-app Minor
rsc-csr-routes Minor
rsc-ssr-app Minor
rsc-ssr-routes Minor
runtime-custom-plugin Minor
runtime-custom-config-plugin Minor
file-based-router Minor
use-loader Minor
select-mul-entry-test Minor
select-one-entry-test Minor
server-config-v2 Minor
server-config Minor
server-middleware Minor
server-new-middleware Minor
server-hook-reqeust Minor
server-hook-response Minor
server-hook-router Minor
@integration-test/server-hook-reqeust Minor
server-json-script Minor
server-monitors Minor
server-prod Minor
server-routes Minor
@source-code-build/app-ts-loader Minor
@source-code-build/app Minor
ssg-fixtures-mega-list-routes Minor
ssg-fixtures-nested-routes Minor
ssg-fixtures-simple Minor
ssg-fixtures-web-server Minor
ssr-base-async-entry-test Minor
ssr-base-json-test Minor
ssr-base-test Minor
ssr-base-fallback-test Minor
init Minor
ssr-inline Minor
ssr-partial-test Minor
ssr-script-loading Minor
ssr-streaming-inline-test Minor
ssr-streaming-test Minor
swc-config-function Minor
swc-minify-css Minor
swc-minify-js Minor
transform-fail Minor
integration-tailwindcss-v2 Minor
integration-tailwindcss-v3-js-config-with-postcss-config Minor
integration-tailwindcss-v3-js-config Minor
integration-tailwindcss-v3-merge-config Minor
integration-tailwindcss-v3-ts-config Minor
integration-tailwindcss-v3 Minor
integration-tailwindcss-without-plugin Minor
twin-macro-v2 Minor
twin-macro-v3 Minor
tmp-dir Minor
transform-import-type-test Minor
write-to-dist Minor
@e2e/garfish-dashboard-router-v6 Minor
@e2e/garfish-dashboard Minor
@e2e/garfish-main-router-v6 Minor
@e2e/garfish-main Minor
@e2e/garfish-table Minor
bundle-diff-benchmark Minor
@modern-js/storybook Minor
integration-tests-storybook Minor
@modern-js/tsconfig Minor
@modern-js/babel-preset Minor
@modern-js/core Minor
@modern-js/flight-server-transform-plugin Minor
@modern-js/plugin-changeset Minor
@modern-js/plugin-data-loader Minor
@modern-js/plugin-i18n Minor
@modern-js/plugin-proxy Minor
@modern-js/plugin-ssg Minor
@modern-js/plugin-swc Minor
@modern-js/rsbuild-plugin-esbuild Minor
@modern-js/uni-builder Minor
@modern-js/main-doc Minor
@modern-js/module-tools-docs Minor
@modern-js/devtools-kit Minor
@modern-js/image Minor
@modern-js/render Minor
@modern-js/new-action Minor
@modern-js/sandpack-react Minor
@modern-js/babel-plugin-module-resolver Minor
@modern-js/bff-core Minor
@modern-js/bff-runtime Minor
@modern-js/server-core Minor
@modern-js/create-request Minor
@modern-js/plugin-express Minor
@modern-js/plugin-koa Minor
@modern-js/plugin-polyfill Minor
@modern-js/plugin-server Minor
@modern-js/plugin-worker Minor
@modern-js/prod-server Minor
@modern-js/server-runtime Minor
@modern-js/server Minor
@modern-js/server-utils Minor
@modern-js/plugin-module-babel Minor
@modern-js/plugin-module-banner Minor
@modern-js/plugin-module-import Minor
@modern-js/plugin-module-node-polyfill Minor
@modern-js/plugin-module-polyfill Minor
@modern-js/plugin-module-vue Minor
@modern-js/app-tools Minor
@modern-js/module-tools Minor
@modern-js/monorepo-tools Minor
@modern-js/create Minor
@modern-js/e2e Minor
@modern-js/node-bundle-require Minor
@modern-js/plugin-v2 Minor
@modern-js/plugin Minor
@modern-js/runtime-utils Minor
@modern-js/types Minor
@modern-js/upgrade Minor
@modern-js/utils Minor
@modern-js/babel-compiler Minor
@scripts/build Minor
@scripts/check-changeset Minor
@scripts/jest-config Minor
@scripts/lint-package-json Minor
@scripts/prebundle Minor
@scripts/release-versin Minor
@scripts/update-codesmith Minor
@scripts/vitest-config Minor
tests Minor
integration-asset-prefix Minor
integration-builder-plugins Minor
integration-copy-assets Minor
entries-app-builder-index Minor
entries-app-builder Minor
entries-integration Minor
integration-config-async-config-test Minor
integration-basic-local-config Minor
integration-config-function-params Minor
integration-local-config-function Minor
integration-load-config Minor
alias-js-test Minor
alias-module-id-test Minor
alias-ts-test Minor
asset-limit-test Minor
asset-name-test Minor
asset-path-test Minor
asset-publicPath-test Minor
svgr-test Minor
auto-extension-commonjs-test Minor
auto-extension-type-module-test Minor
auto-external-test Minor
banner-footer-test Minor
build-type-test Minor
copy-test Minor
decorator-test Minor
global-vars-js-test Minor
global-vars-ts-test Minor
dts-composite Minor
dts-test Minor
esbuild-options-test Minor
external-test Minor
format-cjs-test Minor
format-esm-test Minor
format-iife-test Minor
format-umd-test Minor
hook-test Minor
entry-test Minor
jsx-test Minor
loader-esbuild-test Minor
loader-swc-test Minor
metafile-test Minor
minify-test Minor
platform-test Minor
redirect-test Minor
resolve-alias-error Minor
resolve-alias-test Minor
data-url-test Minor
browser-false Minor
resolve-false Minor
ndoe-protocol-test Minor
lib1 Minor
lib2 Minor
lib3 Minor
condition-exports-test Minor
js-extensions-test Minor
main-fields-test Minor
shims-test Minor
module-tools-side-effects-test Minor
source-dir-test Minor
sourcemap-test Minor
splitting-test Minor
css-test Minor
less-test Minor
style-test Minor
postcss-test Minor
sass-test Minor
scss-test Minor
tailwindcss-test Minor
target-test Minor
transform-import Minor
transform-lodash Minor
tsconfig-test Minor
tsconfig-extends-test Minor
umdGlobals-test Minor
get-module-id-test Minor
dev-test Minor
build-platform-test Minor
build-preset-error-test Minor
build-preset-function-test Minor
build-preset-test Minor
build-preset-string-test Minor
integration-module-tools Minor
plugin-babel Minor
module-hooks-test Minor
plugin-node-polyfill Minor
plugin-polyfill Minor
plugin-vue Minor
runtime Minor
entry Minor
@source-code-build/common Minor
@source-code-build/components Minor
@source-code-build/utils Minor
ssg Minor
ssr Minor
swc-test-decorator-legacy Minor
swc-test-decorator Minor
swc-integration Minor
tailwindcss-integration-test Minor
@e2e/webpack-builder-import-antd-v4 Minor
@e2e/webpack-builder-import-antd-v5 Minor
@e2e/webpack-builder-import-arco Minor
@e2e/webpack-builder-test-moment Minor
@e2e/builder-remove-prop-types Minor
@e2e/webpack-builder-source-map Minor
@e2e/builder Minor
@e2e/garfish Minor
@modern-js/generator-common Patch
@modern-js/generator-utils Patch
@modern-js/bff-generator Patch
@modern-js/dependence-generator Patch
@modern-js/entry-generator Patch
@modern-js/mwa-generator Patch
@modern-js/router-v5-generator Patch
@modern-js/ssg-generator Patch
@modern-js/storybook-next-generator Patch
@modern-js/upgrade-generator Patch
@modern-js/generator-cases Patch
@modern-js/base-generator Patch
@modern-js/packages-generator Patch
@modern-js/server-generator Patch
@modern-js/tailwindcss-generator Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@netlify
Copy link

netlify bot commented Jan 7, 2026

Deploy Preview for modernjs-byted ready!

Name Link
🔨 Latest commit 3771082
🔍 Latest deploy log https://app.netlify.com/projects/modernjs-byted/deploys/695e0ca2d7f29b0008c8134b
😎 Deploy Preview https://deploy-preview-8152--modernjs-byted.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 80 (🔴 down 1 from production)
Accessibility: 90 (no change from production)
Best Practices: 100 (no change from production)
SEO: 91 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@GiveMe-A-Name GiveMe-A-Name changed the title feat: enhance streaming control for SEO and compliance feat: enhance streaming control for SEO Jan 7, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

Rsdoctor Bundle Diff Analysis

📊 Quick Summary
Project Total Size Change
bundle-diff 563.0 KB 0

Generated by Rsdoctor GitHub Action

@GiveMe-A-Name GiveMe-A-Name merged commit d4491f1 into v2 Jan 7, 2026
11 checks passed
@GiveMe-A-Name GiveMe-A-Name deleted the feat/render-stream-all branch January 7, 2026 08:16
This was referenced Jan 7, 2026
yimingjfe pushed a commit to yimingjfe/modern.js that referenced this pull request Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants