JiaLiPassion
d8be830fce
fix: resolve event listeners not correct when registered outside of ngZone ( #33711 )
...
Close #33687 .
PR Close #33711
2019-11-11 14:00:31 -08:00
Pete Bacon Darwin
b3c3000004
fix(ngcc): ensure that adjacent statements go after helper calls ( #33689 )
...
Previously the renderers were fixed so that they inserted extra
"adjacent" statements after the last static property of classes.
In order to help the build-optimizer (in Angular CLI) to be able to
tree-shake classes effectively, these statements should also appear
after any helper calls, such as `__decorate()`.
This commit moves the computation of this positioning into the
`NgccReflectionHost` via the `getEndOfClass()` method, which
returns the last statement that is related to the class.
FW-1668
PR Close #33689
2019-11-11 13:01:15 -08:00
Pete Bacon Darwin
52d1500155
refactor(ngcc): allow look up of multiple helpers ( #33689 )
...
This change is a precursor to finding the end of a
class, which needs to search for helpers of many
different names.
PR Close #33689
2019-11-11 13:01:15 -08:00
Judy Bogart
c6ebcd1eb9
docs: fix numbering ( #33736 )
...
PR Close #33736
2019-11-11 12:46:34 -08:00
Andrew Kushnir
eece138fa7
fix(ivy): provider override via TestBed should remove old providers from the list ( #33706 )
...
While overriding providers in Ivy TestBed (via TestBed.overrideProvider call), the old providers were retained in the list, since the override takes precedence. However, presence of providers in the list might have side-effect: if a provider has the `ngOnDestroy` lifecycle hook, this hook will be registered and invoked later (when component is destroyed). This commit updates TestBed logic to clear provider list by removing the ones which have overrides.
PR Close #33706
2019-11-11 12:46:16 -08:00
Alan Agius
ca1ff3ea11
docs: update update guide to use ng update instead of npm i ( #33726 )
...
For more context see: https://github.com/angular/angular-cli/issues/16021
Closes: https://github.com/angular/angular-cli/issues/16021
PR Close #33726
2019-11-11 09:40:08 -08:00
Alan Agius
a8f9ff52f3
build: add @angular/localize to ng-update packageGroup ( #33721 )
...
PR Close #33721
2019-11-11 09:39:42 -08:00
Paul Gschwendtner
a1e9956290
ci: update material-unit-tests job commit ( #33716 )
...
Updates the commit we run the `material-unit-tests` job
against. The latest commit includes https://github.com/angular/components/commit/1255139a38e5d8425bb6236c63c3d231301b21da
This commit reduces the flakiness of a `MatMenu` test and therefore
improves the stability of the material-unit-tests job.
Example failing build: https://circleci.com/gh/angular/angular/521625
PR Close #33716
2019-11-11 09:39:24 -08:00
Joey Perrott
1527ac6c47
fix(common): rerun cldr to remove � characters ( #33699 )
...
PR Close #33699
2019-11-11 09:38:58 -08:00
Joey Perrott
6cb9988d63
build: move clang formating out of gulp stream for cldr ( #33699 )
...
PR Close #33699
2019-11-11 09:38:58 -08:00
George Kalpakas
b197e90206
build(docs-infra): update @angular/* to 9.0.0-rc.1 ( #33547 )
...
PR Close #33547
2019-11-11 09:38:04 -08:00
George Kalpakas
976bdf1087
build(docs-infra): update @angular/* to 9.0.0-rc.0 ( #33547 )
...
PR Close #33547
2019-11-11 09:38:04 -08:00
George Kalpakas
5c6e36eb95
build(docs-infra): update @angular/cli to 9.0.0-rc.0 ( #33547 )
...
PR Close #33547
2019-11-11 09:38:04 -08:00
George Kalpakas
0260b8c795
build(docs-infra): update aio payload size ( #33547 )
...
PR Close #33547
2019-11-11 09:38:04 -08:00
Pawel Kozlowski
39712bcdb2
test(ivy): get ViewRef.rootNodes should get all root nodes from projectable nodes ( #33647 )
...
PR Close #33647
2019-11-11 09:37:38 -08:00
Pawel Kozlowski
9d99c7244f
refactor(ivy): simplify getFirstNativeNode processing of LContainer ( #33647 )
...
PR Close #33647
2019-11-11 09:37:38 -08:00
Pawel Kozlowski
05d7c575e4
fix(ivy): properly insert views in front of empty views ( #33647 )
...
PR Close #33647
2019-11-11 09:37:38 -08:00
Pawel Kozlowski
056236cafd
fix(ivy): properly insert views in front of views with an empty element container ( #33647 )
...
PR Close #33647
2019-11-11 09:37:38 -08:00
Kara Erickson
1d429b2165
docs: add AOT mode default to version 9 upgrade doc ( #33703 )
...
PR Close #33703
2019-11-08 15:38:40 -08:00
JiaLiPassion
a40103d849
docs: update jiali's info ( #33698 )
...
PR Close #33698
2019-11-08 14:41:16 -08:00
Németh Tamás
b97577bd94
docs: grammar fix ( #33170 )
...
PR Close #33170
2019-11-08 14:40:58 -08:00
Németh Tamás
4385cbaa65
docs: add missing word ( #33170 )
...
PR Close #33170
2019-11-08 14:40:58 -08:00
Daniele Morosinotto
98766b1d07
docs: fix migration-renderer code snippets ( #33553 )
...
Fix code snippets for migration-renderer.md found in next.angular.io
PR Close #33553
2019-11-08 12:43:20 -08:00
George Kalpakas
afbaaf93c5
build(docs-infra): upgrade cli command docs sources to 3bcf5b5e2 ( #33683 )
...
Updating [angular#master](https://github.com/angular/angular/tree/master ) from [cli-builds#master](https://github.com/angular/cli-builds/tree/master ).
##
Relevant changes in [commit range](https://github.com/angular/cli-builds/compare/e598c8e89...3bcf5b5e2 ):
**Modified**
- help/update.json
##
PR Close #33683
2019-11-08 10:55:22 -08:00
Miško Hevery
1db86500de
style: increase timeout to give blaze sufficient time to build ( #33678 )
...
PR Close #33678
2019-11-08 10:55:01 -08:00
Alan Agius
570936e39f
docs: add ivy ssr opt-out ( #33616 )
...
PR Close #33616
2019-11-08 10:54:31 -08:00
Shibasish
43ffe7257a
docs: describe your change... ( #32914 )
...
Grammatical changes
PR Close #32914
2019-11-08 10:52:17 -08:00
Kara Erickson
c4fbd0bef7
docs: update ivy compatibility guide with latest changes ( #33675 )
...
This commit removes one of the expected Ivy changes because we have
decided to change the behavior to be more backwards-compatible.
It also adds a bug fix that is technically breaking to the list of
expected changes.
PR Close #33675
2019-11-08 10:51:52 -08:00
Pawel Kozlowski
f63e5d9319
fix(ivy): properly determine the first native node of a view ( #33627 )
...
PR Close #33627
2019-11-07 16:50:29 -08:00
Pawel Kozlowski
c57759f191
test(ivy): tests for view insertion before another view ( #33627 )
...
PR Close #33627
2019-11-07 16:50:29 -08:00