Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

v0.12.0 (sprightly-argentinosaurus)

Latest
Compare
Choose a tag to compare
@chirayuk chirayuk released this 06 Jun 00:18
· 475 commits to master since this release

v0.12.0 sprightly-argentinosaurus (2014-06-03)

Bug Fixes

  • NgStyle: make NgStyle export expressions
    (8470abd3,
    #993)
  • ViewCache: Use an unbounded cache in the ViewCache.
    (36d93d87)
  • VmTurnZone:
    • Remove a unneeded delegate.run() call.
      (a0d5d82d)
    • onScheduleMicrotask behaves correctly with orphaned scheduleMicrotasks.
      (a8699da0)
  • angular_spec: export symbols for the route preLeave event
    (7c9a7585)
  • compiler:
    • Do not store injectors with TaggingElementBinders
      (a9dc429c)
    • OneWayOneTime bindings now wait for the model to stablize
      (0e129496,
      #1013)
  • dccd: fix DirtyCheckingRecord.toString() throws an exception
    (efcdca3f)
  • directives: remove an unused import
    (6102d8a1)
  • element binder:
    • fix memory leak with expando value holding onto node
      (b7f175bf)
    • Ensure mappings are evaluated before attach() is called.
      (fef0da0a,
      #1059)
  • http: use location.href instead of toString
    (6a48a39d)
  • ng-repeat: handle the ref changing to null and back
    (46b4c0e0,
    #1015)
  • transcluding component factory: allow removing components that have no content to transclude
    (706f9e9b)
  • transcluding_component_factory: fix content detach logic
    (3141d32e)
  • watch group: Fixed WatchGroup.toString(), added a test.
    (c9776b4c)

Features

  • Http: Http service can make cross-site requests (get, post, put, etc.) which use credentials (such as cookies or authorization headers).
    (3ef9d8e4,
    #945, #1026)
  • date: Use localized patterns for shorthand format
    (fb1bcf47)
  • dccd: Make toString() code more robust
    (47ad9d9b)
  • ng-base-css: useNgBaseCss Component annotation field.
    (b861a9fc)
  • ng-model: Added ng-model-options
    (f7115aa8,
    #969, #974)
  • platform: Make angular invoke web_component polyfills for browsers without native web_component implementations.
    (0c22a3b6)
  • router: added vetoable preLeave event
    (7329d471)
  • travis: Web platform features for Chrome 34
    (7466489d)

Performance Improvements

  • NodeCursor: Do not duplicate child nodes
    (45436680)
  • _ElementSelector: Remove recursion in addDirective
    (2fbb60b5)
  • interpolate: 20%. Cache the interpolated expressions.
    (669d47ce)
  • selector: Remove an useless check
    (6fea97d4)
  • tagging_view_factory: Move a test out of the loop
    (e4f7e349)
  • view factory:
    • Compute DI Keys ahead of time
      (317c23c0,
      #1085)
    • Remove try-finally from ElementBinder._link
      (60626104)
    • Remove a try-catch and a timer for the critical path
      (9f4defef)
  • watch group: Do not use List.map for tiny lists
    (61f33489)

Breaking Changes

        Zone.defaultOnScheduleMicrotask is now named Zone.onScheduleMicrotask

        OneWayOneTime bindings will continue to accept value
        assignments until their stablized value is non-null. The
        assignment may occur multiple times. Refer issue
        1013
.

        Previously, vetoing was allowed on leave (RouteLeaveEvent) which caused
        issues because routes had no way to recover from other route vetoing a leave
        event.

        Now, similar to preEnter and enter, leave event was split into vetoable
        preLeave (RoutePreLeaveEvent) and non-vetoable leave (RouteLeaveEvent).

        views.configure({
          'foo': ngRoute(
              path: '/foo',
              preLeave: (RoutePreLeaveEvent e) {
                e.allowLeave(new Future.value(false));
              })
        });