|
| 1 | +<a name="1.4.9"></a> |
| 2 | +# 1.4.9 implicit-superannuation (2016-01-21) |
| 3 | + |
| 4 | + |
| 5 | +## Bug Fixes |
| 6 | + |
| 7 | +### Core `ng` Module |
| 8 | +- **$animate:** |
| 9 | + - correctly handle `$animate.pin()` host elements |
| 10 | + ([a985adfd](https://github.com/angular/angular.js/commit/a985adfdabd871f3f3f3ee59f371da50cd9611d9), |
| 11 | + [#13783](https://github.com/angular/angular.js/issues/13783)) |
| 12 | + - allow animations when pinned element is parent element |
| 13 | + ([4cb8ac61](https://github.com/angular/angular.js/commit/4cb8ac61c7574ab4039852c358dd5946268b69fb), |
| 14 | + [#13466](https://github.com/angular/angular.js/issues/13466)) |
| 15 | + - allow enabled children to animate on disabled parents |
| 16 | + ([6d85f24e](https://github.com/angular/angular.js/commit/6d85f24e2081d2a69c80697d90ebd45f228d9682), |
| 17 | + [#13179](https://github.com/angular/angular.js/issues/13179), [#13695](https://github.com/angular/angular.js/issues/13695)) |
| 18 | + - correctly access `minErr` |
| 19 | + ([0c1b54f0](https://github.com/angular/angular.js/commit/0c1b54f04cf5bd7c1fe42ac49b4fbfdf35c60979)) |
| 20 | + - ensure animate runner is the same with and without animations |
| 21 | + ([937942f5](https://github.com/angular/angular.js/commit/937942f5ada6de1bdacdf0ba465f6f118c270119), |
| 22 | + [#13205](https://github.com/angular/angular.js/issues/13205), [#13347](https://github.com/angular/angular.js/issues/13347)) |
| 23 | +- **$animateCss:** |
| 24 | + - remove animation end event listeners on close |
| 25 | + ([d9157849](https://github.com/angular/angular.js/commit/d9157849df224a3a8d2e0bf03099d137f51499f6), |
| 26 | + [#13672](https://github.com/angular/angular.js/issues/13672)) |
| 27 | + - consider options.delay value for closing timeout |
| 28 | + ([592bf516](https://github.com/angular/angular.js/commit/592bf516e50b9729e446d9aa01f4d9ebdd72d187), |
| 29 | + [#13355](https://github.com/angular/angular.js/issues/13355), [#13363](https://github.com/angular/angular.js/issues/13363)) |
| 30 | +- **$controller:** allow identifiers containing `$` |
| 31 | + ([2563ff7b](https://github.com/angular/angular.js/commit/2563ff7ba92d84af978e7e4131253190d4d00c20), |
| 32 | + [#13736](https://github.com/angular/angular.js/issues/13736)) |
| 33 | +- **$http:** throw if url passed is not a string |
| 34 | + ([c5bf9dae](https://github.com/angular/angular.js/commit/c5bf9daef6dfdb3e4a2942c21155a9f67d92e237), |
| 35 | + [#12925](https://github.com/angular/angular.js/issues/12925), [#13444](https://github.com/angular/angular.js/issues/13444)) |
| 36 | +- **$parse:** handle interceptors with `undefined` expressions |
| 37 | + ([7bb2414b](https://github.com/angular/angular.js/commit/7bb2414bf6461aa45a983fd322ae875f81814cc4)) |
| 38 | +- **$resource:** don't allow using promises as `timeout` and log a warning |
| 39 | + ([47486524](https://github.com/angular/angular.js/commit/474865242c89ba3e8143f0cd52f8c292979ea730)) |
| 40 | +- **formatNumber:** cope with large and small number corner cases |
| 41 | + ([9c49eb13](https://github.com/angular/angular.js/commit/9c49eb131a6100d58c965d01fb08bcd319032229), |
| 42 | + [#13394](https://github.com/angular/angular.js/issues/13394), [#8674](https://github.com/angular/angular.js/issues/8674), [#12709](https://github.com/angular/angular.js/issues/12709), [#8705](https://github.com/angular/angular.js/issues/8705), [#12707](https://github.com/angular/angular.js/issues/12707), [#10246](https://github.com/angular/angular.js/issues/10246), [#10252](https://github.com/angular/angular.js/issues/10252)) |
| 43 | +- **input:** |
| 44 | + - fix URL validation being too strict |
| 45 | + ([6610ae81](https://github.com/angular/angular.js/commit/6610ae816f78ee8fc1080b93a55bf19e4ce48d3e), |
| 46 | + [#13528](https://github.com/angular/angular.js/issues/13528), [#13544](https://github.com/angular/angular.js/issues/13544)) |
| 47 | + - add missing chars to URL validation regex |
| 48 | + ([2995b54a](https://github.com/angular/angular.js/commit/2995b54afdb9a3a2a81b0076a6ac0a9001041163), |
| 49 | + [#13379](https://github.com/angular/angular.js/issues/13379), [#13460](https://github.com/angular/angular.js/issues/13460)) |
| 50 | +- **isArrayLike:** recognize empty instances of an Array subclass |
| 51 | + ([323f9ab7](https://github.com/angular/angular.js/commit/323f9ab73696f223c245ddefd62a769fe102615e), |
| 52 | + [#13560](https://github.com/angular/angular.js/issues/13560), [#13708](https://github.com/angular/angular.js/issues/13708)) |
| 53 | +- **ngInclude:** do not compile template if original scope is destroyed |
| 54 | + ([9590bcf0](https://github.com/angular/angular.js/commit/9590bcf0620cd507a7795c55f9a6f4a48bfedbc1)) |
| 55 | +- **ngOptions:** |
| 56 | + - don't skip `optgroup` elements with `value === ''` |
| 57 | + ([85e392f3](https://github.com/angular/angular.js/commit/85e392f3543ef5285c7e90e843af0ab522cb0531), |
| 58 | + [#13487](https://github.com/angular/angular.js/issues/13487), [#13489](https://github.com/angular/angular.js/issues/13489)) |
| 59 | + - don't `$dirty` multiple select after compilation |
| 60 | + ([f163c905](https://github.com/angular/angular.js/commit/f163c90555774426ccb14752d089fc707cb4029c), |
| 61 | + [#13211](https://github.com/angular/angular.js/issues/13211), [#13326](https://github.com/angular/angular.js/issues/13326)) |
| 62 | +- **select:** re-define `ngModelCtrl.$render` in the `select` directive's postLink function |
| 63 | + ([529b2507](https://github.com/angular/angular.js/commit/529b2507bdb4fcc22dfa0f7ab462c79fc78d1413), |
| 64 | + [#13583](https://github.com/angular/angular.js/issues/13583), [#13583](https://github.com/angular/angular.js/issues/13583), [#13663](https://github.com/angular/angular.js/issues/13663)) |
| 65 | + |
| 66 | +### `ngAnimate` Module |
| 67 | + |
| 68 | +- **ngAnimate:** |
| 69 | + - ensure that animate promises resolve when the document is hidden |
| 70 | + ([9a60408c](https://github.com/angular/angular.js/commit/9a60408c804a62a9517857bdb9a42182ab6769e3)) |
| 71 | + - do not trigger animations if the document is hidden |
| 72 | + ([09f6061a](https://github.com/angular/angular.js/commit/09f6061a8ee41cae4268e8d44d727d3bf52e22a9), |
| 73 | + [#12842](https://github.com/angular/angular.js/issues/12842), [#13776](https://github.com/angular/angular.js/issues/13776)) |
| 74 | + - only copy over the animation options once |
| 75 | + ([2fc954d3](https://github.com/angular/angular.js/commit/2fc954d33a3a4c5d4f355be1e15a381664e02f1b), |
| 76 | + [#13722](https://github.com/angular/angular.js/issues/13722), [#13578](https://github.com/angular/angular.js/issues/13578)) |
| 77 | + - allow event listeners on document in IE |
| 78 | + ([5ba4419e](https://github.com/angular/angular.js/commit/5ba4419e265ff34c6c23bf3533a3332c99c5f014), |
| 79 | + [#13548](https://github.com/angular/angular.js/issues/13548), [#13696](https://github.com/angular/angular.js/issues/13696)) |
| 80 | + - allow removing classes that are added by a running animation |
| 81 | + ([6c4581fc](https://github.com/angular/angular.js/commit/6c4581fcb692b17295a41b8918c6038333e7bc3d), |
| 82 | + [#13339](https://github.com/angular/angular.js/issues/13339), [#13380](https://github.com/angular/angular.js/issues/13380), [#13414](https://github.com/angular/angular.js/issues/13414), [#13472](https://github.com/angular/angular.js/issues/13472), [#13678](https://github.com/angular/angular.js/issues/13678)) |
| 83 | + - do not use `event.timeStamp` anymore for time tracking |
| 84 | + ([620a20d1](https://github.com/angular/angular.js/commit/620a20d1b3376d95f85004ffa494e36bb19a2e4d), |
| 85 | + [#13494](https://github.com/angular/angular.js/issues/13494), [#13495](https://github.com/angular/angular.js/issues/13495)) |
| 86 | + - ignore children without animation data when closing them |
| 87 | + ([be01cebf](https://github.com/angular/angular.js/commit/be01cebfae9ca2383105e535820442b39a96b240), |
| 88 | + [#11992](https://github.com/angular/angular.js/issues/11992), [#13424](https://github.com/angular/angular.js/issues/13424)) |
| 89 | + - do not alter the provided options data |
| 90 | + ([7a81e6fe](https://github.com/angular/angular.js/commit/7a81e6fe2db084172e34d509f0baad2b33a8722c), |
| 91 | + [#13040](https://github.com/angular/angular.js/issues/13040), [#13175](https://github.com/angular/angular.js/issues/13175)) |
| 92 | + |
| 93 | +## Minor Features |
| 94 | + |
| 95 | +- **ngLocale:** add support for standalone months |
| 96 | + ([54c4041e](https://github.com/angular/angular.js/commit/54c4041ebc0cc4df70cf6996f43a6aaaf56d46bd), |
| 97 | + [#3744](https://github.com/angular/angular.js/issues/3744), [#10247](https://github.com/angular/angular.js/issues/10247), [#12642](https://github.com/angular/angular.js/issues/12642), [#12844](https://github.com/angular/angular.js/issues/12844)) |
| 98 | +- **ngMock:** add support for `$animate.closeAndFlush()` |
| 99 | + ([512c0811](https://github.com/angular/angular.js/commit/512c08118786a419fabbd063fa17d224aba125cf)) |
| 100 | + |
| 101 | + |
| 102 | +## Performance Improvements |
| 103 | + |
| 104 | +- **ngAnimate:** speed up `areAnimationsAllowed` check |
| 105 | + ([2d3303dd](https://github.com/angular/angular.js/commit/2d3303ddda6330c4f45b381b6b17346f6cfe2d97)) |
| 106 | + |
| 107 | + |
| 108 | +## Breaking Changes |
| 109 | + |
| 110 | +While we do not deem the following to be a real breaking change we are highlighting it here in the |
| 111 | +changelog to ensure that it does not surprise anyone. |
| 112 | + |
| 113 | +- **$resource:** due to [47486524](https://github.com/angular/angular.js/commit/474865242c89ba3e8143f0cd52f8c292979ea730), |
| 114 | + |
| 115 | +**Possible breaking change** for users who updated their code to provide a `timeout` |
| 116 | +promise for a `$resource` request in version 1.4.8. |
| 117 | + |
| 118 | +Up to v1.4.7 (included), using a promise as a timeout in `$resource`, would silently |
| 119 | +fail (i.e. have no effect). |
| 120 | + |
| 121 | +In v1.4.8, using a promise as timeout would have the (buggy) behaviour described |
| 122 | +in https://github.com/angular/angular.js/pull/12657#issuecomment-152108887 |
| 123 | +(i.e. it will work as expected for the first time you resolve the promise and will |
| 124 | +cancel all subsequent requests after that - one has to re-create the resource |
| 125 | +class. This is feature was not documented.) |
| 126 | + |
| 127 | +With this change, using a promise as timeout in 1.4.9 onwsards is not allowed. |
| 128 | +It will log a warning and ignore the timeout value. |
| 129 | + |
| 130 | +If you need support for cancellable `$resource` actions, you should upgrade to |
| 131 | +version 1.5 or higher. |
| 132 | + |
| 133 | + |
1 | 134 | <a name="1.5.0-rc.1"></a>
|
2 | 135 | # 1.5.0-rc.1 quantum-fermentation (2016-01-15)
|
3 | 136 |
|
|
0 commit comments