Skip to content

Releases: angular-architects/module-federation-plugin

20.1.6

17 Aug 18:47
1923ddc
Compare
Choose a tag to compare

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

14 Jul 18:38
Compare
Choose a tag to compare

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

Full Changelog: 20.0.7...20.1.2

20.0.7

06 Jul 10:31
Compare
Choose a tag to compare

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

15 Jun 21:19
Compare
Choose a tag to compare
  • 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

14 Jun 18:36
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 20.0.4...20.0.5

20.0.3

13 Jun 20:22
Compare
Choose a tag to compare

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

10 Jun 12:41
Compare
Choose a tag to compare

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

30 May 18:46
Compare
Choose a tag to compare

Full Changelog: 20.0.0...20.0.1

20.0.0

30 May 18:47
Compare
Choose a tag to compare

19.0.23

30 May 17:20
Compare
Choose a tag to compare

What's Changed

Full Changelog: 19.0.19...19.0.23