|
4 | 4 |
|
5 | 5 | ## Bug Fixes
|
6 | 6 |
|
| 7 | +- **$anchorScroll:** don't scroll to top when initializing and location hash is empty |
| 8 | + ([d5445c60](https://github.com/angular/angular.js/commit/d5445c601fafd6ecd38befeaa4c9ec7bb044127c), |
| 9 | + [#8848](https://github.com/angular/angular.js/issues/8848), [#9393](https://github.com/angular/angular.js/issues/9393)) |
7 | 10 | - **$animate:**
|
8 |
| - - ensure class-based animations only consider the most recent DOM operations |
| 11 | + - ensure hidden elements with ngShow/ngHide stay hidden during animations |
| 12 | + ([39d0b368](https://github.com/angular/angular.js/commit/39d0b36826a077f7549a70d0cf3edebe90a10aaa), |
| 13 | + [#9103](https://github.com/angular/angular.js/issues/9103), [#9493](https://github.com/angular/angular.js/issues/9493)) |
| 14 | + - permit class-based animations for leave operations if ngAnimateChildren is enabled |
| 15 | + ([df1a00b1](https://github.com/angular/angular.js/commit/df1a00b11ac2722f4da441837795985f12682030), |
| 16 | + [#8092](https://github.com/angular/angular.js/issues/8092), [#9491](https://github.com/angular/angular.js/issues/9491)) |
| 17 | + - ensure that class-based animations only consider the most recent DOM operations |
9 | 18 | ([c93924ed](https://github.com/angular/angular.js/commit/c93924ed275a62683b85c82f1c6c2e19d5662c9a),
|
10 | 19 | [#8946](https://github.com/angular/angular.js/issues/8946), [#9458](https://github.com/angular/angular.js/issues/9458))
|
11 | 20 | - abort class-based animations if the element is removed during digest
|
|
40 | 49 | - **$http:** honor application/json response header and parse json primitives
|
41 | 50 | ([7b6c1d08](https://github.com/angular/angular.js/commit/7b6c1d08aceba6704a40302f373400aed9ed0e0b),
|
42 | 51 | [#2973](https://github.com/angular/angular.js/issues/2973))
|
| 52 | +- **$injector:** throw when factory $get method does not return a value |
| 53 | + ([0d3b69a5](https://github.com/angular/angular.js/commit/0d3b69a5f27b41745b504c7ffd8d72653bac1f85), |
| 54 | + [#4575](https://github.com/angular/angular.js/issues/4575), [#9210](https://github.com/angular/angular.js/issues/9210)) |
43 | 55 | - **$location:** allow `0` in `path()` and `hash()`
|
44 | 56 | ([b8c5b871](https://github.com/angular/angular.js/commit/b8c5b87119a06edb8e8d1cefad81ee8d1f64f070))
|
45 | 57 | - **form:** fix submit prevention
|
|
67 | 79 | - allow automatic rewriting of links to be disabled
|
68 | 80 | ([b3e09be5](https://github.com/angular/angular.js/commit/b3e09be58960b913fee3869bf36e7de3305bbe00),
|
69 | 81 | [#5487](https://github.com/angular/angular.js/issues/5487))
|
70 |
| - |
| 82 | +- **$route:** ability to cancel $routeChangeStart event |
| 83 | + ([f4ff11b0](https://github.com/angular/angular.js/commit/f4ff11b01e6a5f9a9eb25a38d327dfaadbd7c80c), |
| 84 | + [#5581](https://github.com/angular/angular.js/issues/5581), [#5714](https://github.com/angular/angular.js/issues/5714), [#9502](https://github.com/angular/angular.js/issues/9502)) |
71 | 85 |
|
72 | 86 | ## Performance Improvements
|
73 | 87 |
|
@@ -119,6 +133,29 @@ and did not work at all when combined.
|
119 | 133 |
|
120 | 134 | See #6564
|
121 | 135 |
|
| 136 | +- **$route:** due to [f4ff11b0](https://github.com/angular/angular.js/commit/f4ff11b01e6a5f9a9eb25a38d327dfaadbd7c80c), |
| 137 | + |
| 138 | +Order of events has changed. |
| 139 | +Previously: `$locationChangeStart` -> `$locationChangeSuccess` |
| 140 | + -> `$routeChangeStart` -> `$routeChangeSuccess` |
| 141 | + |
| 142 | +Now: `$locationChangeStart` -> `$routeChangeStart` |
| 143 | + -> `$locationChangeSuccess` -> -> `$routeChangeSuccess` |
| 144 | + |
| 145 | +Fixes #5581 |
| 146 | +Closes #5714 |
| 147 | +Closes #9502- **ngAnimate:** due to [667183a8](https://github.com/angular/angular.js/commit/667183a8c79d6ffce571a2be78c05dc76503b222), |
| 148 | + |
| 149 | + |
| 150 | +The $animate class API will always defer changes until the end of the next digest. This allows ngAnimate |
| 151 | +to coalesce class changes which occur over a short period of time into 1 or 2 DOM writes, rather than |
| 152 | +many. This prevents jank in browsers such as IE, and is generally a good thing. |
| 153 | + |
| 154 | +If you're finding that your classes are not being immediately applied, be sure to invoke $digest(). |
| 155 | + |
| 156 | +Closes #8234 |
| 157 | +Closes #9263 |
| 158 | + |
122 | 159 |
|
123 | 160 | <a name="1.3.0-rc.4"></a>
|
124 | 161 | # 1.3.0-rc.4 unicorn-hydrafication (2014-10-01)
|
|
0 commit comments