Angular.js 1.4.7/1.5.0-beta.1/v1.3.20/v1.2.29 发布,更内容如下:
1.5.0-beta.1 dense-dispersion (2015-09-29)
Bug 修复
- $compile:
- $parse:
- $sanitize:
- filters: ensure
formatNumber
observes i18n decimal separators (658a865c,#10342, #12850) - injector: support arrow functions with no parenthesis (03726f7f,#12890)
- input: remove workaround for Firefox bug (b366f035)
- ngAnimate:
- ngMessages: prevent race condition with ngAnimate (8366622b,#12856, #12903)
- ngOptions:
- ngResource: encode
&
in URL query param values (1c97a605,#12201)
特性
- $animateCss: add support for temporary styles via
cleanupStyles
(9f67da62,#12930) - $http: add
$xhrFactory
service to enable creation of custom xhr objects (106f90aa,#2318,#9319, #12159) - $injector: add strictDi property to $injector instance (79577c5d,#11728, #11734)
- $sanitize: make svg support an opt-in (181fc567,#12524)
- $time: create time service (fa4c7b7f,#10402, #10525)
- ngModel: provide ng-empty and ng-not-empty CSS classes (630280c7,#10050, #12848)
性能改进
- $compile: Lazily compile the
transclude
function (652b83eb)
重大更新
- $sanitize: due to 181fc567, The svg support in is now an opt-in option
Applications that depend on this option can use to turn the option back on, but while doing so, please read the warning provided in the documentation for information on preventing click-hijacking attacks when this option is turned on.
- ngOptions: due to ded25187,
ngOptions
will now throw if ngModel
is not present on the select
element. Previously, having no ngModel
let ngOptions
silently fail, which could lead to hard to debug errors. The change should therefore not affect any applications, as it simply makes the requirement more strict and alerts the developer explicitly.
1.4.7 dark-luminescence (2015-09-29)
Bug 修复
- $compile: use createMap() for $$observe listeners when initialized from attr interpolation (5a98e806,#10446)
- $parse:
- filters: ensure
formatNumber
observes i18n decimal separators (4994acd2,#10342, #12850) - jqLite: properly handle dash-delimited node names in
jqLiteBuildFragment
(cdd1227a,#10617, #12759) - ngAnimate:
- ngMessages: prevent race condition with ngAnimate (7295c60f,#12856, #12903)
- ngOptions:
特性
- $animateCss: add support for temporary styles via
cleanupStyles
(e52d731b,#12930) - $http: add
$xhrFactory
service to enable creation of custom xhr objects (7a413df5,#2318,#9319, #12159)
重大更新
1.3.20 shallow-translucence (2015-09-29)
Bug 修复
- $parse: do not convert to string computed properties multiple times (d434f3db)
1.2.29 ultimate-deprecation (2015-09-29)
Bug 修复
- $browser: prevent infinite digests when clearing the hash of a url (9845cee6,#9629, #9635,#10228, #10308)
- $compile: workaround for IE11 MutationObserver (fccce96d,#11781, #12613)
- $location: strip off empty hash segments when comparing (e81b2f72,#9635, #10748)
- $parse:
- ngAnimate: ensure that minified repaint code isn’t removed (b041b664,#9936)
更多内容请看:CHANGELOG.md
下载页面:releases