angular.js v1.5.0-beta.2 Release Notes

Release Date: 2015-11-17 // over 8 years ago
  • 🐛 Bug Fixes

    🔋 Features

    🐎 Performance Improvements

    • $compile: use static jquery data method to avoid creating new instances (9b90c32f)
    • $interpolate: provide a simplified result for constant expressions (cf83b4f4)
    • copy:
      • avoid regex in isTypedArray (c8768d12)
      • only validate/clear if the user specifies a destination (33c67ce7, #12068)
    • 🔀 merge: remove unnecessary wrapping of jqLite element (4daafd3d, #13236)

    💥 Breaking Changes

    ngMessage is now compiled with a priority of 1, which means directives on the same element as ngMessage with a priority lower than 1 will be applied when ngMessage calls the $transclude function. Previously, they were applied during the initial compile phase and were passed the comment element created by the transclusion of ngMessage. ⏪ To restore this behavior, custom directives need to have their priority increased to at least "1".

    Previously, an non array-like input would pass through the orderBy filter unchanged. Now, an error is thrown. This can be worked around by converting an object to an array, either manually or using a filter such as https://github.com/petebacondarwin/angular-toArrayFilter. (null and undefined still pass through without an error, in order to 👌 support asynchronous loading of resources.)