<commit_before>## [v4.1.0]
> Apr 11, 2017

- Add `wrappedComponent` to the component returned by `withRouter`
- Add `wrappedComponentRef` prop to the component returned by `withRouter`
- Add non-react static methods and properties of the wrapped component to the component returned by `withRouter`

## [v4.0.0-beta.8]
> Mar 8, 2017

- Updated website
- Revert to using `context.router` for everything since Relay uses `context.route`
- Add `staticContext` route prop when rendering `<Route>`s inside a `<StaticRouter>`
- Pass through the parent `match` object to `<Route>`s w/out a `path`. This also
  includes components wrapped using `withRouter`
- Fix unicode `<Route>` paths
- Set `NavLink`'s default `activeClassName` prop to `active`

[v4.0.0-beta.8]: https://github.com/ReactTraining/react-router/compare/v4.0.0-beta.7...v4.0.0-beta.8

## [v4.0.0-beta.7]
> Mar 3, 2017

- Added support for `<Redirect>` as a child of a `<Switch>`
- Fixed a bug where `<Switch>` would always remount children
- Removed subscriptions to avoid unneccessary rerendering in every `<Route>`
- Added `<Switch location>` and `<Route location>` props so that "pure" route
  components can know when the location changes
- Removed location persistence across app restarts in `<NativeRouter>`
- Made docs easier to find in individual `packages` directories
- Split `context.router` into two parts: `context.history` and `context.route`
- Changed `matchPath` signature to `matchPath(pathname, options)`

[v4.0.0-beta.7]: https://github.com/ReactTraining/react-router/compare/v4.0.0-beta.6...v4.0.0-beta.7

## [v4.0.0-beta.6]
> Feb 13, 2017

- Fixed a bug with `<StaticRouter>`'s `createHref` ([#4484] thanks @pshrmn)
- Added support for objects in `<Link to>` in `react-router-native` ([#4483] by @CodogoFreddie)
- Include `react-router` in `react-router-dom`'s UMD bundle

[v4.0.0-beta.6]: https://github.com/ReactTraining/react-router/compare/v4.0.0-beta.5...v4.0.0-beta.6
[#4484]: https://github.com/ReactTraining/react-router/pull/4484
[#4483]: https://github.com/ReactTraining/react-router/pull/4483
<commit_msg>Update Changes for 4.0.0-4.1.1<commit_after>## [v4.1.1](https://github.com/ReactTraining/react-router/compare/v4.1.0...v4.1.1)
> Apr 12, 2017

- Fixes for the various PropTypes related issues.

## [v4.1.0](https://github.com/ReactTraining/react-router/compare/v4.0.0...v4.1.0)
> Apr 11, 2017

- Add `wrappedComponent` to the component returned by `withRouter`
- Add `wrappedComponentRef` prop to the component returned by `withRouter`
- Add non-react static methods and properties of the wrapped component to the component returned by `withRouter`

## [v4.0.0](https://github.com/ReactTraining/react-router/compare/dc2149ec0c63bfc95b71e40c81431e34cfbfeda9...v4.0.0?w=1)
> Mar 10, 2017

- Released! No code changes from 4.0.0-beta.8

## [v4.0.0-beta.8](https://github.com/ReactTraining/react-router/compare/v4.0.0-beta.7...v4.0.0-beta.8)
> Mar 8, 2017

- Updated website
- Revert to using `context.router` for everything since Relay uses `context.route`
- Add `staticContext` route prop when rendering `<Route>`s inside a `<StaticRouter>`
- Pass through the parent `match` object to `<Route>`s w/out a `path`. This also
  includes components wrapped using `withRouter`
- Fix unicode `<Route>` paths
- Set `NavLink`'s default `activeClassName` prop to `active`

## [v4.0.0-beta.7](https://github.com/ReactTraining/react-router/compare/v4.0.0-beta.6...v4.0.0-beta.7)
> Mar 3, 2017

- Added support for `<Redirect>` as a child of a `<Switch>`
- Fixed a bug where `<Switch>` would always remount children
- Removed subscriptions to avoid unneccessary rerendering in every `<Route>`
- Added `<Switch location>` and `<Route location>` props so that "pure" route
  components can know when the location changes
- Removed location persistence across app restarts in `<NativeRouter>`
- Made docs easier to find in individual `packages` directories
- Split `context.router` into two parts: `context.history` and `context.route`
- Changed `matchPath` signature to `matchPath(pathname, options)`

## [v4.0.0-beta.6]
> Feb 13, 2017

- Fixed a bug with `<StaticRouter>`'s `createHref` ([#4484] thanks @pshrmn)
- Added support for objects in `<Link to>` in `react-router-native` ([#4483] by @CodogoFreddie)
- Include `react-router` in `react-router-dom`'s UMD bundle

[v4.0.0-beta.6]: https://github.com/ReactTraining/react-router/compare/v4.0.0-beta.5...v4.0.0-beta.6
[#4484]: https://github.com/ReactTraining/react-router/pull/4484
[#4483]: https://github.com/ReactTraining/react-router/pull/4483

{'fraction_non_alphanumeric': 0.14788117081695062, 'fraction_numerical': 0.05482743556138051, 'mean_word_length': 4.349299065420561, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 39, 'https://': 13, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1107680', 'n_tokens_mistral': 1720, 'n_tokens_neox': 1572, 'n_words': 450}