Commit Graph

848 Commits

Author SHA1 Message Date
Wenbo Zhu 7ea35cfacc
Update roadmap.md 2020-07-30 17:12:19 -07:00
Wenbo Zhu 222cc8d484
Create streaming-roadmap.md 2020-07-30 17:11:49 -07:00
Wenbo Zhu d8e039f255
Update roadmap.md 2020-07-30 14:40:14 -07:00
Wenbo Zhu fdcff71b47
Update roadmap.md 2020-07-30 14:31:29 -07:00
Stanley Cheung bcdf3520b0 Update MethodDescriptorInterface 2020-07-24 18:24:47 -07:00
Stanley Cheung 85f7751e77 Remove duplicate decodeURIComponent call 2020-07-24 13:27:03 -07:00
wapa5pow 1e450e683c refactor hanndle error 2020-07-24 13:12:41 -07:00
wapa5pow 630ab16f4a add decode error message 2020-07-24 13:12:41 -07:00
Jack Pearkes 6ad62b1670 guard against null getResponseText()
Given the READY_STATE_CHANGE event can be trigged from for various
reasons and be in a situation where the response is not yet
written, this guards against a null value which is possible per
the specification:

https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseText
2020-07-21 21:31:14 -07:00
Stanley Cheung 675deb6e34 Add test to show how to access metadata in interceptor 2020-07-20 17:57:04 -07:00
Stanley Cheung 5276b1e36d Add error handling to a few error conditions 2020-07-17 11:45:12 -07:00
Yannic Bonenberger e994bb108b [bazel] Introduce grpc_web_toolchain
This change adds a new rule `grpc_web_toolchain` which we will use to
provide the generator/runtime to `closure_grpc_web_library`.

Updates #507

RELNOTES: [bazel] `closure_grpc_web_library` now uses toolchains to
resolve the generator and runtime. To migrate, add the following snipped
to your `WORKSPACE`:
```starlark
load("@com_github_grpc_grpc_web//bazel:repositories.bzl", "grpc_web_toolchains")
grpc_web_toolchains()
```
2020-07-17 11:26:31 -07:00
Yannic 9d90faacca Update Bazel to 3.3.1 2020-07-14 13:36:44 -07:00
Stanley Cheung 0aac5494fe Revert "Use methoddescriptorinterface"
This reverts commit 1ac8aa5a63.
2020-07-13 21:44:18 -07:00
Stanley Cheung 1ac8aa5a63 Use methoddescriptorinterface 2020-07-13 17:23:52 -07:00
Stanley Cheung 80e410bbc4 Bump version to 1.2.1 2020-07-13 12:38:12 -07:00
Stanley Cheung fb5641e629 Pin @types/mocha back to fix master tests 2020-07-13 12:00:47 -07:00
Stanley Cheung 714501a544 break long lines 2020-07-13 10:56:43 -07:00
Stanley Cheung e9092acf0f Remove typing fallback. Add more tests 2020-07-13 10:56:43 -07:00
Stanley Cheung 916d6cbef4 Capitalize generic types to avoid ambiguity, and replace deprecated MethodInfo with MethodDescriptor 2020-07-13 10:56:43 -07:00
Stanley Cheung 03691eeae4 Add test for promise-based unaryInterceptor too 2020-07-13 10:56:43 -07:00
Stanley Cheung 023cad0644 Add test for StreamInterceptor 2020-07-13 10:56:43 -07:00
Stanley Cheung 9b73daa521 Add missing types definitions 2020-07-13 10:56:43 -07:00
Stanley Cheung 25a888c974 Make mvn commands quieter 2020-07-08 16:30:12 -07:00
Stanley Cheung a913c18158 Minor tweak to methoddescriptor argument type 2020-07-08 15:11:00 -07:00
Stanley Cheung 50e456a7cc Fix protoc-plugin build 2020-07-08 14:51:41 -07:00
Stanley Cheung dfa6e478f2 Add @interface MethodDescroptorInterface 2020-07-08 14:42:47 -07:00
Stanley Cheung f1e3cbff5f Build the protoc-plugin docker image in master runs 2020-07-08 13:18:46 -07:00
Stanley Cheung 664fd9c3e9 Bump Envoy to 1.15.0 2020-07-08 12:03:58 -07:00
Stanley Cheung d5550cd52b Update init_submodules.sh 2020-07-08 11:45:32 -07:00
Stanley Cheung e25afb40de Review fixes. Run buildifier on WORKSPACE file too 2020-07-08 11:45:32 -07:00
Stanley Cheung 6c7cde153d Bump grpc 2020-07-08 11:45:32 -07:00
Stanley Cheung e27be18859 Update code generator to support Proto3 optional 2020-07-08 11:45:32 -07:00
Vasu Nori 76c04d6fe9 initialize the connection to grpc-service before 1st request arrives 2020-07-06 17:02:44 -07:00
Yannic Bonenberger cd059a28b2 [generator] Refactor dependency management
No functional changes intended.
2020-07-06 14:18:47 -07:00
Yannic 3cf33f96ff Update Bazel to 3.3.1 2020-07-02 22:23:17 -07:00
Nathan H. Leung 4b3959852f Update package README to say that gRPC-Web is GA.
Follow-up to #339
2020-07-02 22:06:39 -07:00
Stanley Cheung e0835e2d1c Bug fix 2020-07-02 21:24:12 -07:00
Stanley Cheung 95db26456b Add an option goog_promise to generator 2020-07-02 21:24:12 -07:00
Yenru Chin a816d9c56e Add removeListener type and missing metadata event 2020-06-29 12:15:21 -07:00
Vasu Nori 74ea9b3b2a automate running of interop tests on java connector code 2020-06-24 17:08:46 -07:00
Stanley Cheung 550c8d2375 Make UnaryResponse an interface 2020-06-24 11:19:02 -07:00
Vasu Nori 62a03ec722 Update pom.xml so executable jar can be built easily 2020-06-23 18:16:59 -07:00
Stanley Cheung 01c3421c74 Revert #738 2020-06-23 13:57:44 -07:00
Vasu Nori 88d70ecbdb
Merge pull request #861 from vnorigoog/props-in-file
Separate Core code from Examples and interop-test code.
2020-06-23 13:12:59 -07:00
Vasu Nori 0a283f6c6e Merge branch 'props-in-file' of https://github.com/vnorigoog/grpc-web into props-in-file 2020-06-23 10:13:35 -07:00
Vasu Nori 4f5a803f34 Merge branch 'master' into props-in-file 2020-06-23 10:13:14 -07:00
Vasu Nori 4e470884bd
Merge branch 'master' into props-in-file 2020-06-22 14:35:59 -07:00
Stanley Cheung 0d747ec02c Update references to 1.2.0 2020-06-22 14:20:38 -07:00
Vasu Nori 65b43d9971 Merge branch 'props-in-file' of https://github.com/vnorigoog/grpc-web into props-in-file 2020-06-22 14:09:21 -07:00