angular/modules/@angular/upgrade/src
Peter Bacon Darwin d6382bfa0b fix(upgrade): detect async downgrade component changes (#13812)
This commit effectively reverts 7e0f02f96e
as it was an invalid fix for #6385, that created a more significant
bug, which was that changes were not always being detected.

Angular 1 digests should be run inside the ngZone to ensure
that async changes are detected.

We don't know how to fix #6385 without breaking change detection
at this stage. That issue is triggered by async operations, such as
`setTimeout`, being triggered inside scope watcher functions.

One could argue that watcher functions should be pure and not do
work such as triggering async operations. It is possible that the
original use case could be supported by moving the debounce
logic into the watch listener function, which is only called if the
watched value actually changes.

Closes #10660, #12318, #12034

PR Close #13812
2017-01-17 15:34:53 -06:00
..
aot refactor(compiler): generate less code for bindings to DOM elements 2017-01-03 13:05:05 -08:00
angular_js.ts chore(tslint): update tslint to 4.x (#13603) 2016-12-27 14:55:58 -08:00
constants.ts fix(upgrade): fix downgrade content projection and injector inheritance 2016-12-14 13:02:27 -08:00
downgrade_ng2_adapter.ts refactor(compiler): generate less code for bindings to DOM elements 2017-01-03 13:05:05 -08:00
facade feat(ngUpgrade): add support for AoT compiled upgrade applications 2016-10-19 15:27:49 -07:00
metadata.ts refactor(): use const and let instead of var 2016-11-12 16:40:17 -08:00
upgrade.ts fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00
upgrade_adapter.ts fix(upgrade): detect async downgrade component changes (#13812) 2017-01-17 15:34:53 -06:00
upgrade_ng1_adapter.ts fix(upgrade): fix/improve support for lifecycle hooks (#13020) 2016-12-27 14:42:53 -08:00
util.ts fix(Compiler): allow "." in attribute selectors (#13653) 2016-12-27 15:23:49 -08:00
version.ts fix: display framework version on bootstrapped component (#13252) 2016-12-06 16:21:07 -08:00