From b92b3706ad7e872b63a72a19b36f674648c3cde9 Mon Sep 17 00:00:00 2001 From: Timo Stamm Date: Tue, 27 Aug 2024 15:58:30 +0200 Subject: [PATCH] V2: Update to Protobuf-ES 2.0.0 (#1189) --- package-lock.json | 58 +++++++++---------- packages/connect-cloudflare/buf.gen.yaml | 8 ++- .../conformance/v1/client_compat_pb.ts | 2 +- .../connectrpc/conformance/v1/config_pb.ts | 2 +- .../connectrpc/conformance/v1/service_pb.ts | 2 +- .../conformance/gen/invoke/v1/invoke_pb.ts | 2 +- packages/connect-cloudflare/package.json | 7 +-- packages/connect-conformance/package.json | 4 +- .../conformance/v1/client_compat_pb.ts | 2 +- .../connectrpc/conformance/v1/config_pb.ts | 2 +- .../conformance/v1/server_compat_pb.ts | 2 +- .../connectrpc/conformance/v1/service_pb.ts | 2 +- .../gen/connectrpc/conformance/v1/suite_pb.ts | 2 +- packages/connect-express/buf.gen.yaml | 9 ++- packages/connect-express/package.json | 5 +- .../gen/connectrpc/eliza/v1/eliza_pb.ts | 2 +- packages/connect-fastify/package.json | 2 +- packages/connect-next/package.json | 2 +- packages/connect-node/package.json | 2 +- packages/connect-web-bench/README.md | 8 +-- packages/connect-web-bench/package.json | 4 +- .../buf/registry/module/v1/commit_pb.ts | 2 +- .../registry/module/v1/commit_service_pb.ts | 2 +- .../buf/registry/module/v1/digest_pb.ts | 2 +- .../registry/module/v1/download_service_pb.ts | 2 +- .../buf/registry/module/v1/file_pb.ts | 2 +- .../buf/registry/module/v1/graph_pb.ts | 2 +- .../registry/module/v1/graph_service_pb.ts | 2 +- .../buf/registry/module/v1/label_pb.ts | 2 +- .../registry/module/v1/label_service_pb.ts | 2 +- .../buf/registry/module/v1/module_pb.ts | 2 +- .../registry/module/v1/module_service_pb.ts | 2 +- .../buf/registry/module/v1/resource_pb.ts | 2 +- .../registry/module/v1/resource_service_pb.ts | 2 +- .../registry/module/v1/upload_service_pb.ts | 2 +- .../buf/registry/module/v1beta1/commit_pb.ts | 2 +- .../module/v1beta1/commit_service_pb.ts | 2 +- .../buf/registry/module/v1beta1/digest_pb.ts | 2 +- .../module/v1beta1/download_service_pb.ts | 2 +- .../buf/registry/module/v1beta1/file_pb.ts | 2 +- .../buf/registry/module/v1beta1/graph_pb.ts | 2 +- .../module/v1beta1/graph_service_pb.ts | 2 +- .../buf/registry/module/v1beta1/label_pb.ts | 2 +- .../module/v1beta1/label_service_pb.ts | 2 +- .../buf/registry/module/v1beta1/module_pb.ts | 2 +- .../module/v1beta1/module_service_pb.ts | 2 +- .../registry/module/v1beta1/resource_pb.ts | 2 +- .../module/v1beta1/resource_service_pb.ts | 2 +- .../module/v1beta1/upload_service_pb.ts | 2 +- .../buf/registry/owner/v1/organization_pb.ts | 2 +- .../owner/v1/organization_service_pb.ts | 2 +- .../buf/registry/owner/v1/owner_pb.ts | 2 +- .../buf/registry/owner/v1/owner_service_pb.ts | 2 +- .../buf/registry/owner/v1/user_pb.ts | 2 +- .../buf/registry/owner/v1/user_service_pb.ts | 2 +- .../priv/extension/v1beta1/extension_pb.ts | 2 +- .../connectweb/buf/validate/expression_pb.ts | 2 +- .../buf/validate/priv/private_pb.ts | 2 +- .../connectweb/buf/validate/validate_pb.ts | 2 +- .../gen/connectrpc/eliza/v1/eliza_pb.ts | 2 +- packages/connect-web/package.json | 4 +- packages/connect/package.json | 4 +- .../src/protocol-grpc/gen/status_pb.ts | 2 +- packages/example/package.json | 4 +- packages/example/src/gen/eliza_pb.ts | 2 +- 65 files changed, 115 insertions(+), 108 deletions(-) diff --git a/package-lock.json b/package-lock.json index e7ed83150..a47c97ffa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -932,17 +932,17 @@ } }, "node_modules/@bufbuild/protobuf": { - "version": "2.0.0-beta.3", - "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.0.0-beta.3.tgz", - "integrity": "sha512-vNG9KXnkt9putvF/OMwuyqG17/NHXvD8n8/Q+jLyRVmqYaPbA8T2+goijhn71QO41zl4wYoyXLxyEesquwQp0Q==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protobuf/-/protobuf-2.0.0.tgz", + "integrity": "sha512-sw2JhwJyvyL0zlhG61aDzOVryEfJg2PDZFSV7i7IdC7nAE41WuXCru3QWLGiP87At0BMzKOoKO/FqEGoKygGZQ==" }, "node_modules/@bufbuild/protoc-gen-es": { - "version": "2.0.0-beta.3", - "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-es/-/protoc-gen-es-2.0.0-beta.3.tgz", - "integrity": "sha512-/qqPZiiVk4TIx/NYR0oqno/nawDbcnkJ0P9wAy+4Cj2K1CSxw3ViuA2iQMMyNrHps7lv3tWSWagstbtc50kedQ==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoc-gen-es/-/protoc-gen-es-2.0.0.tgz", + "integrity": "sha512-xXDrDFjSD97jGu9RMA8O4Myj66DdCLOFeYG7Z0mX1aCE9hayymfor+BKgKCQouUfty6CYv8709FPYpEtDurLFQ==", "dependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", - "@bufbuild/protoplugin": "2.0.0-beta.3" + "@bufbuild/protobuf": "^2.0.0", + "@bufbuild/protoplugin": "2.0.0" }, "bin": { "protoc-gen-es": "bin/protoc-gen-es" @@ -951,7 +951,7 @@ "node": ">=14" }, "peerDependencies": { - "@bufbuild/protobuf": "2.0.0-beta.3" + "@bufbuild/protobuf": "2.0.0" }, "peerDependenciesMeta": { "@bufbuild/protobuf": { @@ -960,11 +960,11 @@ } }, "node_modules/@bufbuild/protoplugin": { - "version": "2.0.0-beta.3", - "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-2.0.0-beta.3.tgz", - "integrity": "sha512-cnBEryguXr24X7OF5U3232kKdBoxTA8Y3C2E3K6dRPEIXGmTZAJfYImzblX0kUz7jN+hKuwriFCGpxddVcJXXw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@bufbuild/protoplugin/-/protoplugin-2.0.0.tgz", + "integrity": "sha512-y77IarGNbJfr5YZHQ+biO0O9B8rXicKLLOFRJu9mKr9LYE5/CLIKqonIBfkc/lggCK2YOtinjZJEYb39HymIog==", "dependencies": { - "@bufbuild/protobuf": "2.0.0-beta.3", + "@bufbuild/protobuf": "2.0.0", "@typescript/vfs": "^1.5.2", "typescript": "5.4.5" } @@ -11607,24 +11607,24 @@ "license": "Apache-2.0", "devDependencies": { "@bufbuild/buf": "^1.36.0", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protoc-gen-es": "^2.0.0", "@types/jasmine": "^5.0.0", "jasmine": "^5.2.0", "undici": "^5.28.4" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3" + "@bufbuild/protobuf": "^2.0.0" } }, "packages/connect-cloudflare": { "name": "@connectrpc/connect-cloudflare", "dependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1", "@connectrpc/connect-node": "2.0.0-alpha.1" }, "devDependencies": { - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protoc-gen-es": "^2.0.0", "@cloudflare/workers-types": "^4.20240725.0", "@connectrpc/connect-conformance": "^2.0.0-alpha.1", "tsx": "^4.16.5", @@ -11635,7 +11635,7 @@ "name": "@connectrpc/connect-conformance", "version": "2.0.0-alpha.1", "dependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1", "fflate": "^0.8.1", "tar-stream": "^3.1.7", @@ -11646,7 +11646,7 @@ }, "devDependencies": { "@bufbuild/buf": "^1.36.0", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protoc-gen-es": "^2.0.0", "@types/debug": "^4.1.12", "@types/node-forge": "^1.3.9", "@types/tar-stream": "^3.1.3" @@ -11666,7 +11666,7 @@ "node": ">=16.0.0" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1", "@connectrpc/connect-node": "2.0.0-alpha.1" } @@ -11682,7 +11682,7 @@ "node": ">=16.0.0" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1", "@connectrpc/connect-node": "2.0.0-alpha.1", "fastify": "^4.22.1" @@ -11717,7 +11717,7 @@ "node": ">=16.0.0" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1", "@connectrpc/connect-node": "2.0.0-alpha.1", "next": "^13.2.4 || ^14.2.5" @@ -11739,7 +11739,7 @@ "node": ">=16.0.0" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1" } }, @@ -11749,7 +11749,7 @@ "license": "Apache-2.0", "devDependencies": { "@bufbuild/buf": "^1.36.0", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protoc-gen-es": "^2.0.0", "@connectrpc/connect-conformance": "^2.0.0-alpha.1", "jasmine": "^5.2.0", "karma": "^6.4.4", @@ -11760,15 +11760,15 @@ "webdriverio": "^8.39.1" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1" } }, "packages/connect-web-bench": { "name": "@connectrpc/connect-web-bench", "dependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", + "@bufbuild/protoc-gen-es": "^2.0.0", "@connectrpc/connect-web": "2.0.0-alpha.1", "@types/brotli": "^1.3.4", "brotli": "^1.3.3", @@ -12162,14 +12162,14 @@ "packages/example": { "name": "@connectrpc/example", "dependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect-node": "^2.0.0-alpha.1", "@connectrpc/connect-web": "^2.0.0-alpha.1", "tsx": "^4.16.5" }, "devDependencies": { "@bufbuild/buf": "^1.36.0", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protoc-gen-es": "^2.0.0", "@types/express": "^4.17.18", "esbuild": "^0.19.8", "typescript": "^5.5.4" diff --git a/packages/connect-cloudflare/buf.gen.yaml b/packages/connect-cloudflare/buf.gen.yaml index e3a3c504d..0a01ab396 100644 --- a/packages/connect-cloudflare/buf.gen.yaml +++ b/packages/connect-cloudflare/buf.gen.yaml @@ -1,5 +1,9 @@ -version: v1 +# Learn more: https://buf.build/docs/configuration/v2/buf-gen-yaml +version: v2 +# Deletes the directories specified in the `out` field for all plugins before running code generation. +clean: true plugins: - - plugin: es + - local: protoc-gen-es + include_imports: true out: ./conformance/gen opt: target=ts,import_extension=.js diff --git a/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/client_compat_pb.ts b/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/client_compat_pb.ts index 01785638c..05834a748 100644 --- a/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/client_compat_pb.ts +++ b/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/client_compat_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts,import_extension=.js" // @generated from file connectrpc/conformance/v1/client_compat.proto (package connectrpc.conformance.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/config_pb.ts b/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/config_pb.ts index 478660ba7..265bb4d7d 100644 --- a/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/config_pb.ts +++ b/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/config_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts,import_extension=.js" // @generated from file connectrpc/conformance/v1/config.proto (package connectrpc.conformance.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/service_pb.ts b/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/service_pb.ts index ecc18b444..2ef9d759d 100644 --- a/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/service_pb.ts +++ b/packages/connect-cloudflare/conformance/gen/connectrpc/conformance/v1/service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts,import_extension=.js" // @generated from file connectrpc/conformance/v1/service.proto (package connectrpc.conformance.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-cloudflare/conformance/gen/invoke/v1/invoke_pb.ts b/packages/connect-cloudflare/conformance/gen/invoke/v1/invoke_pb.ts index a28605c3a..c6e08994a 100644 --- a/packages/connect-cloudflare/conformance/gen/invoke/v1/invoke_pb.ts +++ b/packages/connect-cloudflare/conformance/gen/invoke/v1/invoke_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts,import_extension=.js" // @generated from file invoke/v1/invoke.proto (package invoke.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-cloudflare/package.json b/packages/connect-cloudflare/package.json index a815f24af..18784097e 100644 --- a/packages/connect-cloudflare/package.json +++ b/packages/connect-cloudflare/package.json @@ -3,14 +3,13 @@ "private": true, "type": "module", "scripts": { - "pregenerate": "rm -rf conformance/gen/*", - "generate": "buf generate --include-imports .", + "generate": "buf generate", "conformance": "tsc --noEmit && npm run conformance:server && npm run conformance:client", "conformance:server": "npx wrangler deploy -c ./conformance/wrangler-server.toml && connectconformance --mode server --conf ./conformance/conformance-cloudflare-server.yaml -v ./conformance/server.ts", "conformance:client": "npx wrangler deploy -c ./conformance/wrangler-client.toml && connectconformance --mode client --conf ./conformance/conformance-cloudflare-client.yaml -v --known-failing @./conformance/known-failing-client.txt --bind 0.0.0.0 --port 8181 --cert $CLOUDFLARE_WORKERS_REFERENCE_SERVER_CERT --key $CLOUDFLARE_WORKERS_REFERENCE_SERVER_KEY -- ./conformance/client.ts" }, "dependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1", "@connectrpc/connect-node": "2.0.0-alpha.1" }, @@ -19,6 +18,6 @@ "wrangler": "^3.68.0", "tsx": "^4.16.5", "@connectrpc/connect-conformance": "^2.0.0-alpha.1", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3" + "@bufbuild/protoc-gen-es": "^2.0.0" } } diff --git a/packages/connect-conformance/package.json b/packages/connect-conformance/package.json index 59985cbe5..973088965 100644 --- a/packages/connect-conformance/package.json +++ b/packages/connect-conformance/package.json @@ -22,7 +22,7 @@ "build:esm": "tsc --project tsconfig.json --outDir ./dist/esm --declaration --declarationDir ./dist/esm" }, "dependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1", "fflate": "^0.8.1", "tar-stream": "^3.1.7", @@ -30,7 +30,7 @@ }, "devDependencies": { "@bufbuild/buf": "^1.36.0", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protoc-gen-es": "^2.0.0", "@types/node-forge": "^1.3.9", "@types/tar-stream": "^3.1.3", "@types/debug": "^4.1.12" diff --git a/packages/connect-conformance/src/gen/connectrpc/conformance/v1/client_compat_pb.ts b/packages/connect-conformance/src/gen/connectrpc/conformance/v1/client_compat_pb.ts index d32c63f29..4eb9377dd 100644 --- a/packages/connect-conformance/src/gen/connectrpc/conformance/v1/client_compat_pb.ts +++ b/packages/connect-conformance/src/gen/connectrpc/conformance/v1/client_compat_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts,import_extension=.js" // @generated from file connectrpc/conformance/v1/client_compat.proto (package connectrpc.conformance.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-conformance/src/gen/connectrpc/conformance/v1/config_pb.ts b/packages/connect-conformance/src/gen/connectrpc/conformance/v1/config_pb.ts index 587cf854b..619795ea2 100644 --- a/packages/connect-conformance/src/gen/connectrpc/conformance/v1/config_pb.ts +++ b/packages/connect-conformance/src/gen/connectrpc/conformance/v1/config_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts,import_extension=.js" // @generated from file connectrpc/conformance/v1/config.proto (package connectrpc.conformance.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-conformance/src/gen/connectrpc/conformance/v1/server_compat_pb.ts b/packages/connect-conformance/src/gen/connectrpc/conformance/v1/server_compat_pb.ts index 7ba4e658d..f1b9219aa 100644 --- a/packages/connect-conformance/src/gen/connectrpc/conformance/v1/server_compat_pb.ts +++ b/packages/connect-conformance/src/gen/connectrpc/conformance/v1/server_compat_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts,import_extension=.js" // @generated from file connectrpc/conformance/v1/server_compat.proto (package connectrpc.conformance.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-conformance/src/gen/connectrpc/conformance/v1/service_pb.ts b/packages/connect-conformance/src/gen/connectrpc/conformance/v1/service_pb.ts index 24184fe95..39fea9359 100644 --- a/packages/connect-conformance/src/gen/connectrpc/conformance/v1/service_pb.ts +++ b/packages/connect-conformance/src/gen/connectrpc/conformance/v1/service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts,import_extension=.js" // @generated from file connectrpc/conformance/v1/service.proto (package connectrpc.conformance.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-conformance/src/gen/connectrpc/conformance/v1/suite_pb.ts b/packages/connect-conformance/src/gen/connectrpc/conformance/v1/suite_pb.ts index 1cd3cb0c8..4da6355de 100644 --- a/packages/connect-conformance/src/gen/connectrpc/conformance/v1/suite_pb.ts +++ b/packages/connect-conformance/src/gen/connectrpc/conformance/v1/suite_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts,import_extension=.js" // @generated from file connectrpc/conformance/v1/suite.proto (package connectrpc.conformance.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-express/buf.gen.yaml b/packages/connect-express/buf.gen.yaml index 576e314c6..fe2ceb466 100644 --- a/packages/connect-express/buf.gen.yaml +++ b/packages/connect-express/buf.gen.yaml @@ -1,5 +1,10 @@ -version: v1 +# Learn more: https://buf.build/docs/configuration/v2/buf-gen-yaml +version: v2 +# Deletes the directories specified in the `out` field for all plugins before running code generation. +clean: true +inputs: + - module: buf.build/connectrpc/eliza plugins: - - plugin: es + - local: protoc-gen-es out: src/testdata/gen opt: ts_nocheck=false,target=ts,import_extension=.js diff --git a/packages/connect-express/package.json b/packages/connect-express/package.json index 4ab5f652c..40ce0c341 100644 --- a/packages/connect-express/package.json +++ b/packages/connect-express/package.json @@ -9,8 +9,7 @@ }, "scripts": { "clean": "rm -rf ./dist/*", - "pregenerate": "rm -rf src/testdata/gen/*", - "generate": "buf generate buf.build/connectrpc/eliza", + "generate": "buf generate", "build": "npm run build:cjs && npm run build:esm", "build:cjs": "tsc --project tsconfig.build.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs --declaration --declarationDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'", "build:esm": "tsc --project tsconfig.build.json --outDir ./dist/esm --declaration --declarationDir ./dist/esm", @@ -37,7 +36,7 @@ "tsx": "^4.16.5" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1", "@connectrpc/connect-node": "2.0.0-alpha.1" } diff --git a/packages/connect-express/src/testdata/gen/connectrpc/eliza/v1/eliza_pb.ts b/packages/connect-express/src/testdata/gen/connectrpc/eliza/v1/eliza_pb.ts index ca2d92d5c..e60d6fe58 100644 --- a/packages/connect-express/src/testdata/gen/connectrpc/eliza/v1/eliza_pb.ts +++ b/packages/connect-express/src/testdata/gen/connectrpc/eliza/v1/eliza_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "ts_nocheck=false,target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "ts_nocheck=false,target=ts,import_extension=.js" // @generated from file connectrpc/eliza/v1/eliza.proto (package connectrpc.eliza.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-fastify/package.json b/packages/connect-fastify/package.json index f772c0216..fd0ea07b1 100644 --- a/packages/connect-fastify/package.json +++ b/packages/connect-fastify/package.json @@ -31,7 +31,7 @@ "@connectrpc/connect-conformance": "^2.0.0-alpha.1" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "fastify": "^4.22.1", "@connectrpc/connect": "2.0.0-alpha.1", "@connectrpc/connect-node": "2.0.0-alpha.1" diff --git a/packages/connect-next/package.json b/packages/connect-next/package.json index 8086270f1..c261d5eaf 100644 --- a/packages/connect-next/package.json +++ b/packages/connect-next/package.json @@ -27,7 +27,7 @@ "node": ">=16.0.0" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "next": "^13.2.4 || ^14.2.5", "@connectrpc/connect": "2.0.0-alpha.1", "@connectrpc/connect-node": "2.0.0-alpha.1" diff --git a/packages/connect-node/package.json b/packages/connect-node/package.json index 2b361fb69..13f4100dc 100644 --- a/packages/connect-node/package.json +++ b/packages/connect-node/package.json @@ -34,7 +34,7 @@ "undici": "^5.28.4" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1" }, "devDependencies": { diff --git a/packages/connect-web-bench/README.md b/packages/connect-web-bench/README.md index 4f8c7eb02..0dff21b54 100644 --- a/packages/connect-web-bench/README.md +++ b/packages/connect-web-bench/README.md @@ -15,10 +15,10 @@ usually do. We repeat this for an increasing number of RPCs. | code generator | RPCs | bundle size | minified | compressed | | -------------- | ---: | ----------: | --------: | ---------: | -| Connect-ES | 1 | 276,258 b | 176,396 b | 35,777 b | -| Connect-ES | 4 | 280,524 b | 179,498 b | 36,547 b | -| Connect-ES | 8 | 285,394 b | 183,929 b | 37,515 b | -| Connect-ES | 16 | 294,536 b | 191,553 b | 38,996 b | +| Connect-ES | 1 | 276,454 b | 176,396 b | 35,777 b | +| Connect-ES | 4 | 280,720 b | 179,498 b | 36,547 b | +| Connect-ES | 8 | 285,590 b | 183,929 b | 37,515 b | +| Connect-ES | 16 | 294,732 b | 191,553 b | 38,996 b | | gRPC-Web | 1 | 876,563 b | 548,495 b | 52,300 b | | gRPC-Web | 4 | 928,964 b | 580,477 b | 54,673 b | | gRPC-Web | 8 | 1,004,833 b | 628,223 b | 57,118 b | diff --git a/packages/connect-web-bench/package.json b/packages/connect-web-bench/package.json index 6a02dd466..122e1bdc9 100644 --- a/packages/connect-web-bench/package.json +++ b/packages/connect-web-bench/package.json @@ -8,8 +8,8 @@ "postgenerate": "license-header ." }, "dependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", + "@bufbuild/protoc-gen-es": "^2.0.0", "@connectrpc/connect-web": "2.0.0-alpha.1", "@types/brotli": "^1.3.4", "brotli": "^1.3.3", diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/commit_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/commit_pb.ts index 83c559fe9..cb086ea70 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/commit_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/commit_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/commit.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/commit_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/commit_service_pb.ts index b4cd8602a..1b37a2c7d 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/commit_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/commit_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/commit_service.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/digest_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/digest_pb.ts index 34d11badf..2d95f8fe5 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/digest_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/digest_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/digest.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/download_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/download_service_pb.ts index e5e4dc846..7f6200db3 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/download_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/download_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/download_service.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/file_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/file_pb.ts index 67f9f397c..779b2d9d7 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/file_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/file_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/file.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/graph_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/graph_pb.ts index 04731d2c9..9deebcda6 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/graph_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/graph_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/graph.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/graph_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/graph_service_pb.ts index dcd0668ec..01dc668d9 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/graph_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/graph_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/graph_service.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/label_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/label_pb.ts index 21eec1048..32ebb11bc 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/label_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/label_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/label.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/label_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/label_service_pb.ts index aba8e7b0c..392f857e4 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/label_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/label_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/label_service.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/module_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/module_pb.ts index a95bb76c4..15e4669e4 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/module_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/module_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/module.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/module_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/module_service_pb.ts index a3728ff6c..27c6a9bd4 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/module_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/module_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/module_service.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/resource_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/resource_pb.ts index 4c886c0e7..fbdfef00d 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/resource_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/resource_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/resource.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/resource_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/resource_service_pb.ts index b0b1d5067..07fc79136 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/resource_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/resource_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/resource_service.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/upload_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/upload_service_pb.ts index 1eb8e2f67..7502b699f 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/upload_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1/upload_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1/upload_service.proto (package buf.registry.module.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/commit_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/commit_pb.ts index 0d5fb9919..c76e4554f 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/commit_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/commit_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/commit.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/commit_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/commit_service_pb.ts index b5309fc0b..fb076df55 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/commit_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/commit_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/commit_service.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/digest_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/digest_pb.ts index b6fb858c6..6e26240a5 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/digest_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/digest_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/digest.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/download_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/download_service_pb.ts index 2d2a81f70..f04981948 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/download_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/download_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/download_service.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/file_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/file_pb.ts index de88da770..3f44e7ba6 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/file_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/file_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/file.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/graph_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/graph_pb.ts index fd052b258..7db9b62f3 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/graph_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/graph_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/graph.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/graph_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/graph_service_pb.ts index d74c534f7..6c02192f2 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/graph_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/graph_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/graph_service.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/label_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/label_pb.ts index cd12bb45f..5f3154a61 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/label_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/label_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/label.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/label_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/label_service_pb.ts index ab95352a8..792b51f9a 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/label_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/label_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/label_service.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/module_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/module_pb.ts index 585f08e7a..36a159eb8 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/module_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/module_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/module.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/module_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/module_service_pb.ts index 22a108cd6..a28e9a70e 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/module_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/module_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/module_service.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/resource_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/resource_pb.ts index 417602345..032bdf609 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/resource_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/resource_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/resource.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/resource_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/resource_service_pb.ts index e7360a52c..415aac289 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/resource_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/resource_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/resource_service.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/upload_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/upload_service_pb.ts index 2bcd17b05..b491e732a 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/upload_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/module/v1beta1/upload_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/module/v1beta1/upload_service.proto (package buf.registry.module.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/organization_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/organization_pb.ts index 0922df207..3a394b12e 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/organization_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/organization_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/owner/v1/organization.proto (package buf.registry.owner.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/organization_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/organization_service_pb.ts index bdd3c587c..62ada618d 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/organization_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/organization_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/owner/v1/organization_service.proto (package buf.registry.owner.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/owner_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/owner_pb.ts index 0fa37967e..f3e341c47 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/owner_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/owner_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/owner/v1/owner.proto (package buf.registry.owner.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/owner_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/owner_service_pb.ts index 9b58204f0..c0555179a 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/owner_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/owner_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/owner/v1/owner_service.proto (package buf.registry.owner.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/user_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/user_pb.ts index 2328c1738..cd4a60a11 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/user_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/user_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/owner/v1/user.proto (package buf.registry.owner.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/user_service_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/user_service_pb.ts index b0acc8aa5..e73cd611f 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/user_service_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/owner/v1/user_service_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/owner/v1/user_service.proto (package buf.registry.owner.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/registry/priv/extension/v1beta1/extension_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/registry/priv/extension/v1beta1/extension_pb.ts index 895f9449c..e1fd27ae6 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/registry/priv/extension/v1beta1/extension_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/registry/priv/extension/v1beta1/extension_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/registry/priv/extension/v1beta1/extension.proto (package buf.registry.priv.extension.v1beta1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/validate/expression_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/validate/expression_pb.ts index 0968cc28c..6e2becf0c 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/validate/expression_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/validate/expression_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/validate/expression.proto (package buf.validate, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/validate/priv/private_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/validate/priv/private_pb.ts index 7db4fb769..f71aecf10 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/validate/priv/private_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/validate/priv/private_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/validate/priv/private.proto (package buf.validate.priv, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web-bench/src/gen/connectweb/buf/validate/validate_pb.ts b/packages/connect-web-bench/src/gen/connectweb/buf/validate/validate_pb.ts index 7a3615aae..6701fe0f8 100644 --- a/packages/connect-web-bench/src/gen/connectweb/buf/validate/validate_pb.ts +++ b/packages/connect-web-bench/src/gen/connectweb/buf/validate/validate_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file buf/validate/validate.proto (package buf.validate, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web/browserstack/gen/connectrpc/eliza/v1/eliza_pb.ts b/packages/connect-web/browserstack/gen/connectrpc/eliza/v1/eliza_pb.ts index 7081f49dc..9d09674ef 100644 --- a/packages/connect-web/browserstack/gen/connectrpc/eliza/v1/eliza_pb.ts +++ b/packages/connect-web/browserstack/gen/connectrpc/eliza/v1/eliza_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file connectrpc/eliza/v1/eliza.proto (package connectrpc.eliza.v1, syntax proto3) /* eslint-disable */ diff --git a/packages/connect-web/package.json b/packages/connect-web/package.json index b74f42c69..b039baf9e 100644 --- a/packages/connect-web/package.json +++ b/packages/connect-web/package.json @@ -37,7 +37,7 @@ "devDependencies": { "webdriverio": "^8.39.1", "@bufbuild/buf": "^1.36.0", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protoc-gen-es": "^2.0.0", "@connectrpc/connect-conformance": "^2.0.0-alpha.1", "jasmine": "^5.2.0", "karma": "^6.4.4", @@ -47,7 +47,7 @@ "karma-jasmine": "^5.1.0" }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect": "2.0.0-alpha.1" } } diff --git a/packages/connect/package.json b/packages/connect/package.json index b244c54e1..5f03a1829 100644 --- a/packages/connect/package.json +++ b/packages/connect/package.json @@ -59,11 +59,11 @@ } }, "peerDependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3" + "@bufbuild/protobuf": "^2.0.0" }, "devDependencies": { "@bufbuild/buf": "^1.36.0", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protoc-gen-es": "^2.0.0", "@types/jasmine": "^5.0.0", "jasmine": "^5.2.0", "undici": "^5.28.4" diff --git a/packages/connect/src/protocol-grpc/gen/status_pb.ts b/packages/connect/src/protocol-grpc/gen/status_pb.ts index fc8aebdcc..073301a6b 100644 --- a/packages/connect/src/protocol-grpc/gen/status_pb.ts +++ b/packages/connect/src/protocol-grpc/gen/status_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts,import_extension=.js" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts,import_extension=.js" // @generated from file status.proto (package google.rpc, syntax proto3) /* eslint-disable */ diff --git a/packages/example/package.json b/packages/example/package.json index dff136087..a0bdd292a 100644 --- a/packages/example/package.json +++ b/packages/example/package.json @@ -12,14 +12,14 @@ "node": ">=16" }, "dependencies": { - "@bufbuild/protobuf": "^2.0.0-beta.3", + "@bufbuild/protobuf": "^2.0.0", "@connectrpc/connect-node": "^2.0.0-alpha.1", "@connectrpc/connect-web": "^2.0.0-alpha.1", "tsx": "^4.16.5" }, "devDependencies": { "@bufbuild/buf": "^1.36.0", - "@bufbuild/protoc-gen-es": "^2.0.0-beta.3", + "@bufbuild/protoc-gen-es": "^2.0.0", "@types/express": "^4.17.18", "esbuild": "^0.19.8", "typescript": "^5.5.4" diff --git a/packages/example/src/gen/eliza_pb.ts b/packages/example/src/gen/eliza_pb.ts index 819a65f4f..761e4d1b0 100644 --- a/packages/example/src/gen/eliza_pb.ts +++ b/packages/example/src/gen/eliza_pb.ts @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// @generated by protoc-gen-es v2.0.0-beta.3 with parameter "target=ts" +// @generated by protoc-gen-es v2.0.0 with parameter "target=ts" // @generated from file eliza.proto (package connectrpc.eliza.v1, syntax proto3) /* eslint-disable */