Releases: module-federation/core
Releases · module-federation/core
0.20.0
What's Changed
New Features 🎉
- feat(webpack-bundler-runtime): support lazy compilation by @2heal1 in #4095
- feat: add zephyr to docs by @Nsttt in #4046
- feat(enhanced): runtimePlugins support pass params by @2heal1 in #4118
Bug Fixes 🐞
- fix(enhanced): Populate
buildMeta
andbuildInfo
onConsumeSharedPlugin
using fallbacks by @ScriptedAlchemy in #4063 - fix(retry-plugin): implement error handling in getRemoteEntry to avoid throw RUNTIME_008 error on console by @danpeen in #4064
- fix(runtime): remove synthetic default import by @jabrks in #4066
- fix(sdk): change NameTransformSymbol to literal type for TS <5.7.0 by @baconcheese113 in #4014
- fix: the
exposes.requires
type in manifest.json should be array instead of object by @danpeen in #4094 - fix(dts-plugin): correct generateTypes host params by @2heal1 in #4088
- fix(node): catch runInThisContext errors and handle req error by @mababain in #4093
- fix(enhanced): consume shared module cache issue by @2heal1 in #4102
- fix(docs): fix mermaid syntax error by @CaptainWang98 in #4108
- fix(enhanced): Add fallback parsing for container module exposes (#4034) by @ScriptedAlchemy in #4083
- fix enahcned type tests by @ScriptedAlchemy in #4113
- fix: DevServer reconnecting when timeout by @kambing86 in #4120
Document 📖
Other Changes
- chore: update release contribute desc by @2heal1 in #4069
- chore: publish bridge preview by @2heal1 in #4070
- chore: remove pkg-pr-new by @2heal1 in #4072
- chore: merge preview into release.yml by @2heal1 in #4073
- Fix spaces in path for TypeScript compilation by @CC-Bell in #4081
- Fix minor documentation error for rsbuild consumer example by @mcalthrop in #4075
- chore(enhanced): update schema by @2heal1 in #4092
- build(esbuild): migrate from rollup to rslib by @ScriptedAlchemy in #4048
- chore: stabilize tsc rollup builds and clean up CI retries by @ScriptedAlchemy in #4105
- chore(deps): bump @changesets/get-dependents-graph from 2.1.2 to 2.1.3 by @dependabot[bot] in #4110
- chore(deps-dev): bump publint from 0.2.12 to 0.3.13 by @dependabot[bot] in #4109
- refactor: migrate rsbuild-plugin build to rslib by @ScriptedAlchemy in #4096
- ci: bump action scripts versions by @gioboa in #4114
- chore(manifest): harden e2e workflow by @ScriptedAlchemy in #4106
- Rename share resolver option to allowNodeModulesSuffixMatch by @ScriptedAlchemy in #4121
- chore(deps): bump axios from 1.11.0 to 1.12.0 by @dependabot[bot] in #4059
- chore(deps-dev): bump vite from 6.3.5 to 6.3.6 by @dependabot[bot] in #4052
- chore: update runtimePlugins type by @2heal1 in #4123
- Improve infrastructure logging across federation plugins by @ScriptedAlchemy in #4115
New Contributors
- @CC-Bell made their first contribution in #4081
- @mcalthrop made their first contribution in #4075
- @jabrks made their first contribution in #4066
- @baconcheese113 made their first contribution in #4014
- @CaptainWang98 made their first contribution in #4108
- @kambing86 made their first contribution in #4120
- @gioboa made their first contribution in #4114
Full Changelog: 0.19.1...0.20.0
Release v0.19.1
What's Changed
New Features 🎉
Bug Fixes 🐞
- fix: using
addQuery
option in retry-plugin query parameters will accumulating across retries by @danpeen in #4055
Document 📖
Other Changes
- chore: release metro support by @ScriptedAlchemy in #4041
- chore: add react-native docs by @Esemesek in #3905
- chore: enable trusted publishing for npm packages by @2heal1 in #4053
- chore: optimize release workflow by @2heal1 in #4057
New Contributors
Full Changelog: v0.18.4...0.19.1
v0.18.4
Description
Metro Initial Release
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.
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