Adapts to breaking changes in Angular 6 and RxJS 6. Also updates to Typescript 2.7.2.
- Update to Angular 5 compiler
- Update RxJS, change to use let-able operators
- Requires @angular-redux/store 7+
** Breaking Change **
- NgReduxRouterModule now needs to be imported with
.forRoot
before
@NgModule({
declarations: [AppComponent],
imports: [
RouterModule.forRoot(appRoutes),
/* .... */
NgReduxRouterModule
],
bootstrap: [AppComponent]
})
export class AppModule {}
after
@NgModule({
declarations: [AppComponent],
imports: [
RouterModule.forRoot(appRoutes),
/* .... */
NgReduxRouterModule.forRoot()
],
bootstrap: [AppComponent]
})
export class AppModule {}
Added support for Angular 5.
- Typescript 2.4.1
- Compile with
strict: true
in tsconfig.json - Fix for issue #17.
- Add package-lock.json for contributors using npm 5+.
6.3.0 - Version bump to match [email protected]
https://github.com/angular-redux/store/blob/master/CHANGELOG.md
6.2.0 - Version bump to match [email protected]
https://github.com/angular-redux/store/blob/master/CHANGELOG.md
We now support versions 2 and 4 of Angular. Version 2 support is deprecated and support will be removed in the next major version.
- Include the
src
-folder in the release so webpack can build source maps.
Due to the impending release of Angular4, the name 'ng2-redux' no longer makes a ton of sense. The Angular folks have moved to a model where all versions are just called 'Angular', and we should match that.
After discussion with the other maintainers, we decided that since we have to rename things anyway, this is a good opportunity to collect ng2-redux and its related libraries into a set of scoped packages. This will allow us to grow the feature set in a coherent but decoupled way.
As of v6, the following packages are deprecated:
- ng2-redux
- ng2-redux-router
- ng2-redux-form
Those packages will still be available on npm for as long as they are being used.
However we have published the same code under a new package naming scheme:
- @angular-redux/store (formerly ng2-redux)
- @angular-redux/router (formerly ng2-redux-router)
- @angular-redux/form (formerly ng2-redux-form).
We have also decided that it's easier to reason about things if these packages align at least on major versions. So everything has at this point been bumped to 6.0.0.
Apart from the rename, the following API changes are noted:
- @angular-redux/store: none.
- @angular-redux/router: none.
- @angular-redux/form:
NgReduxForms
renamed toNgReduxFormModule
for consistency.