angular-docs-cn/modules/@angular
Georgios Kalpakas 1367cd9569 fix(upgrade): respect hierarchical injectors for downgraded components (#14037)
Correctly wire up hierarchical injectors for downgraded components in
`upgrade/static`: Downgraded components inherit the injector of the first
downgraded component up the DOM tree.

This is similar to (part of) d91a86a, but for `upgrade/static`.

POSSIBLE BREAKING CHANGE:

In order to enable more control over the wiring of downgraded components and
their content (which eventually allows better control over features like
injector setup and content projection), it was necessary to change the
implementation of the directives generated for downgraed components.

The directives are now terminal and manually take care of projecting and
compiling their contents in the post-linking function. This is similar to how
the dynamic version of `upgrade` does it.

This is not expected to affect apps, since the relative order of individual
operations is preserved. Still, it is difficult to predict how every possible
usecase may be affected.
2017-02-01 09:29:51 -06:00
..
benchpress docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
common fix(common): introduce isObservable method (#14067) 2017-01-31 12:14:19 -06:00
compiler fix(compiler): allow expressions or functions in extends (#14158) 2017-01-31 18:35:10 -06:00
compiler-cli docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
core feat(core): view engine - add debug information (#14197) 2017-01-31 16:21:54 -06:00
docs docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
examples docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
facade chore(docs): add missing comments (#14003) 2017-01-19 12:06:28 -08:00
forms fix: lint errors to make circle-ci green 2017-01-31 19:01:48 -06:00
http fix(http): use params without RequestOptions (#14101) 2017-01-31 15:44:49 -06:00
language-service fix(language-service): do not crash when Angular cannot be located (#14123) 2017-01-31 15:45:52 -06:00
platform-browser fix(platform-browser): remove style nodes on destroy (#13744) 2017-01-29 12:10:44 -06:00
platform-browser-dynamic chore(tslint): update tslint to 4.x (#13603) 2016-12-27 14:55:58 -08:00
platform-server fix(core): animations no longer silently exits if the element is not apart of the DOM (#13763) 2017-01-05 11:33:40 -08:00
platform-webworker feat(core): Add type information to injector.get() (#13785) 2017-01-17 15:34:54 -06:00
platform-webworker-dynamic chore(tslint): update tslint to 4.x (#13603) 2016-12-27 14:55:58 -08:00
router feat(router): deprecate preserveQueryParams,add queryParamsHandling (#14095) 2017-01-31 15:43:25 -06:00
upgrade fix(upgrade): respect hierarchical injectors for downgraded components (#14037) 2017-02-01 09:29:51 -06:00
README.md docs: update README.md for npm packages 2016-09-14 17:14:02 -07:00
license-banner.txt style(docs): update copyright years (#13736) 2017-01-27 20:47:14 -08:00
router-license-banner.txt style(docs): update copyright years (#13736) 2017-01-27 20:47:14 -08:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT