angular.js v1.5.5 Release Notes
Release Date: 2016-04-18 // almost 8 years ago-
โช Reverts
$compile: move setting of controller data to single location Reverted commit 21d148ae since it caused the Angular Material tabs directive to fail.
ngRoute: allow
ngView
to be included in an asynchronously loaded template Eagerly loading$route
, could break tests, because it might request the root or default route template (something$httpBackend
would know nothing about).
It will be re-applied for
v1.6.x
, with a breaking change notice and possibly a way to disable the feature in tests.(8237482d, #1213, #6812, #14088)
๐ Bug Fixes
- $compile:
- do not use
noop()
as controller for multiple components (4c8aeefb, #14391, #14402) - still trigger
$onChanges
even if the inner value already matches the new value (d9448dcb, #14406) - handle boolean attributes in
@
bindings (499e1b2a, #14070) - don't throw if controller is named (e72990dc)
- ensure that
$onChanges
hook is called correctly (0ad2b708, #14355, #14359)
- do not use
- $injector: ensure functions with overridden
toString()
are annotated properly (d384834f, #14361) - ngAnimate:
- ngClass: fix watching of an array expression containing an object (f975d8d4, #14405)
- ngMock: fix collecting stack trace in
inject()
on IE10+, PhantomJS (e9c718a4, #13591, #13592, #13593) - ngOptions: set select value when model matches disabled option (832eba5f, #12756)
- $http: pass event object to
eventHandlers
/uploadEventHandlers
(25d4e5cc, #14436)
๐ Features
- $compile:
- $componentController: provide isolated scope if none is passed (#14425) (33f817b9, #14425)
- $http:
- ๐ $parse: add the ability to define the identifier characters (3e7fa191)
- ngAnimate: let $animate.off() remove all listeners for an element (bf6cb8ab)
- ngAria: add support for aria-readonly based on ngReadonly (ec0baadc, #14140, #14077)
- ๐ ngParseExt: new ngParseExt module (d08f5c69)
๐ Performance Improvements