angular.js v1.2.5 Release Notes

Release Date: 2013-12-13 // over 10 years ago
  • ๐Ÿ› Bug Fixes

    • $compile: allow literals in isolate scope references (43072e38, #5296)
    • ๐Ÿคก angular-mocks: use copy of mock data in $httpBackend (f69dc162)
    • closure: add missing FormController extern definitions (1d5e18b0, #5303)
    • ngInclude: add template to DOM before linking other directives (30a8b7d0, #5247)
    • ngView: add template to DOM before linking other directives (f8944efe)

    ๐ŸŽ Performance Improvements

    • $injector: remove invoke optimization that doesn't work (05e4fd34, #5388)
    • $resource: use shallow copy instead of angular.copy (fcd2a813, #5300)
    • a: do not link when href or name exists in template (f3de5b6e, #5362)
    • jqLite: implement and use the empty method in place of html(โ€˜โ€™) (3410f65e, #4457)

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿคก angular-mocks: due to f69dc162, some tests that rely on identity comparison rather than equality comparison in checking mock http responses will be broken, since now each mock response is a copy of the original response. This is usually fixable by changing a .toBe() comparison to toEqual() inside of tests.