Angular 5.0.0-rc.1 已发布,该版本的更新内容包括 bug 修复和性能改进,具体如下:
Bug 修复
compiler: always emit summaries for jit with ng_module bazel rule.
don’t rely on goog.DEBUG but on COMPILED instead
compiler: add typings for COMPILED.
compiler: also count generated files to determine whether to use single file emit
compiler: disallow references for select and index evaluation
compiler: don’t use ng:// in AOT source maps, and never point to the original source file
compiler: only don’t emit already emitted files in incremental compilation
compiler: properly work on windows
compiler: set emitSkipped to false for incremental compilation
service-worker: several misc fixes for corner cases
upgrade: call ngOnInit() after ngOnChanges() (on components with inputs)
upgrade: correctly run change detection when propagateDigest is false
upgrade: ensure downgraded components are destroyed in the Angular zone
性能改进
compiler: don’t emit summaries for jit by default
compiler: fix perf issue in loading aot summaries in jit compiler
compiler: only emit changed files for incremental compilation
官方表示 Angular 5 正式版预计将于 10 月 23 日发布。
软件详情:https://github.com/angular/angular/blob/master/CHANGELOG.md
下载地址:https://github.com/angular/angular/archive/5.0.0-rc.1.zip
来自:开源中国社区

