This repository was archived by the owner on Oct 26, 2018. It is now read-only.
Releases: reactjs/react-router-redux
Releases · reactjs/react-router-redux
3.0.0
2.1.0
2.0.4
2.0.3
2.0.2
Versions 2.0.0 and 2.0.1 were test releases for the 2.0 series. 2.0.2 is the first public release.
A whole new API, with many breaking changes:
syncReduxAndRouteris gone. Instead, callsyncHistorywith just thehistoryobject, which returns a middleware that you need to apply. (#141)- If you use redux devtools, you need to call
middleware.listenForReplays(store)on the middleware returned fromsyncHistory. Create the store first with the middleware, then call this function with the store. - Action creators are now contained in a single object called
routeActions.go,goBack, andgoForwardaction creators have been added. UPDATE_PATHis nowUPDATE_LOCATION.- The fully parsed location object is now stored in the state instead of a URL string. To access the path, use
state.routing.location.pathnameinstead ofstate.routing.path.
1.0.2
1.0.1
1.0.0
Breaking Changes:
- The
updatePathaction creator has been removed in favor ofpushPathandreplacePath. UsepushPathto get the same behavior as before. (#38) - We have added support for routing state (#38)
- Our actions are now FSA compliant. This means if you are listening for the
UPDATE_PATHaction in a reducer you should get properties off thepayloadproperty. (#63)
Other fixes: