Angular 6.0.0-rc.1 已发布,主要更新还是修复 bug,以及增加新特性。
Bug 修复
- animations: avoid animation insertions during router back/refresh (#21977) (f88fba0), closes #19712
- animations: treat numeric state name values as strings (#22923) (e5e1b0d)
- bazel: complete the rollup globals list for all angular entrypoints (#23080) (439030f)
- bazel: don’t inline tslib into fesms (#23044) (0049743)
- bazel: don’t try to do flatmoduleindex under Blaze (#23083) (be10bf5)
- bazel: downlevel decorators in fesm5 files (#23078) (481b22e)
- bazel: ng_package packages attr not forwarded to npm_package (#22967) (2aabbc5)
- bazel: ng_package should include private exports in fesms (#23054) (0d9140c)
- bazel: pass –global option to rollup (#23073) (45e090b)
- common: titlecase pipe (#22600) (7966744)
- compiler: don’t typecheck all inputs (#22899) (838a610)
- consistently rewrite Injector to INJECTOR (#23008) (884bf0e)
- compiler: fix support for html-like text in translatable attributes (#23053) (28058b7)
- compiler: take quoting into account when determining if object literals can be shared (#22942) (d98e9e7)
- compiler-cli: use numeric comparison for TypeScript version (#22705) (193737a), closes #22593
- core: don’t override ngInjectableDef in the decorator if present on the type (#22943) (6f01917)
- service-worker: do not enter degraded mode when offline (#22883) (9e9b8dd), closes #21636
- service-worker: fix LruList bugs (#22769) (8c2a578), closes #22218 #22768
- service-worker: ignore invalid
only-if-cached
requests (#22883) (d9dc46e), closes #22362
特性
- bazel: prefix private-export (barred-latin-o) symbols (#23007) (27e14b2)
- compiler: lower @NgModule ids if needed (#23031) (bd024c0)
更新说明:https://github.com/angular/angular/blob/master/CHANGELOG.md
源码下载:https://github.com/angular/angular/releases/tag/6.0.0-rc.1
转自 https://www.oschina.net/news/94749/angular-6-0-0-rc1-released