|
| 1 | +<a name="1.2.14"></a> |
| 2 | +# 1.2.14 feisty-cryokinesis (2014-03-01) |
| 3 | + |
| 4 | + |
| 5 | +## Bug Fixes |
| 6 | + |
| 7 | +- **$animate:** |
| 8 | + - delegate down to addClass/removeClass if setClass is not found |
| 9 | + ([18c41af0](https://github.com/angular/angular.js/commit/18c41af065006a804a3d38eecca7ae184103ece9), |
| 10 | + [#6463](https://github.com/angular/angular.js/issues/6463)) |
| 11 | + - ensure all comment nodes are removed during a leave animation |
| 12 | + ([f4f1f43d](https://github.com/angular/angular.js/commit/f4f1f43d5140385bbf070510975f72b65196e08a), |
| 13 | + [#6403](https://github.com/angular/angular.js/issues/6403)) |
| 14 | + - only block keyframes if a stagger is set to occur |
| 15 | + ([e71e7b6c](https://github.com/angular/angular.js/commit/e71e7b6cae57f25c5837dda98551c8e0a5cb720d), |
| 16 | + [#4225](https://github.com/angular/angular.js/issues/4225)) |
| 17 | + - ensure that animateable directives cancel expired leave animations |
| 18 | + ([e9881991](https://github.com/angular/angular.js/commit/e9881991ca0a5019d3a4215477738ed247898ba0), |
| 19 | + [#5886](https://github.com/angular/angular.js/issues/5886)) |
| 20 | + - ensure all animated elements are taken care of during the closing timeout |
| 21 | + ([99720fb5](https://github.com/angular/angular.js/commit/99720fb5ab7259af37f708bc4eeda7cbbe790a69), |
| 22 | + [#6395](https://github.com/angular/angular.js/issues/6395)) |
| 23 | + - fix for TypeError Cannot call method 'querySelectorAll' in cancelChildAnimations |
| 24 | + ([c914cd99](https://github.com/angular/angular.js/commit/c914cd99b3aaf932e3c0e2a585eead7b76621f1b), |
| 25 | + [#6205](https://github.com/angular/angular.js/issues/6205)) |
| 26 | +- **$http:** |
| 27 | + - do not add trailing question |
| 28 | + ([c8e03e34](https://github.com/angular/angular.js/commit/c8e03e34b27a8449d8e1bfe0e3801d6a67ae2c49), |
| 29 | + [#6342](https://github.com/angular/angular.js/issues/6342)) |
| 30 | + - send GET requests by default |
| 31 | + ([267b2173](https://github.com/angular/angular.js/commit/267b217376ed466e9f260ecfdfa15a8227c103ff), |
| 32 | + [#5985](https://github.com/angular/angular.js/issues/5985), [#6401](https://github.com/angular/angular.js/issues/6401)) |
| 33 | +- **$parse:** reduce false-positives in isElement tests |
| 34 | + ([5fe1f39f](https://github.com/angular/angular.js/commit/5fe1f39f027c6f2c6a530975dd5389d788d3c0eb), |
| 35 | + [#4805](https://github.com/angular/angular.js/issues/4805), [#5675](https://github.com/angular/angular.js/issues/5675)) |
| 36 | +- **input:** use ValidityState to determine validity |
| 37 | + ([c2d447e3](https://github.com/angular/angular.js/commit/c2d447e378dd72d1b955f476bd5bf249625b4dab), |
| 38 | + [#4293](https://github.com/angular/angular.js/issues/4293), [#2144](https://github.com/angular/angular.js/issues/2144), [#4857](https://github.com/angular/angular.js/issues/4857), [#5120](https://github.com/angular/angular.js/issues/5120), [#4945](https://github.com/angular/angular.js/issues/4945), [#5500](https://github.com/angular/angular.js/issues/5500), [#5944](https://github.com/angular/angular.js/issues/5944)) |
| 39 | +- **isElement:** reduce false-positives in isElement tests |
| 40 | + ([75515852](https://github.com/angular/angular.js/commit/75515852ea9742d3d84a0f463c2a2c61ef2b7323)) |
| 41 | +- **jqLite:** |
| 42 | + - properly toggle multiple classes |
| 43 | + ([4e73c80b](https://github.com/angular/angular.js/commit/4e73c80b17bd237a8491782bcf9e19f1889e12ed), |
| 44 | + [#4467](https://github.com/angular/angular.js/issues/4467), [#6448](https://github.com/angular/angular.js/issues/6448)) |
| 45 | + - make jqLite('<iframe src="someurl">').contents() return iframe document, as in jQuery |
| 46 | + ([05fbed57](https://github.com/angular/angular.js/commit/05fbed5710b702c111c1425a9e241c40d13b0a54), |
| 47 | + [#6320](https://github.com/angular/angular.js/issues/6320), [#6323](https://github.com/angular/angular.js/issues/6323)) |
| 48 | +- **numberFilter:** convert all non-finite/non-numbers/non-numeric strings to the empty string |
| 49 | + ([cceb455f](https://github.com/angular/angular.js/commit/cceb455fb167571e26341ded6b595dafd4d92bc6), |
| 50 | + [#6188](https://github.com/angular/angular.js/issues/6188), [#6261](https://github.com/angular/angular.js/issues/6261)) |
| 51 | +- **$parse:** support trailing commas in object & array literals |
| 52 | + ([6b049c74](https://github.com/angular/angular.js/commit/6b049c74ccc9ee19688bb9bbe504c300e61776dc)) |
| 53 | +- **ngHref:** bind ng-href to xlink:href for SVGAElement |
| 54 | + ([2bce71e9](https://github.com/angular/angular.js/commit/2bce71e9dc10c8588f9eb599a0cd2e831440fc48), |
| 55 | + [#5904](https://github.com/angular/angular.js/issues/5904)) |
| 56 | + |
| 57 | + |
| 58 | +## Features |
| 59 | + |
| 60 | +- **$animate:** animate dirty, pristine, valid, invalid for form/fields |
| 61 | + ([33443966](https://github.com/angular/angular.js/commit/33443966c8e8cac85a863bb181d4a4aff00baab4), |
| 62 | + [#5378](https://github.com/angular/angular.js/issues/5378)) |
| 63 | + |
| 64 | + |
| 65 | +## Performance Improvements |
| 66 | + |
| 67 | +- **$animate:** use rAF instead of timeouts to issue animation callbacks |
| 68 | + ([4c4537e6](https://github.com/angular/angular.js/commit/4c4537e65e6cf911c9659b562d89e3330ce3ffae)) |
| 69 | +- **$cacheFactory:** skip LRU bookkeeping for caches with unbound capacity |
| 70 | + ([a4078fca](https://github.com/angular/angular.js/commit/a4078fcae4a33295675d769a1cd067837029da2f), |
| 71 | + [#6193](https://github.com/angular/angular.js/issues/6193), [#6226](https://github.com/angular/angular.js/issues/6226)) |
| 72 | + |
| 73 | + |
| 74 | + |
1 | 75 | <a name="1.2.13"></a>
|
2 | 76 | # 1.2.13 romantic-transclusion (2014-02-14)
|
3 | 77 |
|
@@ -202,11 +276,11 @@ The animation mock module has been renamed from `mock.animate` to `ngAnimateMock
|
202 | 276 |
|
203 | 277 | - **$http:** due to [e1cfb195](https://github.com/angular/angular.js/commit/e1cfb1957feaf89408bccf48fae6f529e57a82fe),
|
204 | 278 | it is now necessary to separately specify default HTTP headers for PUT, POST and PATCH requests, as these no longer share a single object.
|
205 |
| - |
| 279 | + |
206 | 280 | To migrate your code, follow the example below:
|
207 |
| - |
| 281 | + |
208 | 282 | Before:
|
209 |
| - |
| 283 | + |
210 | 284 | // Will apply to POST, PUT and PATCH methods
|
211 | 285 | $httpProvider.defaults.headers.post = {
|
212 | 286 | "X-MY-CSRF-HEADER": "..."
|
|
0 commit comments