angular.js v0.10.3 Release Notes
Release Date: 2011-10-13 // over 12 years ago-
๐ Features:
๐ New forms, validation, support for HTML5 input widgets. Please check out:
[ng:repeat] now has element-model affinity, which makes it more friendly to third-party code that is not aware of angular's DOM manipulation. This is also the pre-requisite for supporting animations. (commit)
๐ Bug Fixes:
- The select widget with [ng:options] directive now correctly displays selected option (regression from 0.10.2).
- ๐ Fix for jqLite's removeClass, which under certain circumstances could clobber class names. (commit)
- ๐ Other small fixes and documentation improvements.
๐ฅ Breaking Changes:
- Due to changes in how forms and validation works the following were replaced with new apis:
angular.formatter
- useangular.inputType
or form's$createWidget
angular.validator
- useangular.inputType
or form's$createWidget
- changes to
<input>
and<select>
elements ng:model
directive is now required for data-binding to kick in- the
name
attribute is now optional and is used only as an alias when accessing the input widget via the form object. - view can't affect the model without a user interaction, so the
value
attribute of the<input>
element andselected
attribute of the<option>
element if specified in the template is ignored.
- โ Removed decoration of DOM elements when:
- an exception occurs - when an exception happens, it will be passed to the $exceptionHandler service, which can decide what to do with it.
- an input widget contains invalid input - in this case the forms validation apis can be used to display a customized error message.
- ๐ The $hover service was removed (it was needed only for the DOM decoration described above).