9588 Commits

Author SHA1 Message Date
Jeremy Attali
dabc076267 docs: fix typo in injected variable name (#23315)
The service injected is `ValueService`, however the name of the variable
does not reflect that. It's actually confusing since it's the name of
the `class` being created.

PR Close #23315
2018-04-12 23:16:53 -07:00
Nathan Friend
af3b308e63 docs(upgrade): fix detail regarding bootstrapping order (#23225) (#23270)
Clarify that Angular should be bootstrapped before AngularJS.

Closes angular/angular#23225

PR Close #23270
2018-04-12 23:16:18 -07:00
Jack Twilley
4ea8b17896 docs: lock version of in-memory API (#23242)
The in-memory API has been updated for v6 but the Angular CLI has not.

Closes angular/in-memory-web-api#189
Fixes #22977
Fixes #23205

PR Close #23242
2018-04-12 22:36:57 -07:00
Igor Minar
c5b6e31d97 build: fix aio size tracking, we need to use node_modules local to aio (#23328)
This fixes an issue introduced by 4f0cae067656fa4563417542297c67030d911a36 which removed firebase from the root node_modules.

PR Close #23328
2018-04-11 23:14:23 -07:00
Igor Minar
22686f8a2f build(aio): fix scripts/test-production.sh file permission issue
it needs to be executable for CI tests to run.
2018-04-10 18:32:56 -07:00
paulmojicatech
bda6908484 docs(core): update directives documentation (#23255)
fix(release): wrong input names in bank-account component

Directive example has errors #22382

PR Close #23255
2018-04-09 15:19:11 -07:00
Anuj Jain
a1231bed9c docs: fixed live example for the lifecycle hooks. (#23201)
PR Close #23201
2018-04-05 16:29:38 -07:00
George Kalpakas
a50ce6568a refactor(aio): remove unused images (#23018)
PR Close #23018
2018-04-05 10:12:10 -07:00
George Kalpakas
baa444ba7d docs(aio): update live-example docs in authors style guide (#23018)
PR Close #23018
2018-04-05 10:12:10 -07:00
George Kalpakas
73172dd67a ci(aio): upload the preview before checking the bundle sizes (#23123)
This makes the preview available even if the bundle sizes are out of
limits.

PR Close #23123
2018-04-05 10:11:00 -07:00
George Kalpakas
8aa49ac6d7 fix(aio): update trusted GitHub teams (angular-core --> team) (#23181)
PR Close #23181
2018-04-05 10:07:14 -07:00
Pawel Kozlowski
3900c36b1c refactor(common): simplify NgClass code, add comments (#21937)
PR Close #21937
2018-04-04 09:41:18 -07:00
Pawel Kozlowski
54e910841e fix(common): properly take className changes into account (#21937)
Fixes #21932

PR Close #21937
2018-04-04 09:41:18 -07:00
Steven Liekens
9703079e0b test(router): fix typo in expectation (#23137)
PR Close #23137
2018-04-04 08:22:05 -07:00
Dirk Luijk
dd615950d5 fix(forms): improve error message for invalid value accessors (#22731)
Signed-off-by: Dirk Luijk <mail@dirkluijk.nl>

PR Close #22731
2018-04-04 08:20:56 -07:00
Jason Bedard
ae76eeca6a fix(upgrade): propagate return value of resumeBootstrap (#22754)
Fixes #22723

PR Close #22754
2018-04-02 14:20:59 -07:00
Shannon Dunn
f43fba64cc fix(upgrade): correctly handle downgraded OnPush components (#22209)
Fixes #14286

PR Close #22209
2018-04-02 14:12:46 -07:00
George Kalpakas
4473da7de7 ci(aio): add monitoring for angular.io (#23093)
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 #23093
2018-03-30 15:27:21 -07:00
George Kalpakas
55eaeb17d9 fix(aio): fix SW routing RegExp to allow redirecting /api/animate URLs (#23093)
PR Close #23093
2018-03-30 15:27:21 -07:00
George Kalpakas
0614b2b941 refactor(aio): move deployment config tests and helpers around (#23093)
This commit prepares the ground for adding different types of tests.

PR Close #23093
2018-03-30 15:27:21 -07:00
George Kalpakas
650c6e56ec fix(aio): wait for the app to stabilize before registering the SW (#23093)
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 #23093
2018-03-30 15:27:21 -07:00
Victor Berchet
4f7c369847 fix(compiler): fix support for html-like text in translatable attributes (#23053)
PR Close #23053
2018-03-29 08:58:29 -07:00
Teamop
e7b2e97b46 style(aio): fix typo in the scrollbar (#23064)
PR Close #23064
2018-03-29 08:57:43 -07:00
George Kalpakas
0d4fe38a09 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:18 -07:00
George Kalpakas
ae9c25ff3d 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:18 -07:00
George Kalpakas
d0f575bc54 test(service-worker): minor test fixes and refactorings (#22883)
PR Close #22883
2018-03-28 10:02:18 -07:00
Joey Perrott
776bb8206f build: update browserstack key (#23026)
PR Close #23026
2018-03-27 14:56:13 -04:00
George Kalpakas
d7f4aa6936 docs(common): add HttpParamsOptions to the public API (#20332)
Fixes #20276

PR Close #20332
2018-03-23 16:31:11 -04:00
George Kalpakas
4be8b3f481 docs: update available platforms for test.sh (#22958)
PR Close #22958
2018-03-23 14:01:46 -04:00
Alberto Piras
8d1e64004b docs(aio): fix TS warning error - filter expects a boolean function param (#22954)
PR Close #22954
2018-03-23 13:07:58 -04:00
Alex Eagle
49f6d1d02e build: rm --noimplicit_deps from bazel query (#22912)
I added this option for demos, so that it would be easier to see a graphviz graph of the dependency structure without all the node_modules edges.

However, `ibazel` picks up this option as well, and means it doesn't trigger on changes that only appear through an implicit dependency.
PR Close #22912
2018-03-22 18:03:39 -04:00
Matias Niemelä
641cc493ff fix(animations): avoid animation insertions during router back/refresh (#21977)
Closes #19712

PR Close #21977
2018-03-22 17:59:41 -04:00
Jinhyuk Kim
a846abbb95 docs: fix a typo in aot compiler guide (#22876)
PR Close #22876
2018-03-21 13:20:51 -07:00
Andrew Seguin
50761fb73e test: remove gulp public-api:update docs (#22914)
PR Close #22914
2018-03-21 13:15:23 -07:00
adasilva
65f8943aab fix(service-worker): fix LruList bugs (#22769)
'remove' method not removing url from state.map
'accessed' method not removing 'previous' reference from existing  node when it becomes the head

Fixes #22218
Fixes #22768

PR Close #22769
2018-03-21 13:11:27 -07:00
Domas Trijonis
5391f96406 fix(upgrade): two-way binding and listening for event (#22772)
Changes would not propagate to a value in downgraded component in case you had two-way binding and listening to a value-change, e.g. [(value)]="value" (value-change)="fetch()"

Closes #22734

PR Close #22772
2018-03-19 22:44:36 -05:00
Igor Minar
aca4735c8b ci: update yarn.lock (#22857) 2018-03-19 06:42:31 -07:00
Igor Minar
9ee2e9e032 ci: improve logging when running aio/examples e2e tests (#22854)
PR Close #22854
2018-03-18 13:57:00 -07:00
Igor Minar
2fe7595235 build: update to zone.js@0.8.20 (#22854)
PR Close #22854
2018-03-18 13:57:00 -07:00
Igor Minar
1dd7cebad1 build: remove obsolete rollup-test (#22854)
PR Close #22854
2018-03-18 13:57:00 -07:00
Judy Bogart
2731ecafbf docs: incorporate suggestions and corrections from gkalpak (#21569)
PR Close #21569
2018-03-15 14:48:35 -07:00
Judy Bogart
e1b82a0a64 docs(aio): update architecture section (#21569)
PR Close #21569
2018-03-15 14:48:35 -07:00
Igor Minar
bbd54285d8 build: update to tsickle@0.27.2 (#22789)
PR Close #22789
2018-03-15 11:41:43 -07:00
Victor Berchet
7d9de17935 build: add release helper scripts (#22378) (#22781)
PR Close #22378

PR Close #22781
2018-03-15 11:38:14 -07:00
Chuck Jazdzewski
db0afa9394 fix(compiler-cli): emit correct css string escape sequences (#22776)
Works around an issue with TypeScript 2.6 and 2.7 that causes
the tranformer emit to emit incorrect escapes for css string
literals.

Fixes: #22774

PR Close #22776
2018-03-15 11:37:51 -07:00
Kara Erickson
5298b2bda3 docs: add changelog for 5.2.9 5.2.9 2018-03-14 14:59:27 -07:00
Kara Erickson
25ae886cad release: cut the 5.2.9 release 2018-03-14 14:56:14 -07:00
Adam Plumer
fc6dfc2e08 fix(platform-server): add styles to elements correctly (#22527)
* Partially reverts #22263 due to lack of total spec compliance
  on the server
* Maintains the camel-case styles fix

PR Close #22527
2018-03-14 14:12:32 -07:00
Suguru Inatomi
c0670ef52d docs(aio): add ng-japan 2018 to events (#22750)
ng-japan 2018 will be held at June 16 in Tokyo, Japan! 

https://ngjapan.org/en.html
PR Close #22750
2018-03-14 10:59:57 -07:00
Pete Bacon Darwin
fe96cafd03 fix(aio): constrain error logging to improve reporting (#22713)
The `Logger.error()` method now only accepts a single `Error` parameter
and passes this through to the error handler.
This allows the error handler to serialize the error more accurately.

The various places that use `Logger.error()` have been updated.

See #21943#issuecomment-370230047

PR Close #22713
2018-03-14 10:52:12 -07:00