Angular 4.1.0-rc.0 和 4.0.3 发布, Web 前端框架

局长
 局长
发布于 2017年04月22日
收藏 7

Angular 4.1.0-rc.0 和 4.0.3 发布了。

Angular 4.1.0-rc.0 主要是 bug 修复和添加新特性,具体如下:

Bug 修复

  • benchpress: chrome - prevent trace buffer overflow (2f44206)

  • benchpress: Update types for TypeScript nullability support (14669f2)

  • common: Update types for TypeScript nullability support (d8b73e4)

  • compiler: fix build error in xliff2 (bd704c9)

  • compiler: fix inheritance for AOT with summaries (#15583) (8ef621a)

  • compiler: ignore calls to unresolved symbols in metadata (38a7e0d), closes #15969

  • compiler: ignore calls to unresolved symbols in metadata (#15970) (ce47d33), closes #15969

  • compiler: Inform user where Quoted error was thrown (a77b126)

  • compiler: make I18NHtmlParser provider AoT-compliant (#15980) (745731e)

  • compiler: support <ng-container> whatever the namespace (5b141fb), closes #14257

  • compiler: suppress another closure warning (#16137) (11b0213)

  • compiler: Update types for TypeScript nullability support (09d9f5f)

  • core: benchmarks - enable ng1 benchmark again (bccfaa4)

  • core: distribute externs for testability API (#16179) (da66884)

  • core: key-value differ changes iteration (#15968) (cb5a7ef), closes #14997

  • forms: Update types for TypeScript nullability support (6649743)

  • forms: Update types for TypeScript nullability support (57bc245)

  • forms: Update types for TypeScript nullability support (#15859) (6a2e08d)

  • http: Update types for TypeScript nullability support (c36ec9b)

  • http: Update types for TypeScript nullability support (ec028b8)

  • language-service: avoid throwing exceptions when reporting metadata errors (7764c5c)

  • language-service: detect when there isn't a tsconfig.json (258d539), closes #15874

  • language-service: improve resilience to incomplete information (71a8627)

  • language-service: infer correct type of ?. expressions (0a3a9af), closes #15885

  • language-service: initialize static reflector correctly (fe0d02f), closes #15768

  • language-service: look for type constructors on canonical symbol (2ddf3bc)

  • language-service: only use canonical symbols (5a88d2f)

  • language-service: parse extended i18n forms (bde9771)

  • language-service: resolve any parameter types to any result (5fbb0d0)

  • language-service: respect baseUrl compiler option (f21ff90), closes #15974

  • language-service: Update types for TypeScript nullability support (540581d)

  • packaging: increased buffer size (#15840) (65af964)

  • platform-browser: Update types for TypeScript nullability support (728c9d0), closes #15898

  • platform-server: handle innerText (#15818) (9394835)

  • router: fix query param parsing (a487563)

  • router: prevent RouterLinkActive from causing an infinite CD loop (82417b3), closes #15825

  • router: relax nullability requirements (a0d124b)

  • turn on nullability in the code base. (5293794)

  • Update types for TypeScript nullability support in examples (6f5fccf)

  • router: the preloader use the module from the loaded config (6d12aa9)

  • router: Update types for TypeScript nullability support (56c46d7)

  • router: Update types for TypeScript nullability support (bc43188)

  • tsc-wrapped: collect new expressions with no arguments (#15908) (70b1d6d), closes #15906

  • tsc-wrapped: ensure valid path separators in metadata (96aa236)

  • upgrade: Update types for TypeScript nullability support (01d93f3), closes #15897

特性

  • animations: Update types for TypeScript nullability support (38d75d4), closes #15870

  • compiler: add source files to xmb/xliff translations (#14705) (4054055), closes #14190

  • compiler: Implement i18n XLIFF 2.0 serializer (#14185) (09c4cb2), closes #11735

  • upgrade: allow setting the angularjs lib at runtime (#15168) (e927aea)

  • upgrade: allow setting the angularjs lib at runtime (#15168) (8ad464d)

  • upgrade: fixes for allow setting the angularjs lib at runtime (90814e4)

  • add support for TS 2.2 (3c8a61e)

  • add support for TS 2.3 (014594f)

4.0.3 主要也是 bug 修复和添加新特性:

Bug 修复

  • benchpress: chrome - prevent trace buffer overflow (d216f94)

  • compiler: fix build error in xliff2 (1870347)

  • compiler: ignore calls to unresolved symbols in metadata (d4038ab), closes #15969

  • compiler: ignore calls to unresolved symbols in metadata (#15970) (db25f08), closes #15969

  • compiler: Inform user where Quoted error was thrown (3184cc5)

  • compiler: suppress another closure warning (#16137) (72e240a)

  • core: benchmarks - enable ng1 benchmark again (ccac4c6)

  • core: distribute externs for testability API (#16179) (e377d9d)

  • core: key-value differ changes iteration (#15968) (a8600dc), closes #14997

  • language-service: only use canonical symbols (786093a)

  • packaging: increased buffer size (#15840) (88ad490)

  • platform-server: handle innerText (#15818) (7de340d)

  • router: prevent RouterLinkActive from causing an infinite CD loop (4479c42), closes #15825

  • tsc-wrapped: collect new expressions with no arguments (#15908) (41cac9e), closes #15906

特性

  • compiler: Implement i18n XLIFF 2.0 serializer (#14185) (a7d8edd), closes #11735

  • upgrade: allow setting the angularjs lib at runtime (#15168) (a75d056)

  • upgrade: allow setting the angularjs lib at runtime (#15168) (4f172b0)

  • upgrade: fixes for allow setting the angularjs lib at runtime (bb6932d)

  • add support for TS 2.3 (5cf101f)

点此查看完整更新日志

下载地址

4.0.3

    4.1.0-rc.0

    本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处,尊重他人劳动共创开源社区。
    转载请注明:文章转载自 OSCHINA 社区 [http://www.oschina.net]
    本文标题:Angular 4.1.0-rc.0 和 4.0.3 发布, Web 前端框架
    加载中

    精彩评论

    洛阳码农
    不是angular2吗?怎么就4了,卧槽

    最新评论(14

    洛阳码农

    引用来自“洛阳码农”的评论

    不是angular2吗?怎么就4了,卧槽

    引用来自“3qfang”的评论

    只是名字的改变,统一一下而已。例如:
    "@angular/animations": "^4.0.2",
    "@angular/common": "^4.0.2",
    "@angular/compiler": "^4.0.2",
    "@angular/compiler-cli": "^4.0.2",
    "@angular/core": "^4.0.2",
    "@angular/forms": "^4.0.2",
    "@angular/http": "^4.0.2",
    多谢美女解答,学习中
    37404
    37404

    引用来自“洛阳码农”的评论

    不是angular2吗?怎么就4了,卧槽
    只是名字的改变,统一一下而已。例如:
    "@angular/animations": "^4.0.2",
    "@angular/common": "^4.0.2",
    "@angular/compiler": "^4.0.2",
    "@angular/compiler-cli": "^4.0.2",
    "@angular/core": "^4.0.2",
    "@angular/forms": "^4.0.2",
    "@angular/http": "^4.0.2",
    大漠穷秋
    大漠穷秋
    COOL!
    EndLess暴疯
    EndLess暴疯
    完全跟不上😓
    侯法超
    侯法超
    更新太快,感觉不靠谱啊
    洛阳码农
    不是angular2吗?怎么就4了,卧槽
    叫那扬清风
    叫那扬清风
    版本帝
    八面山人
    八面山人
    vue你值得拥有
    小黑小别姬
    小黑小别姬
    2.x 还没用上
    返回顶部
    顶部