[聚合文章] Angular 5.0.4 和 5.1.0 rc.0 发布,Web 前端框架

JavaScript 2017-12-01 17 阅读

Angular 5.0.4 和 5.1.0 rc.0 已发布,更新如下:

  • animations:ensure multi-level enter animations work

  • animations:ensure multi-level leave animations work 

  • common:accept falsy values as HTTP bodies 

  • common:don't strip XSSI prefix for if error isn't JSON

  • common:remove useless guard in HttpClient

  • common:treat an empty body as null when parsing JSON in HttpClient

  • compiler-cli:fix memory leak in program creation

  • compiler-cli:normalize sourcepaths for i18n extracted files

Angular 5.1.0 rc.0 还包含以下更新:

  • core:should use native addEventListener in ngZone

  • language-service:Allow empty templates

  • language-service:Fix crash when no script files are found

  • common:add locale id parameter to  registerLocaleData

  • compiler-cli:improve error messages produced during structural errors

更多详情和下载地址可查阅 更新日志发行列表

注:本文内容来自互联网,旨在为开发者提供分享、交流的平台。如有涉及文章版权等事宜,请你联系站长进行处理。