@ngrx/component-store
Advanced tools
Changelog
13.0.0-beta.0 (2021-11-04)
BEFORE:
Angular 12.x is the minimum version RxJS 6.5.x is the minimum required version
AFTER:
Angular 13.0.0-RC.0 is the minimum version RxJS 7.4.x is the minimum required version
StoreConfig
argument is removed from the StoreModule.forFeature
signature with FeatureSlice
.BEFORE:
The StoreModule.forFeature
signature with FeatureSlice
has StoreConfig
as the second input argument, but the configuration isn't registered if passed.
AFTER:
The StoreModule.forFeature
signature with FeatureSlice
no longer has StoreConfig
as the second input argument.
initialState
needs to match the interface of the store/feature.BEFORE:
Missing properties were valid
StoreModule.forRoot(reducers, {
initialState: { notExisting: 3 },
metaReducers: [metaReducer],
});
AFTER:
A type error is produced for initialState that does not match the store/feature
StoreModule.forRoot(reducers, {
initialState: { notExisting: 3 },
metaReducers: [metaReducer],
});
BEFORE:
Use of PushPipe outside of component templates required a generic
AFTER:
Use of PushPipe outside of component templates no longer requires a generic
BEFORE:
Usage of props
outside of an action creator with invalid types was allowed
AFTER:
Usage of props
outside of an action creator now breaks for invalid types
BEFORE:
The Effect decorator removal and migration are done manually through schematics.
AFTER:
The Effect decorator removal and migration are performed automatically on upgrade to version 13 of NgRx Effects.
<a name="12.5.1"></a>
Changelog
12.3.0 (2021-07-22)
<a name="12.2.0"></a>
Changelog
12.1.0 (2021-06-09)
setMany
adapter (#3026) (#3029) (a02ea9f)<a name="12.0.0"></a>
Changelog
12.0.0-rc.0 (2021-05-05)
<a name="12.0.0-beta.1"></a>
Changelog