Skip to content

Commit d3415fd

Browse files
committed
release v0.36.0
1 parent e453e24 commit d3415fd

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

Diff for: CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# CHANGELOG
22

3+
## 0.36.0 (Jul 12, 2016)
4+
- Router: Avoid unnecessary `setPath()` calls when receiving identical props. Fixes #177
5+
- CaptureClicks: Potentially breaking change:
6+
- Previously, `<CaptureClicks>` would call `props.gotoURL()` (default: `window.location.href = e.href`) as soon
7+
as the first router failed to match. This was error-prone as it depended on the registration order of routers.
8+
Subrouters with limited routes could cause navigation not to occur.
9+
- This was masked somewhat by the extraenous `setPath()` calls. Navigation would occur, but `onNavigation` would
10+
not fire.
11+
- Now, `<CaptureClicks>` calls `props.gotoURL()` only if all routers fail to match.
12+
313
## 0.35.0 (Jul 1, 2016)
414
- Update for React v15.2.0: attempt to pass fewer unknown props to DOM elements.
515
- Tighten up some missing `propTypes`.

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-component",
3-
"version": "0.35.0",
3+
"version": "0.36.0",
44
"description": "Declarative router component for React",
55
"main": "index.js",
66
"dependencies": {
@@ -71,4 +71,4 @@
7171
"publishConfig": {
7272
"registry": "https://registry.npmjs.org"
7373
}
74-
}
74+
}

0 commit comments

Comments
 (0)