Skip to content

Releases: supasate/connected-react-router

v6.5.0

02 Jul 03:09
Compare
Choose a tag to compare

Enhancement

Documentation

v6.4.0

14 Apr 22:46
Compare
Choose a tag to compare

Enhancement

Fixes

Documentation

v6.3.2

10 Mar 13:58
Compare
Choose a tag to compare

Fixes

  • Declare prop-types as a peer dependency (@avindra in #265)
  • Fix passing isFirstRendering to onLocationChange action (@AlexeyAbretov in #264)
  • Replace uglify option with new minimize options (@gugu in #263)

v6.3.1

12 Feb 17:16
Compare
Choose a tag to compare

Fix

v6.3.0

10 Feb 13:35
Compare
Choose a tag to compare

Enhancements

Fix

  • Use immutable routerMiddleware for immutable example (@Armour in #249)

v6.2.2

20 Jan 02:31
Compare
Choose a tag to compare

Fixes

  • Add missing typedef's for getRouter and createMatchSelector (@metsavaht in #235)
  • Fix missing store in TypeScript example (@supasate in #240)

v6.2.1

13 Jan 14:58
Compare
Choose a tag to compare

Fix

v6.2.0

12 Jan 15:04
Compare
Choose a tag to compare

Fixes

Enhancements

Doc

  • Refactor examples to use configureStore to align with README (@supasate in #228)

v6.1.0

27 Dec 20:44
Compare
Choose a tag to compare

Fixes

  • Move onLocationChanged to componentDidMount to avoid side-effect in constructor (#217
  • Prevent double-rendering on initilization (#218)
  • Prevent ConnectedRouter from re-rendering on every redux store update (#208, #216)

These fixes are significantly contributed by @AnnaTsu, @SergeyPoluektov, @jakewies, @firec0der, @madsmadsen, and @supasate.

Feature

v6.0.0

09 Dec 10:21
66215b1
Compare
Choose a tag to compare

This is a major version upgrade to support React Redux v6 that uses the new Context API. So, it requires React v16.4 and React Redux v6.0 or later. No need to change anything in your codebase besides upgrading these packages.

Breaking Change

  • Require React v16.4 and React Redux v6.0 or later.

Enhancement

  • Support React Router v6 with the new Context API (@supasate in #191)
  • Support a custom context for by providing it as a context props for both and (@supasate in #191)
  • Throw helpful error when router reducer not mounted under "router" key (@mattvague in #175)
  • TypeScript: Remove a duplicate LocationChangeAction interface (@lazarljubenovic in #180)
  • TypeScript: Be more specific on action creators' return type (@lazarljubenovic in #181)
  • TypeScript: Create and export types for routerActions so they can be imported and used in definitions (@afholderman in #189)

Docs

  • Add example for push state using react-redux with connect (@wgao19 in #179)

Misc