angular-cn/packages/core/test
Tobias Bosch 2c5a671341 fix: don't instantiate providers with ngOnDestroy eagerly. (#15070)
BREAKING CHANGE:

Perviously, any provider that had an ngOnDestroy lifecycle hook would be created eagerly.

Now, only classes that are annotated with @Component, @Directive, @Pipe, @NgModule are eager. Providers only become eager if they are either directly or transitively injected into one of the above.

This also makes all `useValue` providers eager, which
should have no observable impact other than code size.

EXPECTED IMPACT:
Making providers eager was an incorrect behavior and never documented.
Also, providers that are used by a directive / pipe / ngModule stay eager.
So the impact should be rather small.

Fixes #14552
2017-03-14 14:32:26 -07:00
..
animation refactor(platform-browser): move platform-browser/animations to animations/browser (#15130) 2017-03-14 11:55:49 -07:00
change_detection build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
debug build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
di build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
dom build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
linker fix: don't instantiate providers with ngOnDestroy eagerly. (#15070) 2017-03-14 14:32:26 -07:00
metadata build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
reflection refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
testability build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
util refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
view feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
zone build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
application_init_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
application_module_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
application_ref_spec.ts feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
component_fixture_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
dev_mode_spec.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
directive_lifecycle_integration_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
error_handler_spec.ts feat: introduce source maps for templates (#15011) 2017-03-14 09:16:15 -07:00
event_emitter_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
fake_async_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
forward_ref_integration_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
spies.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00
testing_internal_spec.ts build: fix file paths after moving modules/@angular/* to packages/* 2017-03-08 16:29:28 -08:00