Skip to content

Commit

Permalink
release v0.29.0
Browse files Browse the repository at this point in the history
  • Loading branch information
STRML committed Dec 30, 2015
1 parent a051c64 commit 29c820b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# CHANGELOG

## 0.29.0
- Added optional `childProps` hash to the Router. If this is specified, these props will be passed to all
handlers, contextual routers, and their children. Props defined on a handler or Route directly have priority.
This fixes [#104](https://github.com/STRML/react-router-component/issues/104).
- Possibly Breaking Change/Bugfix:
* We allow passing an actual element as a handler, not just a component. Previously, props on these
elements were lost, so that `<Location handler={<div className="foo" />} />` would render `<div></div>`.
This was unintentional and these inner props are now preserved and have priority over `childProps` or
properties defined on the Route.

## 0.28.0
- Fix querystring not being properly passed in `PathnameEnvironment`. Incremented minor in case of potential
unexpected `_query` attribute.
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-router-component",
"version": "0.28.0",
"version": "0.29.0",
"description": "Declarative router component for React",
"main": "index.js",
"dependencies": {
Expand Down Expand Up @@ -64,4 +64,4 @@
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
}
}

0 comments on commit 29c820b

Please sign in to comment.