|
| 1 | +<a name="1.5.0-beta.1"></a> |
| 2 | +# 1.5.0-beta.1 dense-dispersion (2015-09-29) |
| 3 | + |
| 4 | + |
| 5 | +## Bug Fixes |
| 6 | + |
| 7 | +- **$compile:** |
| 8 | + - use createMap() for $$observe listeners when initialized from attr interpolation |
| 9 | + ([76c2491a](https://github.com/angular/angular.js/commit/76c2491a316d6b296c721227529fcb09087d369a), |
| 10 | + [#10446](https://github.com/angular/angular.js/issues/10446)) |
| 11 | + - properly sanitize xlink:href attribute interoplation |
| 12 | + ([f33ce173](https://github.com/angular/angular.js/commit/f33ce173c90736e349cf594df717ae3ee41e0f7a), |
| 13 | + [#12524](https://github.com/angular/angular.js/issues/12524)) |
| 14 | +- **$parse:** |
| 15 | + - fix typo in error message ("assing" -> "assign") |
| 16 | + ([70dac5ae](https://github.com/angular/angular.js/commit/70dac5ae82ffe9c6250681274905583747523b5d), |
| 17 | + [#12940](https://github.com/angular/angular.js/issues/12940)) |
| 18 | + - block assigning to fields of a constructor |
| 19 | + ([e1f4f23f](https://github.com/angular/angular.js/commit/e1f4f23f781a79ae8a4046b21130283cec3f2917), |
| 20 | + [#12860](https://github.com/angular/angular.js/issues/12860)) |
| 21 | + - do not convert to string computed properties multiple times |
| 22 | + ([20cf7d5e](https://github.com/angular/angular.js/commit/20cf7d5e3a0af766b1929e24794859c79439351c)) |
| 23 | +- **$sanitize:** |
| 24 | + - strip urls starting with 'unsafe:' as opposed to 'unsafe' |
| 25 | + ([a4dfa4d0](https://github.com/angular/angular.js/commit/a4dfa4d061fd2f6baf9821f0863dcce7888232ab), |
| 26 | + [#12524](https://github.com/angular/angular.js/issues/12524)) |
| 27 | + - add mXSS protection |
| 28 | + ([bc0d8c4e](https://github.com/angular/angular.js/commit/bc0d8c4eea9a34bff5e29dd492dcdd668251be40), |
| 29 | + [#12524](https://github.com/angular/angular.js/issues/12524)) |
| 30 | + - support void elements, fixups, remove dead code, typos |
| 31 | + ([94207f8f](https://github.com/angular/angular.js/commit/94207f8fb6ee8fe26fe18657f6b5aca6def99605), |
| 32 | + [#12524](https://github.com/angular/angular.js/issues/12524)) |
| 33 | +- **filters:** ensure `formatNumber` observes i18n decimal separators |
| 34 | + ([658a865c](https://github.com/angular/angular.js/commit/658a865c5b2580eed53b340e7394945cd76e2260), |
| 35 | + [#10342](https://github.com/angular/angular.js/issues/10342), [#12850](https://github.com/angular/angular.js/issues/12850)) |
| 36 | +- **injector:** support arrow functions with no parenthesis |
| 37 | + ([03726f7f](https://github.com/angular/angular.js/commit/03726f7fbd5d71c0604b8dd40e97cb2fb0fb777f), |
| 38 | + [#12890](https://github.com/angular/angular.js/issues/12890)) |
| 39 | +- **input:** remove workaround for Firefox bug |
| 40 | + ([b366f035](https://github.com/angular/angular.js/commit/b366f0352abccfe4c4868b5a9e8c0b88659bd1ee)) |
| 41 | +- **ngAnimate:** |
| 42 | + - ensure anchoring uses body as a container when needed |
| 43 | + ([240d5896](https://github.com/angular/angular.js/commit/240d5896ecdfac2351f9bd6147b52de52c0b7608), |
| 44 | + [#12872](https://github.com/angular/angular.js/issues/12872)) |
| 45 | + - callback detection should only use RAF when necessary |
| 46 | + ([8b27c3f0](https://github.com/angular/angular.js/commit/8b27c3f064b34532ba99d709cadf09fc4c0cbeab)) |
| 47 | +- **ngMessages:** prevent race condition with ngAnimate |
| 48 | + ([8366622b](https://github.com/angular/angular.js/commit/8366622bed009d2cad7d0cff28b9c1e48bfbd4e1), |
| 49 | + [#12856](https://github.com/angular/angular.js/issues/12856), [#12903](https://github.com/angular/angular.js/issues/12903)) |
| 50 | +- **ngOptions:** |
| 51 | + - skip comments when looking for option elements |
| 52 | + ([7f3f3dd3](https://github.com/angular/angular.js/commit/7f3f3dd3ebcc44711600ac292af54c411c3c705f), |
| 53 | + [#12190](https://github.com/angular/angular.js/issues/12190)) |
| 54 | + - prevent frozen select ui in IE |
| 55 | + ([42c97c5d](https://github.com/angular/angular.js/commit/42c97c5db5921e9e5447fb32bdae1f48da42844f), |
| 56 | + [#11314](https://github.com/angular/angular.js/issues/11314), [#11795](https://github.com/angular/angular.js/issues/11795)) |
| 57 | + - allow falsy values as option group identifiers |
| 58 | + ([b71d7c3f](https://github.com/angular/angular.js/commit/b71d7c3f3c04e65b02d88b33c22dd90ae3cdfc27), |
| 59 | + [#7015](https://github.com/angular/angular.js/issues/7015), [#7024](https://github.com/angular/angular.js/issues/7024), [#12888](https://github.com/angular/angular.js/issues/12888)) |
| 60 | + - throw if ngModel is not present |
| 61 | + ([ded25187](https://github.com/angular/angular.js/commit/ded2518756d4409fdfda0d4af243f2125bea01b5), |
| 62 | + [#7047](https://github.com/angular/angular.js/issues/7047), [#12840](https://github.com/angular/angular.js/issues/12840)) |
| 63 | +- **ngResource:** encode `&` in URL query param values |
| 64 | + ([1c97a605](https://github.com/angular/angular.js/commit/1c97a6057bc013262be761bca5e5c22224c4bbf8), |
| 65 | + [#12201](https://github.com/angular/angular.js/issues/12201)) |
| 66 | + |
| 67 | + |
| 68 | +## Features |
| 69 | + |
| 70 | +- **$animateCss:** add support for temporary styles via `cleanupStyles` |
| 71 | + ([9f67da62](https://github.com/angular/angular.js/commit/9f67da625293441e27559ebde7503cc63408a95c), |
| 72 | + [#12930](https://github.com/angular/angular.js/issues/12930)) |
| 73 | +- **$http:** add `$xhrFactory` service to enable creation of custom xhr objects |
| 74 | + ([106f90aa](https://github.com/angular/angular.js/commit/106f90aafa0fa5a81ad7af7ffc9d1e00ab97ffef), |
| 75 | + [#2318](https://github.com/angular/angular.js/issues/2318), [#9319](https://github.com/angular/angular.js/issues/9319), [#12159](https://github.com/angular/angular.js/issues/12159)) |
| 76 | +- **$injector:** add strictDi property to $injector instance |
| 77 | + ([79577c5d](https://github.com/angular/angular.js/commit/79577c5d316c7bf0204d7d1747ddc5b15bfe2955), |
| 78 | + [#11728](https://github.com/angular/angular.js/issues/11728), [#11734](https://github.com/angular/angular.js/issues/11734)) |
| 79 | +- **$sanitize:** make svg support an opt-in |
| 80 | + ([181fc567](https://github.com/angular/angular.js/commit/181fc567d873df065f1e84af7225deb70a8d2eb9), |
| 81 | + [#12524](https://github.com/angular/angular.js/issues/12524)) |
| 82 | +- **$time:** create time service |
| 83 | + ([fa4c7b7f](https://github.com/angular/angular.js/commit/fa4c7b7f1d885eb9746166e268c9f7511ea39676), |
| 84 | + [#10402](https://github.com/angular/angular.js/issues/10402), [#10525](https://github.com/angular/angular.js/issues/10525)) |
| 85 | +- **ngModel:** provide ng-empty and ng-not-empty CSS classes |
| 86 | + ([630280c7](https://github.com/angular/angular.js/commit/630280c7fb04a83208d09c97c2efb81be3a3db74), |
| 87 | + [#10050](https://github.com/angular/angular.js/issues/10050), [#12848](https://github.com/angular/angular.js/issues/12848)) |
| 88 | + |
| 89 | + |
| 90 | +## Performance Improvements |
| 91 | + |
| 92 | +- **$compile:** Lazily compile the `transclude` function |
| 93 | + ([652b83eb](https://github.com/angular/angular.js/commit/652b83eb226131d131a44453520a569202aa4aac)) |
| 94 | + |
| 95 | + |
| 96 | +## Breaking Changes |
| 97 | + |
| 98 | +- **$sanitize:** due to [181fc567](https://github.com/angular/angular.js/commit/181fc567d873df065f1e84af7225deb70a8d2eb9), |
| 99 | + The svg support in is now an opt-in option |
| 100 | + |
| 101 | +Applications that depend on this option can use to turn the option back on, |
| 102 | +but while doing so, please read the warning provided in the documentation for |
| 103 | +information on preventing click-hijacking attacks when this option is turned on. |
| 104 | + |
| 105 | +- **ngOptions:** due to [ded25187](https://github.com/angular/angular.js/commit/ded2518756d4409fdfda0d4af243f2125bea01b5), |
| 106 | + |
| 107 | +`ngOptions` will now throw if `ngModel` is not present on the `select` |
| 108 | +element. Previously, having no `ngModel` let `ngOptions` silently |
| 109 | +fail, which could lead to hard to debug errors. The change should |
| 110 | +therefore not affect any applications, as it simply makes the |
| 111 | +requirement more strict and alerts the developer explicitly. |
| 112 | + |
| 113 | + |
1 | 114 | <a name="1.4.7"></a>
|
2 | 115 | # 1.4.7 dark-luminescence (2015-09-29)
|
3 | 116 |
|
|
0 commit comments