Pete Bacon Darwin
d17602f31d
refactor(ivy): rename and move ngcc `Parsed...` to `Decorated...` ( #26082 )
...
PR Close #26082
2018-10-11 14:08:39 -07:00
Pete Bacon Darwin
7d0e17530b
ci(docs-infra): allow `aio_local` builds to fail on Travis ( #26366 )
...
This job is flaky (up to 50%!) so let's allow it to fail while
we investigate the reason.
PR Close #26366
2018-10-11 13:38:59 -07:00
Pawel Kozlowski
053bf27fb3
refactor(ivy): use context discovery in TestBed implementation ( #26211 )
...
PR Close #26211
2018-10-11 13:01:28 -07:00
Andrew Kushnir
39f42bad1c
feat(ivy): i18n compiler support for element attributes ( #26280 )
...
PR Close #26280
2018-10-11 13:00:19 -07:00
Pawel Kozlowski
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
George Kalpakas
e0e2038718
build(docs-infra): pin git ref for cli command docs ( #26391 )
...
The JSON files from which cli command docs for angular.io are generated
is broken on master (e.g. angular/cli-builds@e0ec86757 ), which cause foc
generation (and CI) to fail.
Pinning the git ref where we pull cli sources from to a version that is
known to be working (until we figure out what the best approach is)
PR Close #26391
2018-10-11 12:57:49 -07:00
George Kalpakas
67608a907e
build(docs-infra): make the git ref for cli command docs configurable ( #26391 )
...
PR Close #26391
2018-10-11 12:57:49 -07:00
Jason Aden
7acdad6921
release: cut the v7.0.0-rc.1 release
2018-10-10 15:04:08 -07:00
Jason Aden
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
Jason Bedard
912f3d186f
fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )
...
Fixes #26208
PR Close #26209
2018-10-10 14:19:00 -07:00
Jason Aden
e26cb21e4e
docs: release notes for the v release
2018-10-10 11:46:39 -07:00
Andrew Kushnir
be4edf15ee
fix(core): resolving merge conflicts in query.ts ( #26324 )
...
PR Close #26324
2018-10-09 17:34:08 -07:00
Andrew Kushnir
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
Brandon Roberts
d1b7bb52e7
docs: add note for including polyfills for StackBlitz examples ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
1312693f88
docs: add core-js polyfills for StackBlitz support ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
72ff9c880c
docs: sync boilerplate configuration with Angular CLI RC2 ( #25892 )
...
Revers Jasmine version back to ~2.99.1
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
3060b3e29b
docs: bump Jasmine version, fix build scripts ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
ee28b64d74
docs: add webpack-cli back in shared example dependencies ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
1246ba53c7
docs: cleanup universal boilerplate scripts ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
c29ff722a0
docs: add testing styles back to boilerplate configuration ( #25892 )
...
PR Close #25892
2018-10-09 17:04:20 -07:00
Brandon Roberts
67ad9468d3
docs: fix broken lazy loading examples with Angular CLI RC upgrade ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
f922808b8d
docs: update to latest Angular RC, CLI RC, and Jasmine releases ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
67435d456c
Revert "docs: add testing styles in index.html, remove additional configuration" ( #25892 )
...
This reverts commit 621d82a44c9d46f69f3296b302984f5949b8dee8.
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
fbfce79b93
docs: add testing styles in index.html, remove additional configuration ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Brandon Roberts
2a14dfa4ba
docs: update shared example dependencies to Angular 7 and CLI 7 ( #25892 )
...
PR Close #25892
2018-10-09 17:04:19 -07:00
Wei Lun
8e71ad6027
docs: typo on function name for handleError() ( #26261 )
...
changed function name `errorHandle()` to `handleError()`
PR Close #26261
2018-10-09 16:54:15 -07:00
Ashish Patel
25289664ea
docs: fix sentence in attribute directives guide ( #26266 )
...
PR Close #26266
2018-10-09 16:53:42 -07:00
Andrew Kushnir
e5644204dc
fix(ivy): removing unnecessary assert in getOrCreateNodeInjector function ( #26305 )
...
PR Close #26305
2018-10-09 16:52:00 -07:00
Andrew Kushnir
69b9758ab8
fix(ivy): removing no longer needed QueryReadType ( #26314 ) ( #26314 )
...
PR Close #26314
PR Close #26314
2018-10-09 16:50:34 -07:00
Kara Erickson
7ea5161d4d
refactor(ivy): merge directives into LViewData ( #26316 )
...
PR Close #26316
2018-10-09 16:46:00 -07:00
Kara Erickson
b0879046b7
test(ivy): add testing utility to replace loadDirective ( #26316 )
...
PR Close #26316
2018-10-09 16:46:00 -07:00
Alex Rickabaugh
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
Jason Aden
9623e7c639
Revert "fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )"
...
This reverts commit 5a31bde649
.
2018-10-08 14:34:47 -07:00
Pete Bacon Darwin
83302d193e
fix(ivy): ensure ngcc compiles `@angular/core` with correct internal imports ( #26236 )
...
PR Close #26236
2018-10-08 13:45:46 -07:00
Pete Bacon Darwin
807070fe83
refactor(ivy): ngcc - expose the package name from `EntryPoint` ( #26236 )
...
PR Close #26236
2018-10-08 13:45:46 -07:00
Pete Bacon Darwin
3ac8a63499
test(ivy): update ngcc integration test ( #26236 )
...
PR Close #26236
2018-10-08 13:45:46 -07:00
Pete Bacon Darwin
6a24db2bc6
fix(ivy): ngcc: only consider decorators from `@angular/core` ( #26236 )
...
PR Close #26236
2018-10-08 13:45:46 -07:00
Pete Bacon Darwin
50d1cba174
fix(ivy): ngcc: remove redundant `__decorate()` calls ( #26236 )
...
Previously we only removed assignments to `Class.decorators = [];`
if the array was not empty.
Now we also remove calls to `__decorate([])`, similarly.
PR Close #26236
2018-10-08 13:45:46 -07:00
Pete Bacon Darwin
44c05c05af
fix(ivy): include "variable-declared" decorated classes in ngcc compilation ( #26236 )
...
Previously, classes that were declared via variable declarations,
rather than class declarations, were being excluded from the
parsed classes.
PR Close #26236
2018-10-08 13:45:46 -07:00
Pete Bacon Darwin
7d08722e80
fix(ivy): support `tsutils.__decorate` decorator declarations in ngcc ( #26236 )
...
The most recent Angular distributions have begun to use __decorate instead of Class.decorators.
This prevents `ngcc` from recognizing the classes and then fails to perform the transform to
ivy format.
Example:
```
var ApplicationModule = /** @class */ (function () {
// Inject ApplicationRef to make it eager...
function ApplicationModule(appRef) {
}
ApplicationModule = __decorate([
NgModule({ providers: APPLICATION_MODULE_PROVIDERS }),
__metadata("design:paramtypes", [ApplicationRef])
], ApplicationModule);
return ApplicationModule;
}());
```
Now `ngcc` recognizes `__decorate([...])` declarations and performs its transform.
See FW-379
PR Close #26236
2018-10-08 13:45:46 -07:00
Pete Bacon Darwin
13cdd13511
fix(ivy): support late-initialized variables in ngcc/ngtsc ( #26236 )
...
In some formats variables are declared as `var` or `let` and only
assigned a value later in the code.
The ngtsc resolver still needs to be able to resolve this value,
so the host now provides a `host.getVariableValue(declaration)`
method that can do this resolution based on the format.
The hosts make some assumptions about the layout of the
code, so they may only work in the constrained scenarios that
ngcc expects.
PR Close #26236
2018-10-08 13:45:46 -07:00
George Kalpakas
9320ec0f43
build(docs-infra): upgrade Angular to 7.0.0-rc.0 and TypeScript to 3.1.1 ( #26202 )
...
PR Close #26202
2018-10-08 13:43:31 -07:00
George Kalpakas
5dd225cb43
build(docs-infra): upgrade webpack-cli to 3.1.2 ( #26202 )
...
This is necessary to avoid webpack/webpack#8082, when installing
dependencies without taking the lockfile into account (e.g. with
`yarn aio-use-local` - locally or on CI).
PR Close #26202
2018-10-08 13:43:31 -07:00
George Kalpakas
1b1c8ee545
ci(docs-infra): run tests against local Angular packages too ( #26202 )
...
PR Close #26202
2018-10-08 13:43:31 -07:00
George Kalpakas
10e414f617
test(docs-infra): fix tests ( #26202 )
...
PR Close #26202
2018-10-08 13:43:31 -07:00
George Kalpakas
b46fa92ae5
ci(docs-infra): remove unnecessary command ( #26202 )
...
This was accidentally merged with 4d506acba
and 87f60bccf
.
The build script is called in `scripts/ci/build.sh` (if necessary).
PR Close #26202
2018-10-08 13:43:31 -07:00
siddhant
0bdea1f69c
docs: update docs to reflect the changes in RxJS 6 ( #26238 )
...
PR Close #26238
2018-10-08 13:43:12 -07:00
Jason Bedard
5a31bde649
fix(upgrade): properly destroy upgraded component elements and descendants ( #26209 )
...
Fixes #26208
PR Close #26209
2018-10-08 12:06:13 -07:00
George Kalpakas
decc0b840d
ci(docs-infra): re-use env variable ( #26138 )
...
PR Close #26138
2018-10-08 12:01:02 -07:00
JiaLi.Passion
55d54c7e97
fix(platform-browser): fix #22155 , destroy hammer manager when off ( #22156 )
...
PR Close #22156
2018-10-05 15:44:05 -07:00