You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Compiler
UPB text encoder without using reflection for Rust (used for a message's Debug trait) that will print out field number to value entries instead of field name to value entries of a message like how it's expected for the usual text format using reflection. (f9dd9ce)
Enable MessageLite::DebugString to use Message::DebugString where possible. (f810cc5)
Always report plugin support errors from protoc. (986ef8d)
Stop supporting EDITION_PROTO2 as an alias for EDITION_LEGACY. (35b3425)
Rename DynamicCastToGenerated/DownCastToGenerated to (18da465)
Mark deleted fields in descriptor.proto reserved (44c409d)
Protoc: support inf, -inf, nan, and -nan in option values (#15017) (3c03e93)
C++
Move -Werror to our test/dev bazelrc files. (#17938) (f5a1b17)
Introduce FieldDescriptor::cpp_string_type() API to replace direct ctype inspection which will be removed in the next breaking change (72b0b7a)
Removed specific MSVC settings when installing (#17285) (770090e)
Omit the _raw_default_instance_ declaration when using DLL linkage. (79c55cb)
Enable MessageLite::DebugString to use Message::DebugString where possible. (f810cc5)
Fix a bug in which proto code uses ctype instead of string_type internally. (dfbe987)
Add an optimization that prevents an exponential number of comparisons on deeply (594a71f)
Replace FindHelper() with BucketNumber() when only the bucket number is required. (8c7b1ec)
Stop supporting EDITION_PROTO2 as an alias for EDITION_LEGACY. (35b3425)
Rename DynamicCastToGenerated/DownCastToGenerated to (18da465)
Prohibit using features in the same file they're defined in. (24b91a7)
Protoc: support inf, -inf, nan, and -nan in option values (#15017) (3c03e93)
Java
Binary compatibility shims for GeneratedMessageV3, SingleFieldBuilderV3, RepeatedFieldBuilderV3, and their nested classes to restore binary compatibility with <=v3.x.x generated code built against v3.x.x prior to v4.26.0 breaking release. (6bf01c5)
Avoid allocating FieldSet iterator if FieldSet is empty (3ba7280)
Lazily resolve features for proto2 and proto3 for compatibility with old open source gencode that does not invoke feature resolution from gencode static init. (11c27df)
Introduce MessageDescriptor.IsMapType in C# reflection to make it easier to tell whether a given message was generated by protoc for a map field. (047fc76)
C#: Fix discovery of oneof declarations in descriptor protos. (b50ff60)
Objective-C
[ObjC] Issue stderr warnings for deprecated generation options. (b276420)
[ObjC] Add api to add a field to another collection of unknown fields. (0790ab4)
[ObjC] Add Swift helpers for GPBUnknownFields/GPBUnknownField. (6750ed8)
[ObjC] Introduce the new GPBUnknownFields type. (47f633e)
Rename DynamicCastToGenerated/DownCastToGenerated to (18da465)
Rust
Move -Werror to our test/dev bazelrc files. (#17938) (f5a1b17)
Add visibility for rust public aliases for '@protobuf//:protobuf_rust' (2cee142)
UPB text encoder without using reflection for Rust (used for a message's Debug trait) that will print out field number to value entries instead of field name to value entries of a message like how it's expected for the usual text format using reflection. (f9dd9ce)
Enable MessageLite::DebugString to use Message::DebugString where possible. (f810cc5)
See also UPB changes below, which may affect Rust.
Python
Raise warnings for deprecated python cpp extension GetDebugString(). (5fc5558)
Catch all the exceptions in python JSON ParseDict and raise (9cc5be1)
PHP
Chore(php): conformance testing for edition (#16712) (01744cc)
PHP C-Extension
Fix segmentation faults with enabled keep_descriptor_pool_after_request (#16993) (e844510)
See also UPB changes below, which may affect PHP C-Extension.
Ruby
[Ruby] Warn if assigning a "UTF-8" string with invalid UTF-8. (#17253) (fe9a53c)
Remove Arena_pin in favor of adopting the UPB freezing API. (1194440)
Fix Ruby FFI to pass MiniTable to upb_Message_New() aka new_message_from_def(). (47f4bc9)
Ruby C-Extension
Move -Werror to our test/dev bazelrc files. (#17938) (f5a1b17)
[Ruby] Warn if assigning a "UTF-8" string with invalid UTF-8. (#17253) (fe9a53c)
[Ruby] Fix mismatched pointer type (#17240) (0aa7449)
Remove Arena_pin in favor of adopting the UPB freezing API. (1194440)
See also UPB changes below, which may affect Ruby C-Extension.
UPB (Python/PHP/Ruby C-Extension)
Move -Werror to our test/dev bazelrc files. (#17938) (f5a1b17)
UPB text encoder without using reflection for Rust (used for a message's Debug trait) that will print out field number to value entries instead of field name to value entries of a message like how it's expected for the usual text format using reflection. (f9dd9ce)
Fix delimited inheritance in all languages. (8beb970)
Fixed printing of nan floats/doubles in Python. (f651080)
Other
Remove --copt="-Werror" from .bazelrc (#18005) (c9454f4)
Remove protobuf rust from BCR presubmits for now. (92552d3)