Skip to content

v6.0.0

Compare
Choose a tag to compare
@supasate supasate released this 09 Dec 10:21
· 201 commits to master since this release
66215b1

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