Skip to content

chore: remove legacy data prefetch#4695

Merged
2heal1 merged 2 commits intomodule-federation:mainfrom
2heal1:chore/remove-legacy-prefetch
Apr 28, 2026
Merged

chore: remove legacy data prefetch#4695
2heal1 merged 2 commits intomodule-federation:mainfrom
2heal1:chore/remove-legacy-prefetch

Conversation

@2heal1
Copy link
Copy Markdown
Member

@2heal1 2heal1 commented Apr 27, 2026

Description

remove legacy data prefetch

Related Issue

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the documentation.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 27, 2026

🦋 Changeset detected

Latest commit: 9126f97

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

This PR includes changesets to release 44 packages
Name Type
@module-federation/enhanced Major
@module-federation/sdk Major
@module-federation/manifest Major
@module-federation/runtime-core Major
@module-federation/webpack-bundler-runtime Major
@module-federation/modern-js-v3 Major
@module-federation/modern-js Major
@module-federation/nextjs-mf Patch
@module-federation/node Patch
@module-federation/rsbuild-plugin Major
@module-federation/rspress-plugin Major
@module-federation/storybook-addon Major
shared-tree-shaking-no-server-host Patch
shared-tree-shaking-no-server-provider Patch
@module-federation/devtools Major
@module-federation/cli Major
@module-federation/dts-plugin Major
@module-federation/esbuild Patch
@module-federation/managers Major
@module-federation/metro Major
@module-federation/retry-plugin Major
@module-federation/rspack Major
@module-federation/runtime Major
@module-federation/utilities Patch
@module-federation/bridge-react-webpack-plugin Major
@module-federation/bridge-react Major
@module-federation/bridge-vue3 Major
@module-federation/runtime-tools Major
shared-tree-shaking-with-server-host Patch
shared-tree-shaking-with-server-provider Patch
node-dynamic-remote-new-version Patch
node-dynamic-remote Patch
remote5 Patch
remote6 Patch
website-new Patch
@module-federation/metro-plugin-rnc-cli Major
@module-federation/metro-plugin-rnef Major
@module-federation/inject-external-runtime-core-plugin Major
@module-federation/third-party-dts-extractor Major
@module-federation/bridge-shared Major
@module-federation/error-codes Major
create-module-federation Major
@module-federation/treeshake-server Major
@module-federation/treeshake-frontend Major

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
Copy Markdown

netlify Bot commented Apr 27, 2026

Deploy Preview for module-federation-docs ready!

Name Link
🔨 Latest commit 9126f97
🔍 Latest deploy log https://app.netlify.com/projects/module-federation-docs/deploys/69f01c6123c0ce0008eba8e2
😎 Deploy Preview https://deploy-preview-4695--module-federation-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 27, 2026

Open in StackBlitz

@module-federation/devtools

pnpm add https://pkg.pr.new/@module-federation/devtools@9126f97

@module-federation/cli

pnpm add https://pkg.pr.new/@module-federation/cli@9126f97

create-module-federation

pnpm add https://pkg.pr.new/create-module-federation@9126f97

@module-federation/dts-plugin

pnpm add https://pkg.pr.new/@module-federation/dts-plugin@9126f97

@module-federation/enhanced

pnpm add https://pkg.pr.new/@module-federation/enhanced@9126f97

@module-federation/error-codes

pnpm add https://pkg.pr.new/@module-federation/error-codes@9126f97

@module-federation/esbuild

pnpm add https://pkg.pr.new/@module-federation/esbuild@9126f97

@module-federation/managers

pnpm add https://pkg.pr.new/@module-federation/managers@9126f97

@module-federation/manifest

pnpm add https://pkg.pr.new/@module-federation/manifest@9126f97

@module-federation/metro

pnpm add https://pkg.pr.new/@module-federation/metro@9126f97

@module-federation/metro-plugin-rnc-cli

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnc-cli@9126f97

@module-federation/metro-plugin-rnef

pnpm add https://pkg.pr.new/@module-federation/metro-plugin-rnef@9126f97

@module-federation/modern-js

pnpm add https://pkg.pr.new/@module-federation/modern-js@9126f97

@module-federation/modern-js-v3

pnpm add https://pkg.pr.new/@module-federation/modern-js-v3@9126f97

@module-federation/native-federation-tests

pnpm add https://pkg.pr.new/@module-federation/native-federation-tests@9126f97

@module-federation/native-federation-typescript

pnpm add https://pkg.pr.new/@module-federation/native-federation-typescript@9126f97

@module-federation/nextjs-mf

pnpm add https://pkg.pr.new/@module-federation/nextjs-mf@9126f97

@module-federation/node

pnpm add https://pkg.pr.new/@module-federation/node@9126f97

@module-federation/retry-plugin

pnpm add https://pkg.pr.new/@module-federation/retry-plugin@9126f97

@module-federation/rsbuild-plugin

pnpm add https://pkg.pr.new/@module-federation/rsbuild-plugin@9126f97

@module-federation/rspack

pnpm add https://pkg.pr.new/@module-federation/rspack@9126f97

@module-federation/rspress-plugin

pnpm add https://pkg.pr.new/@module-federation/rspress-plugin@9126f97

@module-federation/runtime

pnpm add https://pkg.pr.new/@module-federation/runtime@9126f97

@module-federation/runtime-core

pnpm add https://pkg.pr.new/@module-federation/runtime-core@9126f97

@module-federation/runtime-tools

pnpm add https://pkg.pr.new/@module-federation/runtime-tools@9126f97

@module-federation/sdk

pnpm add https://pkg.pr.new/@module-federation/sdk@9126f97

@module-federation/storybook-addon

pnpm add https://pkg.pr.new/@module-federation/storybook-addon@9126f97

@module-federation/third-party-dts-extractor

pnpm add https://pkg.pr.new/@module-federation/third-party-dts-extractor@9126f97

@module-federation/treeshake-frontend

pnpm add https://pkg.pr.new/@module-federation/treeshake-frontend@9126f97

@module-federation/treeshake-server

pnpm add https://pkg.pr.new/@module-federation/treeshake-server@9126f97

@module-federation/typescript

pnpm add https://pkg.pr.new/@module-federation/typescript@9126f97

@module-federation/utilities

pnpm add https://pkg.pr.new/@module-federation/utilities@9126f97

@module-federation/webpack-bundler-runtime

pnpm add https://pkg.pr.new/@module-federation/webpack-bundler-runtime@9126f97

@module-federation/bridge-react

pnpm add https://pkg.pr.new/@module-federation/bridge-react@9126f97

@module-federation/bridge-react-webpack-plugin

pnpm add https://pkg.pr.new/@module-federation/bridge-react-webpack-plugin@9126f97

@module-federation/bridge-shared

pnpm add https://pkg.pr.new/@module-federation/bridge-shared@9126f97

@module-federation/bridge-vue3

pnpm add https://pkg.pr.new/@module-federation/bridge-vue3@9126f97

@module-federation/inject-external-runtime-core-plugin

pnpm add https://pkg.pr.new/@module-federation/inject-external-runtime-core-plugin@9126f97

commit: 9126f97

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2026

Bundle Size Report

17 package(s) changed, 23 unchanged.

Package dist + ESM entry

Package Total dist (raw) Delta ESM gzip Delta
@module-federation/bridge-vue3 146.6 kB -689 B (-0.5%) 22.4 kB -100 B (-0.4%)
@module-federation/cli 26.3 kB no change 786 B no change
@module-federation/core 39.1 kB no change 173 B no change
@module-federation/data-prefetch 0 B -121121 B (-100.0%) 0 B -105 B (-100.0%)
@module-federation/devtools 487.9 kB no change 3.9 kB no change
@module-federation/dts-plugin 306.2 kB -31 B (-0.0%) 4.6 kB no change
@module-federation/enhanced 806.6 kB -7668 B (-0.9%) 672 B no change
@module-federation/managers 69.8 kB no change 334 B no change
@module-federation/manifest 136.1 kB -1937 B (-1.4%) 182 B no change
@module-federation/metro-plugin-rnc-cli 0 B no change 314 B no change
@module-federation/node 193.4 kB no change 217 B no change
@module-federation/retry-plugin 61.6 kB -31 B (-0.0%) 2.8 kB no change
@module-federation/runtime-core 252.7 kB -87 B (-0.0%) 477 B no change
@module-federation/sdk 119.1 kB -1845 B (-1.5%) 785 B -13 B (-1.6%)
@module-federation/storybook-addon 77.6 kB no change 100 B no change
@module-federation/utilities 110.6 kB no change 328 B no change
@module-federation/webpack-bundler-runtime 93.9 kB -233 B (-0.2%) 405 B no change

Bundle targets

Package Web bundle (gzip) Delta Node bundle (gzip) Delta
@module-federation/bridge-vue3 17.2 kB -84 B (-0.5%) 16.9 kB -85 B (-0.5%)
@module-federation/cli 2.3 kB -34 B (-1.4%) 2.3 kB -34 B (-1.4%)
@module-federation/core 1.1 kB -33 B (-2.9%) 1.0 kB -31 B (-2.9%)
@module-federation/data-prefetch 0 B -1677 B (-100.0%) 0 B -1677 B (-100.0%)
@module-federation/devtools 21.3 kB -28 B (-0.1%) 21.3 kB -28 B (-0.1%)
@module-federation/dts-plugin 14.3 kB no change 14.3 kB no change
@module-federation/enhanced 2.6 kB -44 B (-1.6%) 2.6 kB -44 B (-1.6%)
@module-federation/managers 2.4 kB -27 B (-1.1%) 2.4 kB -27 B (-1.1%)
@module-federation/manifest 6.1 kB -159 B (-2.5%) 6.1 kB -159 B (-2.5%)
@module-federation/metro-plugin-rnc-cli 411 B -26 B (-5.9%) 411 B -26 B (-5.9%)
@module-federation/node 9.2 kB -29 B (-0.3%) 9.2 kB -29 B (-0.3%)
@module-federation/retry-plugin 1.8 kB no change 1.8 kB no change
@module-federation/runtime-core 13.7 kB -10 B (-0.1%) 13.4 kB -13 B (-0.1%)
@module-federation/sdk 4.5 kB -169 B (-3.5%) 5.3 kB -168 B (-3.0%)
@module-federation/storybook-addon 1.9 kB -24 B (-1.2%) 1.7 kB -23 B (-1.3%)
@module-federation/utilities 2.6 kB -32 B (-1.2%) 2.6 kB -32 B (-1.2%)
@module-federation/webpack-bundler-runtime 4.0 kB -19 B (-0.5%) 4.0 kB -19 B (-0.5%)

Tree-shakable entrypoints

Package Export Entry gzip Delta Web bundle (gzip) Delta Node bundle (gzip) Delta Gap (node-web) Delta
@module-federation/webpack-bundler-runtime ./bundler 151 B no change 4.0 kB -19 B (-0.5%) 4.0 kB -19 B (-0.5%) 0 B 0 B

Consumer scenarios

Scenario Web output (gzip) Delta Node output (gzip) Delta Gap (node-web) Delta
Enhanced remoteEntry 19.7 kB -120 B (-0.6%) 20.8 kB -106 B (-0.5%) +1.0 kB +14 B

Total dist (raw): 6.20 MB (-133642 B (-2.0%))
Total ESM gzip: 73.8 kB (-218 B (-0.3%))
Total web bundle (gzip): 177.5 kB (-2395 B (-1.3%))
Total node bundle (gzip): 177.9 kB (-2395 B (-1.3%))
Tracked ./bundler entry gzip: 556 B (no change)
Tracked ./bundler web bundle (gzip): 4.8 kB (-19 B (-0.4%))
Tracked ./bundler node bundle (gzip): 4.8 kB (-19 B (-0.4%))

Bundle sizes are generated with rslib (Rspack). Package-root metrics preserve the historical report. Tracked subpath exports such as ./bundler are measured separately so ENV_TARGET-driven tree-shaking is visible. Bare imports are externalized to keep package-level sizes consistent, and assets are emitted as resources.

@2heal1 2heal1 merged commit 13b1e84 into module-federation:main Apr 28, 2026
23 checks passed
@2heal1 2heal1 mentioned this pull request Apr 29, 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.

1 participant