Skip to content

Commit 49183fe

Browse files
prep for 0.3.0 release
1 parent 64a3314 commit 49183fe

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

CHANGELOG.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
<a name="0.3.0"></a>
2+
## 0.3.0 (2016-05-14)
3+
4+
This is a release of the `legacy` branch, primarily to fix the $scope destroy ordering issues introduced in 0.2.16.
5+
6+
We recommend all users to try the 1.0.0 alpha and report any issues it causes with your application. Read the [known breaking changes](https://github.com/angular-ui/ui-router/issues/2219) between the legacy and 1.0 branches.
7+
8+
# BC-BREAK
9+
10+
In 0.2.16 we delayed the ui-view $scope destroy() until after all animations were completed. This was a mistake, and we're reverting it in 0.3.0.
11+
12+
The original issue that we tried to address: https://github.com/angular-ui/ui-router/issues/1643
13+
14+
We are switching back to 0.2.15 behavior. The scope is now destroyed as soon as the view is swapped out. This allows cleanup to happen in response
15+
to the $destroy event. If you need to do things after the animation, we've put the promise on the `element.data('$uiView')` in #2562
16+
17+
#### Bug Fixes
18+
19+
* **state:** Inject $state at runtime to force initialization ([de3a04a7](https://github.com/angular-ui/ui-router/commit/de3a04a7c676e05b5b868de4f65d03d9c588773c), closes [#2574](https://github.com/angular-ui/ui-router/issues/2574))
20+
* **ui-sref:** update ui-sref-active/eq info when params change When ui-state dynamicly changes ([9698ec4d](https://github.com/angular-ui/ui-router/commit/9698ec4d2fbceb463cf11e43b7e74e385eda4beb), closes [#2554](https://github.com/angular-ui/ui-router/issues/2554))
21+
* **ui-state:** update ui-sref-active/eq info when ui-state dynamicly changes watchers, make sur ([abb3deba](https://github.com/angular-ui/ui-router/commit/abb3debacb87e1a6c398a13f2d64c53e8b08a233), closes [#2488](https://github.com/angular-ui/ui-router/issues/2488))
22+
23+
24+
#### Features
25+
26+
* **uiView:**
27+
* Fire the $onInit hook ([b090ca03](https://github.com/angular-ui/ui-router/commit/b090ca0352eabc13662a8702a2b227b7db606362), closes [#2559](https://github.com/angular-ui/ui-router/issues/2559))
28+
* Put $animate promises on element.data('$uiView') closes #2562 closes #2579 ([fde64e18](https://github.com/angular-ui/ui-router/commit/fde64e1897041e59cbc9f8d07b269dcd487abb9c))
29+
30+
131
<a name="0.2.18"></a>
232
### 0.2.18 (2016-02-07)
333

0 commit comments

Comments
 (0)