Bump version to 2.0.0 (#1493)

Doing a major version bump following protocolbuffers/protobuf-javascript (as https://github.com/protocolbuffers/protobuf-javascript/releases/tag/v4.0.0), for enabling protobuf Editions.
This commit is contained in:
Eryu Xia 2025-08-25 14:45:17 -07:00 committed by GitHub
parent 3b783375c5
commit 56d857e3d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ const char* kKeyword[] = {
};
// Edit the version here prior to release
static const std::string GRPC_WEB_VERSION = "1.5.0";
static const std::string GRPC_WEB_VERSION = "2.0.0";
string GetProtocVersion(GeneratorContext* context) {
Version compiler_version;

View File

@ -1,6 +1,6 @@
{
"name": "grpc-web",
"version": "1.5.0",
"version": "2.0.0",
"author": "Google Inc.",
"description": "gRPC-Web Client Runtime Library",
"homepage": "https://grpc.io/",

View File

@ -64,4 +64,4 @@ function createSymlink(target, path) {
createSymlink(path.resolve(__dirname, "../index.js"),
path.resolve(__dirname, "../node_modules/grpc-web.js"));
createSymlink(path.resolve(__dirname, "../index.d.ts"),
path.resolve(__dirname, "../node_modules/grpc-web.d.ts"));
path.resolve(__dirname, "../node_modules/grpc-web.d.ts"));