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

Releases: reactjs/react-router-redux

v4.0.7

Choose a tag to compare

@timdorr timdorr released this 03 Nov 17:28
  • Support history 3 #476

v4.0.6

Choose a tag to compare

@timdorr timdorr released this 22 Sep 15:59
  • Makes sure the state in the store matches the state in history when using SSR #445

v4.0.5

Choose a tag to compare

@timdorr timdorr released this 06 Jun 17:41
  • Initialize currentLocation to initial location from the store. #403

v4.0.4

Choose a tag to compare

@timdorr timdorr released this 25 Apr 16:04
  • Added a UMD build. #362

v4.0.2

Choose a tag to compare

@timdorr timdorr released this 08 Apr 00:56
  • Calling routerReducer() with no args crashes. #350

v4.0.1

Choose a tag to compare

@timdorr timdorr released this 08 Apr 00:56
  • Fix IE8 compatbility. #344

v4.0.0

Choose a tag to compare

@timdorr timdorr released this 23 Feb 05:11

This is a big breaking release, but the last one for the foreseeable future. The scope of this library has changed, so please re-evaluate its usefulness to you. You may not need it and this is ok!

Summary of Changes

The provided action creators and middleware are now separate from the history<->state syncing function. For the vast majority of cases, using action creators to trigger navigation is obsoleted by React Router's new history singletons provided in 2.0. Building this functionality in by default and coupling it to our history syncing logic no longer makes sense.

We now sync by enhancing the history instance to listen for navigation events and dispatch those into the store. The enhanced history has its listen method overridden to respond to store changes, rather than directly to navigation events. When this history is provided to <Router>, the router will listen to it and receive these store changes. This means if we time travel with the store, the router will receive those store changes and update based on the location in the store, instead of what the browser says. Normal navigation events (hitting your browser back/forward buttons, telling a history singleton to push a location) flow through the history's listener like normal, so all the usual stuff works A-OK.

v4.0.0-rc.2

v4.0.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@timdorr timdorr released this 19 Feb 04:14
  • Fix for an initial route redirect causing a blank page. (#289)

v4.0.0-rc.1

v4.0.0-rc.1 Pre-release
Pre-release

Choose a tag to compare

@timdorr timdorr released this 17 Feb 05:40

This is a promotion of the previous release to release candidate status. Docs have been updated and there's a new server-side rendering example available. Please test this out!

v4.0.0-beta.1

v4.0.0-beta.1 Pre-release
Pre-release

Choose a tag to compare

@timdorr timdorr released this 08 Feb 22:08

Sorry for the API churn, but we have another big release coming soon. Most of the magic is happening in #259.

Browse the source/docs for this release

Core Changes

The provided action creators and middleware are now separate from the history<->state syncing function. For the vast majority of cases, using action creators to trigger navigation is obsoleted by React Router's new history singletons provided in 2.0. Building this functionality in by default and coupling it to our history syncing logic no longer makes sense.

We now sync by enhancing the history instance to listen for navigation events and dispatch those into the store. The enhanced history has its listen method overridden to respond to store changes, rather than directly to navigation events. When this history is provided to <Router>, the router will listen to it and receive these store changes. This means if we time travel with the store, the router will receive those store changes and update based on the location in the store, instead of what the browser says. Normal navigation events (hitting your browser back/forward buttons, telling a history singleton to push a location) flow through the history's listener like normal, so all the usual stuff works A-OK.