871 Commits

Author SHA1 Message Date
Alan Agius
ca1ff3ea11 docs: update update guide to use ng update instead of npm i ()
For more context see: https://github.com/angular/angular-cli/issues/16021

Closes: https://github.com/angular/angular-cli/issues/16021

PR Close 
2019-11-11 09:40:08 -08:00
Kara Erickson
1d429b2165 docs: add AOT mode default to version 9 upgrade doc ()
PR Close 
2019-11-08 15:38:40 -08:00
Németh Tamás
b97577bd94 docs: grammar fix ()
PR Close 
2019-11-08 14:40:58 -08:00
Németh Tamás
4385cbaa65 docs: add missing word ()
PR Close 
2019-11-08 14:40:58 -08:00
Daniele Morosinotto
98766b1d07 docs: fix migration-renderer code snippets ()
Fix code snippets for migration-renderer.md found in next.angular.io
PR Close 
2019-11-08 12:43:20 -08:00
Alan Agius
570936e39f docs: add ivy ssr opt-out ()
PR Close 
2019-11-08 10:54:31 -08:00
Shibasish
43ffe7257a docs: describe your change... ()
Grammatical changes
PR Close 
2019-11-08 10:52:17 -08:00
Kara Erickson
c4fbd0bef7 docs: update ivy compatibility guide with latest changes ()
This commit removes one of the expected Ivy changes because we have
decided to change the behavior to be more backwards-compatible.

It also adds a bug fix that is technically breaking to the list of
expected changes.

PR Close 
2019-11-08 10:51:52 -08:00
Santosh Yadav
0ca2a390d5 docs: app-name not rendering on browser ()
Fixes 

PR Close 
2019-11-07 20:31:48 +00:00
Srichandradeep Choudarapu
1bd8fdb766 docs: add missing parenthesis ()
PR Close 
2019-11-05 21:08:59 +00:00
Eliran Eliassy
29007e406d docs(core): remove duplicate 'because' ()
PR Close 
2019-11-05 21:07:17 +00:00
Geoff Bass
5bc1b6f9ac docs: remove redundant word from template syntax guide ()
PR Close 
2019-11-05 00:54:47 +00:00
Brian Michalski
e3189f97ff docs: Update link to angular + bazel example app ()
http://github.com/angular/angular-bazel-example has been moved to rules_nodejs monorepo.
PR Close 
2019-11-04 20:07:37 +00:00
TheMushr00m
66ab701606 docs: add example of a server in ruby for deployment ()
PR Close 
2019-10-31 22:22:01 +00:00
Geoff Bass
64ac106248 docs: fix typo in Observables in Angular guide ()
change `ActivateRoute` to `ActivatedRoute`
PR Close 
2019-10-31 22:21:00 +00:00
Kara Erickson
7355906a95 docs: add detailed example to ContentChildren change ()
PR Close 
2019-10-31 13:54:47 -07:00
vikerman
12703d5601 docs: update to use latest 8.3.x CLI ()
Change the "Updating to v9" docs to reflect that we want to use the latest 8.3.x CLI build for updating and not just 8.3.15.

PR Close 
2019-10-31 11:55:58 -07:00
Judy Bogart
e4ebffab8d docs: fix format in ivy page ()
PR Close 
2019-10-31 10:32:22 -07:00
Kapunahele Wong
c35587ba56 docs: add template type-checking guide ()
PR Close 
2019-10-30 13:49:18 -07:00
Judy Bogart
fba72f0d4d docs: rewrite ivy page, add template typecheck doc ()
PR Close 
2019-10-30 10:39:26 -07:00
Andrew Kushnir
5666d11633 docs: adding a note on ICU processing to Ivy compatibility guide ()
PR Close 
2019-10-29 17:16:30 -07:00
John Ralph Umandal
ba0c178dbb docs: fixed cli ng update reference link ()
The automated link for ng update is currently going to the 
wrong page. Edit directs them to the correct page.
PR Close 
2019-10-29 14:03:52 -07:00
Igor Minar
afa50838a7 docs: update instructions for v9 to reflect cli update ()
PR Close 
2019-10-29 11:43:12 -07:00
thanhpd
27745c5d8c docs: added missing whitespaces ()
PR Close 
2019-10-29 11:40:48 -07:00
thanhpd
2f6c97e93c docs: remove redundant whitespaces and fix minor typos ()
PR Close 
2019-10-29 11:39:17 -07:00
Kara Erickson
3505692f75 docs: add @next to update instructions ()
PR Close 
2019-10-25 13:01:04 -07:00
Kara Erickson
49bfc7421a docs: add ivy compatibility guide ()
PR Close 
2019-10-25 09:34:01 -07:00
Kara Erickson
01455d70e3 docs: re-organize version 9 guide ()
PR Close 
2019-10-25 09:34:01 -07:00
Andrus Diaz
2f3812a1ef docs: add example of a server in golang for deployment ()
PR Close 
2019-10-24 09:51:05 -07:00
Alex Rickabaugh
f1269d98dc feat(ivy): input type coercion for template type-checking ()
Often the types of an `@Input`'s field don't fully reflect the types of
assignable values. This can happen when an input has a getter/setter pair
where the getter always returns a narrow type, and the setter coerces a
wider value down to the narrow type.

For example, you could imagine an input of the form:

```typescript
@Input() get value(): string {
  return this._value;
}

set value(v: {toString(): string}) {
  this._value = v.toString();
}
```

Here, the getter always returns a `string`, but the setter accepts any value
that can be `toString()`'d, and coerces it to a string.

Unfortunately TypeScript does not actually support this syntax, and so
Angular users are forced to type their setters as narrowly as the getters,
even though at runtime the coercion works just fine.

To support these kinds of patterns (e.g. as used by Material), this commit
adds a compiler feature called "input coercion". When a binding is made to
the 'value' input of a directive like MatInput, the compiler will look for a
static field with the name ngAcceptInputType_value. If such a field is found
the type-checking expression for the input will use the static field's type
instead of the type for the @Input field,allowing for the expression of a
type conversion between the binding expression and the value being written
to the input's field.

To solve the case above, for example, MatInput might write:

```typescript
class MatInput {
  // rest of the directive...

  static ngAcceptInputType_value: {toString(): string};
}
```

FW-1475 #resolve

PR Close 
2019-10-24 09:49:38 -07:00
Igor Minar
c79d6ec502 docs: deprecate esm5 and fesm5 code distribution in our npm packages ()
See diff for more info.

PR Close 
2019-10-23 16:39:36 -07:00
Stefanie Fluin
ba29e4d953 feat(docs-infra): implement figure styles ()
PR#28396 originally addressed an update via issue  to make images more visible with a white background (implementation of gray "lightbox").

This PR implements those styles defined in PR#28396.

PR Close 
2019-10-23 12:59:34 -07:00
ODAVING
1b607529a6 docs: fix spelling error in angular component ()
change component class section of the docs

Closes 

PR Close 
2019-10-23 11:46:41 -07:00
Keen Yee Liau
2ecc4c7886 docs: Fix appHighlightColor typo ()
In the example, there's no directive nor input that's named `appHighlightColor`.
It should be `appHighlight`, referring to the input binding.

PR Close 
2019-10-23 11:08:17 -07:00
Kara Erickson
ed4d96f858 docs: add migrating to version 9 guide ()
This commit adds a guide to AIO navigation for
"Migrating to Version 9" and moves the schematics
section into the guide that previously lived in
the deprecations page. It also pastes a snippet
of the deprecations page in the new guide so users
don't have to filter out deprecations they've seen
before.

Note: Ivy compatibility section is coming up in a
follow-up PR.

PR Close 
2019-10-23 09:11:40 -07:00
Kara Erickson
383457f898 docs: clean up deprecation guide ()
PR Close 
2019-10-23 09:11:13 -07:00
cexbrayat
c0b90c2010 docs: update localize migration doc ()
The error message has been updated in  to mention `ng add @angular/localize`.

This also fixes the tslint config (it needs to mention the complete side effect import).

PR Close 
2019-10-23 09:10:01 -07:00
Kapunahele Wong
398ff1e7e7 docs: add ModuleWithProviders deprecation ()
PR Close 
2019-10-22 14:35:27 -07:00
Kapunahele Wong
b3d6d500be docs: add ngcc postinstall migration doc ()
PR Close 
2019-10-22 14:26:15 -07:00
Kapunahele Wong
1b8b04cf26 docs: add ModuleWithProviders migration doc ()
PR Close 
2019-10-22 12:00:44 -07:00
TinyMan
ec482dadb1 docs: clarrify use of sw behind redirect ()
Closes 

PR Close 
2019-10-21 16:50:52 -04:00
Carlos Ortiz García
717bace7ba docs(core): Document TestBed.get deprecation ()
It was replaced by TestBed.inject, documenting such change.

PR Close 
2019-10-21 15:54:42 -04:00
Diego Juliao
160547dad6 docs: update deployers table with ngx-deploy-npm ()
ngx-deploy-npm is a custom deployer to publish Angular libraries to NPM

PR Close 
2019-10-21 11:28:18 -04:00
Alan Agius
755a80c7ec docs: update universal docs for new ivy implementation ()
PR Close 
2019-10-21 11:25:44 -04:00
Judy Bogart
8d44b5edac docs: edit and organize language service doc ()
PR Close 
2019-10-18 18:19:05 -04:00
Kapunahele Wong
32b042014d docs: add field decorators to undecorated classes migration ()
PR Close 
2019-10-18 16:31:10 -04:00
Kapunahele Wong
940fbbb014 docs: add localize migration doc ()
PR Close 
2019-10-18 16:30:39 -04:00
crisbeto
1799f621b7 refactor(core): deprecate entryComponents ()
With Ivy the `entryComponents` array isn't necessary anymore. These changes mark it as deprecated so that it can be removed in a future version.

PR Close 
2019-10-18 16:29:23 -04:00
Amadou Sall
01d3599f32 docs: clarify instructions on where to create the proxy.conf.json file ()
PR Close 
2019-10-18 14:40:57 -04:00
Olivier Combe
9e7668f16b fix(common): remove deprecated support for intl API ()
BREAKING CHANGE:
In v5, we deprecated support for the intl API in order to improve the browser support. We are now removing these deprecated APIs for v9. See the original change here for more info on why: .

PR Close 
2019-10-17 20:44:17 -04:00