angular.js v0.9.17 Release Notes

Release Date: 2011-06-30 // almost 13 years ago
  • ๐Ÿ†• New Features

    • ๐Ÿ†• New [ng:options] directive to better bind a model to <select> and <option> elements.
    • ๐Ÿ†• New [ng:disabled], [ng:selected], [ng:checked], [ng:multiple] and [ng:readonly] directives.
    • โž• Added support for string representation of month and day in [date] filter.
    • โž• Added support for prepend() to [jqLite].
    • โž• Added support for configurable HTTP header defaults for the [$xhr] service.

    ๐Ÿ› Bug Fixes

    • Number filter would return incorrect value when fractional part had leading zeros.
    • Issue #338: Show error when template with with multiple DOM roots is being compiled.
    • Issue #399: return unsorted array if no predicate.
    • ๐Ÿ›  Fixed issues with incorrect value of $position in ng:repeat when collection size changes.
    • ๐Ÿ›  Fixed JSONP support in [$xhr] which didn't work without jquery since v0.9.13.

    ๐Ÿ“š Documentation

    • ๐Ÿ›  various small fixes and improvements

    ๐Ÿ’ฅ Breaking changes

    • $service now has $service.invoke for method injection ($service(self, fn) no longer works)
    • ๐Ÿ‘ injection name inference no longer supports method curry and linking functions. Both must be explicitly specified using $inject property.
    • ๐Ÿ‘ Dynamic iteration (ng:repeat) on <option> elements is no longer supported. Use ng:options
    • Removal of index formatter (ng:format="index") since its only use was with repeated <options> (see above).
    • Calling [$orderBy] without a predicate now returns the original unsorted array, instead of ordering by natural order.