Skip to content

Commit

Permalink
Merge branch 'timostamm:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
yibo-long authored Feb 13, 2024
2 parents eaa89de + bbda0c3 commit f379bc1
Show file tree
Hide file tree
Showing 124 changed files with 3,818 additions and 977 deletions.
7 changes: 2 additions & 5 deletions MANUAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ myMessage.string = d.toString();
In proto3, scalar fields always have a value, even if you did
not set one. If you read an `int32` field, you cannot determine
whether the creator of the message intended to write `0`, or
if he intentionally left the field out. Both look the same.
if they intentionally left the field out. Both look the same.
The proto3-optionals feature adds a convenient support for
optional fields by bringing back the `optional` label:
Expand Down Expand Up @@ -1654,9 +1654,6 @@ those types are untested. All four method types share the following properties:
If the server replies with an error status, this promise will
reject with a `RpcError` that contains the status code and meta data.
- `cancel(): void`
Cancel this call.
A unary call simply does not use the `stream` keyword in `.proto`. The method
Expand Down Expand Up @@ -1712,7 +1709,7 @@ The `ServerStreamingCall` provides the following additional properties:
- request: `Readonly<I>`
The request message being sent.
- response: `RpcOutputStream<O>`
- responses: `RpcOutputStream<O>`
Response messages from the server.
This is an AsyncIterable that can be iterated with `await for .. of`.
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"packages": [
"packages/*"
],
"version": "2.9.0"
"version": "2.9.3"
}
35 changes: 34 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"name": "root",
"private": true,
"devDependencies": {
"lerna": "^3.22.1"
"@types/jasmine": "^3.5.10",
"lerna": "^3.22.1",
"typescript": ">=3.8.3 <4"
},
"license": "(Apache-2.0 AND BSD-3-Clause)"
}
2 changes: 1 addition & 1 deletion packages/benchmarks/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions packages/benchmarks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@protobuf-ts/benchmarks",
"version": "2.9.0",
"version": "2.9.3",
"description": "Rudimentary benchmarks for code generated by the protoc plugin \"protobuf-ts\"",
"private": true,
"main": "index.js",
Expand All @@ -11,8 +11,8 @@
"author": "Timo Stamm <[email protected]>",
"license": "ISC",
"devDependencies": {
"@protobuf-ts/plugin": "^2.9.0",
"@protobuf-ts/runtime": "^2.9.0",
"@protobuf-ts/plugin": "^2.9.3",
"@protobuf-ts/runtime": "^2.9.3",
"@protobufjs/utf8": "^1.1.0",
"@types/google-protobuf": "^3.15.2",
"@types/node": "^14.0.13",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions packages/example-browser-grpcweb-transport-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@protobuf-ts/example-browser-grpcweb-transport-client",
"version": "2.9.0",
"version": "2.9.3",
"description": "",
"private": true,
"scripts": {
Expand All @@ -10,13 +10,13 @@
"license": "Apache-2.0",
"homepage": "https://github.com/timostamm/protobuf-ts",
"dependencies": {
"@protobuf-ts/grpcweb-transport": "^2.9.0",
"@protobuf-ts/runtime": "^2.9.0",
"@protobuf-ts/runtime-rpc": "^2.9.0"
"@protobuf-ts/grpcweb-transport": "^2.9.3",
"@protobuf-ts/runtime": "^2.9.3",
"@protobuf-ts/runtime-rpc": "^2.9.3"
},
"devDependencies": {
"@protobuf-ts/plugin": "^2.9.0",
"@protobuf-ts/protoc": "^2.9.0",
"@protobuf-ts/plugin": "^2.9.3",
"@protobuf-ts/protoc": "^2.9.3",
"ts-node": "^8.10.2",
"typescript": "^3.9.5",
"webpack": "^4.43.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/example-buf/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/example-buf/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@protobuf-ts/example-buf",
"version": "2.9.0",
"version": "2.9.3",
"private": true,
"author": "Timo Stamm <[email protected]>",
"license": "Apache-2.0",
"scripts": {
"start": "ts-node src/usage.ts"
},
"dependencies": {
"@protobuf-ts/plugin": "^2.9.0",
"@protobuf-ts/plugin": "^2.9.3",
"ts-node": "^8.10.2",
"typescript": "^4.4.3"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/example-chat-system/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions packages/example-chat-system/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@protobuf-ts/example-chat-system",
"version": "2.9.0",
"version": "2.9.3",
"description": "",
"private": true,
"scripts": {
Expand All @@ -11,13 +11,13 @@
"homepage": "https://github.com/timostamm/protobuf-ts",
"dependencies": {
"@grpc/grpc-js": "^1.2.2",
"@protobuf-ts/grpc-backend": "^2.9.0",
"@protobuf-ts/grpc-transport": "^2.9.0",
"@protobuf-ts/grpcweb-transport": "^2.9.0",
"@protobuf-ts/plugin": "^2.9.0",
"@protobuf-ts/protoc": "^2.9.0",
"@protobuf-ts/runtime": "^2.9.0",
"@protobuf-ts/runtime-rpc": "^2.9.0",
"@protobuf-ts/grpc-backend": "^2.9.3",
"@protobuf-ts/grpc-transport": "^2.9.3",
"@protobuf-ts/grpcweb-transport": "^2.9.3",
"@protobuf-ts/plugin": "^2.9.3",
"@protobuf-ts/protoc": "^2.9.3",
"@protobuf-ts/runtime": "^2.9.3",
"@protobuf-ts/runtime-rpc": "^2.9.3",
"@types/express": "^4.17.9",
"@types/node": "^14.14.14",
"abort-controller": "^3.0.0",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions packages/example-node-grpc-backend-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@protobuf-ts/example-node-grpc-backend-server",
"version": "2.9.0",
"version": "2.9.3",
"description": "",
"private": true,
"scripts": {
Expand All @@ -11,11 +11,11 @@
"homepage": "https://github.com/timostamm/protobuf-ts",
"dependencies": {
"@grpc/grpc-js": "^1.2.2",
"@protobuf-ts/grpc-backend": "^2.9.0",
"@protobuf-ts/plugin": "^2.9.0",
"@protobuf-ts/protoc": "^2.9.0",
"@protobuf-ts/runtime": "^2.9.0",
"@protobuf-ts/runtime-rpc": "^2.9.0",
"@protobuf-ts/grpc-backend": "^2.9.3",
"@protobuf-ts/plugin": "^2.9.3",
"@protobuf-ts/protoc": "^2.9.3",
"@protobuf-ts/runtime": "^2.9.3",
"@protobuf-ts/runtime-rpc": "^2.9.3",
"ts-node": "^8.10.2",
"typescript": "^3.9.5"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/example-node-grpc-client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/example-node-grpc-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@protobuf-ts/example-node-grpc-client",
"version": "2.9.0",
"version": "2.9.3",
"description": "",
"private": true,
"scripts": {
Expand All @@ -11,10 +11,10 @@
"homepage": "https://github.com/timostamm/protobuf-ts",
"dependencies": {
"@grpc/grpc-js": "^1.2.2",
"@protobuf-ts/plugin": "^2.9.0",
"@protobuf-ts/protoc": "^2.9.0",
"@protobuf-ts/runtime": "^2.9.0",
"@protobuf-ts/runtime-rpc": "^2.9.0",
"@protobuf-ts/plugin": "^2.9.3",
"@protobuf-ts/protoc": "^2.9.3",
"@protobuf-ts/runtime": "^2.9.3",
"@protobuf-ts/runtime-rpc": "^2.9.3",
"ts-node": "^8.10.2",
"typescript": "^3.9.5"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/example-node-grpc-server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/example-node-grpc-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@protobuf-ts/example-node-grpc-server",
"version": "2.9.0",
"version": "2.9.3",
"description": "",
"private": true,
"scripts": {
Expand All @@ -11,10 +11,10 @@
"homepage": "https://github.com/timostamm/protobuf-ts",
"dependencies": {
"@grpc/grpc-js": "^1.2.2",
"@protobuf-ts/plugin": "^2.9.0",
"@protobuf-ts/protoc": "^2.9.0",
"@protobuf-ts/runtime": "^2.9.0",
"@protobuf-ts/runtime-rpc": "^2.9.0",
"@protobuf-ts/plugin": "^2.9.3",
"@protobuf-ts/protoc": "^2.9.3",
"@protobuf-ts/runtime": "^2.9.3",
"@protobuf-ts/runtime-rpc": "^2.9.3",
"ts-node": "^8.10.2",
"typescript": "^3.9.5"
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions packages/example-node-grpc-transport-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@protobuf-ts/example-node-grpc-transport-client",
"version": "2.9.0",
"version": "2.9.3",
"description": "",
"private": true,
"scripts": {
Expand All @@ -11,11 +11,11 @@
"homepage": "https://github.com/timostamm/protobuf-ts",
"dependencies": {
"@grpc/grpc-js": "^1.2.2",
"@protobuf-ts/grpc-transport": "^2.9.0",
"@protobuf-ts/plugin": "^2.9.0",
"@protobuf-ts/protoc": "^2.9.0",
"@protobuf-ts/runtime": "^2.9.0",
"@protobuf-ts/runtime-rpc": "^2.9.0",
"@protobuf-ts/grpc-transport": "^2.9.3",
"@protobuf-ts/plugin": "^2.9.3",
"@protobuf-ts/protoc": "^2.9.3",
"@protobuf-ts/runtime": "^2.9.3",
"@protobuf-ts/runtime-rpc": "^2.9.3",
"ts-node": "^8.10.2",
"typescript": "^3.9.5"
}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f379bc1

Please sign in to comment.