Skip to content

Latest commit

 

History

History
247 lines (165 loc) · 8.93 KB

CHANGES.md

File metadata and controls

247 lines (165 loc) · 8.93 KB

Jul 18, 2016

  • Feature: Add prevState as argument to onLeave hooks (#3616)
  • Bugfix: Fix when the <Link> onClick invariant runs (#3636)

Jul 1, 2016

  • Bugfix: Remove extraneous propTypes check when creating a route object from a React element (#3591)

Jun 23, 2016

  • Bugfix: Throw error instead of silently failing with history v3 (#3571)
  • Bugfix: Explicitly throw error in onClick handler of <Link> rendered outside of router context (#3572)

Jun 22, 2016

  • Feature/Deprecation: Call getChildRoutes and getIndexRoute with partialNextState; deprecate accessing location directly in favor of partialNextState.location there (#3556, #3561, #3569, Upgrade Guide)
  • Refactor: Refactor creating routeParams objects (#3544)

May 19, 2016

  • Bugfix: Don't crash on invalid URI components in params (#3453)

April 28, 2016

  • Feature: Add withRouter higher-order component for injecting props.router (#3352)
  • Minor: Add React as a peer dependency (#3361)
  • Minor: Upgrade to Babel 6 (#3362)
  • Minor: Add target to propTypes for <Link> (#3397)

April 18, 2016

  • Feature: Add applyRouterMiddleware for extending router rendering (#3327)
  • Feature/Deprecation: Add routerShape and locationShape as top-level exported prop types, and deprecate all the old prop types, including the ones that were previously incorrectly removed (#3349)
  • Minor: Move ES module build back to es6/ to avoid breaking people who were importing from react-router/es6 (#3334)

April 15, 2016

  • Noop: Publish again to npm to work around missing tarball problem

April 15, 2016

  • Bugfix: Don't use Object.assign in getComponentsForRoute (#3331)
  • Minor: Speed up checking index path active status (