Alex Eagle
4ae0ee86cb
fix(bazel): update peerDep ranges ( #30155 )
...
PR Close #30155
2019-04-26 12:32:35 -07:00
Marc Laval
6c86ae710a
fix(ivy): output should not be subscribe twice when 2 listeners ( #30144 )
...
PR Close #30144
2019-04-26 11:11:09 -07:00
Ben Lesh
f3ce8eeb83
fix(ivy): property bindings use correct indices ( #30129 )
...
- Extracts and documents code that will be common to interpolation instructions
- Ensures that binding indices are updated at the proper time during compilation
- Adds additional tests
Related #30011
PR Close #30129
2019-04-26 11:09:51 -07:00
Filipe Silva
876ceb3688
docs: remove note about ivy being coupled to dynamic import ( #30151 )
...
PR Close #30151
2019-04-26 11:08:51 -07:00
Alan Agius
ee12c45473
build: bazel ts-api-guardian usage fails on workspaces which don't depend on chalk ( #30138 )
...
When using the npm package in a workspace which doesn't depend on chalk, ts-api-guardian fails with an error `Error: Cannot find module 'chalk'`
PR Close #30138
2019-04-26 11:08:05 -07:00
Keen Yee Liau
1f4c380f58
fix(bazel): Exclude common/upgrade* in metadata.tsconfig.json ( #30133 )
...
It has a dependency on @angular/upgrade which is not part of the
dependencies in package.json, so postinstall would fail.
PR Close #30133
2019-04-26 11:07:34 -07:00
Ben Lesh
b9f0720c95
refactor(ivy): undeprecate inject ( #30132 )
...
PR Close #30132
2019-04-26 11:06:42 -07:00
Kara Erickson
71b8b355a6
fix(ivy): remove debug utilities from ivy production builds ( #30130 )
...
Prior to this commit, we were pulling DebugNode and DebugElement
into production builds because BrowserModule automatically pulled
in NgProbe and thus getDebugNode. In Ivy, this is not necessary
because Ivy has its own set of debug utilities. We should use these
existing tools instead of NgProbe.
This commit adds an Ivy switch so we do not pull in NgProbe utilities
when running with Ivy. This saves us ~8KB in prod builds.
PR Close #30130
2019-04-26 11:04:47 -07:00
Joey Perrott
f45684ff95
ci: enable github bot CI rerun feature ( #29098 )
...
PR Close #29098
2019-04-26 10:45:12 -07:00
Igor Minar
5b134caf2d
ci: don't sync most of /modules/** except for benchmarks ( #30135 )
...
we don't need these files in g3 and they just create sync noise.
CL to remove this from g3 is: cl/245342562
PR Close #30135
2019-04-25 18:24:43 -07:00
Andrew Kushnir
fcacb2a4a2
test: update payload size limit for cli-hello-world app ( #30134 )
...
Master is red due to a size regression that was not caught before. We are making this change to bring master back to green state and will perform further investigation.
PR Close #30134
2019-04-25 18:03:48 -07:00
Max Kramer
933772ed69
docs(aio): clarify "next to" as "same directory" ( #30099 )
...
closes #29337
PR Close #30099
2019-04-25 17:20:29 -07:00
Andrew Kushnir
a03a9236f2
release: cut the v8.0.0-rc.0 release
2019-04-25 16:05:26 -07:00
Brandon Roberts
6de4cbdd41
fix(common): add upgrade sub-package to ng_package rule for @angular/common ( #30117 )
...
Follow-up to #30055 to include @angular/common/upgrade in the npm package
Closes #30116
PR Close #30117
2019-04-25 15:01:17 -07:00
Greg Magolan
61365a94ed
fix(bazel): transitive npm deps in ng_module ( #30065 )
...
BREAKING CHANGE:
ng_module now depends on a minimum of build_bazel_rules_nodejs 0.27.12
PR Close #30065
2019-04-25 14:42:02 -07:00
Adam Plumer
3a9d2473ca
feat: remove deprecated DOCUMENT token from platform-browser ( #28117 )
...
PR Close #28117
2019-04-25 14:40:16 -07:00
Peter Johan Salomonsen
6200732e23
feat(service-worker): support bypassing SW with specific header/query param ( #30010 )
...
Add support for bypassing the ServiceWorker for a request by using the
ngsw-bypass header or query parameter.
Fixes #21191
PR Close #30010
2019-04-25 13:09:44 -07:00
Pete Bacon Darwin
304a12f027
feat(compiler): support skipping leading trivia in template source-maps ( #30095 )
...
Leading trivia, such as whitespace or comments, is
confusing for developers looking at source-mapped
templates, since they expect the source-map segment
to start after the trivia.
This commit adds skipping trivial characters to the lexer;
and then implements that in the template parser.
PR Close #30095
2019-04-25 12:36:54 -07:00
George Kalpakas
acaf1aa530
build(docs-infra): switch from no-op no-jasmine-focus tslint rule to ban ( #29926 )
...
The `no-jasmine-focus` rule has been removed from
`vrsource-tslint-rules` [since version 5.8.0][1] (theoretically;
practically it remained [until version 5.8.2][2]).
This commit removes the non-existent rule (and the obsolete dependency)
and uses tslint's `ban` rule instead (as recommended).
[1]: https://github.com/vrsource/vrsource-tslint-rules/commit/477f622cb2b6adb66eecce69a122834920cee7a0#diff-04c6e90faac2675aa89e2176d2eec7d8R162
[2]: https://github.com/vrsource/vrsource-tslint-rules/pull/13#issuecomment-442053340
PR Close #29926
2019-04-25 12:32:49 -07:00
George Kalpakas
282167a37f
build(docs-infra): upgrade tslint to 5.15.0 and codelyzer to 5.0.0 ( #29926 )
...
This commit also changes the `tslint.json` config file to (reasonably
closely) match what the cli would generate for a new app.
PR Close #29926
2019-04-25 12:32:49 -07:00
George Kalpakas
eb85c8a742
build(docs-infra): make type-checking stricter by enabling noImplicitAny ( #29926 )
...
PR Close #29926
2019-04-25 12:32:49 -07:00
George Kalpakas
2002db28ff
build(docs-infra): remove obsolete ie-polyfills.js ( #29926 )
...
Now that defferential loading it supported by the cli, remove the
obsolete `ie-polyfills.js` (and associated dependencies).
All polyfills in `ie-polyfills.js` are now included in the
[polyfills-es5][1] bundle, except for `classlist.js`, that is only
needed in order to support `NgClass` on SVG elements, which we don't
use.
[1]: https://github.com/angular/angular-cli/blob/b95933a57/packages/angular_devkit/build_angular/src/angular-cli-files/models/es5-polyfills.js
PR Close #29926
2019-04-25 12:32:49 -07:00
George Kalpakas
6c1ae294dc
build(docs-infra): upgrade @angular/cli to 8.0.0-beta.18 ( #29926 )
...
This commit also changes the config files and their layout to
(reasonably closely) match what the cli would generate for a new app.
Related Jira issue: [TOOL-815](https://angular-team.atlassian.net/browse/TOOL-815 )
PR Close #29926
2019-04-25 12:32:49 -07:00
George Kalpakas
b8298f1b2d
build(docs-infra): upgrade @angular/material to 8.0.0-beta.2 ( #29926 )
...
PR Close #29926
2019-04-25 12:32:48 -07:00
George Kalpakas
3def652e18
build(docs-infra): upgrade @angular/* to 8.0.0-beta.14 ( #29926 )
...
PR Close #29926
2019-04-25 12:32:48 -07:00
Martin Mädler
909557d5f8
feat(core): add missing ARIA attributes to html sanitizer ( #29685 )
...
Allow ARIA attributes from the WAI-ARIA 1.1 spec which were stripped by the htmlSanitizer.
Closes #26815
PR Close #29685
2019-04-25 12:30:55 -07:00
George Kalpakas
957f594d7c
test(service-worker): add tests for RegistrationOptions#registrationStrategy ( #21842 )
...
PR Close #21842
2019-04-25 12:29:59 -07:00
George Kalpakas
8f120aff33
refactor(service-worker): DRY up SW registration logic ( #21842 )
...
PR Close #21842
2019-04-25 12:29:58 -07:00
JiaLi.Passion
4cfba58072
feat(service-worker): allow configuring when the SW is registered ( #21842 )
...
Fixes #20970
PR Close #21842
2019-04-25 12:29:58 -07:00
George Kalpakas
aa53d6cc6d
docs(service-worker): improve SwRegistrationOptions docs and add example ( #21842 )
...
PR Close #21842
2019-04-25 12:29:58 -07:00