HEAD (v2.4.0)
Unreleased
- Feature: Add
withRouter
higher-order component for injectingprops.router
(#3352) - Minor: Add React as a peer dependency (#3361)
- Minor: Upgrade to Babel 6 (#3362)
April 18, 2016
- Feature: Add
applyRouterMiddleware
for extending router rendering (#3327) - Feature/Deprecation: Add
routerShape
andlocationShape
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 incorrectly importing fromreact-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
ingetComponentsForRoute
(#3331) - Minor: Speed up checking index path active status (#3313)
April 14, 2016
- Bugfix: Fix edge cases with continuing matches after pathless routes (#3308)
April 14, 2016
- Bugfix: Fix
this
ingetComponent
andgetComponents
(#3306)
April 13, 2016
- Feature/Deprecation: Call
getComponent
andgetComponents
withnextState
; deprecate accessinglocation
directly in favor ofnextState.location
there (#3298, Upgrade Guide) - Bugfix: Do not ignore extraneous slashes in matching (#3285)
- Bugfix: Do not unnecessarily set empty
className
on<Link>
(#3288) - Minor: Update PropTypes (#3218)
- Minor: Move ES module build from
es6/
toes/
(#3295) - Minor: Do not include unused deprecation logic in production builds (#3296)
April 11, 2016
- Bugfix: Remove unintentionally released code change (#3280)
April 11, 2016
- Feature: Add support for
onChange
hook on routes (#3108) - Minor: Include full warning messages in non-minified UMD build (#3213)
- Minor: Speed up path matching (#3217)
March 9, 2016
- Bugfix: Call transition hooks on child routes of parents whose params changed but the child's did not. (#3166)
- Minor: Remove support for installing from source (#3164)
Feb 10, 2016
- Bugfix: Add back basename support in
match
(#3054)
Feb 5, 2016
- Breaking: Removed default top-level
<Router>
export (#2906) - Bugfix: Use history.createLocation where possible (#2910)
- Bugfix: Fix initial routing state after
match
(#2965) - Minor: Reduce stack size from matching routes (#2923)
Jan 14, 2016
- Feature: Support custom
history
formatch
(#2813) - Feature: Support location descriptor in
replace
callback inonEnter
(#2855) - Feature: Improve support for server rendering async routes (#2883)
Dec 30, 2015
- Feature: Added
render
prop toRouter
- Feature: Added singleton
browserHistory
andhashHistory
- Feature: Added
createMemoryHistory
- Deprecation: Deprecated all mixins
- Deprecation: Replaced
context.history
withcontext.router
- Deprecation: Deprecated Route Component
props.history
- Deprecation: Deprecated
context.location
Dec 23, 2015
- Switched back to a caret range for history, now that the warnings have been removed
Dec 8, 2015
- Pinned peer dependency on History to
1.13.x
to avoid console warnings.
Dec 5, 2015
Nov 9, 2015
Please see /upgrade-guides/v1.0.0.md