|
| 1 | +<a name="1.0.1"></a> |
| 2 | +# 1.0.1 thorium-shielding (2012-06-25) |
| 3 | + |
| 4 | + |
| 5 | +## Bug Fixes |
| 6 | + |
| 7 | +- **$location:** don't throw exception while url rewriting if element was removed |
| 8 | + ([3da4194f](https://github.com/angular/angular.js/commit/3da4194f98fa0c1ad1e5ab159719e4b25799e6d4), |
| 9 | + [#1058](https://github.com/angular/angular.js/issues/1058)) |
| 10 | +- **$location:** prevent ie from getting into redirect loop |
| 11 | + ([ffb27013](https://github.com/angular/angular.js/commit/ffb270130a4aaf3ddc2eb9d6211b46e1da136184), |
| 12 | + [#1075](https://github.com/angular/angular.js/issues/1075), |
| 13 | + [#1079](https://github.com/angular/angular.js/issues/1079), |
| 14 | + [#1085](https://github.com/angular/angular.js/issues/1085)) |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | +<a name="1.0.0"></a> |
| 19 | +# 1.0.0 temporal-domination (2012-06-13) |
| 20 | + |
| 21 | + |
| 22 | +## Bug Fixes |
| 23 | + |
| 24 | +- **$location:** |
| 25 | + - correctly parse link urls in hashbang mode with a prefix |
| 26 | + ([0f44964e](https://github.com/angular/angular.js/commit/0f44964e5e0f7e37d7fa3216bb10fd61fbf52ae2), |
| 27 | + [#1037](https://github.com/angular/angular.js/issues/1037)) |
| 28 | + - fix link click interception in hash-bang mode |
| 29 | + ([6593a3e0](https://github.com/angular/angular.js/commit/6593a3e0823f3c08079f05010f9628fc4503cd43), |
| 30 | + [#1051](https://github.com/angular/angular.js/issues/1051)) |
| 31 | + |
| 32 | + |
| 33 | +<a name="1.0.0rc12"></a> |
| 34 | +# 1.0.0rc12 regression-extermination (2012-06-12) |
| 35 | + |
| 36 | +## Bug Fixes |
| 37 | + |
| 38 | +- **$location:** correctly parse link urls in hashbang mode |
| 39 | + ([74fa65ec](https://github.com/angular/angular.js/commit/74fa65ecb7c4e2df966a179952b35700912e065f), |
| 40 | + [#1037](https://github.com/angular/angular.js/issues/1037)) |
| 41 | + |
| 42 | + |
| 43 | +## Cleanup |
| 44 | + |
| 45 | +- **$defer:** remove deprecated `$defer` service |
| 46 | + ([9af7a919](https://github.com/angular/angular.js/commit/9af7a9198e2d30608ea6c40eedde03e44a6ef569)) |
| 47 | +- **docs:** simplify api urls |
| 48 | + ([f16150d5](https://github.com/angular/angular.js/commit/f16150d5f1b20b3d633b4402095ea89baa4be042)) |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +<a name="1.0.0rc11"></a> |
| 53 | +# 1.0.0rc11 promise-resolution (2012-06-10) |
| 54 | + |
| 55 | +## Features |
| 56 | + |
| 57 | +- **$route:** |
| 58 | + - allow defining route async dependencies as promises and defer route change until all promises |
| 59 | + are resolved |
| 60 | + ([885fb0dd](https://github.com/angular/angular.js/commit/885fb0dd0743859a8985c23e4d0c1855a2be711e)) |
| 61 | + - rename template -> tempalteUrl and add support for inline templates |
| 62 | + ([0a6e464a](https://github.com/angular/angular.js/commit/0a6e464a93d9a1e76a624b356054ce9ca4015f55)) |
| 63 | +- **$compile:** simplify isolate scope bindings and introduce true two-way data-binding between |
| 64 | + parent scope and isolate scope |
| 65 | + ([c3a41ff9](https://github.com/angular/angular.js/commit/c3a41ff9fefe894663c4d4f40a83794521deb14f)) |
| 66 | +- **$injector:** provide API for retrieving function annotations |
| 67 | + ([4361efb0](https://github.com/angular/angular.js/commit/4361efb03b79e71bf0cea92b94ff377ed718bad4)) |
| 68 | +- **$location:** add $locatonChange[start|success] event - since events are cancelable, it's now |
| 69 | + possible to cancel route and location changes. |
| 70 | + ([92a2e180](https://github.com/angular/angular.js/commit/92a2e1807657c69e1372106b0727675a30f4cbd7)) |
| 71 | +- **$rootElement:** expose application root element as $rootElement service |
| 72 | + ([85632cb4](https://github.com/angular/angular.js/commit/85632cb44c95617d73c369f3a03fb476a4d5c8a2)) |
| 73 | + |
| 74 | + |
| 75 | +## Bug Fixes |
| 76 | + |
| 77 | +- **$compile:** correctly merge class attr for replace directives (contributed by Max Martinsson, |
| 78 | + [fb99b539](https://github.com/angular/angular.js/commit/fb99b539b4d851773b43f1564f7032adb157c0db), |
| 79 | + [#1006](https://github.com/angular/angular.js/issues/1006)) |
| 80 | +- **$http:** add utf-8 to default Content-Type header (post/put) |
| 81 | + ([10f80d7d](https://github.com/angular/angular.js/commit/10f80d7d2918f98262090b425ecc294d9518aa7e)) |
| 82 | +- **$timeout:** allow calling $timeout.cancel() with undefined (contributed by Ali Mills, |
| 83 | + [1904596e](https://github.com/angular/angular.js/commit/1904596e0c2330299e92f092bd7a6ceca8e97c30)) |
| 84 | +- **jqLite:** don't eat event exceptions |
| 85 | + ([416a7830](https://github.com/angular/angular.js/commit/416a7830403a579cc57cf3a0198193790dcd0bc6)) |
| 86 | + |
| 87 | + |
| 88 | +## Breaking Changes |
| 89 | + |
| 90 | +- **$beforeRouteChange and $afterRouteChange events were renamed to $routeChangeStart and |
| 91 | + $routeChangeSuccess** |
| 92 | + |
| 93 | + This was done to make the naming consistent with $location events and also get events to |
| 94 | + categorize and order nicely just by alphabetical sorting. |
| 95 | + |
| 96 | + ([7c242821](https://github.com/angular/angular.js/commit/7c2428218893f59c6a4499667488009ca67f3385)) |
| 97 | + |
| 98 | + |
| 99 | +- **`template` option in $route definition was renamed to `templateUrl`** |
| 100 | + |
| 101 | + The `template` options in $route definition now represents the actual template string. To provide |
| 102 | + the template url use `templateUrl` option instead. This was done to unify the directive and $route |
| 103 | + definitions. |
| 104 | + |
| 105 | + To migrate just rename `template` to `templateUrl`. |
| 106 | + ([0a6e464a](https://github.com/angular/angular.js/commit/0a6e464a93d9a1e76a624b356054ce9ca4015f55)) |
| 107 | + |
| 108 | + |
| 109 | +- **isolate scope bindings definition has changed** |
| 110 | + |
| 111 | + To migrate the code follow the example below: |
| 112 | + |
| 113 | + Before: |
| 114 | + |
| 115 | + scope: { |
| 116 | + myAttr: 'attribute', |
| 117 | + myBind: 'bind', |
| 118 | + myExpression: 'expression', |
| 119 | + myEval: 'evaluate', |
| 120 | + myAccessor: 'accessor' |
| 121 | + } |
| 122 | + |
| 123 | + After: |
| 124 | + |
| 125 | + scope: { |
| 126 | + myAttr: '@', |
| 127 | + myBind: '@', |
| 128 | + myExpression: '&', |
| 129 | + // myEval - usually not useful, but in cases where the expression is assignable, you can use '=' |
| 130 | + myAccessor: '=' // in directive's template change myAccessor() to myAccessor |
| 131 | + } |
| 132 | + |
| 133 | + |
| 134 | +- **the inject option for the directive controller injection was removed** |
| 135 | + |
| 136 | + The removed `inject` wasn't generally useful for directives so there should be no code using it. |
| 137 | + ([c3a41ff9](https://github.com/angular/angular.js/commit/c3a41ff9fefe894663c4d4f40a83794521deb14f)) |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | +<a name="1.0.0rc10"></a> |
| 142 | +# 1.0.0rc10 tesseract-giftwrapping (2012-05-23) |
| 143 | + |
| 144 | +## Features |
| 145 | + |
| 146 | +- **$timeout:** add `$timeout` service that supersedes `$defer` |
| 147 | + ([4511d39c](https://github.com/angular/angular.js/commit/4511d39cc748288df70bdc258f98a8f36652e683), |
| 148 | + [#704](https://github.com/angular/angular.js/issues/704), |
| 149 | + [#532](https://github.com/angular/angular.js/issues/532)) |
| 150 | +- **scope:** add `event.preventDefault()` and `event.defaultPrevented` |
| 151 | + ([84542d24](https://github.com/angular/angular.js/commit/84542d2431d20de42d6ec27c9d3435dd72dbe2ee)) |
| 152 | + |
| 153 | + |
| 154 | +## Bug Fixes |
| 155 | + |
| 156 | +- **ngRepeat:** expose `$first`, `$middle` and `$last` instead of `$position` |
| 157 | + ([1d388676](https://github.com/angular/angular.js/commit/1d388676e3b97b6171fc498e82545bd437ee6fd1), |
| 158 | + [#912](https://github.com/angular/angular.js/issues/912)) |
| 159 | +- **jqLite:** use the same expando store structure as jQuery |
| 160 | + ([acf095d1](https://github.com/angular/angular.js/commit/acf095d1783e30e750d046ef24e81b5a0a31fbd4)) |
| 161 | +- **$rootScope:** infinite digest exception does not clear $$phase |
| 162 | + ([5989a1ed](https://github.com/angular/angular.js/commit/5989a1eda2b9e289b467ef9741fb1476549c8fd9), |
| 163 | + [#979](https://github.com/angular/angular.js/issues/979)) |
| 164 | + |
| 165 | + |
| 166 | +## Breaking Changes |
| 167 | + |
| 168 | +- **ngRepeat - `$position` is not exposed in repeater scopes any more** |
| 169 | + |
| 170 | + To update, search for `/\$position/` and replace it with one of `$first`, `$middle` or `$last`. |
| 171 | + ([1d388676](https://github.com/angular/angular.js/commit/1d388676e3b97b6171fc498e82545bd437ee6fd1)) |
| 172 | + |
| 173 | +- **scope event's `cancel` method was renamed to `stopPropagation`** |
| 174 | + |
| 175 | + The name was corrected in order to align better with DOM terminology. |
| 176 | + To update, search for `/\.\s*cancel\s*(/` and replace it with `.stopPropagation(` or |
| 177 | + `.preventDefault(` (or both) depending on what you actually need. |
| 178 | + ([91db9920](https://github.com/angular/angular.js/commit/91db99208e197a73584a88a8d835eeb55c466335)) |
| 179 | + |
| 180 | + |
| 181 | +## Deprecation Warnings |
| 182 | + |
| 183 | +- **`$defer` service has been deprecated in favor of `$timeout` service** |
| 184 | + |
| 185 | + The `$defer` service will be removed before 1.0 final, so please migrate your code. |
| 186 | + ([4511d39c](https://github.com/angular/angular.js/commit/4511d39cc748288df70bdc258f98a8f36652e683)) |
| 187 | + |
| 188 | + |
| 189 | + |
| 190 | + |
1 | 191 | <a name="1.0.0rc9"></a>
|
2 | 192 | # 1.0.0rc9 eggplant-teleportation (2012-05-14)
|
3 | 193 |
|
@@ -957,7 +1147,7 @@ behavior and migrate your controllers one at a time: <https://gist.github.com/16
|
957 | 1147 |
|
958 | 1148 | - complete rewrite of the Scope implementation with several API and semantic changes. Please see:
|
959 | 1149 | - [angular.scope API docs](http://docs-next.angularjs.org/#!/api/angular.scope)
|
960 |
| - - [scopes dev guide article](http://docs-next.angularjs.org/#!/guide/dev_guide.scopes) |
| 1150 | + - [scopes dev guide article](http://docs-next.angularjs.org/#!/guide/scopes) |
961 | 1151 | - [scope.js source file](https://github.com/angular/angular.js/blob/master/src/Scope.js)
|
962 | 1152 | - breaking changes section of this changelog
|
963 | 1153 | - added event system to scopes (see [$on], [$emit] and [$broadcast])
|
@@ -1708,7 +1898,7 @@ with the `$route` service
|
1708 | 1898 | [angular.bootstrap]: http://docs-next.angularjs.org/api/angular.bootstrap
|
1709 | 1899 | [$anchorScroll]: http://docs-next.angularjs.org/api/angular.module.ng.$anchorScroll
|
1710 | 1900 | [$cacheFactory]: http://docs-next.angularjs.org/api/angular.module.ng.$cacheFactory
|
1711 |
| -[bootstrapping]: http://docs-next.angularjs.org/guide/dev_guide.bootstrap |
| 1901 | +[bootstrapping]: http://docs-next.angularjs.org/guide/bootstrap |
1712 | 1902 | [angular.copy]: http://docs-next.angularjs.org/api/angular.copy
|
1713 | 1903 | [ng:app]: http://docs-next.angularjs.org/api/angular.directive.ng-app
|
1714 | 1904 | [$compile]: http://docs-next.angularjs.org/api/angular.module.ng.$compile
|
|
0 commit comments