Commit Graph

930 Commits

Author SHA1 Message Date
Eryu Xia 4676d14333
Adding `-static` to generator g++ build flag (#1146) 2021-10-13 18:25:59 -07:00
Eryu Xia 7f70efec6e
Bump version to 1.3.0 (#1145) 2021-10-13 16:52:01 -07:00
Rohit Joshi 541e3aed20
document stream cancel function (#1081)
Co-authored-by: Eryu Xia <eryu@google.com>
2021-10-07 17:21:01 -07:00
Michal Augustýn 41f7cc71cf
docs: example showing binary format generation fixed (#1135)
Co-authored-by: Eryu Xia <eryu@google.com>
2021-10-07 13:31:56 -07:00
Eryu Xia 3956560ad0
Redo #1063 - Also set timeout on HTTP request if deadline for grpc call is set. (#1142) 2021-09-28 18:44:18 -07:00
Eryu Xia a992d943f8
Pin chrome version to `93.0.4577.63` (as in the Docker image) (#1143) 2021-09-28 14:53:27 -07:00
Eryu Xia f1fe57473f
Internal code sync (#1140) 2021-09-28 10:48:20 -07:00
Eryu Xia 627e33718d
Internal code sync (#1139)
- Internal code sync (up to Aug 4, 2021 for now..) & relevant improvements. :)
- Updated Closure dependency to 20210808.0.0 (necessary dependency)
2021-09-22 16:53:00 -07:00
Eryu Xia 78ddf996d8
Clean up Javascript-related Bazel rules. (#1138) 2021-09-21 23:16:28 -07:00
Eryu Xia 32fe12459b
Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00
Ola Flisbäck d9a6c7a738
Require assert in hello world README example (#1116) 2021-09-08 01:29:54 -07:00
Eryu Xia a489de6f9e Replace use of `third_party/closure-library` submodule
... in favor of `google-closure-library` npm package.

Removed the third_party/closure-library submodule following the instructions here:
https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial#Removal

Tested:
- Verified that `npm run build` inside `packages/grpc-web` generates
  exactly the same output as before.
- Test ran closure client: `docker-compose up --build node-server envoy closure-client`
2021-09-01 18:17:14 -07:00
06kellyjac a56e7212a3 Allow for custom install prefix
Also create the dir if it doesn't exist
2021-08-11 14:01:24 -07:00
Eryu Xia da552fc7ee Optimize `prereqs` Dockerfile to checkout Git submodules first
Due to Docker build cache, this can usually save me 20s+ build time on my MacbookPro each time i
rebuild after a local code change.
2021-08-06 10:51:14 -07:00
Eryu Xia fb3f864a0d Add troubleshooting info on Bazel crashes (OOM).
Explains what to do when Bazel crashes (OOM).
2021-08-05 10:50:08 -07:00
Eryu Xia ef0f44e1ce Bump Bazel version -> 4.1.0 and Protobuf version -> 3.17.3 2021-08-05 00:26:31 -07:00
Stanley Cheung 3c74b0da5c Internal code sync 2021-08-03 15:05:08 -07:00
Eryu Xia b24f5ca6ec Update Envoy timeout configs 2021-08-02 21:28:16 -07:00
dependabot[bot] 511cc32525 Bump jetty-server in /src/connector
Bumps [jetty-server](https://github.com/eclipse/jetty.project) from 9.4.40.v20210413 to 9.4.41.v20210516.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.40.v20210413...jetty-9.4.41.v20210516)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-server
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-27 11:07:07 -07:00
Stanley Cheung 78d5ded10f Fix grpc-js dep version 2021-05-10 13:41:45 -07:00
Yannic Bonenberger 6c1a2ceda1 Also set timeout on HTTP request if deadline for grpc call is set 2021-05-10 13:09:14 -07:00
Piotr Morgwai Kotarbinski 9c0169748a Cleanup and refresh maven pom.xml files
It was impossible to build a project using grpcweb-java due to multiple
enforcer errors. Fixing grpcweb-java broke examples hence these had to
be cleaned as well.
2021-05-10 12:37:25 -07:00
Warren He 35c16a9e4e ts: fill in other MethodDescriptor methods 2021-03-15 11:37:13 -07:00
Warren He b63099d977 ts: declare MethodType 2021-03-15 11:37:13 -07:00
Stanley Cheung c5bd9f7061 Clean up docker builds 2021-03-15 00:45:08 -07:00
Stanley Cheung 7b944d9dd4 Removed old nginx gateway code 2021-03-14 23:59:11 -07:00
Stanley Cheung 5a2ab7a75f Linter changes 2021-03-13 23:51:20 -08:00
Stanley Cheung 7afe497d8f Internal code sync 2021-03-13 23:30:51 -08:00
Yannic 7984205077 Set upstream timeout for envoy in echo example
Without this, streaming calls fail after a few seconds because envoy terminates the connection to the gRPC upstream.
2021-03-13 01:31:06 -08:00
Stanley Cheung 247e211031 Use bazel to build echo_server example 2021-03-13 01:04:51 -08:00
Stanley Cheung 3d7789ab28 Fix go env var for 1.16 2021-03-13 00:07:38 -08:00
nghialv ecf7512b88 Fix envoy config in the guide of helloworld example 2021-03-12 23:10:40 -08:00
Stanley Cheung b9d865ef4c Attempt to fix master build 2021-03-12 21:00:01 -08:00
Stanley Cheung 6b046c2fab Revert "Revert "bump envoy to v1.17.0""
This reverts commit de43d4bbf9.
2021-01-22 18:34:28 -08:00
Stanley Cheung de43d4bbf9 Revert "bump envoy to v1.17.0"
This reverts commit f960b8f89b.
2021-01-22 18:09:31 -08:00
Warren He 201c689222 Allow null response 2021-01-22 17:03:41 -08:00
Tom Reznik f960b8f89b bump envoy to v1.17.0 2021-01-22 16:40:30 -08:00
Srini Polavarapu 1580f3a1cd Add security policy doc 2021-01-22 16:39:43 -08:00
Stanley Cheung 042ccd160e fix build 2021-01-13 23:49:23 -08:00
Stanley Cheung 3fc20fbaf5 Code sync from internal code base 2021-01-13 23:49:23 -08:00
Alberto Calvo e88fdc809d Fix methodDescriptor param typing in index.d.ts
Closes #981, updates #944
2020-12-11 21:49:00 -08:00
Yannic Bonenberger 302ef34811 Upgrade rules_closure 2020-12-11 21:25:54 -08:00
Stanley Cheung 45ad6bec6d Revert "Bump grpc version to 1.34.0"
This reverts commit ab4d32e4cf.
2020-12-04 23:30:50 -08:00
Stanley Cheung ab4d32e4cf Bump grpc version to 1.34.0 2020-12-04 19:36:23 -08:00
Stanley Cheung e2bae61baf Bump closure library version to v20201102 2020-12-04 18:38:55 -08:00
Stanley Cheung 367f25a25a Bump protobuf to version 3.14.0 2020-12-04 18:10:05 -08:00
Alberto Calvo 85a76adcf5 Update and correct types
* Add `unaryInterceptors` and `streamInterceptors` to `GrpcWebClientBaseOptions`.
* Make `GrpcWebClientBaseOptions` optional in the constructor of `GrpcWebClientBase`.
2020-12-04 17:15:57 -08:00
Stanley Cheung 5c815503f1 Bump Envoy usage to 1.16.1 2020-12-04 17:07:56 -08:00
Stanley Cheung 2e3e8d2c50 Internal code sync 2020-11-20 21:10:26 -08:00
Stanley Cheung eecc629b00 Internal code sync 2020-11-20 21:10:26 -08:00