angular.js v1.5.10 Release Notes
Release Date: 2016-12-15 // over 7 years ago-
๐ Bug Fixes
- $compile:
- don't throw tplrt error when there is whitespace around a top-level comment (12752f, #15108)
- clean up
@
-binding observers when re-assigning bindings (f3cb6e, #15268) - set attribute value even if
ngAttr*
contains no interpolation (229799, #15133) bindToController
should work withoutcontrollerAs
(944989, #15088)- do not overwrite values set in
$onInit()
for<
-bound literals (07e1ba, #15118) - avoid calling
$onChanges()
twice forNaN
initial values (0cf5be)
- $location: prevent infinite digest with IDN urls in Edge (4bf892, #15217)
- $rootScope: correctly handle adding/removing watchers during
$digest
(a9708d, #15422) - $sce: fix
adjustMatcher
to replace multiple*
and**
(78eecb) - jqLite: silently ignore
after()
if element has no parent (77ed85, #15331) - input[radio]: use non-strict comparison for checkedness (593a50)
- select, ngOptions:
- ngClassOdd/Even: add/remove the correct classes when expression/
$index
change simultaneously (e3d020) - $sanitize: reduce stack height in IE <= 11 (862dc2, #14928)
- ngMock/$controller: respect
$compileProvider.preAssignBindingsEnabled()
(75c83f)
๐ New Features
- bootstrap: do not bootstrap from unknown schemes with a different origin (bdeb33, #15428)
- $anchorScroll: convert numeric hash targets to string (a52640, #14680)
- $compile:
- $controller: throw when requested controller is not registered (9ae793, #14980)
- $location: add support for selectively rewriting links based on attribute (a4a222)
- $resource: pass
status
/statusText
to success callbacks (a8da25, #8341, #8841) - ngSwitch: allow multiple case matches via optional attribute
ngSwitchWhenSeparator
(0e1651, #3410, #3516)
๐ Performance Improvements
- $compile: