Angular 9.1 发布

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

内容简介:Angular 9.1 版本现已发布,其中包含新功能和错误修复。具体更新内容如下: 发布要点 TypeScript 3.8 更新 ngcc 改进 性能优化 Monorepo 用例的并发性和可靠性改进(不再建议使用 npm postinstall 脚本) i18n 现...

Angular 9.1 版本现已发布,其中包含新功能和错误修复。具体更新内容如下:

发布要点

  • TypeScript 3.8 更新
  • ngcc 改进
    • 性能优化
    • Monorepo 用例的并发性和可靠性改进(不再建议使用 npm postinstall 脚本)
  • i18n 现在支持 RTL 语言环境信息
  • Ivy 兼容性修复

Features

  • bazel:在 g3 中启用 ivy template type-checking
  • compiler-cli:在 NgCompiler API 之上实现 NgTscPlugin
  • language-service:改进不可调用的错误消息
  • ngcc:实现 source-map flattening
  • 通过在 zone.js 配置文件中定义全局变量来支持被动事件选项
  • 定义所有 zone.js 配置为 Typescript 接口
  • Typescript 3.8 支持
  • ......

Performance Improvements

  • core:使用 TestBed.overrideModule 时避免递归范围重新计算
  • ivy:删除 listener 指令中未使用的事件参数
  • ngcc:仅创建未处理格式的任务
  • ......

Bug Fixes

  • animations:从私有导出中删除 ɵAnimationDriver
  • bazel:devserver 在 Windows 中显示空白页
  • bazel:将 ibazel 更新至 0.11.1
  • compiler-cli:抑制 Closure 编译器中的 extraRequire 错误
  • compiler:报告缺少绑定名称的错误
  • ......

更多详细信息可查看更新说明: https://github.com/angular/angular/blob/master/CHANGELOG.md


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

查看所有标签

猜你喜欢:

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

Structure and Interpretation of Computer Programs - 2nd Edition

Structure and Interpretation of Computer Programs - 2nd Edition

Harold Abelson、Gerald Jay Sussman / The MIT Press / 1996-7-25 / USD 145.56

Structure and Interpretation of Computer Programs has had a dramatic impact on computer science curricula over the past decade. This long-awaited revision contains changes throughout the text. Ther......一起来看看 《Structure and Interpretation of Computer Programs - 2nd Edition 》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

SHA 加密
SHA 加密

SHA 加密工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具