Skip to content

Commit e50318a

Browse files
authored
Allow edition 2024 (#259)
* Allow protobuf edition 2024 There are no relevant code generation changes for Edition 2024. This change just bumps the supported range so that Edition 2024 files successfully parse. bump version 4.0.0 -> 4.0.1
1 parent d221239 commit e50318a

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module(name = "protobuf_javascript", version = "4.0.0")
1+
module(name = "protobuf_javascript", version = "4.0.1")
22

33
bazel_dep(name = "protobuf", version = "33.0", repo_name = "com_google_protobuf")
44
bazel_dep(name = "rules_pkg", version = "1.0.1")

conformance/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"LICENSE.md"
1212
],
1313
"dependencies": {
14-
"google-protobuf": "file:../google-protobuf-4.0.0.tgz"
14+
"google-protobuf": "file:../google-protobuf-4.0.1.tgz"
1515
},
1616
"author": "Google Protocol Buffers Team",
1717
"license": "BSD-3-Clause"

generator/js_generator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ class Generator : public CodeGenerator {
155155
}
156156

157157
Edition GetMinimumEdition() const override { return Edition::EDITION_PROTO2; }
158-
Edition GetMaximumEdition() const override { return Edition::EDITION_2023; }
158+
Edition GetMaximumEdition() const override { return Edition::EDITION_2024; }
159159

160160
private:
161161
void GenerateHeader(const GeneratorOptions& options,

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": "4.0.0",
3+
"version": "4.0.1",
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 = "4.0.0"
6+
_PROTOBUF_JAVASCRIPT_VERSION = "4.0.1"
77

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

protoc_plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@protocolbuffers/protoc-gen-js",
3-
"version": "4.0.0-1",
3+
"version": "4.0.1",
44
"description": "Official standalone distribution of the protoc-gen-js plugin for Protocol Buffers",
55
"author": "Google Protocol Buffers Team",
66
"license": "BSD-3-Clause",

0 commit comments

Comments
 (0)