Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to google protobuf v29.2 #1039

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

timostamm
Copy link
Member

No description provided.

@@ -812,3 +812,17 @@ Required.Proto3.TextFormatInput.Uint64FieldMaxValueOctal.TextFormatOutput
Required.Proto3.TextFormatInput.Uint64FieldTooLarge
Required.Proto3.TextFormatInput.Uint64FieldTooLargeHex
Required.Proto3.TextFormatInput.Uint64FieldTooLargeOctal
Required.Editions_Proto2.TextFormatInput.ClosedEnumFieldByNumber.ProtobufOutput # Failed to parse input or produce output.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Skip new text format conformance tests - we do not implement the text format.

@@ -70,7 +70,7 @@ describe("editions support in plugins", () => {
generateAny() {},
});
expect(res.minimumEdition).toBe(minimumEdition);
expect(res.minimumEdition).toBe(minimumEdition);
expect(res.maximumEdition).toBe(maximumEdition);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test is supposed to verify min and max edition, but it was testing min twice. This fixes the test.

Comment on lines +75 to +78
/**
* Enable compiling unreleased editions in protoc (undocumented flag `--experimental_editions`).
*/
experimentalEditions?: boolean;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edition 2024 is unreleased and hidden behind the --experimental_editions flag in protoc. Adding this option because I took a peek.

@timostamm timostamm requested a review from smaye81 December 18, 2024 17:09
@timostamm timostamm merged commit 8ba1055 into main Dec 18, 2024
22 checks passed
@timostamm timostamm deleted the tstamm/Update-to-google-protobuf-v29.2 branch December 18, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants