Skip to content

Commit 78f5b15

Browse files
committed
Prepare 4.0.0 release
Notable inclusions: * edition 2023 support * improved binary serialization/deserialization * global result now only depends on globalThis There are no material changes to our JS API. However, serialization/deserialization and strict dependence on globalThis may be significant in terms of supported clients and behavior. We generally expect the new binary handling code to be more reliable and conformant.
1 parent 100c10b commit 78f5b15

File tree

5 files changed

+20
-5
lines changed

5 files changed

+20
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permissions: read-all
66

77
# update in build.yml and codeql.yml at same time
88
env:
9-
PROTOC_VERSION: "31.0"
9+
PROTOC_VERSION: "32.0"
1010

1111
jobs:
1212
build:

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "google-protobuf",
3-
"version": "3.21.4",
3+
"version": "4.0.0",
44
"description": "Protocol Buffers for JavaScript",
55
"main": "google-protobuf.js",
66
"files": [

protobuf_javascript_release.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
load("@bazel_tools//tools/cpp:toolchain_utils.bzl", "find_cpp_toolchain")
44
load("@rules_pkg//pkg:providers.bzl", "PackageVariablesInfo")
55

6-
_PROTOBUF_JAVASCRIPT_VERSION = "3.21.4"
6+
_PROTOBUF_JAVASCRIPT_VERSION = "4.0.0"
77

88
def _package_naming_impl(ctx):
99
values = {}

yarn.lock

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,11 @@ fs.realpath@^1.0.0:
341341
resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
342342
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
343343

344+
fsevents@~2.3.2:
345+
version "2.3.3"
346+
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz"
347+
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==
348+
344349
function-bind@^1.1.2:
345350
version "1.1.2"
346351
resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz"
@@ -436,6 +441,16 @@ google-closure-compiler-linux@^20230802.0.0:
436441
resolved "https://registry.npmjs.org/google-closure-compiler-linux/-/google-closure-compiler-linux-20230802.0.0.tgz"
437442
integrity sha512-F13U4iSXiWeGtHOFS25LVem1s6zI+pJvXVPVR7zSib5ppoUJ0JXnABJQezUR3FnpxmnkALG4oIGW0syH9zPLZA==
438443

444+
google-closure-compiler-osx@^20230802.0.0:
445+
version "20230802.0.0"
446+
resolved "https://registry.npmjs.org/google-closure-compiler-osx/-/google-closure-compiler-osx-20230802.0.0.tgz"
447+
integrity sha512-ANAi/ux92Tt+Na7vFDLeK2hRzotjC5j+nxoPtE0OcuNcbjji5dREKoJxkq7r0YwRTCzAFZszK5ip/NPdTOdCEg==
448+
449+
google-closure-compiler-windows@^20230802.0.0:
450+
version "20230802.0.0"
451+
resolved "https://registry.npmjs.org/google-closure-compiler-windows/-/google-closure-compiler-windows-20230802.0.0.tgz"
452+
integrity sha512-ZQPujoNiiUyTGl8zEGR/0yAygWnbMtX/NQ/S/EHVgq5nmYkvDEVuiVbgpPAmO9lzBTq0hvUTRRATZbTU2ISxgA==
453+
439454
440455
version "20230802.0.0"
441456
resolved "https://registry.npmjs.org/google-closure-compiler/-/google-closure-compiler-20230802.0.0.tgz"

0 commit comments

Comments
 (0)