|
欢迎加入运维网交流群:263444886
Angular2 RC5 发布了,主要更新如下:
Bug Fixes
- animations: change trigger binding syntax to function as a property binding
- animations: ensure a null easing value is never used with web-animations (9cc3b2c), closes #9780 #9752
- animations: ensure all child elements are rendered before running animations (c3bdd50), closes #9402 #9775 #9887
animations: ensure animation detection doesn't>
- animations: throw errors when duplicate component trigger names are registered (5af1e89)
- compiler: allow to use pipes inside of *ngIf (#10452) (8efbcc9), closes #9746
- compiler: auto declare entryComponents recursively (a32c4ad), closes #10348
- compiler: Collector collects enum values. (#9967) (e6b2443)
- compiler: Fixed ?. operator to short-circut execution (#9965) (4ec2a30), closes #9965
- compiler: Generates function expressions as returning any (#9980) (eb5763c)
- compiler: Ignore references to declared modules and unneeded types (#9776) (4ef8689)
- compiler: Missing metadata files should result in undefined (#9704) (30bec78), closes #9678
- compiler: No longer writes 0 length files outside of genDir (#10023) (6518ff8)
- compiler: Query expression lambdas should have dynamic type (961c9d4)
- compiler: report better error messages for host bindings (fb3608a), closes #10346
- compiler: Report references to non-exported symbols. (9925aa8)
- compiler: StaticReflect now resolves re-exported symbols (#10453) (82e7ecd), closes #10453
Features
- animations: allow animation integration support into host params (806a254), closes #9044 #9933
- browser: use AppModules for bootstrap in the browser (3f55aa6)
- compiler: add MockPipeResolver (4ad6bcc)
- compiler: Added support for conditional expressions. (#10366) (20b03ba)
- compiler: Added support for references to static fields. (#10334) (b58e9ea)
- compiler: Allow calls to simple static methods (#10289) (b449467)
- compiler: Expression span information and error correction (#9772) (9a04fcd)
- compiler: introduce MockDirectiveResolver.setDirective (acc6c8d)
点击查看详细更新列表
了解更多:
- http://angularjs.blogspot.jp/search/label/announcements
下载地址:
- Source code (zip)
- Source code (tar.gz)
|
|
|