
Angular.js 1.7.0 发布了。1.7.0 是 AngularJS 的最后一个预定版本,包括重大更改。1.7.x 补丁版本将继续更新,直到AngularJS 于 2018 年 7 月 1 日进入长期支持模式(LTS)。
该版本包含部分新功能和大量 Bug 修复,主要更新内容如下:
新功能:
- angular.isArray: 支持 angular.isArray() 中的 Array 子类(e3ece2,#15533,#15541)
- $sce: 通过 $ sce 服务处理 URL 清理 (1e9ead)
- orderBy: 考虑 null 和 undefined 大于其他值 (1d8046,#15294,#16376)
- $resource: 添加对请求和 requestError 拦截器的支持(#15674) (240a3d,#5146)
- …….
Bug 修复:
- input:
- input[number]: validate min/max against viewValue (aa3f95,#12761,#16325)
- input[date]: correctly parse 2-digit years (627180,#16537,#16539)
- jqLite: make removeData() not remove event handlers (b7d396,#15869,#16512)
完整更新内容请查看 ChangeLog。
下载地址:
转自 https://www.oschina.net/news/96003/angularjs-1-7-0-released