9998 Commits

Author SHA1 Message Date
Kara Erickson
6e5fb99304 refactor(ivy): flatten css selectors ()
PR Close 
2018-03-30 15:27:50 -07:00
George Kalpakas
6cb1adf105 ci(aio): add monitoring for angular.io ()
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 

PR Close 
2018-03-30 15:26:50 -07:00
George Kalpakas
a9e05ac82f fix(aio): fix SW routing RegExp to allow redirecting /api/animate URLs ()
PR Close 
2018-03-30 15:26:50 -07:00
George Kalpakas
120673a3ac refactor(aio): move deployment config tests and helpers around ()
This commit prepares the ground for adding different types of tests.

PR Close 
2018-03-30 15:26:50 -07:00
George Kalpakas
8c10df30d7 fix(aio): wait for the app to stabilize before registering the SW ()
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 
2018-03-30 15:26:50 -07:00
Keen Yee Liau
0c4e3718f5 build(bazel): Emit metadata.json under Blaze ()
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 
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 ()
PR Close 
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 ()
PR Close 
2018-03-30 13:07:03 -07:00
Igor Minar
88a93e730e test: add missing lockfile for integration/ng_update test ()
PR Close 
2018-03-30 13:07:03 -07:00
Igor Minar
dc95e7bc33 test: add typings test for typescript 2.7 ()
PR Close 
2018-03-30 13:07:03 -07:00
Igor Minar
7fdc24db72 test: remove obsolete typings tests ()
we no longer support typescript 2.4, 2.5, and 2.6

PR Close 
2018-03-30 13:07:03 -07:00
Igor Minar
3603a10ea2 build: update to zone.js@0.8.20 ()
PR Close 
2018-03-30 13:07:03 -07:00
Igor Minar
6f7d14064c build: update to rxjs@6.0.0-beta.4 ()
PR Close 
2018-03-30 13:07:03 -07:00
Oussama Ben Brahim
a5f0939eae build(compiler-cli): include new test files in bazel config ()
Fixes 

PR Close 
2018-03-30 07:58:36 -07:00
Oussama Ben Brahim
193737a1ea fix(compiler-cli): use numeric comparison for TypeScript version ()
Fixes 

PR Close 
2018-03-30 07:58:36 -07:00
Alex Eagle
be10bf538b fix(bazel): don't try to do flatmoduleindex under Blaze ()
PR Close 
2018-03-29 22:23:49 -07:00
Igor Minar
439030fb57 fix(bazel): complete the rollup globals list for all angular entrypoints ()
PR Close 
2018-03-29 20:34:58 -07:00
Alex Eagle
481b22ecb0 fix(bazel): downlevel decorators in fesm5 files ()
Needed so that our bundles appear side-effect-free to tools like webpack

PR Close 
2018-03-29 18:53:49 -07:00
Alex Eagle
45e090b614 fix(bazel): pass --global option to rollup ()
This fixes the UMD bundles which otherwise don't contain the right global symbols

PR Close 
2018-03-29 17:44:43 -07:00
Alex Eagle
0d9140cdce fix(bazel): ng_package should include private exports in fesms ()
PR Close 
2018-03-29 14:11:12 -07:00
Chuck Jazdzewski
9fb08e2377 ci(language-service): enable language service tests in bazel ()
PR Close 
2018-03-29 13:11:27 -07:00
Judy Bogart
de0b13d41d docs: update for hero service name change ()
PR Close 
2018-03-29 09:20:04 -07:00
Judy Bogart
07d33d4e5a docs: fix operator name ()
PR Close 
2018-03-29 09:20:04 -07:00
Judy Bogart
9f7bd8f618 docs: update text around changed obs examples ()
PR Close 
2018-03-29 09:20:04 -07:00
Victor Berchet
28058b784b fix(compiler): fix support for html-like text in translatable attributes ()
PR Close 
2018-03-29 08:58:27 -07:00
Teamop
7de13b60d6 style(aio): fix typo in the scrollbar ()
PR Close 
2018-03-29 08:57:41 -07:00
Alex Eagle
00497437a6 fix(bazel): don't inline tslib into fesms ()
PR Close 
2018-03-28 10:19:14 -07:00
Chuck Jazdzewski
4e004f3783 ci(compiler-cli): run compiler-cli tests in bazel ()
PR Close 
2018-03-28 10:02:53 -07:00
George Kalpakas
d9dc46e651 fix(service-worker): ignore invalid only-if-cached requests ()
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 

PR Close 
2018-03-28 10:02:16 -07:00
George Kalpakas
9e9b8dd494 fix(service-worker): do not enter degraded mode when offline ()
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 

PR Close 
2018-03-28 10:02:16 -07:00
George Kalpakas
12665a749c test(service-worker): minor test fixes and refactorings ()
PR Close 
2018-03-28 10:02:16 -07:00
Kara Erickson
e2e80ec61c refactor(ivy): remove pipe references from the template ()
PR Close 
2018-03-28 09:17:27 -07:00
Kara Erickson
5a86f7144f fix(ivy): store local variables in data instead of calling loadDirective ()
PR Close 
2018-03-28 09:17:05 -07:00
Alex Rickabaugh
bd024c02e2 feat(compiler): lower @NgModule ids if needed ()
This change allows the id of an NgModule to be dynamically computed if
needed.

PR Close 
2018-03-28 09:15:16 -07:00
Alex Rickabaugh
884bf0ef09 fix: consistently rewrite Injector to INJECTOR ()
In Ivy mode we rewrite references to Injector to INJECTOR in ngInjectableDef, to fix tree-shaking.

This changes the rewrite to happen always, even in non-Ivy mode, and makes Angular understand
INJECTOR across the board at runtime.

PR Close 
2018-03-28 09:14:32 -07:00
Alex Eagle
0b348c8ffe build: fix bazel stamping ()
As pointed out in https://github.com/bazelbuild/rules_nodejs/issues/156
our mechanism would never pick up changes to the version info.

PR Close 
2018-03-28 09:00:02 -07:00
Alex Rickabaugh
e1ea7ed019 docs: update examples for tree-shakeable providers ()
PR Close 
2018-03-28 07:53:04 -07:00
Keen Yee Liau
ed53c5ccdd refactor(language-service): Remove angularOnlyResults ()
This commit is a duplicate of https://github.com/angular/angular/pull/18637
to remove Angular-specific results from the language service.

PR Close 
2018-03-27 17:22:44 -04:00
Olivier Combe
d28ce50067 test(ivy): make sure goog.getMsg() is defined before being used ()
PR Close 
2018-03-27 17:07:50 -04:00
Joey Perrott
ab348ee2be build: update browserstack key ()
PR Close 
2018-03-27 14:56:12 -04:00
Veres Lajos
0ebdb3d12f style: typo fix amendments ()
PR Close 
2018-03-27 14:51:53 -04:00
Veres Lajos
de90314304 style: typos fixed - https://github.com/vlajos/misspell-fixer ()
PR Close 
2018-03-27 14:51:53 -04:00
Kara Erickson
f739f756ce test(ivy): fix flaky tests ()
PR Close 
2018-03-27 14:48:50 -04:00
Kara Erickson
910a16a1ff refactor(ivy): remove directive references from template ()
PR Close 
2018-03-26 22:33:23 -04:00
Jeremy Elbourn
2aabbc51fa fix(bazel): ng_package packages attr not forwarded to npm_package ()
PR Close 
2018-03-26 22:32:09 -04:00
Jeremy Elbourn
2388f24256 build(bazel): add entry_point_name attr to ng_package ()
PR Close 
2018-03-26 22:30:16 -04:00
Alex Eagle
27e14b2fb3 feat(bazel): prefix private-export (barred-latin-o) symbols ()
This allows a bundle index to be re-exported by a higher-level module without fear of collisions.
Under bazel, we always set the prefix to be underscore-joined workspace, package, label

PR Close 
2018-03-26 22:28:55 -04:00