Skip to content
This repository has been archived by the owner on Oct 26, 2018. It is now read-only.

Releases: reactjs/react-router-redux

3.0.0

03 Feb 02:45
Compare
Choose a tag to compare

Technically, 2.1.0 broke semver. The appropriate @timdorr's have been flogged. So, we're bumping the major version to catch up.

Changes

  • Fixed Resets in Redux Dev Tools. 3ae8110f
  • Ensure the initialState is set properly. a00acfd4
  • Support any number of args on action creators 524898b5

2.1.0

24 Jan 17:03
Compare
Choose a tag to compare

Renamed to react-router-redux. Update your package.jsones appropriately!

  • listenForReplays has a selectLocationState selector. #218
  • Provide unscoped action creators. #225
  • Example updated to use fully ES2015 syntax.

2.0.4

24 Jan 17:27
Compare
Choose a tag to compare

2.0.3

24 Jan 17:28
Compare
Choose a tag to compare
  • Remove history module published within the tarball. #133

2.0.2

24 Jan 17:28
Compare
Choose a tag to compare

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:

  • syncReduxAndRouter is gone. Instead, call syncHistory with just the history object, 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 from syncHistory. 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, and goForward action creators have been added.
  • UPDATE_PATH is now UPDATE_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.pathname instead of state.routing.path.

View the new docs

1.0.2

24 Jan 17:29
Compare
Choose a tag to compare
  • Only publish relevant files to npm

1.0.1

24 Jan 17:29
Compare
Choose a tag to compare
  • Solve problem with basename causing infinite redirects (#103)
  • Switched to ES6 imports/exports internally, but should not affect outside users

1.0.0

24 Jan 17:29
Compare
Choose a tag to compare

Breaking Changes:

  • The updatePath action creator has been removed in favor of pushPath and replacePath. Use pushPath to 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_PATH action in a reducer you should get properties off the payload property. (#63)

Other fixes:

  • Redux DevTools should now work as expected (#73)
  • As we no longer depend on window.location, <base href="..."> should now work (#62)
  • We've done lots of work on finding the right way to stop cycles, so hopefully we shouldn't have any unnecessary location or store updates (#50)