@ngrx/store
Advanced tools
Changelog
14.0.1 (2022-06-29)
<a name="14.0.0"></a>
Changelog
14.0.0-rc.0 (2022-06-08)
BEFORE:
The full router state serializer is named DefaultRouterStateSerializer
AFTER:
The full router state serializer is named FullRouterStateSerializer
. A migration is provided to rename the export in affected projects.
<a name="14.0.0-beta.0"></a>
Changelog
14.0.0-beta.0 (2022-05-30)
LetDirective
is strongly typed when null
or
undefined
is passed as input.BEFORE:
<p *ngrxLet="null as n">{{ n }}</p>
<p *ngrxLet="undefined as u">{{ u }}</p>
n
is any
.u
is any
.AFTER:
<p *ngrxLet="null as n">{{ n }}</p>
<p *ngrxLet="undefined as u">{{ u }}</p>
n
is null
.u
is undefined
.Creating actions, reducers, and effects is possible without using the creator syntax is possible.
AFTER:
--creators
(and -c
) is removed from the schematic options.skipTests
option is removed while generating actions.BEFORE:
Minimum version of Angular was 13.x
AFTER:
Minimum version of Angular is 14.x
BEFORE:
The change detection is triggered via changeDetectorRef.detectChanges
in zone-less mode.
AFTER:
The change detection is triggered via ɵmarkDirty
in zone-less mode.
$error
property from LetDirective
's view context is
a thrown error or undefined
instead of true
/false
.BEFORE:
<p *ngrxLet="obs$; $error as e">{{ e }}</p>
e
will be true
when obs$
emits error event.e
will be false
when obs$
emits next/complete event.AFTER:
<p *ngrxLet="obs$; $error as e">{{ e }}</p>
e
will be thrown error when obs$
emits error event.e
will be undefined
when obs$
emits next/complete event.<a name="13.1.0"></a>
Changelog
13.1.0 (2022-03-28)
<a name="13.0.2"></a>
Changelog
13.0.2 (2021-12-07)
<a name="13.0.1"></a>
Changelog
13.0.0-rc.0 (2021-11-11)
BEFORE:
createSelector<Story[], Story[], Story[][]>;
AFTER:
// needs to be a tuple 👇
createSelector<Story[], [Story[]], Story[][]>;
getWithQuery
and getAll
methods are consistent and do set loaded
property to true on dispatching their success actions respectively.BEFORE:
The getWithQuery
method would not set the loaded
property to true upon success
AFTER:
The getWithQuery
method sets the loaded
property to true upon success
<a name="13.0.0-beta.0"></a>