Paul Gschwendtner
2a7210e382
build: release scripts should use bazel from yarn ( #26899 )
...
* With ec29fd3e7b
, the prefix for the `bazel` command has been removed because it threw off the Bash variables. In order to fix this while still running Bazel from the `node_modules` (keeping the bazel versions consistent), we should run Bazel without Yarn (similar to how it's done for `build-packages-dist.sh`)
PR Close #26899
2018-11-20 10:44:34 -08:00
Paul Gschwendtner
391767fb8f
build: fix size artifacts not measured by github robot ( #27042 )
...
Currently the Github robot is not able to measure the artifacts of the `hello_world` and `todo` bundling tests because those will be only built with the `ivy-only` rule tag. This means that the current CircleCI job that is supposed to upload the size artifacts, does not even build those bundles.
PR Close #27042
2018-11-20 10:44:12 -08:00
Olivier Combe
bf3beb5959
fix(ivy): set `ng-version` attribute on root component ( #27175 )
...
PR Close #27175
2018-11-20 10:43:51 -08:00
Olivier Combe
01917733a1
fix(ivy): set encapsulation to `None` when there is no style ( #27175 )
...
PR Close #27175
2018-11-20 10:43:51 -08:00
Elan Hasson
859da3af50
docs: The note had an indentation and was missing line breaks ( #27183 )
...
Fixed the formatting and made Note bold.
PR Close #27183
2018-11-20 10:43:31 -08:00
Pawel Kozlowski
a43998c089
test(ivy): add JIRA references for root-casuse TestBed failrues ( #27188 )
...
PR Close #27188
2018-11-20 10:43:11 -08:00
Olivier Combe
20729b3378
fix(ivy): deduplicate imported modules in r3_injector ( #27102 )
...
PR Close #27102
2018-11-19 09:20:39 -08:00
Olivier Combe
cf1ebdc079
test(ivy): enable platform-server tests for ivy ( #27102 )
...
PR Close #27102
2018-11-19 09:20:39 -08:00
George Kalpakas
893c1735dd
build(docs-infra): upgrade cli command docs sources to a176d127a ( #27168 )
...
Relevant changes in [commit range](b50950b97...a176d127a
):
**Modified**
- help/add.json
- help/build.json
- help/config.json
- help/e2e.json
- help/generate.json
- help/lint.json
- help/new.json
- help/run.json
- help/serve.json
- help/test.json
- help/update.json
- help/xi18n.json
Closes #27088
Closes #27110
Closes #27128
Closes #27144
PR Close #27168
2018-11-19 09:20:21 -08:00
Alex Eagle
81e975ad93
build: update to latest Bazel rules_typescript ( #27138 )
...
PR Close #27138
2018-11-17 12:19:32 -08:00
Matias Niemelä
20ea5b5634
refactor(ivy): ensure directive host bindings use the styling algorithm ( #27145 )
...
PR Close #27145
2018-11-17 10:12:47 -08:00
Misko Hevery
4222b63639
Revert "refactor(ivy): ensure directive host bindings use the styling algorithm ( #27134 )"
...
This reverts commit b5dbf5154e
.
2018-11-16 17:55:41 -08:00
Matias Niemelä
b5dbf5154e
refactor(ivy): ensure directive host bindings use the styling algorithm ( #27134 )
...
PR Close #27134
2018-11-16 16:10:45 -08:00
Andrew Kushnir
92e80af875
feat(ivy): ICU support for Ivy ( #26794 )
...
PR Close #26794
2018-11-16 16:09:30 -08:00
Alan
a4934a74b6
docs: fix code examples style ( #26573 )
...
PR Close #26573
2018-11-16 12:27:00 -08:00
Olivier Combe
91bffa9c53
fix(ivy): set encapsulation metadata ( #27115 )
...
PR Close #27115
2018-11-16 12:22:11 -08:00
JoostK
60800da6c1
fix(ivy): export elementContainerStart/End instructions ( #27053 )
...
PR Close #27053
2018-11-16 12:19:18 -08:00
mrmeku
b07bd30b70
feat(bazel): Bazel workspace schematics ( #26971 )
...
This commit creates a schematics for Bazel workspace.
PR Close #26971
2018-11-16 12:18:06 -08:00
Igor Minar
4f965ad2a1
test(docs-infra): remove reflect-metadata polyfill from aio tests ( #27130 )
...
v7 CLI includes the polyfill automatically whenever JIT compiler is used, so we don't need
to do it explicitly.
PR Close #27130
2018-11-16 12:17:44 -08:00
Marc Laval
848f4148c0
fix(ivy): DI should work when no element injector on starting node ( #27133 )
...
PR Close #27133
2018-11-16 09:26:29 -08:00
Judy Bogart
65943b458f
docs: add link to workspace config page ( #26927 )
...
PR Close #26927
2018-11-15 21:19:45 -08:00
crisbeto
6574e61062
test(ivy): skip useJit tests with Ivy ( #27067 )
...
Currently the `useJit` option from `TestBed.configureCompiler` isn't supported. These changes rework the existing test suites not to pass in `useJit` when running with Ivy.
PR Close #27067
2018-11-15 21:19:21 -08:00
Kara Erickson
ee12e725c0
fix(ivy): component ref injector should support change detector ref ( #27107 )
...
PR Close #27107
2018-11-15 21:18:24 -08:00
Kara Erickson
3ec7c5081d
test(ivy): fix paths for http tests to work with ivy ( #27121 )
...
PR Close #27121
2018-11-15 21:18:00 -08:00
Olivier Combe
e22a302cad
feat(ivy): support for i18n & ICU expressions ( #27101 )
...
PR Close #27101
2018-11-14 16:22:01 -08:00
Andrew Kushnir
92b05652b2
release: cut the v7.1.0-rc.0 release
2018-11-14 14:27:00 -08:00
Andrew Kushnir
4756324b5c
docs: release notes for the v7.0.4 release
2018-11-14 14:14:45 -08:00
Pawel Kozlowski
ce5242462b
fix(ivy): implement rootNodes getter on ViewRef ( #27095 )
...
PR Close #27095
2018-11-14 12:28:03 -08:00
Marc Laval
1c9e526a83
fix(ivy): use the root view injector when resolving dependencies ( #27090 )
...
PR Close #27090
2018-11-14 12:26:36 -08:00
Pawel Kozlowski
8a626288a6
test(ivy): run more common tests with ivy on ci ( #27089 )
...
With https://github.com/angular/angular/pull/27068 merged we can activate
more ivy tests on CI.
PR Close #27089
2018-11-14 12:25:35 -08:00
Jason Aden
bf6ac6cef8
feat(router): add pathParamsChange mode for runGuardsAndResolvers ( #26861 )
...
This option means guards and resolvers will ignore changes to optional
parameters such as query and matrix params. When the path or any path
params change, guards and resolvers will be run
Related to discussion in #18253
FW-560 #resolve
PR Close #26861
2018-11-14 12:24:43 -08:00
Greg Magolan
3da82338d1
build(bazel): turn on --nolegacy-external-runfiles ( #26770 )
...
PR Close #26770
2018-11-14 12:23:38 -08:00
Miško Hevery
f8f1168fa6
Revert "feat(ivy): support for i18n & ICU expressions ( #26275 )"
...
This reverts commit a63fd2d0f5
.
2018-11-14 10:23:21 -08:00
Sarun Intaralawan
a752971bca
fix(router): add `relativeLinkResolution` to `recognize` operator ( #26990 )
...
Close #26983
PR Close #26990
2018-11-13 16:18:08 -08:00
Kara Erickson
f0c4f31771
fix(ivy): should export lifecycle hooks feature ( #27082 )
...
PR Close #27082
2018-11-13 16:17:30 -08:00
Olivier Combe
a63fd2d0f5
feat(ivy): support for i18n & ICU expressions ( #26275 )
...
PR Close #26275
2018-11-13 14:50:30 -08:00
Alex Rickabaugh
d97994b27f
fix(ivy): clone ts.SourceFile in ivy_switch when triggered ( #27032 )
...
Make a copy of the ts.SourceFile before modifying it in the ivy_switch
transform. It's suspected that the Bazel tsc_wrapped host's SourceFile
cache has issues when the ts.SourceFiles are mutated.
PR Close #27032
2018-11-13 14:00:20 -08:00
Charles Lyding
c31e78f670
fix(compiler-cli): add missing tslib dependency ( #27063 )
...
PR Close #27063
2018-11-13 13:59:41 -08:00
Kara Erickson
bc652a2943
fix(ivy): jit compilation should support content queries with type predicates ( #27068 )
...
PR Close #27068
2018-11-13 12:18:13 -08:00
Kara Erickson
e6e590479e
fix(ivy): support forward refs in @Inject annotations ( #27069 )
...
PR Close #27069
2018-11-13 12:17:18 -08:00
Kara Erickson
123da1a8c2
test(ivy): split out provider tests ( #27069 )
...
PR Close #27069
2018-11-13 12:17:18 -08:00
Pawel Kozlowski
7695dbd0bd
test(ivy): run common tests with ivy on ci ( #27071 )
...
PR Close #27071
2018-11-13 10:59:55 -08:00
Judy Bogart
9741f5b8cf
docs: new doc for core directives ( #26923 )
...
PR Close #26923
2018-11-13 10:57:56 -08:00
Olivier Combe
1b97971eb7
docs: fixed typo on Github issue template ( #27070 )
...
PR Close #27070
2018-11-13 10:52:09 -08:00
Paul Gschwendtner
0ada23a5fb
fix(compiler-cli): only pass canonical genfile paths to compiler host ( #27062 )
...
In a more specific scenario: Considering people use a custom TypeScript compiler host with `NGC`, they _could_ expect only posix paths in methods like `writeFile`. This at first glance sounds like a trivial issue that should be just fixed by the actual compiler host, but usually TypeScript internal API's just pass around posix normalized paths, and therefore it would be good to follow the same standards when passing JSON genfiles to the `CompilerHost`.
For normal TypeScript files (and TS genfiles), this is already consistent because those will be handled by the actual TypeScript `Program` (see `emitCallback`).
PR Close #27062
2018-11-13 10:51:19 -08:00
Alan Agius
6b1780d77e
build: avoid writing `\r` in windows ( #26888 )
...
In windows when using readFile `\n` are replaced with `\r\n` which causes issues when comparing golden files
PR Close #26888
2018-11-13 10:50:21 -08:00
Alan Agius
7865abf667
build: fix api guardian path for windows ( #26888 )
...
At the moment, `path.posix.relative` will break paths in windows as it will return something like
```
Error: Source file "../C:/users/alag/_bazel_alag/3tbqurya/execroot/angular/bazel-out/x64_windows-fastbuild/bin/packages/core/core.d.ts" not found
```
PR Close #26888
2018-11-13 10:50:21 -08:00
Rae Krantz
efa443bba3
docs: fix typo ( #26878 )
...
PR Close #26878
2018-11-13 10:49:35 -08:00
cexbrayat
f5a0ec0d7c
fix(ivy): ngcc should not fail on invalid package.json ( #26539 )
...
Some package.json files may have invalid JSON, for example package.json blueprints from `@schematics/angular` (see https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/workspace/files/package.json ).
This makes ngcc more resilient, by simpling logging a warning if an error is encountered, instead of failing as it does right now.
PR Close #26539
2018-11-13 10:48:31 -08:00
Kristiyan Kostadinov
5247594e86
fix(ivy): add support for providers in TestBed.configureCompiler ( #27066 )
...
Adds support for the `providers` that are passed in through `TestBed.configureCompiler` and scopes the error only if the consumer has passed in `useJit`.
PR Close #27066
2018-11-12 15:33:56 -08:00