Skip to content

Commit 44beb54

Browse files
committed
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.
1 parent 373d074 commit 44beb54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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,

0 commit comments

Comments
 (0)