Skip to content

Commit 20723e5

Browse files
committed
doc updates
1 parent c050095 commit 20723e5

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

CHANGELOG.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,18 @@ v0.12.0 - Tue, 10 Feb 2015 20:12:42 GMT
44
- [cd2087d](../../commit/cd2087d) [added] default handler to routes
55
- [848361e](../../commit/848361e) [fixed] Clean up mounted route component on unmount so we don't leak references
66
- [5bcf653](../../commit/5bcf653) [fixed] Double slash in href when parent route has optional trailing slash
7-
- [26cb7d1](../../commit/26cb7d1) [added] node_modules to gitignore
87
- [e280efd](../../commit/e280efd) [changed] Don't restore scroll position on Forward
98
- [20c2c9b](../../commit/20c2c9b) [fixed] Do not decode + in pathname
109
- [fe5ec39](../../commit/fe5ec39) [fixed] Double-encoding of query strings
1110
- [df38294](../../commit/df38294) [fixed] Allow comments in JSX config
1211
- [84056ba](../../commit/84056ba) [fixed] Ignore falsy routes
13-
- [81c7a57](../../commit/81c7a57) [changed] Removed "modules" directory
1412
- [4a770e8](../../commit/4a770e8) [fixed] Using TestLocation without DOM
15-
- [e24cf0f](../../commit/e24cf0f) Revert "[fixed] Path.withQuery strips query if query is empty"
1613
- [2ac2510](../../commit/2ac2510) [added] router.replaceRoutes(children)
1714
- [1f81286](../../commit/1f81286) [fixed] Ignore stale transitions
1815
- [c6ed6fa](../../commit/c6ed6fa) [removed] transition.wait, use callbacks instead
1916
- [75c6206](../../commit/75c6206) [added] router.stop()
2017
- [4e96256](../../commit/4e96256) [fixed] Preserve original query with HashLocation
2118
- [2f19e63](../../commit/2f19e63) [changed] Bump qs dependency version
22-
- [b98f5a1](../../commit/b98f5a1) [changed] Use webpack instead of Browserify
23-
- [94dc231](../../commit/94dc231) [changed] Run the examples with `npm run examples`
24-
- [0862ea2](../../commit/0862ea2) [fixed] Path.withQuery strips query if query is empty
2519

2620

2721
v0.11.6 - Wed, 17 Dec 2014 19:29:53 GMT

UPGRADE_GUIDE.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,31 @@ To see discussion around these API changes, please refer to the
55
[changelog](/CHANGELOG.md) and visit the commits and issues they
66
reference.
77

8+
0.11.x -> 0.12.0
9+
----------------
10+
11+
`transition.wait` was removed, you now use a callback instead:
12+
13+
```js
14+
// 0.11.x
15+
var SomeHandler = React.createClass({
16+
statics: {
17+
willTransitionTo (transition) {
18+
transition.wait(somePromise());
19+
}
20+
}
21+
});
22+
23+
// 0.12.0
24+
var SomeHandler = React.createClass({
25+
statics: {
26+
willTransitionTo (transition, params, query, callback) {
27+
somePromise().then(callback);
28+
}
29+
}
30+
});
31+
```
32+
833
0.10.x -> 0.11.x
934
----------------
1035

0 commit comments

Comments
 (0)