angular.js v0.10.4 Release Notes

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

    • ๐Ÿ†• New validation options for input widgets: ng:minlength and ng:maxlength (commit) (contributed by Konstantin Stepanov)
    • โšก๏ธ HTML sanitizer was updated to recognize all safe HTML5 elements (Issue #89)
    • [ng:options]' blank option is now compiled and data-bound as any other template (Issue #562) (contributed by tehek)
    • ๐Ÿ“„ $defer service now exposes cancel method for task cancellation (commit)

    ๐Ÿ› Bug Fixes:

    • [ng:options] should select correct element when '?'-option (invalid value) was previously selected (Issue #599) (contributed by Tehek)
    • ๐Ÿ›  Fix data-binding of radio button's value property (Issue #316)
    • Input with type password should no be turned into a readable text field (commit) (contributed by Konstantin Stepanov)
    • [ng:repeat] should ignore object properties starting with $ (commit)
    • ๐Ÿ“œ Correctly parse out inlined regexp from the input field's ng:pattern attribute. (commit)
    • $location service in html5 mode should correctly rewrite links that contain nested elements (commit)

    ๐Ÿ’ฅ Breaking Changes:

    • the [date] filter now uses 'mediumDate' format if none is specified. This was done to deal with browser inconsistencies (each browser used to use different format) (Issue #605, commit, commit)
    • calling the linker function returned by [angular.compile][compile] doesn't automatically run $digest on the linked scope any more. This behavior was briefly introduced in 0.10.3 but was causing issues and inefficiencies in production apps so we reverted it. See: commit