AngularJS 今天发布两个更新版本,分别是 1.2.26 和 1.3 的第四个 RC 版本。
其中 1.3.0 RC4 的改进内容包括:
Bug Fixes
-
$compile:
-
get $$observe listeners array as own property (a27d827c,#9343, #9345)
-
Resolve leak with asynchronous compilation (6303c3dc,#9199, #9079, #8504, #9197)
-
connect transclude scopes to their containing scope to prevent memory leaks (fb0c77f0,#9095, #9281)
-
sanitize srcset attribute (ab80cd90)
-
input:
-
register builtin parsers/formatters before anyone else (10644432,#9218, #9358)
-
correctly handle invalid model values for
input[date/time/…](a0bfdd0d,#8949, #9375) -
ngModel: do not parse undefined viewValue when validating (92f05e5a,#9106, #9260)
-
ngView: use animation promises ensure that only one leave animation occurs at a time (3624e380,#9355, #7606, #9374)
-
select: make ctrl.hasOption method consistent (2bcd02dc,#8761)
Features
-
$compile: optionally get controllers from ancestors only (07e3abc7,#4518, #4540, #8240, #8511)
-
Scope: allow the parent of a new scope to be specified on creation (6417a3e9)
Performance Improvements
-
$rootScope: moving internal queues out of the Scope instances (b1192518,#9071)
-
benchmark: add ngBindOnce benchmarks to largetable-bp (2c8b4648)
-
ngForm,ngModel: move initial addClass to the compile phase (b1ee5386,#8268)
Breaking Changes
-
$compile: due to fb0c77f0,
而 1.2.26 版本主要是 bug 修复:
-
$compile: Resolve leak with asynchronous compilation (5c9c1973,#9199, #9079, #8504, #9197)
-
select: make ctrl.hasOption method consistent (11d2242d,#8761)
希望你喜欢,并分享我的工作~带你走近AngularJS系列:
- 带你走近AngularJS - 基本功能介绍 http://www.linuxidc.com/Linux/2014-05/102140.htm
- 带你走近AngularJS - 体验指令实例 http://www.linuxidc.com/Linux/2014-05/102141.htm
- 带你走近AngularJS - 创建自定义指令 http://www.linuxidc.com/Linux/2014-05/102142.htm
如何在 AngularJS 中对控制器进行单元测试 http://www.linuxidc.com/Linux/2013-12/94166.htm
在 AngularJS 应用中通过 JSON 文件来设置状态 http://www.linuxidc.com/Linux/2014-07/104083.htm
AngularJS 之 Factory vs Service vs Provider http://www.linuxidc.com/Linux/2014-05/101475.htm
AngularJS —— 使用 ngResource、RESTful APIs 和 Spring MVC 框架提交数据 http://www.linuxidc.com/Linux/2014-07/104402.htm
AngularJS 的详细介绍:请点这里
AngularJS 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2014-10/107526.htm
