041458a3d2
build(aio): update to angular/core@6.0.0-rc.5 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
2cb74b748f
style(aio): lint fixes for examples ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
cb0bfe7a43
test(aio): fix tests and update testing infra ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
8ee11aeaa6
build(aio): update tslint and codelyzer ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
bf89fcb361
build(aio): fix deployment script ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
4f70c5b6f7
build(aio): upgrade @angular/cli
to 6.0.0-rc.4
( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
ad3ebec2a5
build(aio): upgrade @angular/*
to 6.0.0-rc.4
( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
3f5d61f2dd
build(aio): remove redundant flags from cli commands ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
11ada7f78b
build(aio): switch to webpack-cli
for IE polyfills ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
0b96bc7456
build(aio): upgrade rxjs
to 6.0.0-turbo-rc.4
( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
fefadadff3
ci: chown bazel-built packages when running integration tests ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
946057ae29
build: update to rxjs@6.0.0-uncanny-rc.7 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
d4293aaaaa
build: remove a postinstall-patch to fix rxjs ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
e3dcc227f6
build(aio): reorder entries in package.json ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
c9230dd90e
build: fix angular.json that was missing keys due to cli bugs ( #23234 )
...
https://github.com/angular/angular-cli/issues/10225
https://github.com/angular/angular-cli/issues/10226
PR Close #23234
2018-04-17 14:09:04 -07:00
234af9ba59
build(aio): update to @angular/material@6.0.0-rc.1 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
7204028d3e
build(aio): update to @angular/material@5.2.4 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
f7c55952bf
build: update to rxjs@6.0.0-tactical-rc.1 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
e38e3bd135
test: simplify config for cli-hello-world ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
cd20c01ba1
test: update cli-hello-world to cli@6.0.0-rc.2 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
12a191ef3f
build(aio): update to @angular/cli@6.0.0-rc.2 + project layout update ( #23234 )
...
project layout was updated using:
yarn ng update @angular/cli --migrate-only --from=1.7.3
PR Close #23234
2018-04-17 14:09:04 -07:00
65e67b3c3a
build(aio): upgrade to @angular/*@6.0.0-rc.3 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
32e57f6197
build(aio): upgrade to @angular/*@6.0.0-rc.2 ( #23234 )
...
PR Close #23234
2018-04-17 14:09:04 -07:00
7de69ba29b
ci(aio): fix aio-monitoring
tests ( #23390 )
...
Previously, we were running the e2e tests from master against
`https://angular.io ` (deployed from the stable branch). Often the e2e
tests from master do not apply to the stable branch, since the app has
deviated slightly.
This commit fixes this by stop running the full e2e tests against the
deployed versions, but a smaller set of "smoke tests", which check basic
functionality that is less likely to change between versions.
PR Close #23390
2018-04-17 13:45:38 -07:00
44193c0b94
refactor(aio): rename directory (tests/deployment-config --> tests/deployment) ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
6db8241ffa
refactor(aio): rename spec file ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
33c594516c
refactor(aio): rename yarn script (deployment-config-test --> redirects-test) ( #23390 )
...
PR Close #23390
2018-04-17 13:45:38 -07:00
010a4efa8c
docs(aio): Fixed typo in 'comparing observables -> Observabled compared ( #23407 )
...
to arrays' section.
PR Close #23407
2018-04-17 13:43:45 -07:00
c3280b2c2f
docs(aio): change HeroService
to MessagesComponent
( #23397 )
...
Someone probably forgot to change this when coping the sentence from a previous section.
PR Close #23397
2018-04-16 09:01:58 -07:00
d11b249d36
docs(aio): change HeroDetailsComponent
to HeroDetailComponent
( #23397 )
...
For the sake of consistency, change `HeroDetailsComponent` to `HeroDetailComponent`.
PR Close #23397
2018-04-16 09:01:58 -07:00
9c29127723
docs: document how to enable service worker using ng add command ( #23348 )
...
PR Close #23348
2018-04-16 08:57:13 -07:00
43615604d1
docs: add changelog for the v4.4.7 release
2018-04-16 03:09:48 -06:00
d9792309ec
docs: release notes for the 5.2.10 release
2018-04-16 01:44:59 -06:00
fd1c39ce42
docs: update lifecycle hooks section in cheatsheet ( #23320 )
...
PR Close #23320
2018-04-15 23:44:44 -07:00
896811df64
docs(aio): add missing word in the Component metadata section ( #23384 )
...
PR Close #23384
2018-04-15 23:36:55 -07:00
fb59b2dd97
fix(service-worker): add badge to NOTIFICATION_OPTION_NAMES ( #23241 )
...
Add badge to NOTIFICATION_OPTION_NAMES to support custom notification badge/icon.
Fixes #23196
PR Close #23241
2018-04-15 23:23:37 -07:00
b64a276d4b
refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private ( #23371 ) ( #23383 )
...
Ivy definition looks something like this:
```
class MyService {
static ngInjectableDef = defineInjectable({
…
});
}
```
Here the argument to `defineInjectable` is well known public contract which needs
to be honored in backward compatible way between versions. The type of the
return value of `defineInjectable` on the other hand is private and can change
shape drastically between versions without effecting backwards compatibility of
libraries publish to NPM. To our users it is effectively an opaque token.
For this reson why declare the return value of `defineInjectable` as `never`.
PR Close #23383
2018-04-14 20:40:14 -07:00
815ae29b83
build: add '@angular/elements' the framework package group
2018-04-14 03:48:32 -07:00
8f690c9062
docs: add changelog for 6.0.0-rc.5
6.0.0-rc.5
2018-04-14 03:01:08 -07:00
7b63f861c6
release: cut the 6.0.0-rc.5
2018-04-14 02:59:02 -07:00
674c3def31
revert: refactor(ivy): make return value of define(Component|Directive|Pipe|Injector|Injectable) private ( #23371 )
...
This reverts commit 2c09b707ce
.
2018-04-13 23:02:29 -07:00
80e483ceac
fix(ivy): add unparsed selectors to the projectionDef
instruction ( #23375 )
...
PR Close #23375
2018-04-13 21:46:19 -07:00
ac683d7abb
refactor(ivy): cleanup of the view compiler ( #23375 )
...
PR Close #23375
2018-04-13 21:46:19 -07:00
33630dd3ed
fix(ivy): workaround for tsickle bug ( #23379 )
...
The issue is with tsickle type inference and the bug should be assigned to them.
The offending code is:
```
function cacheMatchingDirectivesForNode(
tNode: TNode, tView: TView, localRefs: string[] | null): void {
const exportsMap = localRefs ? {'': -1} : null; // <<<<< ===== OFFENDING LINE
const matches = tView.currentMatches = findDirectiveMatches(tNode);
if (matches) {
for (let i = 0; i < matches.length; i += 2) {
const def = matches[i] as DirectiveDef<any>;
const valueIndex = i + 1;
resolveDirective(def, valueIndex, matches, tView);
saveNameToExportMap(matches[valueIndex] as number, def, exportsMap);
}
}
if (exportsMap) cacheMatchingLocalNames(tNode, localRefs, exportsMap);
}
```
because it generates invalid js closure code:
```
function cacheMatchingDirectivesForNode(tNode, tView, localRefs) {
const /** @type {(null|{: number})} */ exportsMap = localRefs ? { '': -1 } : null; // <<<<< ===== OFFENDING LINE
const /** @type {(null|!Array<?>)} */ matches = tView.currentMatches = findDirectiveMatches(tNode);
if (matches) {
for (let /** @type {number} */ i = 0; i < matches.length; i += 2) {
const /** @type {!tsickle_forward_declare_11.DirectiveDef<?>} */ def = /** @type {!tsickle_forward_declare_11.DirectiveDef<?>} */ (matches[i]);
const /** @type {number} */ valueIndex = i + 1;
resolveDirective(def, valueIndex, matches, tView);
saveNameToExportMap(/** @type {number} */ (matches[valueIndex]), def, exportsMap);
}
}
if (exportsMap)
cacheMatchingLocalNames(tNode, localRefs, exportsMap);
}
```
The workaround is to declare the type explicitly such as:
```
const exportsMap: ({[key:string]:number}|null) = localRefs ? {'': -1} : null;
```
which than generates valid closure code:
```
const /** @type {(null|!Object<string,number>)} */ exportsMap = localRefs ? { '': -1 } : null;
```
PR Close #23379
2018-04-13 21:29:39 -07:00
7e581dab5f
ci: remove travis e2e_2 job ( #22810 )
...
The only remaining test can run in the first e2e travis shard.
This also removes the last thing needing bazel available on Travis.
PR Close #22810
2018-04-13 16:30:50 -07:00
102ed3b03c
test: move platform-server integration test ( #22810 )
...
Now it lives in our standard location for tests against npm packages
PR Close #22810
2018-04-13 16:30:50 -07:00
29b838c35d
ci: define common env vars in CircleCI job ( #22810 )
...
PR Close #22810
2018-04-13 16:30:50 -07:00
328b48b697
test: integration tests now against bazel built packages ( #22810 )
...
PR Close #22810
2018-04-13 16:30:50 -07:00
d1177c75f8
refactor: update CLDR data for closure locale & use a const for undefined ( #23372 )
...
PR Close #23372
2018-04-13 16:30:23 -07:00
12f90ef428
build: move ngcontainer sources to angular/angular ( #23374 )
...
These were previously at https://github.com/alexeagle/ngcontainer
PR Close #23374
2018-04-13 16:27:59 -07:00