angular.js v0.10.1 Release Notes

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

    ๐Ÿ› Bug Fixes

    • $xhr should not covert HTTP status 0 to 200 (commit)
    • ๐Ÿ›  fixed several doc examples that were broken on IE
    • ng:change should be called after the new val is set (Issue #547)
    • currency filter should return an empty string for non-numbers

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ‘€ $location related changes - for complete list of api changes see: Migrating from earlier AngularJS releases

      • $location api changes:
      • $location.href -> $location.absUrl()
      • $location.hash -> $location.url()
      • $location.hashPath -> $location.path()
      • $location.hashSearch -> $location.search()
      • $location.search -> no equivalent, use $window.location.search (this is so that we can work in hashBang and html5 mode at the same time, check out the docs)
      • $location.update() / $location.updateHash() -> use $location.url()
      • n/a -> $location.replace() - new api for replacing history record instead of creating a new one
      • $location semantic changes:
      • all url pieces are always in sync ($location.path(), $location.url(), $location.search(), ...) - this was previously true only if you used update* methods instead of direct assignment ($location.hashPath = 'foo')
      • we now use (window.history.pushState || onHashChange event || polling) for detecting url changes in the browser (we use the best one available).