Skip to content

Conversation

@osa1
Copy link
Member

@osa1 osa1 commented Sep 30, 2025

  • cl/660721933: moves some proto3 parsing functions to utils to allow reusing internally in a library when parsing an internal format.

  • cl/646759129: Update CodedBufferReader default depth limit to 100, to be consistent with the C++ and Java implementations.

  • cl/704280814: Update CodedBufferReader default size limit to max 32-bit signed integer to be consistent with the C++, Java, Objective-C implementations.

  • Also a minor change, not a CL: Type casts in coded_buffer_writer.dart was updated in this repo probably accidentally, as we never want to type cast with as in this repo. Revert it to the internal version which uses implicit casts.

With this, about half of the protobuf files become identical with the internal version.

- cl/660721933: moves some proto3 parsing functions to utils to allow
  reusing internally in a library when parsing an internal format.

- cl/646759129: Update `CodedBufferReader` default depth limit to 100,
  to be consistent with the C++ and Java implementations.

- cl/704280814: Update `CodedBufferReader` default size limit to max
  32-bit signed integer to be consistent with the C++, Java, Objective-C
  implementations.

- Also a minor change, not a CL: Type casts in
  `coded_buffer_writer.dart` was updated in this repo probably
  accidentally, as we never want to type cast with `as` in this repo.
  Revert it to the internal version which uses implicit casts.

With this, about half of the protobuf files become identical with the
internal version.
@osa1 osa1 marked this pull request as ready for review September 30, 2025 09:14
@osa1 osa1 merged commit 14bbd0b into google:master Sep 30, 2025
12 checks passed
@osa1 osa1 deleted the misc_sync branch September 30, 2025 09:20
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