@ngrx/schematics
Advanced tools
Changelog
7.0.0-beta.0 (2018-11-03)
null
value for
routeConfig
when routeConfig
doesn't exist on the
ActivatedRouteSnapshot
instead of an empty object.BEFORE:
{
"routeConfig": {}
}
AFTER:
{
"routeConfig": null
}
BEFORE:
this.actions.ofType('INCREMENT');
AFTER:
import { ofType } from '@ngrx/store';
...
this.action.pipe(ofType('INCREMENT'))
BEFORE:
AFTER
If you still need this, pass a provider like this: { provide: ROUTER_CONFIG, useFactory: _createRouterConfig // you function }
{type: '@ngrx/store/update-reducers', feature: 'feature1'}
{type: '@ngrx/store/update-reducers', feature: 'feature2'}
AFTER:
{type: '@ngrx/store/update-reducers', features: ['feature1',
'feature2']}
<a name="6.1.0"></a>
Changelog
6.1.0 (2018-08-02)
<a name="6.0.1"></a>
Changelog
6.0.0 (2018-05-23)
<a name="6.0.0-beta.3"></a>
Changelog
Changelog
6.0.0-beta.2 (2018-05-11)
BEFORE:
export enum UserActionTypes { UserAction = '[User] Action' }
export class User implements Action { readonly type = UserActionTypes.UserAction; }
export type UserActions = User;
AFTER:
export enum UserActionTypes { LoadUsers = '[User] Load Users' }
export class LoadUsers implements Action { readonly type = UserActionTypes.LoadUsers; }
export type UserActions = LoadUsers;
state
and stateInterface
were removed due to conflicts with component aliases without reasonable alternatives.@angular-devkit/core: ^0.5.0 @angular-devkit/schematics: ^0.5.0
<a name="6.0.0-beta.1"></a>
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>