Releases: angular-architects/module-federation-plugin
20.1.6
What's Changed
- docs: simplify shell reloading documentation and redirect to article by @aramirezj in #912
- refactor: use exposed
ProjectData
from Sheriff by @rainerhahnekamp in #921 - feat(nf): prevents bundle adapter hiding errors when building artifacts by @aramirezj in #918
- fix(nf-core): make sheriff an ordinary dep (solves issue with yarn)
Full Changelog: 20.1.2...20.1.6
20.1.2
What's Changed
- chore(nx): Upgrade semver to avoid CVE-2022-25883 by @mguay22 in #831
- fix(i18n): support both string and object forms of i18n.sourceLocale by @eintim in #859
- fix(nf): update how to get tailwind config ref to support angular v20.1.0 by @JGhignatti in #894
- feat(nf): compatibility with @angular/build package by @Nicoss54 in #806
New Contributors
- @mguay22 made their first contribution in #831
- @eintim made their first contribution in #859
- @JGhignatti made their first contribution in #894
- @Nicoss54 made their first contribution in #806
Full Changelog: 20.0.7...20.1.2
20.0.7
This release contains two significant improvements: Thanks to Alejandro Ramírez, the shell is now reloaded when a remote is changed in development mode. This is the usual DX people expect, and hence, in the past, there have been several requests for it.
The second huge improvement is a fix and a new feature removing sharp edges when using the new ignoreUnusedDeps
. This feature improves DX and performance and is now on by default for new projects. More Details on it can be found in the release notes for version 20.0.3 and 20.0.6.
Big thanks to Rainer Hahnekamp for quickly fixing a bug in the underlying sheriff library.
What's Changed
- feat(nf): adds suport for SSE events when the federation artifacts has been built by @aramirezj in #886
- feat(nf-core): respect unresolved deps when removing unused shared packages from configuration
- fix(nf): make schematic use forward slashes for paths even though it runs on windows
- perf(nf): don't build shared libs again after a change in dev
- fix(nf-core): rewrite imports for resolving chunks via import map
Full Changelog: 20.0.6...20.0.7
20.0.6
- feat(nf-core): don't create tsconfig.federation.ts when ignoreUnusedDeps is activated
- feat(nf-core): don't exclude @angular/common/locales/* when ignoreUnusedDeps is activated
- fix(nf-core): fix lookup of secondary entrypoints when they are configured in the package.json using globs (e.g., ./i18n/*.mjs)
Full Changelog: 20.0.5...20.0.6
20.0.5
What's Changed
- fix: compare tsconfig.federation.json using isDeepStrictEqual by @kettei-sproutty in #820
New Contributors
- @kettei-sproutty made their first contribution in #820
Full Changelog: 20.0.4...20.0.5
20.0.3
This release allows for avoiding over-sharing (usually caused by shareAll
) by scanning the code for npm packages that are actually used. This brings several benefits:
- Improved build times
- Improved start-up times (smaller import map)
- Fewer issues with node packages that are in the (mono) repo but not used by the app in question
- Prevents subtle bugs such as #865
Start-up times are especially improved when using packages with many secondary entry points, such as date-fns
. Before, each of these entry points was built and added to the source map; now, only the ones actually needed are added.
Version 20.0.6 provides further improvements on top of this new feature:
- The creation of the file tsconfig.federation.config.ts is not needed anymore
- Localization works out of the box
This feature is hidden behind a feature flag to allow for a backwards-compatible behavior.
Activate it in your federation.config.js
as follows:
features: {
ignoreUnusedDeps: true
}
Full Changelog: 20.0.2...20.0.3
20.0.2
feat(node): support appEngine in Angular 19 und 20 for SSR
Please find all details for the updated SSR support (including support for the new AppEngine and Incremental Hydration) here:
https://www.angulararchitects.io/blog/ssr-and-hydration-with-native-federation-for-angular/
20.0.1
Full Changelog: 20.0.0...20.0.1
20.0.0
- feat(nf): migrate to angular 20
Full Changelog: 19.0.23...20.0.0
19.0.23
What's Changed
- fix(index-file): fixed the double quote issue by @asollberger in #849
Full Changelog: 19.0.19...19.0.23