angular.js v1.0.3 Release Notes

Release Date: 2012-11-26 // over 11 years ago
  • 🐛 Bug Fixes

    • $cacheFactory: return undefined when removing non-existent entry (55d15806, #1497)
    • $compile:
      • prevent double attr interpolation w/ templateUrl (fc115bfd, #1166)
      • reference local in isolate scope (8db47ca7, #1272)
      • don't look for class directives in empty string (54b3875b)
      • compilation should not recurse into empty nodes (008a782b)
    • $injector: more conservative annotation parsing
    • $location: reset $location.$$replace with every watch call (a32bc40f, #1111) (d9eff86e)
    • 📜 $parser: string concatenation with undefined model (42c38b29, #988)
    • $resource:
      • prevent default params to be shared between actions (94e1c039)
      • allow falsy values in URL parameters (4909d1d3)
      • ignore undefined parameters (10e1c759, #875, #782)
    • Scope:
    • $route: support inline annotation on .resolve (b0a05a75)
    • FormController: propagate dirty state to parent forms (04329151)
    • a: prevent Opera from incorrectly navigating on link click (c81d8176)
    • jqLite:
      • support append on document fragment (96ed9ff5)
      • fire $destroy event via triggerHandler (this makes AngularJS compatible with jQuery 1.8.x) (b9a9f91f, #1512)
    • Filters
      • currency: Handle not-quite-zero values (bca1604c, #1469)
      • date:
        • make timezone optional (9473780e)
        • support sub-second precision on dateFilter (f299fd51)
    • Directives
      • ngClass: works with class interpolation (cebd015f, #1016)
      • ngClassOdd/ngClassEven: support shrinking/reordering in repeaters (d859dcec, 6c67719d, #1076)
      • ngModel: sync ngModel state with scope state (e6d9bea4, #933)
      • ngRepeat: now works better with primitive types (e6d9bea4, #933)
      • ngSrc: don't set src if value is empty string (b6e4a711)
      • select: select option with a label of 0 is not shown (b3cae4f4, #1401)
    • scenario:
      • emit RunnerBegin event (95276a7e)
      • NPE when no angular loaded in test page (84c13d96)
      • support data-ng and x-ng based attributes (249a1d84, #1020)

    📄 Docs

    • ➕ add plunkr support (7c67b2fb)
    • 📚 various small documentation fixes and improvements

    🔨 Refactorings

    • name all anonymous watch functions in Angular (ca30fce2, #1119)