@ngrx/router-store
Advanced tools
Changelog
Changelog
6.0.0-beta.0 (2018-03-31)
BEFORE:
Errors in reducers are caught by StoreDevtools and logged to the console
AFTER:
Errors in reducers are reported to ErrorHandler
BEFORE:
Full RouterStateSnapshot is returned
AFTER:
Router state snapshot is returned as a SerializedRouterStateSnapshot with cyclical dependencies removed
Entity: The signature of the upsertOne/upsertMany functions in the EntityAdapter has been changed to accept a fully qualified entity instead of an update object that implements the Update<T> interface.
Before:
entityAdapter.upsertOne(
{
id: 'Entity ID',
changes: { id: 'Entity ID', name: 'Entity Name' },
},
state
);
After:
entityAdapter.upsertOne(
{
id: 'Entity ID',
name: 'Entity Name',
},
state
);
NgRx now has a minimum version requirement on Angular 6 and RxJS 6.
<a name="5.2.0"></a>
Changelog
5.2.0 (2018-03-07)
<a name="5.1.0"></a>
Changelog
5.0.0 (2018-01-22)
Effects: The utility function toPayload
, deprecated in @ngrx/effects v4.0, has been removed.
Before:
import { toPayload } from '@ngrx/effects';
actions$.ofType('SOME_ACTION').map(toPayload);
After:
actions$.ofType('SOME_ACTION').map((action: SomeActionWithPayload) => action.payload);
ErrorHandler: The ErrorReporter has been replaced with ErrorHandler from angular/core.
BEFORE:
Errors were reported to the ngrx/effects ErrorReporter. The ErrorReporter would log to the console by default.
AFTER:
Errors are now reported to the @angular/core ErrorHandler.
BEFORE:
Minimum peer dependency of RxJS ^5.0.0
AFTER:
Minimum peer dependency of RxJS ^5.5.0
BEFORE:
Minimum peer dependency of RxJS ^5.0.0
AFTER:
Minimum peer dependency of RxJS ^5.5.0
<a name="4.1.1"></a>
Changelog
4.1.1 (2017-11-07)
<a name="4.1.0"></a>
Changelog
4.1.0 (2017-10-19)
<a name="4.0.5"></a>
Changelog
4.0.3 (2017-08-16)
<a name="4.0.2"></a>
Changelog
4.0.2 (2017-08-02)
<a name="4.0.1"></a>