Skip to content

Commit 1cd5cee

Browse files
committed
docs(CHANGELOG): Update changeling for 0.3.0
1 parent 3a807f9 commit 1cd5cee

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,36 @@
1-
# Unreleased
1+
# [0.3.0](https://github.com/ui-router/react/releases/tag/0.3.0) (2016-09-19)
2+
### Breaking Changes
3+
1) State Glob patterns have been changed slightly.
4+
5+
Previously, a single wildcard `foo.*` could match "missing segments" on the end of a state name.
6+
For example, `foo.*` would match the state `foo`.
7+
Likewise, `foo.*.*.*` would also match the `foo` state.
8+
9+
Now, a single wildcard matches exactly one segment.
10+
`foo.*` will match `foo.bar` and `foo.baz`, but neither `foo` nor `foo.bar.baz`.
11+
12+
If you previously relied on the single wildcard to match missing segments, use a double wildcard, `foo.**`.
13+
14+
Double wildcards match 0 or more segments.
15+
16+
[Read more about Glob matching](https://ui-router.github.io/docs/latest/classes/common.glob.html)
17+
18+
2) (obscure) Renamed `Transition.previous()` to `Transition.redirectedFrom()`
19+
3) (obscure) Location provider: remove `url(url)` and `replace()` in favor of `setUrl(url, replace)`.
20+
21+
[[full ui-router-core 1.0.0-beta.2 changelog]](https://github.com/angular-ui/ui-router/blob/master/CHANGELOG.md#100-beta2-2016-09-09).
22+
23+
### Changed
24+
- **ui-router-core**: Updated to version `1.0.0-beta.2` [(9ad732e)](https://github.com/ui-router/react/commit/9ad732ef1c47cbdf4d5feae3b378ec571bef6685)
25+
- **UMD**: The UMD build is exported as `window.UIRouterReact` instead of `window.ui-router-react`. [(68ebd4c)](https://github.com/ui-router/react/commit/68ebd4c62839680204c7c009ee0e9917b3af01b8)
26+
227
### Fix
328
- **uiCanExit**: Remove `uiCanExit` hook `setTimeout` wrapper that prevents hook from being called when state is entered and exited synchronously [(82bad02)](https://github.com/ui-router/react/commit/82bad02e4bab7b44b682294401e4df36f35b5610).
429
- **UISref**:
530
- Fix right-click / meta+click behaviour (open in a new tab) on UISref tags [(9a45de1)](https://github.com/ui-router/react/commit/9a45de18aa079356eab4d4b08644da38fbf5e425).
631
- Add call to deregister function when component is unmounted [(0740825)](https://github.com/ui-router/react/commit/0740825e53a04462dd6a049d6a33fcf9945c987b).
732
- **UISrefActive**: Fix state info deregister function [(b6c93b5)](https://github.com/ui-router/react/commit/b6c93b569f2d96067dc5e65c809c6cb74ac4274e).
33+
- **UMD**: The UMD build now looks react as `window.React` instead of `window.react`. [(68ebd4c)](https://github.com/ui-router/react/commit/68ebd4c62839680204c7c009ee0e9917b3af01b8)
834

935
# [0.2.3](https://github.com/ui-router/react/releases/tag/0.2.3) (2016-08-23)
1036
### Added

0 commit comments

Comments
 (0)