Skip to content

Commit 5832f2a

Browse files
committed
Update changelog for release
1 parent 26ea1aa commit 5832f2a

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

CHANGES.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## [v3.0.0-alpha.1]
2+
> May 19, 2016
3+
4+
- **Breaking:** Remove all deprecated functionality as of v2.3.0 ([#3340], [#3435])
5+
- **Breaking/Feature:** Make `<Link>` and `withRouter` update inside static containers ([#3430], [#3443])
6+
- **Feature:** Add `params`, `location`, and `routes` to props injected by `withRouter` and to properties on `context.router` ([#3444], [#3446])
7+
8+
[v3.0.0-alpha.1]: https://github.com/reactjs/react-router/compare/v2.4.1...v3.0.0-alpha.1
9+
[#3340]: https://github.com/reactjs/react-router/pull/3340
10+
[#3430]: https://github.com/reactjs/react-router/pull/3430
11+
[#3435]: https://github.com/reactjs/react-router/pull/3435
12+
[#3443]: https://github.com/reactjs/react-router/pull/3443
13+
[#3444]: https://github.com/reactjs/react-router/pull/3444
14+
[#3446]: https://github.com/reactjs/react-router/pull/3446
15+
16+
117
## [v2.4.1]
218
> May 19, 2016
319

docs/API.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Given a route like `<Route path="/users/:userId" />`:
148148
An `<IndexLink>` is like a [`<Link>`](#link), except it is only active when the current route is exactly the linked route. It is equivalent to `<Link>` with the `onlyActiveOnIndex` prop set.
149149

150150
### `withRouter(component)`
151-
A HoC (higher-order component) that wraps another component to provide `this.props.router`, `this.props.params`, and `this.props.location`. Pass in your component and it will return the wrapped component.
151+
A HoC (higher-order component) that wraps another component to provide `props.router`, `props.params`, `props.location`, and `props.routes`. Pass in your component and it will return the wrapped component.
152152

153153
### `<RouterContext>`
154154
A `<RouterContext>` renders the component tree for a given router state. Its used by `<Router>` but also useful for server rendering and integrating in brownfield development.

0 commit comments

Comments
 (0)