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
Matias Niemelä
095b6e8113
refactor(ivy): abstract all styling-related compiler logic into a shared class ( #27043 )
...
PR Close #27043
2018-11-12 15:32:48 -08:00
Kara Erickson
8b9249a670
fix(ivy): host bindings should support content children and content hooks ( #27065 )
...
PR Close #27065
2018-11-12 14:26:06 -08:00
Ferdinand Malcher
f80c6008af
docs: Fix wrong quoting in SSR guide ( #27057 )
...
PR Close #27057
2018-11-12 12:52:32 -08:00
Andrew Anikin
b278ea1f09
docs: fix typo in toh-pt0.md ( #27044 )
...
PR Close #27044
2018-11-12 12:51:53 -08:00
Kara Erickson
1810cdf2c3
fix(ivy): compiler should generate restoreView() for local refs in listeners ( #27034 )
...
PR Close #27034
2018-11-12 12:50:58 -08:00
JoostK
97ef8ae9e7
fix(ivy): let ngcc not consider deep imports as missing dependencies ( #27031 )
...
This fixes an issue where packages would be skipped if they contained
e.g. RxJS 5 style imports such as
```
import { observeOn } from 'rxjs/operators/observeOn';
```
Given that no package.json file can be found at the imported path, the
dependency would be reported missing, causing the package to be skipped.
PR Close #27031
2018-11-12 12:50:06 -08:00
Brandon Roberts
99c5db1fb1
docs(forms): update API reference for value accessors ( #26946 )
...
PR Close #26946
2018-11-12 12:48:33 -08:00
Kristiyan Kostadinov
e5c9f7a507
fix(ivy): provide NgZone to ComponentRef ( #26898 )
...
Fixes the r3 `TestBed` not providing an `NgZone` to the `ComponentFixture`.
PR Close #26898
2018-11-12 12:47:07 -08:00
Matthew Harris
9729e8f4b9
docs: removed unused pull-left classes from hero form component ( #26178 )
...
PR Close #26178
2018-11-09 10:23:17 -08:00
Kara Erickson
78b6f88cb3
fix(ivy): TestBed should use an NgZone ( #27015 )
...
PR Close #27015
2018-11-09 09:56:36 -08:00
Kara Erickson
552836ebf0
fix(ivy): merged host bindings functions should take superclass hostVars into account ( #27013 )
...
PR Close #27013
2018-11-09 09:55:47 -08:00
Kara Erickson
2f36a9591d
fix(ivy): providers should not be inherited ( #27013 )
...
PR Close #27013
2018-11-09 09:55:47 -08:00
Deltatiger
83c9bff242
docs(core): cleanup todo notes in ContentChild documentation examples ( #26543 )
...
PR Close #26543
2018-11-09 09:47:26 -08:00
Andrew Lobban
4efb460127
docs(router): add RxJS filter pipe operator to example ( #25686 )
...
This example for Angular 6 requires piping the RxJS filter operator in order to traverse the multitude of Router Events.
PR Close #25686
2018-11-09 09:46:11 -08:00
Frederik Schlemmer
ac1988d8e6
docs: add missing instruction in HTTP section ( #25715 )
...
PR Close #25715
2018-11-09 09:44:11 -08:00
Jonathan Sharpe
edb50a2f51
docs: override code formatting for CLI commands ( #26619 )
...
Closes 26614
PR Close #26619
2018-11-09 09:43:00 -08:00
Alvaro Junqueira
c89045fb77
docs: update links to TC39 and observable proposal ( #26715 )
...
Before (404 Not Found):
http://www.ecma-international.org/memento/TC39.htm
After:
https://www.ecma-international.org/memento/tc39-m.htm
PR Close #26715
2018-11-09 09:41:57 -08:00
Manish Bansal
1258ec041d
docs: Fix links ( #27027 )
...
Fix the links.
PR Close #27027
2018-11-09 09:40:44 -08:00
Igor Minar
499e303ea3
test(ivy): add global utils to the public_api_guard test ( #27008 )
...
This API is part of our public api surface and needs to be monitored by the public_api_guard.
I also had to go back and mark all of the exported functions with @publicApi jsdoc tag.
PR Close #27008
2018-11-08 15:37:11 -08:00
Matias Niemelä
e618032d53
feat(ivy): introduce `getPlayers()` to global utils ( #27008 )
...
PR Close #27008
2018-11-08 15:37:11 -08:00
Igor Minar
b9eeb1c383
ci: exclude symbol golden files from build-and-ci pullapprove group ( #27004 )
...
these files are test data and note test infrastructure, so they don't belong to this group.
this means that the core group can now approve the golden symbol changes
PR Close #27004
2018-11-08 13:10:53 -08:00
Sarun Intaralawan
1529ecd8fa
docs: add Angular subreddit to resources.json ( #26976 )
...
Close #26941
PR Close #26976
2018-11-08 13:09:36 -08:00