angular.js v1.4.9 Release Notes

Release Date: 2016-01-21 // over 8 years ago
  • ๐Ÿ› Bug Fixes

    Minor Features

    ๐ŸŽ Performance Improvements

    • ngAnimate: speed up areAnimationsAllowed check (2d3303dd)

    ๐Ÿ’ฅ Breaking Changes

    While we do not deem the following to be a real breaking change we are highlighting it here in the ๐Ÿ”„ changelog to ensure that it does not surprise anyone.

    Possible breaking change for users who updated their code to provide a timeout promise for a $resource request in version v1.4.8.

    โฑ Up to v1.4.7 (included), using a promise as a timeout in $resource, would silently fail (i.e. have no effect).

    โฑ In v1.4.8, using a promise as timeout would have the (buggy) behaviour described in https://github.com/angular/angular.js/pull/12657#issuecomment-152108887. (I.e. it will work as expected for the first time you resolve the promise and will cancel all subsequent requests after that - one has to re-create the resource class. This was not documented.)

    โฑ With this change, using a promise as timeout in v1.4.9 onwards is not allowed. โš  It will log a warning and ignore the timeout value.

    โฌ†๏ธ If you need support for cancellable $resource actions, you should upgrade to ๐Ÿ”– version 1.5 or higher.