Miško Hevery
60065935be
refactor(ivy): align compiler with runtime ( #22921 )
...
Remove `containerRefreshStart` and `containerRefreshEnd` instruction
from the output.
Generate directives as a list in `componentDef` rather than inline into
instructions. This is consistent in making selector resolution runtime
so that translation of templates can follow locality.
PR Close #22921
2018-04-02 15:49:48 -07:00
Miško Hevery
5266ffe04a
feat(ivy): add `(event)="handle"` syntax support to compiler ( #22921 )
...
PR Close #22921
2018-04-02 15:49:48 -07:00
Miško Hevery
4290ea4bb9
ci: update to latest rulse_nodejs ( #22921 )
...
PR Close #22921
2018-04-02 15:49:48 -07:00
Miško Hevery
e7f1af3c54
refactor(ivy): cleanup necessary domino files ( #22921 )
...
PR Close #22921
2018-04-02 15:49:48 -07:00
Jason Bedard
a2330ff2db
fix(upgrade): propagate return value of resumeBootstrap ( #22754 )
...
Fixes #22723
PR Close #22754
2018-04-02 14:20:58 -07:00
Judy Bogart
ff34d5ea7a
docs: add custom elements documentation ( #22966 )
...
PR Close #22966
2018-04-02 14:13:46 -07:00
Shannon Dunn
ad9ce5cb41
fix(upgrade): correctly handle downgraded `OnPush` components ( #22209 )
...
Fixes #14286
PR Close #22209
2018-04-02 14:12:45 -07:00
Alex Eagle
7a1c43733b
release: don't include dist when querying for publishable bazel packages ( #23102 )
...
PR Close #23102
2018-04-02 09:43:41 -07:00
Kara Erickson
85d3b591b6
refactor(ivy): generate pipe names instead of defs ( #23104 )
...
PR Close #23104
2018-04-02 09:42:44 -07:00
Igor Minar
43d62029f0
build(aio): update to angular@6.0.0-rc.1 ( #23101 )
...
-rw-r--r-- 1 iminar primarygroup 2774 Mar 30 15:01 dist/announcement-bar.module.94664978458f4bcdad0e.chunk.js
-rw-r--r-- 1 iminar primarygroup 8081 Mar 30 15:01 dist/api-list.module.0080b5cc2e6a0e0cb4e0.chunk.js
-rw-r--r-- 1 iminar primarygroup 3963 Mar 30 15:01 dist/code-example.module.a71be2c11f00a30159ae.chunk.js
-rw-r--r-- 1 iminar primarygroup 29367 Mar 30 15:01 dist/code-tabs.module.91c45e5c6e7bc37a7ae3.chunk.js
-rw-r--r-- 1 iminar primarygroup 18647 Mar 30 15:01 dist/common.ba5d418531a81244d32a.chunk.js
-rw-r--r-- 1 iminar primarygroup 6719 Mar 30 15:01 dist/contributor-list.module.3f67eb8916b4b5d9553b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1009 Mar 30 15:01 dist/current-location.module.5b1b839219a3afa4821c.chunk.js
-rw-r--r-- 1 iminar primarygroup 10037 Mar 30 15:01 dist/expandable-section.module.e990983253a804b8680b.chunk.js
-rw-r--r-- 1 iminar primarygroup 1642 Mar 30 15:01 dist/file-not-found-search.module.3ebb2c728ee873e1124f.chunk.js
-rw-r--r-- 1 iminar primarygroup 1971 Mar 30 15:01 dist/inline.966da76300859bd75965.bundle.js
-rw-r--r-- 1 iminar primarygroup 5905 Mar 30 15:01 dist/live-example.module.db0fa04009ecb3863ec8.chunk.js
-rw-r--r-- 1 iminar primarygroup 567849 Mar 30 15:01 dist/main.b630be1eaedf8196652b.bundle.js
-rw-r--r-- 1 iminar primarygroup 40272 Mar 30 15:01 dist/polyfills.60722fb8dd6546cb465e.bundle.js
-rw-r--r-- 1 iminar primarygroup 14886 Mar 30 15:01 dist/prettify.04d149a0484032073703.chunk.js
-rw-r--r-- 1 iminar primarygroup 4840 Mar 30 15:01 dist/resource-list.module.7d9223ca5f7ae5ce9d48.chunk.js
-rw-r--r-- 1 iminar primarygroup 54001 Mar 30 15:01 dist/worker-basic.min.js
PR Close #23101
2018-03-30 17:29:39 -07:00
Igor Minar
3df811767e
build(aio): upgrade to rxjs@6.0.0-beta.4 ( #23101 )
...
PR Close #23101
2018-03-30 17:29:39 -07:00
Igor Minar
9c7805be2f
build(aio): pin aio to typescript ~2.7.2 ( #23101 )
...
PR Close #23101
2018-03-30 17:29:39 -07:00
Alex Rickabaugh
d6bf71ae95
docs(compiler): initial outline of Ivy Compiler Architecture design doc ( #22916 )
2018-03-30 15:43:34 -07:00
Kara Erickson
9cd446565c
refactor(compiler): generate flat css selectors ( #23074 )
...
PR Close #23074
2018-03-30 15:27:50 -07:00
Kara Erickson
6e5fb99304
refactor(ivy): flatten css selectors ( #23074 )
...
PR Close #23074
2018-03-30 15:27:50 -07:00
George Kalpakas
6cb1adf105
ci(aio): add monitoring for angular.io ( #22483 )
...
This commit configures a periodic job to be run on CircleCI, performing several
checks against the actual apps deployed to production (https://angular.io ) and
staging (https://next.angular.io ).
Fixes #21942
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
a9e05ac82f
fix(aio): fix SW routing RegExp to allow redirecting `/api/animate` URLs ( #22483 )
...
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
120673a3ac
refactor(aio): move deployment config tests and helpers around ( #22483 )
...
This commit prepares the ground for adding different types of tests.
PR Close #22483
2018-03-30 15:26:50 -07:00
George Kalpakas
8c10df30d7
fix(aio): wait for the app to stabilize before registering the SW ( #22483 )
...
This commit also waits for the app to stabilize, before starting to
check for ServiceWorker updates. This avoids setting up a long timeout,
which would prevent the app from stabilizing and thus cause issues with
Protractor.
PR Close #22483
2018-03-30 15:26:50 -07:00
Keen Yee Liau
0c4e3718f5
build(bazel): Emit metadata.json under Blaze ( #23049 )
...
This commit modifies the compilation to emit metadata.json files when
compiled under Blaze. The default behavior of ngc is to emit metadata
only when the --flatModuleOutFile flag is specified, but this mode
is not used in Blaze.
Emitting metadata for individual Angular components is needed for
Angular Language Service to work with projects compiled with Blaze.
PR Close #23049
2018-03-30 15:23:30 -07:00
Igor Minar
6880766fb7
build: update release check scripts
2018-03-30 14:51:35 -07:00
Igor Minar
a30728ca5a
docs: add changelog for 6.0.0-rc.1
2018-03-30 14:10:20 -07:00
Igor Minar
aebf04e32c
release: cut the 6.0.0-rc.1 release
2018-03-30 14:08:30 -07:00
Alex Eagle
15278784fc
release(bazel): change publish-next script to publish bazel artifacts ( #23097 )
...
PR Close #23097
2018-03-30 14:03:05 -07:00
Igor Minar
22cb2c9441
build: add missing dependencies on @rxjs//operators needed for rxjs@6.0.0-beta.4 ( #23084 )
...
PR Close #23084
2018-03-30 13:07:03 -07:00
Igor Minar
88a93e730e
test: add missing lockfile for integration/ng_update test ( #23084 )
...
PR Close #23084
2018-03-30 13:07:03 -07:00
Igor Minar
dc95e7bc33
test: add typings test for typescript 2.7 ( #23084 )
...
PR Close #23084
2018-03-30 13:07:03 -07:00
Igor Minar
7fdc24db72
test: remove obsolete typings tests ( #23084 )
...
we no longer support typescript 2.4, 2.5, and 2.6
PR Close #23084
2018-03-30 13:07:03 -07:00
Igor Minar
3603a10ea2
build: update to zone.js@0.8.20 ( #23084 )
...
PR Close #23084
2018-03-30 13:07:03 -07:00
Igor Minar
6f7d14064c
build: update to rxjs@6.0.0-beta.4 ( #23084 )
...
PR Close #23084
2018-03-30 13:07:03 -07:00
Oussama Ben Brahim
a5f0939eae
build(compiler-cli): include new test files in bazel config ( #22705 )
...
Fixes #22593
PR Close #22705
2018-03-30 07:58:36 -07:00
Oussama Ben Brahim
193737a1ea
fix(compiler-cli): use numeric comparison for TypeScript version ( #22705 )
...
Fixes #22593
PR Close #22705
2018-03-30 07:58:36 -07:00
Alex Eagle
be10bf538b
fix(bazel): don't try to do flatmoduleindex under Blaze ( #23083 )
...
PR Close #23083
2018-03-29 22:23:49 -07:00
Igor Minar
439030fb57
fix(bazel): complete the rollup globals list for all angular entrypoints ( #23080 )
...
PR Close #23080
2018-03-29 20:34:58 -07:00
Alex Eagle
481b22ecb0
fix(bazel): downlevel decorators in fesm5 files ( #23078 )
...
Needed so that our bundles appear side-effect-free to tools like webpack
PR Close #23078
2018-03-29 18:53:49 -07:00
Alex Eagle
45e090b614
fix(bazel): pass --global option to rollup ( #23073 )
...
This fixes the UMD bundles which otherwise don't contain the right global symbols
PR Close #23073
2018-03-29 17:44:43 -07:00
Alex Eagle
0d9140cdce
fix(bazel): ng_package should include private exports in fesms ( #23054 )
...
PR Close #23054
2018-03-29 14:11:12 -07:00
Chuck Jazdzewski
9fb08e2377
ci(language-service): enable language service tests in bazel ( #23001 )
...
PR Close #23001
2018-03-29 13:11:27 -07:00
Judy Bogart
de0b13d41d
docs: update for hero service name change ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Judy Bogart
07d33d4e5a
docs: fix operator name ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Judy Bogart
9f7bd8f618
docs: update text around changed obs examples ( #22920 )
...
PR Close #22920
2018-03-29 09:20:04 -07:00
Victor Berchet
28058b784b
fix(compiler): fix support for html-like text in translatable attributes ( #23053 )
...
PR Close #23053
2018-03-29 08:58:27 -07:00
Teamop
7de13b60d6
style(aio): fix typo in the scrollbar ( #23064 )
...
PR Close #23064
2018-03-29 08:57:41 -07:00
Alex Eagle
00497437a6
fix(bazel): don't inline tslib into fesms ( #23044 )
...
PR Close #23044
2018-03-28 10:19:14 -07:00
Chuck Jazdzewski
4e004f3783
ci(compiler-cli): run compiler-cli tests in bazel ( #22997 )
...
PR Close #22997
2018-03-28 10:02:53 -07:00
George Kalpakas
d9dc46e651
fix(service-worker): ignore invalid `only-if-cached` requests ( #22883 )
...
Under some circumstances (possibly related to opening Chrome DevTools),
requests are made with `cache: 'only-if-cached'` and `mode: 'no-cors'`.
These request will eventually fail, because `only-if-cached` is only
allowed to be used with `mode: 'same-origin'`.
This is likely a bug in Chrome DevTools.
This commit avoids errors related to such requests by not handling them.
Fixes #22362
PR Close #22883
2018-03-28 10:02:16 -07:00
George Kalpakas
9e9b8dd494
fix(service-worker): do not enter degraded mode when offline ( #22883 )
...
Previously, when trying to fetch `ngsw.json` (e.g. during
`checkForUpdate()`) while either the client or the server were offline,
the ServiceWorker would enter a degrade mode, where only existing
clients would be served. This essentially meant that the ServiceWorker
didn't work offline.
This commit fixes it by differentiating offline errors and not entering
degraded mode. The ServiceWorker will remain in the current mode until
connectivity to the server is restored.
Fixes #21636
PR Close #22883
2018-03-28 10:02:16 -07:00
George Kalpakas
12665a749c
test(service-worker): minor test fixes and refactorings ( #22883 )
...
PR Close #22883
2018-03-28 10:02:16 -07:00
Kara Erickson
e2e80ec61c
refactor(ivy): remove pipe references from the template ( #23032 )
...
PR Close #23032
2018-03-28 09:17:27 -07:00
Kara Erickson
5a86f7144f
fix(ivy): store local variables in data instead of calling loadDirective ( #23029 )
...
PR Close #23029
2018-03-28 09:17:05 -07:00