Angular 5.0.0-rc.1 发布,bug 修复和性能改进

栏目: 软件资讯 · 发布时间: 8年前

内容简介:Angular 5.0.0-rc.1 已发布,该版本的更新内容包括 bug 修复和性能改进,具体如下: Bug 修复 compiler: always emit summaries for jit with ng_module bazel rule. (1058b2a) don’t rely on goog.DEBUG but...

Angular 5.0.0-rc.1 已发布,该版本的更新内容包括 bug 修复和性能改进,具体如下:

Bug 修复

  • compiler: always emit summaries for jit with ng_module bazel rule. (1058b2a)

  • don’t rely on goog.DEBUG but on COMPILED instead (db74f44)

  • compiler: add typings for COMPILED. (0038712)

  • compiler: also count generated files to determine whether to use single file emit (7c5ecb5)

  • compiler: disallow references for select and index evaluation (f3f4c3d)

  • compiler: don’t use ng:// in AOT source maps, and never point to the original source file (01f7112), closes #19538

  • compiler: only don’t emit already emitted files in incremental compilation (caa5195)

  • compiler: properly work on windows (696af79), closes #19492

  • compiler: set emitSkipped to false for incremental compilation (c412913)

  • service-worker: several misc fixes for corner cases (f10f8db)

  • upgrade: call ngOnInit() after ngOnChanges() (on components with inputs) (eef7d8a), closes #18913

  • upgrade: correctly run change detection when propagateDigest is false (617b3d2)

  • upgrade: ensure downgraded components are destroyed in the Angular zone (4e6aa9c)

性能改进

  • compiler: don’t emit summaries for jit by default (b086891)

  • compiler: fix perf issue in loading aot summaries in jit compiler (fbc9537)

  • compiler: only emit changed files for incremental compilation (745b59f)

具体更新内容请参阅更新日志

下载地址:

官方表示 Angular 5 正式版预计将于 10 月 23 日发布。


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

JavaScript设计模式与开发实践

JavaScript设计模式与开发实践

曾探 / 人民邮电出版社 / 2015-5 / 59.00元

本书在尊重《设计模式》原意的同时,针对JavaScript语言特性全面介绍了更适合JavaScript程序员的了16个常用的设计模式,讲解了JavaScript面向对象和函数式编程方面的基础知识,介绍了面向对象的设计原则及其在设计模式中的体现,还分享了面向对象编程技巧和日常开发中的代码重构。本书将教会你如何把经典的设计模式应用到JavaScript语言中,编写出优美高效、结构化和可维护的代码。一起来看看 《JavaScript设计模式与开发实践》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

URL 编码/解码
URL 编码/解码

URL 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具