红联Linux门户
Linux帮助

Angular 2.4.7和4.0.0 beta7发布,Web前端框架

发布时间:2017-02-10 09:24:20来源:红联作者:baihuo
Angular 2.4.7 和 4.0.0 beta7 发布了,Angular 是一款十分流行且好用的 Web 前端框架,目前由 Google 维护。

Angular 2.4.7 更新内容:

Bug 修复

upgrade: 允许非元素选择器用于降级组件

Angular 4.0.0 beta7 更新内容:

Bug 修复

build and test fixes for TS 2.1

benchmarks: don’t force gc on the profile buttons

build: make fsevents an optional dependency in npm

compiler-cli: prevent ng-xi18n from emitting the compilation output

tsc-wrapped: use tsickle's new source map composition feature

upgrade: pass correct values to ngOnChanges for interpolation bindings

性能改进

upgrade: unregister $doCheck watcher when destroying upgraded component

Don’t subclass Error; resulting in smaller binary

重要变化

Angular 4 将仅支持 TypeScript 2.1,因此不再向 TS 1.8 提供向后兼容性。

软件详情:https://github.com/angular/angular/blob/master/CHANGELOG.md

下载地址:https://github.com/angular/angular/

来自:开源中国社区
文章评论

共有 0 条评论