Skip to content

Commit

Permalink
release v0.36.0
Browse files Browse the repository at this point in the history
  • Loading branch information
STRML committed Jul 12, 2016
1 parent e453e24 commit d3415fd
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.36.0 (Jul 12, 2016)
- Router: Avoid unnecessary `setPath()` calls when receiving identical props. Fixes #177
- CaptureClicks: Potentially breaking change:
- Previously, `<CaptureClicks>` would call `props.gotoURL()` (default: `window.location.href = e.href`) as soon
as the first router failed to match. This was error-prone as it depended on the registration order of routers.
Subrouters with limited routes could cause navigation not to occur.
- This was masked somewhat by the extraenous `setPath()` calls. Navigation would occur, but `onNavigation` would
not fire.
- Now, `<CaptureClicks>` calls `props.gotoURL()` only if all routers fail to match.

## 0.35.0 (Jul 1, 2016)
- Update for React v15.2.0: attempt to pass fewer unknown props to DOM elements.
- Tighten up some missing `propTypes`.
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.35.0",
"version": "0.36.0",
"description": "Declarative router component for React",
"main": "index.js",
"dependencies": {
Expand Down Expand Up @@ -71,4 +71,4 @@
"publishConfig": {
"registry": "https://registry.npmjs.org"
}
}
}

0 comments on commit d3415fd

Please sign in to comment.