Skip to content

Releases: lVlyke/lithium-angular

5.0.0-rc.0

08 Feb 20:11
Compare
Choose a tag to compare
5.0.0-rc.0 Pre-release
Pre-release
  • Upgraded to Angular 9.0.0 final.
  • Fixed issue where JSDoc @deprecated flag was being incorrectly applied to merged AutoPush namespace.
  • Documentation updates.

5.0.0-beta.4

08 Feb 20:10
Compare
Choose a tag to compare
5.0.0-beta.4 Pre-release
Pre-release
  • Corrected issue where Ivy lifecycle event hooks were being invoked for all running instances of a component.
  • Documentation updates.

5.0.0-beta.3

02 Feb 13:37
Compare
Choose a tag to compare
5.0.0-beta.3 Pre-release
Pre-release

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 to LiComponent.
  • 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

02 Feb 17:05
Compare
Choose a tag to compare
4.0.1-beta.1 Pre-release
Pre-release

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

02 Feb 13:45
Compare
Choose a tag to compare
4.0.1-beta.0 Pre-release
Pre-release

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 to LiComponent.
  • 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 by AutoPush.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

02 Feb 14:46
Compare
Choose a tag to compare

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

01 Feb 22:03
Compare
Choose a tag to compare
4.0.0-beta.2 Pre-release
Pre-release
  • 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

01 Feb 04:49
Compare
Choose a tag to compare
4.0.0-beta.1 Pre-release
Pre-release
  • 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 by AutoPush.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

31 Jan 04:09
Compare
Choose a tag to compare
4.0.0-beta.0 Pre-release
Pre-release

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.

3.1.0

21 Jan 18:46
Compare
Choose a tag to compare
  • AutoPush now defaults to using ChangeDetectorRef.markForCheck() instead of ChangeDetectorRef.detectChanges(). This will be functionally equivalent in most cases and is more efficient in many cases. See here for more information on how to control AutoPush change detection behavior.