Skip to content

Releases: angular-architects/module-federation-plugin

Native Federation 19.0.0

21 Dec 14:17
Compare
Choose a tag to compare

All features of version 19.0.0 are also found in 18@latest.

  • Provide support for Angular SSR and Incremental Hydration (see blog)
  • Provide support for hybrid mode using both, Module Federation and Native Federation (see blog)
  • Support sharing transitive dependencies (see readme)
  • Support manually providing entry points (see readme)
  • Fix issues with watch mode and ng build

Native Federation 18.1

07 Aug 21:35
Compare
Choose a tag to compare

Changes

  • Use the official private API in @angular/build so that we don't need to patch this package anymore. This resolves several issues.
  • Add migration guide for migrating from Module Federation to readme
  • Add hash to generated bundle names to prevent situations where several bundles get the same name
  • Allow ng build --base-href /my-base-path/
  • Fix: Make sure the process exits when there is an error

Native Federation 17.1.

21 Jan 15:25
Compare
Choose a tag to compare

CLI-Integration

Since 17.1, Native Federation for Angular uses the Angular CLI's esbuild-based Application Builder and the CLI's Dev Server to keep track with all the innovations and performance-improvements in that space.

Native Federation 16.3

10 Sep 12:54
Compare
Choose a tag to compare

Performance 🚀

This release brings tremendous performance improvements due to:

  • calling esbuild less often with more coarse-grained tasks
  • Not writing files to disk in dev mode

This brings the excellent performance known by Angular's esbuild builder this package currently delegates to.

Remove Schematic

You can now remove the native-federation config with the new remove schematic:

ng g @angular-architects/native-federation:remove --project xyz

Details & Tutorial

https://www.npmjs.com/package/@angular-architects/native-federation

15.0.0

17 Nov 21:47
Compare
Choose a tag to compare

@angular-architects/module-federation 15.0.0

  • Updated for Angular 15
  • npm run run:all now also works in an Nx workspace
  • New skip config property for skipping shared mappings, shared deps, and secondary entry points
  • loadRemoteModule defaults to type: 'manifest' if there was a manifest loaded
  • New initFederation function as an alternative for both, loadManifest and setManifest. Also, this provides feature parity with Native Federation
  • The init schematic now generates a call to initFederation (i/o loadManifest) when using the flag --type dynamic-host

14.3.0

05 Jun 21:53
Compare
Choose a tag to compare

14.3.0 - Angular 14 Support & More

Update

This library supports ng update:

ng update @angular-architects/module-federation

If you update by hand (e. g. via npm install), make sure you also install a respective version of ngx-build-plus (version 14 for Angular 14, version 13 for Angular 13, etc.)

Breaking Changes

  • shareAll now uses the DEFAULT_SKIP_LIST by default.

Features

  • add withModuleFederationPlugin to simplify the generated (ca26aeb)
  • mf-runtime: load remotes in parallel (5615917)
  • mf-runtime: supporting mf manifests (64ec2dc)
  • mf: add support for eager and pinned (623837c)
  • mf: add type option to ng-add (c57d87f)
  • mf: dev-server (run:all) accepts project names via command line args (b765515)
  • mf: respect APF v14 for discovering secondaries (00344c2)

Documentation

  • update readme and tutorial for v14.3 (fbdb463)

14.2.0

12 Mar 23:11
Compare
Choose a tag to compare
  • fix: Use "number" for port parameter during init #147
  • feature: new appType makes bootstrap helper automatically call shareNgZone or connectRouter. No need to call it in the AppComponent by hand. See usage in the updated readme

14.1.1

13 Feb 20:43
Compare
Choose a tag to compare
  • fix: install ngx-build-plus via schematic to avoid issues with yarn (commit)

14.1.0

13 Feb 19:41
5ba3753
Compare
Choose a tag to compare
  • feat: connectRouter: add query params support #119
  • feat: provide DEFAULT_SKIP_LIST constant for shareAll
  • fix: also update local tsconfig.app.json if target doesn't fit
  • fix: Property 'port' does not match the schema. '3000' should be a 'number #132
  • docs: typo in readme and adjust typing of shareAll #117
  • security: update node-fetch

Version 14

17 Dec 20:31
Compare
Choose a tag to compare

Updated for Angular CLI 13.1