Angular.js v1.5.7 发布了,改进记录如下: Bugs 修复: $compile: don't add merged attributes twice to $attrs (ebbaa4ac,#8159, #14737) cope with $onChanges hooks throwing (3749c858,#14444, #14463) $parse: allow arguments to contain filter chains (cc6dcb4b,#4175, #4168, #14720) $routeProvider: do not deep-copy route definition objects (6d0dcca6,#14478, #14699, #14750) input:[/B] improve email address validation ([URL='https://github.com/angular/angular.js/commit/f423dc6b51a9b4a09728a287a2cabda7d45f192e']f423dc6b[/URL],[URL='https://github.com/angular/angular.js/issues/14719']#14719[/URL]) [*] [B]ngMessages:[/B] create new scope for ngMessage, clean it up correctly ([URL='https://github.com/angular/angular.js/commit/56f33af89045e2ec18d144d9d1ef73affbe51959']56f33af8[/URL],[URL='https://github.com/angular/angular.js/issues/14307']#14307[/URL]) [*] [B]ngMessagesInclude:[/B] don't break on empty (or whitespace-only) templates ([URL='https://github.com/angular/angular.js/commit/01b8772cca55916376355a2ae58d3ab7832a4bc2']01b8772c[/URL],[URL='https://github.com/angular/angular.js/issues/12941']#12941[/URL], [URL='https://github.com/angular/angular.js/issues/14726']#14726[/URL]) [*] [B]ngMock#$controller:[/B] properly assign bindings to all types of controllers (e.g. class-based) ([URL='https://github.com/angular/angular.js/commit/db58801a55c91df755414387dc00fee5902bb5f3']db58801a[/URL],[URL='https://github.com/angular/angular.js/issues/14437']#14437[/URL], [URL='https://github.com/angular/angular.js/issues/14439']#14439[/URL]) [*] [B]ngMockE2E:[/B] allow $httpBackend.passThrough() to work when ngMock is loaded ([URL='https://github.com/angular/angular.js/commit/6685043ad40acc50d7088f87e2a71f76d2265306']6685043a[/URL],[URL='https://github.com/angular/angular.js/issues/1434']#1434[/URL], [URL='https://github.com/angular/angular.js/issues/13124']#13124[/URL]) [*] [B]ngSanitize:[/B] call attribute setter in linky for all links ([URL='https://github.com/angular/angular.js/commit/c4fad6ad617af025984ca401054f7b402aa28f1d']c4fad6ad[/URL],[URL='https://github.com/angular/angular.js/issues/14707']#14707[/URL]) [/LIST] 新特性: [LIST] [*] [B]limitTo:[/B] add support for array-like objects ([URL='https://github.com/angular/angular.js/commit/b03957f0047fcfe996abc8efe97f9e2be2c2e13a']b03957f0[/URL],[URL='https://github.com/angular/angular.js/issues/14657']#14657[/URL], [URL='https://github.com/angular/angular.js/issues/14694']#14694[/URL]) [*] [B]orderBy:[/B] add support for custom comparators ([URL='https://github.com/angular/angular.js/commit/2e33d170be7eb72f40fd57a8f66631583572fbf2']2e33d170[/URL],[URL='https://github.com/angular/angular.js/issues/13238']#13238[/URL], [URL='https://github.com/angular/angular.js/issues/14455']#14455[/URL], [URL='https://github.com/angular/angular.js/issues/5123']#5123[/URL], [URL='https://github.com/angular/angular.js/issues/8112']#8112[/URL], [URL='https://github.com/angular/angular.js/issues/10368']#10368[/URL], [URL='https://github.com/angular/angular.js/issues/14468']#14468[/URL]) [/LIST] 下载地址:[URL]https://github.com/angular/angular.js/releases/tag/v1.5.7[/URL] Angular.js v1.5.7 发布下载地址