Angular 5.0.4 和 5.1.0 rc.0 发布,Web 前端框架

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

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

See more here:  

Angular 5.0.4 和 5.1.0 rc.0 发布,Web 前端框架