Commit Graph

930 Commits

Author SHA1 Message Date
Eryu Xia 7ea072a94d
Add abort API support for promise calls (#1478)
For #1478

- Also removed CallOptions in favor of PromiseCallOptions (to align with internal codebase)
- Also updated chrome to 112.0.5615.165 for supporting abort with reason.
2025-04-20 14:55:04 -07:00
Andreas Sommer b5ff5d303d
Fix webpack command in tutorials (#1471) 2025-01-14 15:37:09 -08:00
Red Daly ecb890429f
When a release is published, upload a stable source archive. (#1464)
* When a release is published, upload a stable source archive.

Add a new github actions script to release a stable source archive.

Github doesn't guarantee stability of source archives for more than 6 months[1].
More stability is required by projects like Bazel Central Registry[2][3].

[1]: https://github.blog/open-source/git/update-on-the-future-stability-of-source-code-archives-and-hashes/
[2]: https://github.com/bazelbuild/bazel-central-registry/blob/main/docs/README.md#validations
[3]: https://blog.bazel.build/2023/02/15/github-archive-checksum.html

* Use actions/checkout without a commit hash.
2024-10-01 14:22:40 -07:00
Noel Kim (김민혁) 7bd92c665a
fix: format of typescript definition (#1463) 2024-09-20 17:25:42 -07:00
Red Daly 9856bfea5d
Bazel bzlmod support for grpc-web. (#1456)
* Bazel bzlmod support for grpc-web.

Updates the bazel-based build of grpc-web to use bzlmod.

The WORKSPACE file is retained for now, but it should probably be deleted since
it should be unused.

* Delete WORKSPACE files.

* bazel mod tidy

* MODULE.bazel fixups

* Update version to 1.6.0.rc1 in MODULE.bazel

* Update module and dockerfile in response to pr comments about build failure and protobuf version

* Fix lint issue with MODULE.bazel
2024-08-26 17:27:30 -07:00
Eryu Xia 8ba8fbeb5f
Update protobuf-JS to 3.21.4 (#1452) 2024-07-22 19:38:19 -07:00
Eryu Xia 20790fc259
Revert "Revert "Temporarily disable `protoc-plugin` in CI"" (#1451)
* Revert "Revert "Temporarily disable protoc-plugin in CI (#1447)" (#1448)"

This reverts commit e6909cd284.

* Update run_basic_tests.sh
2024-06-24 22:41:24 -07:00
Eryu Xia 132ed2cd94
Revert "Do not force third_party/protobuf to some old version. (#1446)" (#1450)
This reverts commit 0137f1fc61.
2024-06-24 22:38:57 -07:00
Eryu Xia e6909cd284
Revert "Temporarily disable protoc-plugin in CI (#1447)" (#1448)
This reverts commit 31e9b61ed8.
2024-06-24 22:15:48 -07:00
Benjamin Peterson 0137f1fc61
Do not force third_party/protobuf to some old version. (#1446) 2024-06-24 22:14:25 -07:00
Eryu Xia 31e9b61ed8
Temporarily disable protoc-plugin in CI (#1447) 2024-06-24 22:05:53 -07:00
Benjamin Peterson 2c39859be8
Upgrade protobuf to 27.1 and modernize codegen using new APIs (e.g. has_presence()) (#1445)
Fixes https://github.com/grpc/grpc-web/issues/1437.
2024-06-24 20:58:54 -07:00
Eryu Xia 8ab32b945c
Upgrade to Bazel 6.5.0 (#1441)
Updated Bazel to `6.5.0`
- `4.1.0` no longer works on my mac.
- `7.2.0` seems not yet supported by internal CI tooling :)

Also upgraded
- Protobuf -> `25.0` (`27.0` is generating errors :))
- gRPC Bazel -> `1.64.2`
2024-06-23 21:18:58 -07:00
subhraOffGit 76ef002ca6
[vote]Added Active maintainers into MAINTAINERS.md. (#1430)
[vote] Added sampajano into grpc/grpc-web active maintainers list. Removed  stanley-cheung from active maintainers list and moved them to emeritus. Removed org from emeritus.
Please comment as "Agree" if you agree to the change, if not please comment as "Disagree". Your comment will be counted as a vote.
The PR needs to stay open for 14 days, I.e. till 15th June 2024 as per governance guidelines
2024-06-23 18:05:59 -07:00
Eryu Xia 3da394753a
Update roadmap (#1438) 2024-06-23 17:25:06 -07:00
Eryu Xia ce8aa02c7a
Fix response return type for grpcwebclientbase_test (#1433) 2024-06-12 11:01:19 -07:00
Eryu Xia e91e540fc2
Update missing text (#1420) 2024-04-15 17:04:36 -07:00
Eryu Xia cfcc5e39d9
Improve plugin install instructions (#1419) 2024-04-15 16:57:50 -07:00
Michael Diamond a639b4cf26
Revert "Update document to mention Nginx server-streaming support (#1403)" (#1408)
This reverts commit 55b9218d2b.
2024-03-06 16:06:15 -08:00
Thomas Segismont 0350052fab
Update interop-test-descriptions.md (#1404)
The proto definition link leads to a 404

The actual location of the file seems to be https://github.com/grpc/grpc/blob/master/src/proto/grpc/testing/test.proto
2024-02-13 13:47:36 -08:00
Eryu Xia 55b9218d2b
Update document to mention Nginx server-streaming support (#1403) 2024-02-08 18:09:19 -08:00
Eryu Xia 4aab99f73e
Reduce confusion around streaming support in binary format (#1400) 2024-01-31 16:06:54 -08:00
Michael Diamond ea2ba42337
Update http2_protocol_options pattern (#1397) 2024-01-24 16:31:19 -08:00
Eryu Xia 83eec72cc3
Document Vite compatibility (#1389) 2023-11-28 17:05:25 -08:00
Eryu Xia 9d2e24462a
Post-release updates (1.5.0) (#1384) 2023-11-09 15:18:49 -08:00
Eryu Xia de3557acc3
Bump version to 1.5.0 (#1382) 2023-11-08 15:39:29 -08:00
Eryu Xia db386b99e6
Internal code sync (#1381) 2023-11-07 16:24:28 -08:00
Andrew Benton 1ab0bdc25b
feat(typescript): mark some `metadata` parameters as optional (#1369)
Resolves https://github.com/grpc/grpc-web/issues/1368
2023-10-16 14:35:11 -07:00
Eryu Xia 49d3b70868
Adding some docs on interceptors. (#1370) 2023-10-05 16:29:14 -07:00
Red Daly 3cd7e0d434
Update ES6 .d.ts imports with comment about corresponding proto import path. (#1330)
https://github.com/grpc/grpc-web/pull/1313 updated the code generator to print a
`proto import: "foo/bar.proto"` suffix for each import statement for the
generated gRPC-web client code. This commit updates ensures the .d.ts file
output by grpc-web contains the same type of comments.
2023-10-05 13:57:37 -07:00
Eryu Xia 9cb8524caa
Document on how to use Promises (#1357) 2023-08-30 17:57:40 -07:00
icoco 4d7dc44c2d
Update echo.proto, remark unsupported method (#1354)
Client side streaming and Bidi streaming are not supported at the moment.
2023-08-18 14:52:32 -07:00
Eryu Xia 7c52878457
Install python in `prereqs` image (#1350)
Maybe `buildpack-deps` has recently removed python installation by
default and hence is observing some errors.
2023-07-28 17:48:44 -07:00
Eryu Xia 9c48d290b2
Clarify on streaming wire format requirement. (#1346) 2023-06-26 17:21:35 -07:00
Eryu Xia 3bfa7641a8
Fix build for `interop-test` docker image (#1338)
The in-browser test is still not working, but it can at least build and start :)
2023-05-16 14:48:47 -07:00
Cyril Joy d28d3f6814
Punctuation fix in roadmap.md (#1337) 2023-05-16 13:18:16 -07:00
Eryu Xia c4f0905288
Allow mixed-case headers (#1334) 2023-05-14 03:12:19 -07:00
Eryu Xia f8fbbe32f9
Update Debian (and other deps) and remove Java In-process Proxy (#1335) 2023-05-14 02:57:11 -07:00
Layo Folaranmi c5c1e29756
Update README.md (#1336)
Simple typo error fix on line 162.
2023-05-03 13:00:51 -07:00
dependabot[bot] 063bb42d85
Bump jetty-server from 9.4.41.v20210516 to 10.0.14 in /src/connector (#1332)
Bumps [jetty-server](https://github.com/eclipse/jetty.project) from 9.4.41.v20210516 to 10.0.14.
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.41.v20210516...jetty-10.0.14)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-18 16:30:10 -07:00
Red Daly e4084fd259
Update ES6 imports with comment about corresponding proto import path. (#1313)
I was experiencing a long import path in the generated code that doesn't
work. Outputting the proto file that corresponds to a JS import is helpful for
both diagnosing the issue and writing a wrapper for altering the import path to
my satisfaction.

Before:

```js
import * as github_com_gonzojive_rules_ts_proto_example_prefix_greeting_pb from '../../../../../github.com/gonzojive/rules_ts_proto/example/prefix/greeting_pb';
```

After:

```js
import * as github_com_gonzojive_rules_ts_proto_example_prefix_greeting_pb from '../../../../../github.com/gonzojive/rules_ts_proto/example/prefix/greeting_pb'; // proto import: "github.com/gonzojive/rules_ts_proto/example/prefix/greeting.proto"
```
2023-03-26 10:09:35 -07:00
Eryu Xia 7b6e8ed491
Roadmap update (Bi-di Streaming) (#1326) 2023-03-22 14:04:45 -07:00
Eryu Xia b1297e616a
Mention `Access-Control-Expose-Headers` in CORS guide. (#1320) 2023-02-15 17:18:43 -08:00
Eryu Xia 2d42fd608d
Improve Typescript example docs. (#1318) 2023-02-07 16:37:23 -08:00
Eryu Xia 60caece154
Fix generated Typescript file documentation. (#1314) 2023-01-19 15:15:17 -08:00
caption e49389873d
update io.grpc:grpc-core 1.30.0 to 1.33.0 (#1305) 2022-12-02 14:07:22 -08:00
Eryu Xia 9cacb7606a
Fix maven versions broken in previous 1.4.2 update :) (#1302) 2022-11-18 18:28:14 -08:00
Eryu Xia 6d1ee0d3df
1.4.2 Post-release updates (#1299) 2022-10-28 18:13:30 -07:00
Eryu Xia 0ec55aaad7
Bump version to 1.4.2 (#1298) 2022-10-28 14:17:52 -07:00
pro-wh 6577c66b53
GrpcWebClientBase: clean up !useUnaryResponse callback args (#1297) 2022-10-26 16:08:34 -07:00