@ngrx/store
Advanced tools
Changelog
5.1.0 (2018-02-13)
<a name="5.0.1"></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>
Changelog
4.0.0 (2017-07-18)
BEFORE:
@NgModule({
imports: [EffectsModule.run(SourceA), EffectsModule.run(SourceB)],
})
export class AppModule {}
AFTER:
@NgModule({
imports: [EffectsModule.forRoot([SourceA, SourceB, SourceC])],
})
export class AppModule {}
@NgModule({
imports: [EffectsModule.forFeature([FeatureSourceA, FeatureSourceB, FeatureSourceC])],
})
export class SomeFeatureModule {}