c2ce832f65
fix(ivy): stub TestBed.compileComponents implementation ( #26506 )
...
PR Close #26506
2018-10-18 13:28:45 -07:00
c4b7862e1b
feat(ivy): i18n compiler support for i18nStart and i18nEnd instructions ( #26442 )
...
PR Close #26442
2018-10-18 13:28:45 -07:00
39472e102b
feat(ivy): i18n compiler support for element attributes ( #26442 )
...
PR Close #26442
2018-10-18 13:28:45 -07:00
1fafc5ca18
feat(ivy): enhance [style] and [class] bindings to be animation aware ( #26096 )
...
PR Close #26096
2018-10-18 13:28:45 -07:00
07a26647ac
refactor(ivy): move styling files around ( #26096 )
...
PR Close #26096
2018-10-18 13:28:44 -07:00
817821e553
fix(ivy): make defineComponent tree shakable by Closure Compiler ( #26425 )
...
PR Close #26425
2018-10-18 13:28:44 -07:00
398db3e9f0
test(ivy): enable unit tests for @angular/animations ( #26470 )
...
PR Close #26470
2018-10-18 13:28:44 -07:00
d5fa4dc146
feat(router): add prioritizedGuardValue operator optimization and allowing UrlTree return from guard ( #26478 )
...
* If all guards return `true`, operator returns `true`
* `false` and `UrlTree` are now both valid returns from a guard
* Both these values wait for higher priority guards to resolve
* Highest priority `false` or `UrlTree` value will be returned
PR Close #26478
2018-10-18 13:28:44 -07:00
0ae3518fa9
refactor(ivy): handle animation metadata normalization in the compiler ( #26481 )
...
PR Close #26481
2018-10-18 13:28:44 -07:00
ecada17ad4
docs(ivy): i18n design ( #26091 )
...
PR Close #26091
2018-10-18 13:28:44 -07:00
00b5c7b49b
fix(service-worker): clean up caches from old SW versions ( #26319 )
...
Since the SW immediately takes over all clients, it is safe to delete
caches used by older (e.g. beta) `@angular/service-worker` versions to
avoid running into browser storage quota limitations.
PR Close #26319
2018-10-16 14:12:08 -07:00
1c9b06504b
fix(router): fix regression where navigateByUrl promise didn't resolve on CanLoad failure ( #26455 )
...
Fixes #26284
PR Close #26455
2018-10-15 16:53:25 -07:00
e76a570908
refactor(ivy): remove LNode ( #26426 )
...
PR Close #26426
2018-10-15 11:20:32 -07:00
931e603f80
refactor(ivy): revert LNode.data into LViewData[HOST] ( #26424 )
...
PR Close #26424
2018-10-15 10:17:12 -07:00
45732e5b91
fix(ivy): fix reference to pipeBind instruction with 2 args ( #26451 )
...
PR Close #26451
2018-10-15 10:14:25 -07:00
9e32dc7c95
build: upgrade @types/jasminewd2
to 2.0.4 ( #26139 )
...
This commit also removes the extra jasminewd2 typings, since the changes
have been merged in the official typings with
DefinitelyTyped/DefinitelyTyped#28957.
PR Close #26139
2018-10-12 14:11:11 -07:00
ff15043e48
fix(core): allow null value for renderer setElement(…) ( #17065 )
...
Using Renderer’s setElementAttribute or setElementStyle with a null or undefined value removes the
corresponding attribute or style. The argument type should allow this when using strictNullChecks.
Closes #13686
PR Close #17065
2018-10-12 09:17:59 -07:00
9ebb4c02a2
docs(ivy): update status.md ( #26382 )
...
PR Close #26382
2018-10-12 09:01:41 -07:00
071934e92a
fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )
...
Fixes #26208
PR Close #26209
2018-10-11 21:07:48 -07:00
735dfd3b1a
refactor(ivy): replace LNode.dynamicLContainerNode with flat LContainers ( #26407 )
...
PR Close #26407
2018-10-11 21:07:21 -07:00
70cd112872
refactor(ivy): remove TNode.dynamicContainerNode ( #26407 )
...
PR Close #26407
2018-10-11 21:07:21 -07:00
0a3f8173f0
refactor(platform-browser): remove type assertion on console.profileEnd ( #26303 )
...
Since typescript v3.1 type definition for console.profileEnd is fixed and type assertion 'any' is
not needed any more
PR Close #26303
2018-10-11 14:12:23 -07:00
6a64ac4151
fix(ivy): Renderer2 should not use a special injection fn ( #26369 )
...
PR Close #26369
2018-10-11 14:12:03 -07:00
4b494f23f5
fix(ivy): fix generated code for style bindings with units ( #26397 )
...
PR Close #26397
2018-10-11 14:11:15 -07:00
1e69d601fb
fix(ivy): ensure that ɵNgModuleDefWithMeta
is exported ( #26082 )
...
This is needed to build an app with `ngtsc` once `ngcc` has compiled
`@angular/core`.
PR Close #26082
2018-10-11 14:08:39 -07:00
34b6d5fff9
refactor(ivy): ngcc - Transformer
delegates to Analyzer
s and Renderer
( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
632f66a461
refactor(ivy): ngcc - Renderer
now manages d.ts transformation ( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
f7b17a4784
refactor(ivy): ngcc - DecorationAnalyzer
acts on whole program ( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
9562324ea4
refactor(ivy): implement ngcc SwitchMarkerAnalyzer
( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
880c0add56
refactor(ivy): move and rename Analyzer
to DecorationAnalyzer
( #26082 )
...
This is in preparation for adding in other kinds of Analyzer.
PR Close #26082
2018-10-11 14:08:39 -07:00
64c96186da
refactor(ivy): move ngcc rootDirs
computation into a function ( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
26209fca49
refactor(ivy): remove ngcc Parser
and use NgccReflectionHost
instead ( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
7f03528dbc
refactor(ivy): implement NgccReflectionHost.findDecoratedFiles
( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
d17602f31d
refactor(ivy): rename and move ngcc Parsed...
to Decorated...
( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
053bf27fb3
refactor(ivy): use context discovery in TestBed implementation ( #26211 )
...
PR Close #26211
2018-10-11 13:01:28 -07:00
39f42bad1c
feat(ivy): i18n compiler support for element attributes ( #26280 )
...
PR Close #26280
2018-10-11 13:00:19 -07:00
3f8ac238f1
refactor(ivy): remove unused directives field from TView ( #26364 )
...
It was removed in #26316
PR Close #26364
2018-10-11 12:59:02 -07:00
7466a99dda
Revert "fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )"
...
This reverts commit 912f3d186f
. Revert is needed due to compilation failures due to this PR inside Google.
2018-10-10 14:44:52 -07:00
912f3d186f
fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )
...
Fixes #26208
PR Close #26209
2018-10-10 14:19:00 -07:00
be4edf15ee
fix(core): resolving merge conflicts in query.ts ( #26324 )
...
PR Close #26324
2018-10-09 17:34:08 -07:00
d5e9405d4f
fix(ivy): local refs in View and Content Queries should be pulled out into consts in generated code ( #26240 )
...
PR Close #26240
2018-10-09 17:20:36 -07:00
e5644204dc
fix(ivy): removing unnecessary assert in getOrCreateNodeInjector function ( #26305 )
...
PR Close #26305
2018-10-09 16:52:00 -07:00
69b9758ab8
fix(ivy): removing no longer needed QueryReadType ( #26314 ) ( #26314 )
...
PR Close #26314
PR Close #26314
2018-10-09 16:50:34 -07:00
7ea5161d4d
refactor(ivy): merge directives into LViewData ( #26316 )
...
PR Close #26316
2018-10-09 16:46:00 -07:00
b0879046b7
test(ivy): add testing utility to replace loadDirective ( #26316 )
...
PR Close #26316
2018-10-09 16:46:00 -07:00
456f23f76a
fix(ivy): reflect animations field directly into the output definition ( #26322 )
...
The 'animations' field of @Component metadata should be copied directly
into the ngComponentDef for that component and should not pass through
static resolution.
Previously the animations array was statically resolved and then the
values were translated back when generating ngComponentDef.
PR Close #26322
2018-10-09 16:45:31 -07:00
9623e7c639
Revert "fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )"
...
This reverts commit 5a31bde649
.
2018-10-08 14:34:47 -07:00
83302d193e
fix(ivy): ensure ngcc compiles @angular/core
with correct internal imports ( #26236 )
...
PR Close #26236
2018-10-08 13:45:46 -07:00
807070fe83
refactor(ivy): ngcc - expose the package name from EntryPoint
( #26236 )
...
PR Close #26236
2018-10-08 13:45:46 -07:00
6a24db2bc6
fix(ivy): ngcc: only consider decorators from @angular/core
( #26236 )
...
PR Close #26236
2018-10-08 13:45:46 -07:00