Andrew Kushnir
3567e81175
fix(ivy): restore missing match operation in View and Content Queries ( #26847 )
...
PR Close #26847
2018-11-07 16:29:19 -08:00
Kara Erickson
ff2ee644b4
release: cut the v7.1.0-beta.2 release
2018-11-07 12:23:59 -08:00
Kara Erickson
b57ce9299a
docs: release notes for the v7.0.3 release
2018-11-07 12:15:08 -08:00
Kara Erickson
9e26216c40
fix(ivy): compiler should generate bindings to host attrs properly ( #26973 )
...
PR Close #26973
2018-11-07 11:09:31 -08:00
Kara Erickson
a4398aa17f
docs(forms): update description for FormBuilder.group ( #26970 )
...
PR Close #26970
2018-11-07 10:39:12 -08:00
Miško Hevery
53e4e0c1a3
fix(ivy): Enable AoT tests to run on CI; disable failing tests ( #26975 )
...
PR Close #26975
2018-11-07 10:35:20 -08:00
Miško Hevery
5e769d9a25
fix(ivy): add `nocollapse` to ngInjectableDef for closure compatibility ( #26975 )
...
PR Close #26975
2018-11-07 10:35:20 -08:00
Matias Niemelä
931a363612
fix(ivy): use `window.ng` instead of `window.ngDev` for debug tooling ( #26951 )
...
PR Close #26951
2018-11-06 17:08:37 -08:00
Kara Erickson
3ca1a57f81
test(ivy): run forms tests with ivy on ci ( #26968 )
...
PR Close #26968
2018-11-06 15:09:35 -08:00
Marc Laval
297c54ebb3
fix(ivy): support env where requestAnimationFrame is not available ( #26779 )
...
PR Close #26779
2018-11-06 11:49:32 -08:00
Kara Erickson
dc2464eaaa
fix(ivy): jit should handle undefined type in constructor deps ( #26956 )
...
PR Close #26956
2018-11-06 11:22:14 -08:00
George Kalpakas
7dbc103cbe
fix(upgrade): improve downgrading-related error messages ( #26217 )
...
Make the error messages thrown when instantiating downgraded components,
injectables and modules more descriptive and actionable, also taking
into account incorrect use of the `downgradedModule` field.
PR Close #26217
2018-11-05 16:33:55 -08:00
George Kalpakas
93837e9545
feat(upgrade): support downgrading multiple modules ( #26217 )
...
Currently, calling `downgradeModule()` more than once is not supported.
If one wants to downgrade multiple Angular modules, they can create a
"super-module" that imports all the rest and downgrade that.
This commit adds support for downgrading multiple Angular modules. If
multiple modules are downgraded, then one must explicitly specify the
downgraded module that each downgraded component or injectable belongs
to, when calling `downgradeComponent()` and `downgradeInjectable()`
respectively.
No modification is needed (i.e. there is no need to specify a module for
downgraded components and injectables), if an app is not using
`downgradeModule()` or if there is only one downgraded Angular module.
Fixes #26062
PR Close #26217
2018-11-05 16:33:55 -08:00
George Kalpakas
6c5c97b2f9
refactor(upgrade): use a constant for `$exceptionHandler` ( #26217 )
...
PR Close #26217
2018-11-05 16:33:54 -08:00
Brandon Roberts
099d1a67a0
docs(forms): update reactive form directives API reference ( #26823 )
...
PR Close #26823
2018-11-05 15:11:42 -08:00
Huáng Jùnliàng
6744b19297
refactor(compiler): typo ( #25496 )
...
PR Close #25496
2018-11-05 12:53:04 -08:00
Fabio Picheli
f9a4abb6dc
fix: missing semi-colon and empty line ( #26945 )
...
PR Close #26945
2018-11-05 11:37:55 -08:00
Kara Erickson
4e4bca6bbc
Revert "fix(ivy): correct ngtsc path handling in Windows ( #26703 )"
...
This reverts commit d0037b22ef
. The commit must be temporarily reverted because
there were unforeseen breakages in g3.
2018-11-05 11:18:52 -08:00
JoostK
d0037b22ef
fix(ivy): correct ngtsc path handling in Windows ( #26703 )
...
As it turns out, the usage of path.posix does not unify path handling
across operating systems. Instead, canonical-path is used to ensure
path handling is consistent, avoiding incorrect paths in Windows.
See https://github.com/angular/angular/pull/25862#discussion_r216157914
PR Close #26703
2018-11-05 09:56:20 -08:00
George Kalpakas
d568d7a352
ci: make `integration_test` job logs less verbose ( #26929 )
...
Follow-up for 804fb99d6
.
PR Close #26929
2018-11-05 09:53:49 -08:00
Igor Minar
86d41a1db9
docs: new GitHub Issue templates ( #26918 )
...
These templates take advatange of github's feature that allows
us to define multiple templates and which the UI presents to the
user and lets them choose the most appropriate template.
The goal of this is to tailor the templates to the templates to
various use-cases and bug categories and provide better guidance to
developers filing issues which should result in more efficient
processing of the issue backlog.
PR Close #26918
2018-11-05 09:51:14 -08:00
Andrew Grekov
e6a0c45674
style(compiler): typo fix ( #26934 )
...
PR Close #26934
2018-11-05 09:49:22 -08:00
Misko Hevery
7d2a746090
build: remove ivy JIT mode ( #26863 )
...
PR Close #26863
2018-11-02 15:44:05 -07:00
Miško Hevery
c13f46c7c5
fix(ivy): enable packages/core/test/render3 test for AoT ( #26863 )
...
PR Close #26863
2018-11-02 15:44:05 -07:00
Judy Bogart
516af6c531
docs: minor edits and corrections to cli intro ( #26654 )
...
PR Close #26654
2018-11-02 13:22:09 -07:00
Judy Bogart
9c2d0d0b24
docs: edit file structure page ( #26552 )
...
PR Close #26552
2018-11-02 11:25:12 -07:00
Andy Blatecky
64647af1a6
fix(upgrade): make typings compatible with older AngularJS typings ( #26880 )
...
Make `angular1` typings compatible with older versions of AngularJS
typings from `@types/angular`.
Closes #26420
PR Close #26880
2018-11-02 11:24:05 -07:00
Pete Bacon Darwin
c016066d9b
fix(ivy): ngcc should not break lifecycle hooks ( #26856 )
...
Previously the ivy definition calls we going directly after the
class constructor function But this meant that the lifecycle
hooks attached to the prototype were ignored by the ngtsc
compiler.
Now the definitions are written to the end of the IIFE block,
just before the return statement.
Closes #26849
PR Close #26856
2018-11-02 10:38:08 -07:00
George Kalpakas
beabfb7960
ci: remove redundant `start-xvfb` step ( #26869 )
...
Since 8fc4ae51f
, the jobs that need Xvfb use `*-browser` CircleCI docker
image flavors (e.g. `circleci/node:10.12-browsers`), which automatically
start Xvfb.
PR Close #26869
2018-11-02 10:37:35 -07:00
George Kalpakas
804fb99d66
ci: make `integration_test` job logs less verbose ( #26869 )
...
The build progress logs accounted for ~80% of the total log size, which
makes it harder to get to the interesting lines, such as error messages.
Used suggestion from [here][1].
[1]: https://github.com/angular/angular-cli/issues/11412#issuecomment-412021539
PR Close #26869
2018-11-02 10:37:35 -07:00
George Kalpakas
387db75003
build: upgrade `@angular/cli` in `cli-hello-world` integration test ( #26869 )
...
PR Close #26869
2018-11-02 10:37:35 -07:00
George Kalpakas
c40677a4f5
ci: fix and re-enable payload size checks for integration tests ( #26869 )
...
See #22810 , #23376 and #23515 for more context.
Fixes #23376
Closes #23515
PR Close #26869
2018-11-02 10:37:34 -07:00
George Kalpakas
d4b46e271a
test: remove checks for non-existent directories in integration tests ( #26869 )
...
PR Close #26869
2018-11-02 10:37:34 -07:00
George Kalpakas
53bae68617
test: make `elements` integration tests less flaky ( #26869 )
...
PR Close #26869
2018-11-02 10:37:34 -07:00
George Kalpakas
952ca59336
build(docs-infra): upgrade cli command docs sources to b50950b97 ( #26915 )
...
[Changed files](4faa81e25...b50950b97
):
- help/add.json
- help/build.json
- help/config.json
- help/doc.json
- help/e2e.json
- help/eject.json
- help/generate.json
- help/get.json
- help/help.json
- help/lint.json
- help/make-this-awesome.json
- help/new.json
- help/run.json
- help/serve.json
- help/set.json
- help/test.json
- help/update.json
- help/version.json
- help/xi18n.json
PR Close #26915
2018-11-02 10:35:54 -07:00
Brandon Roberts
affcbbdd7e
feat(docs-infra): add getting started widgets ( #26059 )
...
PR Close #26059
2018-11-02 10:34:53 -07:00
Jason Aden
496372dd30
fix(router): remove type bludgeoning of context and outlet when running CanDeactivate ( #26496 )
...
Fixes #18253
PR Close #26496
2018-11-01 16:04:01 -07:00
Lars Gyrup Brink Nielsen
e9e804fb02
feat(forms): add updateOn option to FormBuilder ( #24599 )
...
PR Close #24599
2018-11-01 15:31:11 -07:00
Alan Agius
aed95fd8c7
fix(bazel): unknown replay compiler error in windows ( #26711 )
...
In Windows the compiler path ends with `.exe` thus it will never match and throw `Unknown replay compiler`
PR Close #26711
2018-11-01 15:16:06 -07:00
joostme
aca8ea9c0b
refactor(service-worker): Format comments and add additional test ( #25860 )
...
- Format JSDoc for notificationClicks
- Add comment on why handleClick does not use hasOwnProperty
- Add additional test that uses handleClick without action
PR Close #25860
2018-11-01 15:13:33 -07:00
Joost Zöllner
4a01ada291
fix(service-worker): Fix public api guard typing ( #25860 )
...
PR Close #25860
2018-11-01 15:13:33 -07:00
Joost Zöllner
10618752e6
fix(service-worker): Add typing to public api guard and fix lint errors ( #25860 )
...
PR Close #25860
2018-11-01 15:13:33 -07:00
Joost Zöllner
c60418b1f4
refactor(service-worker): Rework notification click handler ( #25860 )
...
- Add missing image and timestamp properties
- Remove focus from click handler
PR Close #25860
2018-11-01 15:13:33 -07:00
Joost Zöllner
c78c221028
feat(service-worker): Add typing for messagesClicked in SwPush service ( #25860 )
...
- Properly type messagesClicked Observable stream
- Add new NotificationObject interface
PR Close #25860
2018-11-01 15:13:32 -07:00
Joost Zöllner
1aca54da06
refactor(service-worker): Code optimizations ( #25860 )
...
- Add missing new line in tests
- Add proper noop method in MockNotificationEvent
PR Close #25860
2018-11-01 15:13:32 -07:00
Joost Zöllner
f5d5a3df59
feat(service-worker): close notifications and focus window on click ( #25860 )
...
- Serialize notification object before using postMessage
- Close notification on click
- Focus browser if it is not already focused on click
PR Close #25860
2018-11-01 15:13:32 -07:00
Joost Zöllner
f017b26e5d
refactor(service-worker): update tests based of review feedback ( #25860 )
...
- Rename invalid click event name
- Make test expects more explicit
- Remove NotificationClickEvent in favor of NotificationEvent
PR Close #25860
2018-11-01 15:13:32 -07:00
Joost Zoellner
c4ad83e7cd
fix(service-worker): add missing api typing ( #25860 )
...
Add missing messagesClicked typing for SwPush service
PR Close #25860
2018-11-01 15:13:32 -07:00
Joost Zoellner
cf6ea283bb
feat(service-worker): handle 'notificationclick' events ( #25860 )
...
The previous version did not support the 'notificationclick' event.
Add event handler for the event and provide an observable of
clicked notifications in the SwPush service.
Closes #20956 , #22311
PR Close #25860
2018-11-01 15:13:32 -07:00
Kara Erickson
ea0a99610d
fix(ivy): init hooks should be called before host bindings ( #26802 )
...
PR Close #26802
2018-11-01 14:49:01 -07:00