12.0.0
Another major release, most notably due to the ngrx-update.
ngrx
The ngrx libraries have been updated to version 4. This includes some breaking changes - see the official migration guide:
https://github.com/ngrx/platform/blob/master/MIGRATION.md
This repo's migration commit might be useful as well: 200cb00
Note that the actions have to be changed to use more type-safe versions, as illustrated and recommended in the ngrx example app. As a result, all ActionCreator
helpers have been removed, since they no longer useful. The docs have been updated accordingly.
When updating, you will receive a warning about a non-matching peer-dependency from ngrx-store-freeze
. For the moment, you might safely ignore it.
Another note about the router
of the store: This values inside are stripped down from the whole snapshot using this serializer:
https://github.com/DorianGrey/ng-webpack-template/blob/e7b01a5793ba250e9d84cca3ef8d64c7e9fcabfe/src/app/app.store.ts#L98
Cutting this down was required to get both the dev-tools and the store-freeze ability working, but that should not have any negative effect on everything else. Most of the values referenced by the snapshot are related to the rendered view and things linked to it. Feel free to adjust this serializer to your particular requirements, but test it thoroughly.
Other changes
- Commits are now tested on appveyor in addition to travis to make sure that everything works fine on Windows.
- Bumped all dependencies to most recent versions.