转载

Angular.js 1.4.6/1.5.0-beta.0 发布

Angular.js 1.4.6/ 1.5.0-beta.0 发布。1.4.6 更新内容如下:

Bug Fixes

  • $animate: invalid CSS class names should not break subsequent elements ( c3a654b7 , #12674 , #12725 )

  • $browser: handle async updates to location ( 8d39bd8a , #12241 , #12819 )

  • $http: propagate status -1 for timed out requests ( 38520a1a , #4491 , #8756 )

  • $httpBackend: send null when post-data is undefined ( 6f39f108 , #12141 , #12739 )

  • $parse:

    • throw error when accessing a restricted property indirectly ( b2f8b0b8 , #12833 )

    • assign returns the new value ( 7d2c6eee , #12675 , #12708 )

  • angular.copy: support copying XML nodes ( 122ab074 , #5429 , #12786 )

  • form, ngModel: correctly notify parent form when children are added ( c6110e8b )

  • input: ignore min/max if they are empty on all input types ( 544001f5 , #12363 , #12785 )

  • ngAnimateMock: $animate.flush should work for looping animations ( 472d076c )

  • ngAria: clean up tabindex usage ( f48244ce , #11500 )

  • ngJq: properly detect when ng-jq is empty ( 19ecdb54 , #12741 )

  • ngModel:

    • remove reference to parentForm from removed control ( 290b5049 , #12263 )

    • let aliased validator directives work on any element ( 43769fb6 , #12158 , #12658 )

  • ngRepeat: add support to iterate an object's properties even if it does not inherit from Object ( 7ea2c7f3 , #9964 )

  • rootScope: add support for watchCollection to watch an object which does not inherit from Object ( 20fb626b , #9964 )

  • select: update option if interpolated value attribute changes ( 82b0929e , #12005 , #12582 )

  • toDebugString: change replacement string ( 0ca8b1df , #10103 )

Performance Improvements

  • Angular: only create new collection in getBlockNodes if the block has changed ( 0202663e , #9899 )

更多内容请看: CHANGELOG.md

下载页面: v1.4.6

关于 1.5.0-beta.0 的内容请看: v1.5.0-beta.0

文章转载自: 开源中国社区 [ http://www.oschina.net

]

本文标题:Angular.js 1.4.6/1.5.0-beta.0 发布

本文地址:

http://www.oschina.net/news/66290/angularjs-1-4-6
正文到此结束
Loading...