angular.js v0.10.3 Release Notes

Release Date: 2011-10-13 // over 12 years ago
  • ๐Ÿ”‹ Features:

    ๐Ÿ› 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 - use angular.inputType or form's $createWidget
      • angular.validator - use angular.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 and selected 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).