Releases: lVlyke/lithium-angular
5.0.0-rc.0
- Upgraded to Angular 9.0.0 final.
- Fixed issue where JSDoc
@deprecated
flag was being incorrectly applied to mergedAutoPush
namespace. - Documentation updates.
5.0.0-beta.4
- Corrected issue where Ivy lifecycle event hooks were being invoked for all running instances of a component.
- Documentation updates.
5.0.0-beta.3
Note: The former 4.0.0-beta Ivy release has been re-versioned to 5.0.0-beta to allow for additional VE-based Lithium releases.
Changes:
AotAware
has been deprecated and renamed toLiComponent
.- Improved and refactored documentation to reflect API changes.
- The
@Reactive
class decorator that was deprecated in Lithium 2.0 has been removed.
4.0.1-beta.1
Changes:
- Upgraded Angular version to
8.2.14
. - Removed management of defunct ViewEngine JIT Angular metadata as it is removed in future versions of Angular.
Note: As Lithium no longer manages JIT component metadata, the following code which used to work in debug builds will no longer work:
@Component({...})
class Component {
@EventSource(HostListener("click"))
private readonly onClick$: Observable<any>;
constructor () {
// This will never emit
this.onClick$.subscribe(() => console.log("The component was clicked."));
}
}```
Angular decorators must now be placed alongside `@StateEmitter`/`@EventSource` in both JIT and AoT builds, as shown in the example below:
```ts
@Component({...})
class Component {
@HostListener("click")
@EventSource()
private readonly onClick$: Observable<any>;
constructor () {
// This will emit as expected
this.onClick$.subscribe(() => console.log("The component was clicked."));
}
}
4.0.1-beta.0
Note: The 4.0.1-beta track is still based on Angular's original ViewEngine renderer to stay compatible with pre-Ivy Angular applications. Lithium 4.x.x will remain ViewEngine compatible. Ivy will only be supported in Lithium 5.0.0 and up.
Changes:
- Multiple values can now be passed into an
EventSource
facade function to be emitted as an array on the subject. AotAware
has been deprecated and renamed toLiComponent
.- Removed the use of the ES7 Reflection API. A reflection API polyfill is no longer required to use Lithium.
- Removed the
@AutoPush
class decorator; it is superseded byAutoPush.enable
.@AutoPush
may be revisited in the future. - Lithium no longer emits decorator metadata and no longer requires setting the
emitDecoratorMetadata
TS compiler flag. This decreases build size and improves build compatibility.
3.1.1
Changes:
- Multiple values can now be passed into an
EventSource
facade function to be emitted as an array on the subject.
Note: Lithium 3 and 4 will remain compatible with pre-Ivy Angular applications (and apps that opt-out of Ivy in Angular 9). However, if you are now using Ivy to compile your application, you must upgrade to Lithium 5 for full compatibility and feature support.
4.0.0-beta.2
- Multiple values can now be passed into an
EventSource
facade function to be emitted as an array on the subject. - Removed management of defunct pre-Ivy ViewEngine JIT Angular metadata.
- Internal API refactoring. Note: This hides implementation functions that were previously exposed publicly.
4.0.0-beta.1
- Removed the use of the ES7 Reflection API. A reflection API polyfill is no longer required to use Lithium.
- Removed the
@AutoPush
class decorator; it is superseded byAutoPush.enable
.@AutoPush
may be revisited in the future. - Lithium no longer emits decorator metadata and no longer requires setting the
emitDecoratorMetadata
TS compiler flag. This decreases build size and improves build compatibility.
4.0.0-beta.0
The first beta of Lithium 4 adds support for Ivy as of Angular 9 RC.11.
- Adds support for Ivy as of 9-RC.11. Both development and production (AoT) builds are supported.
1 Since Angular 9 is still in the RC phase and the Ivy Features API has not been finalized, Lithium's support for Ivy is still considered experimental. As the Ivy API changes, some features may stop working.
2 This release breaks backwards compatibility with previous versions of Angular as it relies on the new Ivy API. Only use this version if you're using Angular 9.