Releases: dkhrunov/ngx-mfe
Releases · dkhrunov/ngx-mfe
v19.0.0
v18.0.0
v17.0.0
v16.0.0
v15.1.0
Features:
- Added ability to load MfeConfig asynchronously. [Issue - #18]
Fixed:
- Fixed type of
NGX_MFE_OPTIONSformInjectionToken<string>toInjectionToken<NgxMfeOptions>.
Breaking changes:
- Renamed MfeModule.forRoot() options from
NgxMfeOptionstoNgxMfeForRootOptions. - Now
MfeRegistryis no longer accessible from DI. - Changed API of
MfeRegistry:- changed method
public static getInstance(mfeConfig?: MfeConfig): MfeRegistryto getterpublic static get instance(): MfeRegistry; - added method
public setMfeConfig(config: MfeConfig): void.
- changed method
v15.0.0
v3.0.2
v3.0.1
v3.0.0
v2.1.0
Fixed:
- Fix error, if the fallback is also unavailable, then simply clear the view;
Refactored:
- Renamed
MfeServicetoRemoteComponentLoader; - Renamed
MfeComponentsCachetoRemoteComponentsCache; - Renamed
ModularRemoteComponenttype toRemoteComponentWithModule; - Wrapped to
ngZone.runOutsidetheloadMfefunction calls inside theRemoteComponentLoader; - Added new type
ComponentWithNgModuleRef<TComponent, TModule>, that holds component classType<T>andNgModuleRef; - Changed cached value for
RemoteComponentWithModulefromComponentFactorytoComponentWithNgModuleRef; - In
RemoteComponentLoader(old nameMfeService) renamed functionloadModularComponenttoloadComponentWithModule - Changed return type of method
loadComponentWithModuleinside classRemoteComponentLoaderfromPromise<ComponentFactory<TComponent>>toPromise<ComponentWithNgModuleRef<TComponent, TModule>>;