-
Notifications
You must be signed in to change notification settings - Fork 15.7k
Comparing changes
Open a pull request
base repository: protocolbuffers/protobuf
base: v27.1
head repository: protocolbuffers/protobuf
compare: v27.2
- 20 commits
- 85 files changed
- 5 contributors
Commits on Jun 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cc74be3 - Browse repository at this point
Copy the full SHA cc74be3View commit details -
Merge pull request #17041 from protocolbuffers/27.x-202406051659
Merge release commits to 27.x
Configuration menu - View commit details
-
Copy full SHA for 9a58f07 - Browse repository at this point
Copy the full SHA 9a58f07View commit details
Commits on Jun 7, 2024
-
Make the underlying type of the enum by 8-bits instead of using bitfi…
…elds for it. It silences a warning in gcc 8/9. PiperOrigin-RevId: 633719795
Configuration menu - View commit details
-
Copy full SHA for 316f493 - Browse repository at this point
Copy the full SHA 316f493View commit details
Commits on Jun 11, 2024
-
Avoid calling absl::InitializeLog in protoc with MSVC
The recent github runner image update changes the MSVC version, and InitializeLog now crashes in optimized builds. Until Abseil works with MSVC, we can just log to stderr in protoc. PiperOrigin-RevId: 641024759
Configuration menu - View commit details
-
Copy full SHA for aa7fcb3 - Browse repository at this point
Copy the full SHA aa7fcb3View commit details -
Merge pull request #17077 from protocolbuffers/cp-warn
Make the underlying type of the enum by 8-bits instead of using bitfi…
Configuration menu - View commit details
-
Copy full SHA for eb61e6b - Browse repository at this point
Copy the full SHA eb61e6bView commit details
Commits on Jun 13, 2024
-
Fix delimited inheritance in all languages.
This was previously fixed in C++ (#16549), but not ported to other languages. Delimited field encoding can be inherited by fields where it's invalid, such as non-messages and maps. In these cases, the encoding should be ignored and length-prefixed should be used. PiperOrigin-RevId: 642792988
Configuration menu - View commit details
-
Copy full SHA for c4f359e - Browse repository at this point
Copy the full SHA c4f359eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29f1b52 - Browse repository at this point
Copy the full SHA 29f1b52View commit details
Commits on Jun 14, 2024
-
This was introduced by the previous fix for delimited inheritance, and was never released. This fix removes all getType() calls from crosslink, where it's not safe to inspect the message type, which is still a placeholder, until after crosslinking. Using the inferred type is not necessary since we treat messages and groups the same during crosslink. PiperOrigin-RevId: 643394981
Configuration menu - View commit details
-
Copy full SHA for 3d71e22 - Browse repository at this point
Copy the full SHA 3d71e22View commit details -
Merge pull request #17129 from protocolbuffers/delimited-fix
Backport fixes to delimited handling
Configuration menu - View commit details
-
Copy full SHA for 86768b3 - Browse repository at this point
Copy the full SHA 86768b3View commit details
Commits on Jun 17, 2024
-
Reparse unknown features using extension registry containing Java fea…
…tures. This should not be needed for generated code, but may be needed for user calls to the public buildFrom method. FileDescriptorProto should really be parsed with java features in the extension registry (like other extensions), but we can handle this in Java runtime to ease editions adoption. PiperOrigin-RevId: 638715579
Configuration menu - View commit details
-
Copy full SHA for e5ddc45 - Browse repository at this point
Copy the full SHA e5ddc45View commit details -
Reserialize all unresolved features using java features from the gene…
…rated pool in case of descriptors from the custom pool. This extends previous workaround for java features in unknown fields, to include features extensions that are known but use a mismatched descriptor. This can happen when users bring their own descriptors via buildFrom. PiperOrigin-RevId: 644013578
Configuration menu - View commit details
-
Copy full SHA for 2426a02 - Browse repository at this point
Copy the full SHA 2426a02View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7a006a - Browse repository at this point
Copy the full SHA c7a006aView commit details -
Merge pull request #17161 from protocolbuffers/backport-java
Backport handling of unknown and custom java features to 27.x
Configuration menu - View commit details
-
Copy full SHA for 6c6f514 - Browse repository at this point
Copy the full SHA 6c6f514View commit details -
Add simple conformance test that builds the old gencode against the c…
…urrent runtime. PiperOrigin-RevId: 631486123
Configuration menu - View commit details
-
Copy full SHA for 9cfb59b - Browse repository at this point
Copy the full SHA 9cfb59bView commit details -
Add stubs for GeneratedMessageV3, RepeatedFieldBuilderV3, SingleField…
…BuilderV3 for compatibility with older <4.26.x gencode. These classes are deprecated and will be removed in the next breaking change. Users should update gencode to >= 4.26.x which uses GeneratedMessage instead of GeneratedMessageV3. Tested with //compatibility:java_conformance_v3.25.0 which builds the runtime against 3.25.0 gencode. PiperOrigin-RevId: 644136172
Configuration menu - View commit details
-
Copy full SHA for 1e360a4 - Browse repository at this point
Copy the full SHA 1e360a4View commit details -
Cleanup imports and comments in V3 stubs.
PiperOrigin-RevId: 644146189
Configuration menu - View commit details
-
Copy full SHA for 270ca66 - Browse repository at this point
Copy the full SHA 270ca66View commit details
Commits on Jun 18, 2024
-
Merge pull request #17164 from protocolbuffers/cp-stubs
Backport stubs / tests for compatibility with <4.26.x gencode to 27.x
Configuration menu - View commit details
-
Copy full SHA for b0a3c23 - Browse repository at this point
Copy the full SHA b0a3c23View commit details
Commits on Jun 24, 2024
-
Fix string_type bugs in edition 2023 (#17211)
* Fix a bug in which proto code uses ctype instead of string_type internally. We change InferLegacyProtoFeatures to set ctype based on string_type when string_type is set. We need to update CppGenerator::ValidateFeatures to allow both ctype and string_type to be set because it runs after InferLegacyProtoFeatures. PiperOrigin-RevId: 645480157 * Regenerate stale files * Fix bad merge where cpp_type isn't useable during build in 27.x * Infer string type feature from ctype pre-editions. This will allow internal code to simply check the feature value instead of checking both ctype and string_type. PiperOrigin-RevId: 625897380 --------- Co-authored-by: Protobuf Team Bot <protobuf-github-bot@google.com>
Configuration menu - View commit details
-
Copy full SHA for 4923b8d - Browse repository at this point
Copy the full SHA 4923b8dView commit details
Commits on Jun 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 19bd211 - Browse repository at this point
Copy the full SHA 19bd211View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63def39 - Browse repository at this point
Copy the full SHA 63def39View commit details
There are no files selected for viewing