angular.js v0.9.18 Release Notes

Release Date: 2011-07-29 // over 12 years ago
  • πŸ”‹ Features

    • ECMAScript 5 Strict Mode compliance
    • [jqLite]
      • added show(), hide() and eq() methods to jqlite (commit)
    • βž• added $defer.cancel to support cancellation of tasks defered via the [$defer] service
    • [date] filter
      • added support for full, long, medium and short date-time format flags (commit)
      • added support for z flag, which stands for short string timezone identifier, e.g. PST
      • internal improvements to enable localization of date filter output
    • [number] filter
      • internal improvements to enable localization of number filter output
    • [currency] filter
      • support for custom currency symbols via an optional param
      • internal improvements to enable localization of number filter output
    • βž• added [angular.version] for exposing the version of the loaded angular.js file
    • ⚑️ updated angular.js and angular.min.js file headers with angular version and shorter & updated license info
    • [ng:options]
      • support binding to expression (Issue #449)
      • support iterating over objects (Issue #448)
      • support ng:change (Issue #463)
      • support option groups (<optgroup>) (Issue #450)
    • πŸ‘ [$xhr] and [$resource] support for per-request error callbacks (Issue #408) (contributed by Karl Seamon)

    πŸ› Bug Fixes

    • πŸ‘‰ make injector compatible with Rhino (HtmlUnit) (contributed by Mβˆšβ€’rten Dolk) commit
    • πŸ’» ie-compat.js fixes and improvements related to fetching this file on the fly on legacy browsers
    • [jqLite]
      • fix bind() when binding to more events separated by space commit
      • non-existing attributes should return undefined just like in jQuery commit
      • set event.target for IE<8 commit
    • πŸ‘Œ improved implementation of [ng:show] and [ng:hide] directives by using jqLite/jQuery hide and show methods
    • [ng:options]
      • fix incorrect re-growing of options on datasource change (Issue #464)

    πŸ“„ Docs

    • βž• added full offline support for docs (click on the link in the footer of docs.angularjs.org)
    • πŸ“„ many content improvements and corrections across all docs (reference api, tutorial, dev guide)
    • many small design improvements

    Other

    • βœ… doubled our e2e test suite by running all angular e2e tests with jqLite in addition to jQuery

    πŸ’₯ Breaking changes

    • commit removed support for the MMMMM (long month name), use MMMM instead. This was done to align Angular with Unicode Technical Standard #35 used by Closure, as well as, future DOM apis currently being proposed to w3c.
    • $xhr.error's request argument has no callback property anymore, use success instead