From version 10 onwards, check GitHub Releases for release notes.
- Remove deprecated
localStorageSyncAndClean
function
- Allow
@ngrx/store
v9 as a peer dependency #142 - Add
mergeReducer
option to define the reducer to use to merge the rehydrated state from storage with the state from the ngrx store #135
- Switched from lodash to deepmerge to keep bundle size small and avoid lodash security issues. This is intended to have no impact. However we cannot guarantee merging old state from localstorage with new state will function 100% the same. See #126 for more info.
- Objects will now lose their function definitions when rehydrated. Using such was already against the Redux way but was previously supported.
- Angular Universal support #127
- Slightly reduced bundle size by avoiding lodash.merge
- Support rehydration for feature modules
- Upgrade @ngrx/store peer dependency to v5