christopherthielen
released this
22 Jan 20:15
·
4 commits
to master
since this release
1.0.0 (2020-01-22)
1.0.0
Bug Fixes
- reducer: save last transition instead (a94d716)
- webpack: add externals and react-based bundle (11d7cf0)
- fix typings versions mismatch to fix master build (4c90cf2)
Features
- export redux middleware for transitions (8170b71)
- react: add ConnectedUIRouter utility component (8847ce8)
- Add support for react-redux 6 and onwards (#10) (cd9e393)
BREAKING CHANGES
@uirouter/redux
now only supportsreact-redux
6.x onwards, with the new React Context api.
Internally the library uses ReactReduxContext
for consuming the redux store, which means it currently does not support custom context for Redux. Support for this might be added in the future.
- chore(*): update various dependencies
- chore(ConnectedUIRouter): better types
- feat(ConnectedUIRouter): support react-redux@^6.x
- chore(*): update deps and tests
New component implementation requires at least react@16 and the new enzyme adapter for it.
Updated the tests to use the new Redux Context api, as well as rely on public uirouter APIs instead of component internals to be more reliable.
- chore(travis): update node version
- fix: update typings to fix typescript errors
- fix: update all dependencies
- fix: update webpack config for latest webpack
Co-authored-by: Chris Thielen [email protected]