This repository has been archived by the owner on Feb 22, 2018. It is now read-only.
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:
- angular_spec: export symbols for the route preLeave event
(7c9a7585) - compiler:
- dccd: fix DirtyCheckingRecord.toString() throws an exception
(efcdca3f) - directives: remove an unused import
(6102d8a1) - element binder:
- 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:
- watch group: Do not use List.map for tiny lists
(61f33489)
Breaking Changes
- VmTurnZone: due to a8699da0
Zone.defaultOnScheduleMicrotask
is now named Zone.onScheduleMicrotask
- compiler: due to 0e129496
OneWayOneTime bindings will continue to accept value
assignments until their stablized value is non-null. The
assignment may occur multiple times. Refer issue
1013.
- router: due to 7329d471
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));
})
});