Dependencies.io has updated react-router (a npm dependency in /web) from "4.2.0" to "4.3.1".
4.3.1
Just a patch to fix an accidental move of `warning` from a normal dependency to a devDependency, which was causing issues with installation.
4.3.0
The major new things of this release are Redirect with params (see #5209) and the new `generatePath` API. We also cleaned up the code with Prettier, so browsing through it should be more enjoyable.
One other thing to mention, while I have your attention, is the deprecation of react-router-redux. It's no longer maintained and has a number of fundamental problems (particularly around time travel). Integrating Redux and the DOM History API is challenging because they don't maintain the same semantics and the resulting integration is error prone. Getting to the router context will be easier in future versions of React Router, so the main motivations for needing it will be going away. So, while I would advise against trying to integrate the two, for those that still want this functionality can turn to libraries like supasate's [connected-react-router](https://github.com/supasate/connected-react-router).
## [Changes](https://github.com/ReactTraining/react-router/compare/v4.2.0...v4.3.0)
* Use the `pretty` option in generatePath (#6172 by sibelius)
* aria-current has incorrect value "true" (#6118 by brandonrninefive)
* Redirect with parameters (#5209 by dlindenkreuz)
* Fix with missing pathname: `` (#5489 by pshrmn)
* Escape NavLink path to allow special characters in path. (#5596 by esiegel)
* Expose `generatePath` (#5661 by rybon)
* Use named import of history module. (#5589 by RoboBurned)
* Hoist dependencies for smaller UMD builds (#5720 by pshrmn)
* Remove aria-current from navLink when inactive (#5508 by AlmeroSteyn)
* Add invariant for missing "to" property on `` (#5792 by selbekk)
* Use Prettier on the code (e6f9017 by mjackson)
* Fix pathless route's match when parent is null (#5964 by pshrmn)
* Use history.createLocation in `` (#5722 by pshrmn)
Dependencies.io has updated
react-router
(a npm dependency in/web
) from "4.2.0" to "4.3.1".4.3.1
Just a patch to fix an accidental move of `warning` from a normal dependency to a devDependency, which was causing issues with installation.4.3.0
The major new things of this release are Redirect with params (see #5209) and the new `generatePath` API. We also cleaned up the code with Prettier, so browsing through it should be more enjoyable. One other thing to mention, while I have your attention, is the deprecation of react-router-redux. It's no longer maintained and has a number of fundamental problems (particularly around time travel). Integrating Redux and the DOM History API is challenging because they don't maintain the same semantics and the resulting integration is error prone. Getting to the router context will be easier in future versions of React Router, so the main motivations for needing it will be going away. So, while I would advise against trying to integrate the two, for those that still want this functionality can turn to libraries like supasate's [connected-react-router](https://github.com/supasate/connected-react-router). ## [Changes](https://github.com/ReactTraining/react-router/compare/v4.2.0...v4.3.0) * Use the `pretty` option in generatePath (#6172 by sibelius) * aria-current has incorrect value "true" (#6118 by brandonrninefive) * Redirect with parameters (#5209 by dlindenkreuz) * Fix with missing pathname: `` (#5489 by pshrmn) * Escape NavLink path to allow special characters in path. (#5596 by esiegel) * Expose `generatePath` (#5661 by rybon) * Use named import of history module. (#5589 by RoboBurned) * Hoist dependencies for smaller UMD builds (#5720 by pshrmn) * Remove aria-current from navLink when inactive (#5508 by AlmeroSteyn) * Add invariant for missing "to" property on `` (#5792 by selbekk) * Use Prettier on the code (e6f9017 by mjackson) * Fix pathless route's match when parent is null (#5964 by pshrmn) * Use history.createLocation in `