Releases: module-federation/core
Releases · module-federation/core
v0.18.3
What's Changed
New Features 🎉
Document 📖
- docs: fix the configuration example in create-config.mdx by @LeeSamFong in #4004
Other Changes
New Contributors
- @LeeSamFong made their first contribution in #4004
Full Changelog: v0.18.2...v0.18.3
v0.18.2
What's Changed
New Features 🎉
- feat(enhanced): implement layer-aware module sharing with comprehensive test coverage (PR9) by @ScriptedAlchemy in #3915
Bug Fixes 🐞
- fix(rsbuild-plugin): set output.emitAssets as true by @2heal1 in #3996
- fix(runtime-core): set shared loaded status true after calling loadShareSync by @2heal1 in #3998
- fix(rsbuild-plugin): invalid type field by @2heal1 in #4002
Other Changes
- chore: bump axios to resolve vulnerabilities in form-data dependency by @DanielChutkowskiJMMJ in #4000
New Contributors
- @DanielChutkowskiJMMJ made their first contribution in #4000
Full Changelog: v0.18.1...v0.18.2
v0.18.1
What's Changed
New Features 🎉
- feat: implement nodeModulesReconstructedLookup feature for PR7 by @ScriptedAlchemy in #3913
Bug Fixes 🐞
fix: Auto call setGlobalFederationInstance
when execute createInstance
by @Nsttt in #3975
- fix(bridge-react): Add loading in root component to avoid CLS problem by @ArmenMesropyanOptimax in #3973
- fix(bridge-react): correct createRemoteComponent warning info by @2heal1 in #3983
- fix(bridge-react): call preloadAssets after getting assets by @2heal1 in #3992
- fix: collect rspack cached modules in manifest by @2heal1 in #3993
- fix: example type issue by @2heal1 in #3979
- fix(modern-js-plugin): set bridge.disableAlias true when installing @module-federation/bridge-react
Document 📖
- docs: remove unused constant by @2heal1 in #3982
- docs: enhance Module Federation offline remote handling documentation by @ScriptedAlchemy in #3932
Other Changes
- chore(modern-js-plugin): re-export all bridge react by @2heal1 in #3984
- chore: remove old website by @ScriptedAlchemy in #3990
- PR8: SharePlugin - Unified API by @ScriptedAlchemy in #3914
New Contributors
- @ArmenMesropyanOptimax made their first contribution in #3973
Full Changelog: v0.18.0...v0.18.1
v0.18.0
What's Changed
New Features 🎉
- feat(enhanced): add include/exclude filtering support for shared modules by @ScriptedAlchemy in #3949
- feat(dts-plugin): add
family
option by @ogonkov in #3977
Bug Fixes 🐞
- fix(dts-plugin): update koa to 2.16.2 to fix CVE-2025-8129 by @ScriptedAlchemy in #3963
- fix(runtime): support TypeScript moduleResolution NodeNext by @danpeen in #3960
- fix(rsbuild-plugin): add source.include in prod mode only by @2heal1 in #3971
- fix(enhanced): add module factory for EntryDependency when entry is e… by @xinyuehtx in #3953
Document 📖
- docs: add createRemoteCompoent and createRemoteSSRComponent deprecated documentation by @2heal1 in #3978
- docs: add architectural documentation in arch-doc directory by @ScriptedAlchemy in #3955
Other Changes
- chore(deps): bump undici from 5.28.5 to 7.13.0 by @dependabot[bot] in #3966
- chore(deps): bump brace-expansion from 1.1.11 to 1.1.12 by @dependabot[bot] in #3836
- chore: upgrade @babel/* packages to latest versions by @ScriptedAlchemy in #3968
- chore(deps-dev): bump pbkdf2 from 3.1.2 to 3.1.3 by @dependabot[bot] in #3856
- chore(deps-dev): bump form-data from 2.5.1 to 2.5.5 by @dependabot[bot] in #3933
- chore(deps): bump koa from 2.16.1 to 3.0.1 in /packages/dts-plugin by @dependabot[bot] in #3956
- Revert "feat: support NodeNext module resolution in packages" by @danpeen in #3972
New Contributors
- @ogonkov made their first contribution in #3977
- @xinyuehtx made their first contribution in #3953
Full Changelog: v0.17.1...v0.18.0
v0.17.1
What's Changed
New Features 🎉
- feat: upgrade NX to 21.2.3, Storybook to 9.0.9, and TypeScript to 5.8.3 by @ScriptedAlchemy in #3920
- feat: enhance HoistContainerReferencesPlugin for better module hoisting by @ScriptedAlchemy in #3903
- feat: implement rslib with TypeScript declaration generation by @ScriptedAlchemy in #3883
Bug Fixes 🐞
- fix(enhanced): add runtime safety checks to prevent errors by @ScriptedAlchemy in #3900
- fix: buildVersion now correctly reads from project's package.json by @ScriptedAlchemy in #3928
- fix(cli): enable modern TypeScript plugin by @ScriptedAlchemy in #3939
- fix(error-codes): enable modern TypeScript plugin by @ScriptedAlchemy in #3940
- fix(manifest): enable modern TypeScript plugin by @ScriptedAlchemy in #3943
- fix(data-prefetch): enable modern TypeScript plugin by @ScriptedAlchemy in #3941
- fix(esbuild): enable modern TypeScript plugin by @ScriptedAlchemy in #3942
- fix(utils): enable modern TypeScript plugin by @ScriptedAlchemy in #3946
- fix(runtime): enable modern TypeScript plugin by @ScriptedAlchemy in #3937
- fix(managers): enable modern TypeScript plugin by @ScriptedAlchemy in #3938
- fix(webpack-bundler-runtime): enable modern TypeScript plugin by @ScriptedAlchemy in #3947
- fix(runtime-tools): enable modern TypeScript plugin by @ScriptedAlchemy in #3945
- fix(rspack): enable modern TypeScript plugin by @ScriptedAlchemy in #3944
- fix(runtime-core): enable modern TypeScript plugin by @ScriptedAlchemy in #3936
- fix: prevent duplicate error prefix in Module Federation Runtime errors (#3926) by @ScriptedAlchemy in #3931
- fix(runtime-core): add useIn while using unloading registered shared by @2heal1 in #3925
- fix: resolve eslint errors in test files and cypress e2e tests by @ScriptedAlchemy in #3930
- fix(enhanced): compilerInstance type should be string not enum by @2heal1 in #3829
Document 📖
Other Changes
- refactor: rename container hooks for clarity and consistency by @ScriptedAlchemy in #3902
- refactor: sink React packages from root to individual packages by @ScriptedAlchemy in #3907
- Fix GitHub issue 3881 by @ScriptedAlchemy in #3898
- chore: clear node_modules cache after pnpm install by @ScriptedAlchemy in #3948
- chore(bridge-react): set sideEffects false by @2heal1 in #3935
Full Changelog: v0.17.0...v0.17.1
v0.17.0
What's Changed
New Features 🎉
- feat: devtool add header slot by @2heal1 in #3886
- feat(react): add cache api by @2heal1 in #3847
- feat: add createInstance api by @2heal1 in #3874
Bug Fixes 🐞
- fix: set files on runtime-tools pkg by @ScriptedAlchemy in #3889
- fix: bump modern.js to v2.68.0 to fix esbuild vulnerability by @Julien-Marcou in #3880
- fix(dts-plugin): add expose file imported files to tsconfig files by @2heal1 in #3895
Document 📖
- docs: add rspress demo prop by @2heal1 in #3875
- docs(website-new): format remotesInfo by @wtlin1228 in #3885
- docs(next): correct typo in recommended badge by @rutchanai in #3892
Other Changes
- chore(modern-js-plugin): update source.alias to resolve.alias by @2heal1 in #3909
- refactor(runtime): reuse the buildId variable by @wtlin1228 in #3884
- refactor: check if remote has any shared modules by @wtlin1228 in #3901
New Contributors
- @wtlin1228 made their first contribution in #3885
- @rutchanai made their first contribution in #3892
- @Julien-Marcou made their first contribution in #3880
Full Changelog: v0.16.0...v0.17.0
v0.16.0
What's Changed
New Features 🎉
- feat: support rspress by @2heal1 in #3852
- feat(dts-plugin): added flag to fetch types by @ksv90 in #3840
Bug Fixes 🐞
- fix(modern-js-plugin): adjust fetch type by @2heal1 in #3825
- fix(modern-js-plugin): use contenthash instead of chunkhash by @2heal1 in #3855
- fix(rsbuild-plugin): correct ESM output extension by @fi3ework in #3870
Document 📖
- docs: fix note format by @2heal1 in #3823
- docs(website-new): fix code formatting on Federation Runtime example by @nickhall in #3821
- docs: bump to [email protected] and add llms.txt by @SoonIter in #3834
- docs: upgrade [email protected] by @SoonIter in #3837
- docs: translate cli component by @2heal1 in #3868
Other Changes
New Contributors
- @catnipan made their first contribution in #3824
- @nickhall made their first contribution in #3821
- @SoonIter made their first contribution in #3834
- @ksv90 made their first contribution in #3840
Full Changelog: v0.15.0...v0.16.0
v0.15.0
What's Changed
New Features 🎉
- feat(rsbuild-plugin): support generate MF SSR in Rslib by @2heal1 in #3804
- feat: support component data fetch in ssr mode by @2heal1 in #3753
Bug Fixes 🐞
- fix(enhanced): support OR || operations in SemVer by @ScriptedAlchemy in #3808
- fix: only inject ipv4 str in dev mode by @2heal1 in #3813
Document 📖
- docs(website-new): add docs on FEDERATION (#3624) by @YanPes in #3625
- docs(website-new): add docs on resolving @mf-types generation behind local proxy by @YanPes in #3765
- docs: remove invalid type(Manifest) import by @2heal1 in #3735
Other Changes
- Update getpublicpath.mdx by @SuAutumn in #3806
- chore(modern-js-plugin): keep the version of swc/helpers consistent with rsbuild by @2heal1 in #3770
- chore(dts-plugin): check types archive url and optimize the error msg by @2heal1 in #3768
New Contributors
Full Changelog: v0.14.3...v0.15.0
v0.14.3
What's Changed
Other Changes
- Fix @module-fedration/[email protected] hit cache and not have dist issue
Full Changelog: v0.14.1...v0.14.2