Angular 5.2.0-beta.1 和 5.1.2 已发布,5.2.0-beta.1 主要是新增了一些特性和修复 bug,5.1.2 主要是修复了部分 bug,具体如下:
5.2.0-beta.1
Bug 修复
- compiler: generate the correct imports for summary type-check (d91ff17)
- forms: avoid producing an error with hostBindingTypeCheck (d213a20)
特性
- compiler: allow ngIf to use the ngIf expression directly as a guard (82bcd83)
- router: add “paramsInheritanceStrategy” router configuration option (5efea2f), closes #20572
5.1.2
Bug 修复
- common: fix a Closure compilation issue. (267ebf3)
- compiler: make tsx file aot compatible (756dd34), closes #20555
- compiler: report an error for recursive module references (ced575f)
- compiler-cli: do not emit invalid .metadata.json files (a1d4c2d)
- compiler-cli: do not force type checking on .js files (3b63e16)
- service-worker: check for updates on navigation (a33182c), closes #20877
- upgrade: replaces get/setAngularLib with get/setAngularJSGlobal (66cc2fa)
详情请参阅更新日志地址。
源码下载:https://github.com/angular/angular/releases
转自 http://www.oschina.net/news/91713/angular-5-2-0-beta1-and-5-1-2-released