Skip to content

Releases: lVlyke/lithium-angular

8.0.0

28 Jun 16:35
f6264e6
Compare
Choose a tag to compare

Changes:

  • Formally deprecated the StateEmitter decorator. It will be removed in a future version of Lithium.
  • Added support for Angular 18.

7.3.1

03 Dec 21:29
Compare
Choose a tag to compare

This release adds support for Angular 17.

7.3.0

15 Jun 19:29
Compare
Choose a tag to compare

This release adds support for Angular 16.

7.2.2

08 Apr 01:13
1761226
Compare
Choose a tag to compare

Adds support for Angular 15.

7.2.1

14 Oct 21:45
e689efe
Compare
Choose a tag to compare

Adds support for Angular 14 and Typescript 4.8.x.

7.2.0

13 Apr 02:51
94167ac
Compare
Choose a tag to compare

This release fixes several memory leaks caused by stale subscriptions.

7.1.0

09 Apr 01:21
24a123f
Compare
Choose a tag to compare

This release adds support for Angular 13.

7.0.0

22 Feb 21:45
0a73656
Compare
Choose a tag to compare

The 7.0.0 release introduces a new concept called component states, which are a type-safe and lightweight alternative to the @StateEmitter decorator for enabling reactive state management in components. 7.0.0 is fully backwards compatible with prior versions of Lithium, however certain features have been marked as deprecated and will be removed in future versions of Lithium.

Please see the new migration guide for a full guide on how to migrate from prior versions of Lithium to the new component state syntax.

  • Added ComponentState type for capturing a component's state through a reactive interface.
  • Added ComponentStateRef class, which is an injected service provided at the component level for retrieving its ComponentState.
  • Added createComponentState function (aliased by ComponentState.create) for creating a ComponentStateRef provider for a given component.
  • Added DirectiveState type for capturing a directive's state through a reactive interface.
  • Added DirectiveStateRef class, which is an injected service provided at the directive level for retrieving its DirectiveState.
  • Added createDirectiveState function for creating a DirectiveStateRef provider for a given directive.
  • Added stateTokenFor function for retrieving the injection token of a provider created with createDirectiveState or createComponentState.
  • Added @AsyncState property decorator for creating synchronous aliases of observable properties inside a component.
  • Added @DeclareState property decorator for declaring uninitialized component state.
  • Component states fully support AutoPush functionality.
  • Deprecated LiComponent base class.
  • Removed previously deprecated AotAware base class.
  • Removed previously deprecated AutoPush class decorator.

Take a look at the newly rewritten intro guide and the example project to see examples of component state usage.

7.0.0-rc.5

18 Nov 02:04
Compare
Choose a tag to compare
7.0.0-rc.5 Pre-release
Pre-release
  • Fixed issue where using ComponentState together with StateEmitter caused proxy values from StateEmitter to not behave correctly.
  • Fixed issue where StateEmitter proxy values weren't behaving correctly when written to before being read.

7.0.0-rc.4

18 Nov 01:49
Compare
Choose a tag to compare
7.0.0-rc.4 Pre-release
Pre-release
  • Removed DirectiveState.CreateOptions.uniqueToken config option.