Skip to content

Update react-router in stacks/frontend/package.json from 4.2.0 to 4.3.1

Flockademic dependencies.io user requested to merge deps/update-35451cb4 into dev

Overview

The following dependencies have been updated by dependencies.io:

  • react-router in stacks/frontend/package.json from "4.2.0" to "4.3.1"

Details

react-router

This dependency is located in stacks/frontend/package.json and was updated from "4.2.0" to "4.3.1".

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.

Changes

  • 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: <Link to="?foo=bar"> (#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 <Link> (#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 <StaticRouter> (#5722 by pshrmn)
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.

Merge request reports