v2.8.0
Release v2.8.0
Added 2
- Add TypeScript 7 support to dts-plugin
- Allow disabling unused capabilities in runtime
Changed 3
- Slim dependencies
- Bump Rock to 0.14.1 in metro
- Support TypeScript 7 in metro
Fixed 7
- Force library.type to commonjs-module in rsbuild-plugin patchNodeConfig
- Normalize Windows paths in metro
- Support current Rslib bundle API in CI
- Preserve ESM remote entry type in manifest
- Support Rspack module identifiers
- Set optimization.usedExports to global to prevent tree shaking
- Set optimization target from ssr config in modern-js
From core
What's Changed
New Features 🎉
- feat(dts-plugin): add TypeScript 7 support by @2heal1 in https://github.com/module-federation/core/pull/4878
- feat(runtime): allow disabling unused capabilities by @2heal1 in https://github.com/module-federation/core/pull/4901
Performance 🚀
- perf: slim deps by @2heal1 in https://github.com/module-federation/core/pull/4897
Bug Fixes 🐞
- fix(rsbuild-plugin): force library.type to commonjs-module in patchNodeConfig by @elecmonkey in https://github.com/module-federation/core/pull/4873
- fix(metro): normalize Windows paths by @jbroma in https://github.com/module-federation/core/pull/4882
- fix(ci): support current Rslib bundle API by @ScriptedAlchemy in https://github.com/module-federation/core/pull/4885
- fix(manifest): preserve ESM remote entry type by @zackarychapple in https://github.com/module-federation/core/pull/4894
- fix: support Rspack module identifiers by @LingyuCoder in https://github.com/module-federation/core/pull/4892
- fix: set optimization.usedExports to global to prevent tree shaking i… by @2heal1 in https://github.com/module-federation/core/pull/4896
- fix(modern-js): set optimization target from ssr config by @2heal1 in https://github.com/module-federation/core/pull/4900
Other Changes
- chore(metro): bump Rock to 0.14.1 by @jbroma in https://github.com/module-federation/core/pull/4881
- chore: bump Node.js to 24 LTS by @Nsttt in https://github.com/module-federation/core/pull/4884
- ci(node): verify published packages on Node 20 by @2heal1 in https://github.com/module-federation/core/pull/4888
- chore(metro): support TypeScript 7 by @2heal1 in https://github.com/module-federation/core/pull/4898
- ci(release): show release type in approval by @ryok90 in https://github.com/module-federation/core/pull/4904
New Contributors
- @LingyuCoder made their first contribution in https://github.com/module-federation/core/pull/4892
Full Changelog: https://github.com/module-federation/core/compare/v2.7.0...v2.8.0