f0rmiga / gcc-toolchain

A fully-hermetic Bazel GCC toolchain for Linux.
Apache License 2.0
103 stars 24 forks source link

chore(deps): update dependency com_google_protobuf to v24 - autoclosed #146

Closed renovate[bot] closed 11 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Type Update Change
com_google_protobuf http_archive major v3.21.12 -> v24.4

Release Notes

protocolbuffers/protobuf (com_google_protobuf) ### [`v24.4`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v24.4): Protocol Buffers v24.4 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v24.3...v24.4) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### C++ - Add dependency on absl::layout, and explicitly include absl layout includes ([#​14042](https://togithub.com/protocolbuffers/protobuf/issues/14042)) (https://github.com/protocolbuffers/protobuf/commit/96c1a7d47702f6c82b96e2a0ff112b30ea85c330) - Include Abseil's str_cat.h for absl::AlphaNum ([#​14054](https://togithub.com/protocolbuffers/protobuf/issues/14054)) (https://github.com/protocolbuffers/protobuf/commit/955d371eacedc37eeff8bf61a1046d694a5fbc8a) ### Java - Rolled back breaking change to gencode before 3.15 ([#​14246](https://togithub.com/protocolbuffers/protobuf/issues/14246)) (https://github.com/protocolbuffers/protobuf/commit/b9cf19ba5ec4aa6ff108933fa4a1adb075f8c4fb) ### Python - Fix python code generation compatibility with Cython ([#​14240](https://togithub.com/protocolbuffers/protobuf/issues/14240)) (https://github.com/protocolbuffers/protobuf/commit/fe87c909399c45d54374817a52af40d6cfd8e063) ### [`v24.3`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v24.3): Protocol Buffers v24.3 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v24.2...v24.3) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### C++ - Workaround ICE on gcc 7.5 by not having one overload call the other one with a ([#​13808](https://togithub.com/protocolbuffers/protobuf/issues/13808)) (https://github.com/protocolbuffers/protobuf/commit/398a84ce486d282e217f1120b810626c6b71f058) ### Python ##### Python C-Extension (Default) - Added malloc_trim() calls to Python allocator so RSS will decrease when memory is freed (https://github.com/protocolbuffers/upb/commit/b0f5d5d94d9faafed2ab0fcaa9396cb4a984a2c1) ### UPB (Python/PHP/Ruby C-Extension) - fix a Python memory leak in ByteSize() ([#​1243](https://togithub.com/protocolbuffers/upb/issues/1243)) ([e45a6d5](https://togithub.com/protocolbuffers/protobuf/commit/e45a6d50682d5d4b204e7d76254b1585b43c6815)) ### [`v24.2`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v24.2): Protocol Buffers v24.2 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v24.1...v24.2) ### C++ - Fixes for 32-bit MSVC. (https://github.com/protocolbuffers/protobuf/commit/01e1a5c28ae00cca0821a95e3c68447df4d1591c) ### [`v24.1`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v24.1): Protocol Buffers v24.1 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v24.0...v24.1) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Python ##### Python C-Extension (Default) - Revert CopyFrom() optimization that was causing crashes back to Serialize/Parse (https://github.com/protocolbuffers/upb/commit/78e96941a47108dae2bbcb39cc481a848d3bfa67) ### Ruby ##### Ruby C-Extension - Ruby: Fix object cache lookups on 32-bit platforms ([#​13494](https://togithub.com/protocolbuffers/protobuf/issues/13494)) ([#​13580](https://togithub.com/protocolbuffers/protobuf/issues/13580)) (https://github.com/protocolbuffers/protobuf/commit/3094b492468caafcdb61c132dab636cc3c87773f) ### [`v24.0`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v24.0): Protocol Buffers v24.0 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v23.4...v24.0) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Compiler - Drop support for Bazel 5. (https://github.com/protocolbuffers/protobuf/commit/fff490558816802c5b3d51169f797046f369453f) - Allow code generators to specify whether or not they support editions. (https://github.com/protocolbuffers/protobuf/commit/e2cec78455769881b9e8c23babeb3fe8effe81fe) - Release prototype of Protobuf Editions. (https://github.com/protocolbuffers/protobuf/commit/4f9e41767a819abf8108bb29e4910fbc0f37dc6e) - Compiler: Correct depfile generation when there are no outputs (https://github.com/protocolbuffers/protobuf/commit/a44fc2b063d7466d48e2aeba05f9c35654140d87) - Add dllexport_decl for generated default instance. ([#​13085](https://togithub.com/protocolbuffers/protobuf/issues/13085)) (https://github.com/protocolbuffers/protobuf/commit/9d0961afb712de0aa6f6fea681f4a7241faac6e2) - In TSan mode, detect concurrent mutations of repeated/map fields. (https://github.com/protocolbuffers/protobuf/commit/d800c5f08b184d261e6c47662035d554f109eb3b) - Add a workaround for GCC constexpr bug (https://github.com/protocolbuffers/protobuf/commit/e15326ba807a49365b6c9f5958e969b5aa915f8c) - Turn on the table-driven parser by default, as it is no longer experimental. (https://github.com/protocolbuffers/protobuf/commit/c3e2efe70bbdfba4dd1f5c570043688fcbe74497) - Shrink code size of generated protocol buffer code via a few (https://github.com/protocolbuffers/protobuf/commit/97c351319ffa9715ed11a883c4adbaadf63a2fcc) - Implement enforcement of target constraints (https://github.com/protocolbuffers/protobuf/commit/e3848c19988e56a20fbd3fab5d181df6de575a69) - Fix(libprotoc): export useful symbols from .so (https://github.com/protocolbuffers/protobuf/commit/44b4bcc9e08b91dfeeb608c9d7c815f7cf2e00de) ### C++ - In OSS mode omit some extern template specializations. We have seen reports of compilers falling over due to the size of translation units. (https://github.com/protocolbuffers/protobuf/commit/2ed49c95f9abbdf35e741c8a4e85976142fa9ff8) - Automated rollback of commit [`adb2c4b`](https://togithub.com/protocolbuffers/protobuf/commit/adb2c4b415c35cda3e4394384ec579ea8dd8ec92). (https://github.com/protocolbuffers/protobuf/commit/9f2d7ea773217cac09630eef63d91e22b1b00d60) - Fix building shared libraries on MinGW-w64 ([#​13240](https://togithub.com/protocolbuffers/protobuf/issues/13240)) (https://github.com/protocolbuffers/protobuf/commit/c2f07bb80f5273f5ba8f3e1c25d124f47e3f5430) - Enable TSan validation to detect when a mutable accessor of a message is called concurrently with another accessor on the same message, which is a data race. (https://github.com/protocolbuffers/protobuf/commit/0275e516229daca19d29b5915ec78fe19e317e43) - Release prototype of Protobuf Editions. (https://github.com/protocolbuffers/protobuf/commit/4f9e41767a819abf8108bb29e4910fbc0f37dc6e) - Enable TSan validation to detect when a mutable accessor of a message is called concurrently with another accessor on the same message, which is a data race. (https://github.com/protocolbuffers/protobuf/commit/e2eae81b973c6944f3062fc21929368467e0ddb3) - Fix case of locality optimizer being wrong for split repeated fields and add a check that the optimized order has the same size as the unoptimized order. (https://github.com/protocolbuffers/protobuf/commit/76a327e1e1f02e2f8027d4dd02950711435ea461) - Enable TSan validation to detect when a mutable accessor of a message is called concurrently with another accessor on the same message, which is a data race. (https://github.com/protocolbuffers/protobuf/commit/80dbc50118c0ef5d38da727d1cf903408ea21b41) - Mark single arg ctor explicit in DynamicMessageFactory. (https://github.com/protocolbuffers/protobuf/commit/8fe88a5a07578dd5bd3aa648e8c2f95a22407094) - Enable TSan validation to detect when a mutable accessor of a message is called concurrently with another accessor on the same message, which is a data race. (https://github.com/protocolbuffers/protobuf/commit/6d79d13e478d677e7bdc1587d3442a070d5205cd) - Let ParseRepeatedStringOnce call AllocateFromStringBlock(). (https://github.com/protocolbuffers/protobuf/commit/bcf3e36a48c573a81d6359a61275f477a7b57c2d) - Check next tag in MpRepeatedMessage. (https://github.com/protocolbuffers/protobuf/commit/9e1cf6fe9c762ddd21bcea5039cdbf1f7b509eea) - When parsing repeated primitives, append to a tmp array on stack. (https://github.com/protocolbuffers/protobuf/commit/adb2c4b415c35cda3e4394384ec579ea8dd8ec92) - Add dllexport_decl for generated default instance. ([#​13085](https://togithub.com/protocolbuffers/protobuf/issues/13085)) (https://github.com/protocolbuffers/protobuf/commit/9d0961afb712de0aa6f6fea681f4a7241faac6e2) - `TextFormat::ParseFieldValueFromString` now takes `absl::string_view` as `input` instead of `const std::string &` (https://github.com/protocolbuffers/protobuf/commit/5411fc66796d9e14d39b7ba0385eee5ffde875dc) - In TSan mode, detect concurrent mutations of repeated/map fields. (https://github.com/protocolbuffers/protobuf/commit/d800c5f08b184d261e6c47662035d554f109eb3b) - Use the same ABI for static and shared libraries on non-Windows platforms ([#​12983](https://togithub.com/protocolbuffers/protobuf/issues/12983)) (https://github.com/protocolbuffers/protobuf/commit/4329fde9cf3fab7d1b3a9abe0fbeee1ad8a8b111) - Replace ColdChunkSkipper with iterator-based approach. (https://github.com/protocolbuffers/protobuf/commit/ad677f3215de203695ade78a25f79fa61010f770) - Check invalid type_id after casting it to uint32\_t. (https://github.com/protocolbuffers/protobuf/commit/d8901265c75387851b7b66624b5bcc5bafa9bad9) - Strengthen assertions on reflection methods. (https://github.com/protocolbuffers/protobuf/commit/eb5e9e01d9831e9fae48bc6f688114f53cccabc5) - Add assertions to reflection methods. (https://github.com/protocolbuffers/protobuf/commit/5866e4575c7e43cfcabb98efd6f36b4ba5c4bb30) - Fail to parse message sets if type_id is zero. (https://github.com/protocolbuffers/protobuf/commit/bc1b1f6e53e9844ed42c796c7246d51aef65ed65) - Enable the use of \[SU]Int32Size and EnumSize templates for AArch64 ([#​11102](https://togithub.com/protocolbuffers/protobuf/issues/11102)) (https://github.com/protocolbuffers/protobuf/commit/e285d3e307512f24576b56d18cb5a5b655e2f393) - Add a workaround for GCC constexpr bug (https://github.com/protocolbuffers/protobuf/commit/e15326ba807a49365b6c9f5958e969b5aa915f8c) - Add `ABSL_ATTRIBUTE_LIFETIME_BOUND` attribute on Map, RepeatedField and RepeatedPtrField. (https://github.com/protocolbuffers/protobuf/commit/7b7ba2df67199a2c95b21ce6eec9e6d62b71cc60) - Turn on the table-driven parser by default, as it is no longer experimental. (https://github.com/protocolbuffers/protobuf/commit/c3e2efe70bbdfba4dd1f5c570043688fcbe74497) - Fix: avoid warnings on MSVC ([#​12697](https://togithub.com/protocolbuffers/protobuf/issues/12697)) (https://github.com/protocolbuffers/protobuf/commit/4fcf2c0a0968c88c60570da8fa6d7a18371c4b4b) - Fix: avoid warnings on Windows ([#​12701](https://togithub.com/protocolbuffers/protobuf/issues/12701)) (https://github.com/protocolbuffers/protobuf/commit/f9108c2dd0921db50bb78e3fc6f0833186f8cf64) - Shrink code size of generated protocol buffer code via a few (https://github.com/protocolbuffers/protobuf/commit/97c351319ffa9715ed11a883c4adbaadf63a2fcc) - Fix(libprotoc): export useful symbols from .so ([#​12619](https://togithub.com/protocolbuffers/protobuf/issues/12619)) (https://github.com/protocolbuffers/protobuf/commit/b1ae4fa87a95ee3650a6ad4192176d845e03da52) - Forbid embedded nulls in `json_name`. (https://github.com/protocolbuffers/protobuf/commit/b478a29bf0945d5b141992885ac9cfde45c66697) - Implement option retention for C# (https://github.com/protocolbuffers/protobuf/commit/5f64444e7b19421c25ae12d3c69acbab3a70a1bb) - Implement enforcement of target constraints (https://github.com/protocolbuffers/protobuf/commit/e3848c19988e56a20fbd3fab5d181df6de575a69) - Make RepeatedField and RepeatedPtrField be destructor skippable for proto arenas. (https://github.com/protocolbuffers/protobuf/commit/e4168df564be12984ae836e5e870e634733f42a3) - Update MessageDifferencer to conditionally force comparing additional fields while doing PARTIAL comparison (compare fields which are not repeated, have no presence and are set to their default value). (https://github.com/protocolbuffers/protobuf/commit/748f57f2b67c56e050b660ffbafb9f3a5795c28a) - CMake: Use the correct jsoncpp target name in static builds ([#​12733](https://togithub.com/protocolbuffers/protobuf/issues/12733)) (https://github.com/protocolbuffers/protobuf/commit/d372fcded6390d396d116ee984c000983beecabc) - Fix: missing -DPROTOBUF_USE_DLLS in pkg-config ([#​12700](https://togithub.com/protocolbuffers/protobuf/issues/12700)) (https://github.com/protocolbuffers/protobuf/commit/f86008a548c80021bc6e72de0f992a87d68e7ce4) - Avoid using string(JOIN..., which requires cmake 3.12 (https://github.com/protocolbuffers/protobuf/commit/adee0a59f914e8bc2982b716afef2ff3b72f67a5) ### Java - Put a 4k limit on preallocation to prevent OOM from malformed inputs. (https://github.com/protocolbuffers/protobuf/commit/173adca21659bfd06ae23f07d48129e7633d1f2e) - Mark OneofDescriptor.isSynthetic() deprecated. (https://github.com/protocolbuffers/protobuf/commit/b6b86e21fb67e22b762b7230427bce00ee8c9fec) - Use ProtobufArrayList for repeated bytes field. Presize primitive arrays for fixed-length primitives. (https://github.com/protocolbuffers/protobuf/commit/b0b926a141e261ab1e4d41715c1d51cc31db46dd) - Add protobuf-kotlin into protobuf-bom ([#​12936](https://togithub.com/protocolbuffers/protobuf/issues/12936)) (https://github.com/protocolbuffers/protobuf/commit/943b696094631cf263c6d9f92811c7a3419ef17c) - Handle clear for Java proto3 optionals (synthetic oneofs) using field descriptor instead of clear method. (https://github.com/protocolbuffers/protobuf/commit/a5349027e3f0d7503bcab55240f18ec657e2dad7) - Deps: Update Guava to 32.0.0 ([#​12953](https://togithub.com/protocolbuffers/protobuf/issues/12953)) (https://github.com/protocolbuffers/protobuf/commit/cd615a8c6596de1fc35874561b53d26597c0b65a) - Migrate repeated numeric fields to use bit field to track presence instead of using it to indicate the field mutability to potentially skip work on the field during build operations. (https://github.com/protocolbuffers/protobuf/commit/f0de774705b43e120c43a545033ed29728351bdc) - Automated rollback of commit [`3e188b7`](https://togithub.com/protocolbuffers/protobuf/commit/3e188b7c04cfdaec134cb59831f009c1ce1d7f12). (https://github.com/protocolbuffers/protobuf/commit/a1b3ff0ddb33b3535bf415474d2f1a561883a81f) ### Csharp - \[C#] Replace regex that validates descriptor names ([#​12174](https://togithub.com/protocolbuffers/protobuf/issues/12174)) (https://github.com/protocolbuffers/protobuf/commit/cfb702a0788f57b6f321cd7a039701f0f53a19c2) - Implement option retention for C# (https://github.com/protocolbuffers/protobuf/commit/5f64444e7b19421c25ae12d3c69acbab3a70a1bb) ### Objective-C - Release prototype of Protobuf Editions. (https://github.com/protocolbuffers/protobuf/commit/4f9e41767a819abf8108bb29e4910fbc0f37dc6e) - Check invalid type_id after casting it to uint32\_t. (https://github.com/protocolbuffers/protobuf/commit/d8901265c75387851b7b66624b5bcc5bafa9bad9) - Fix jruby encoding in new thread ([#​12919](https://togithub.com/protocolbuffers/protobuf/issues/12919)) (https://github.com/protocolbuffers/protobuf/commit/6609bea792af9624f460dad0213bb47fd1ccf623) - Add assertions to reflection methods. (https://github.com/protocolbuffers/protobuf/commit/5866e4575c7e43cfcabb98efd6f36b4ba5c4bb30) - \[C#] Replace regex that validates descriptor names ([#​12174](https://togithub.com/protocolbuffers/protobuf/issues/12174)) (https://github.com/protocolbuffers/protobuf/commit/cfb702a0788f57b6f321cd7a039701f0f53a19c2) ### Python - Raise warinings when extend repeated field with none iterable in OSS. OSS will raise errors soon (https://github.com/protocolbuffers/protobuf/commit/96ca7d96daf6694341843350a162d9940e7552d3) - Remove RegisterExtension in message class (https://github.com/protocolbuffers/protobuf/commit/3560e2381efc3e01e67cc895383d270cd5492e13) - Removed message.\_extensions_by_number (https://github.com/protocolbuffers/protobuf/commit/86fc32cedc7aa01798938d5f860094fc21874b93) - Removed message.\_extensions_by_name (https://github.com/protocolbuffers/protobuf/commit/e737c8108a72d26e706f6eb5cbc814736a9d2389) - Remove RegisterExtension() in python generated code (https://github.com/protocolbuffers/protobuf/commit/e5a7a2eba79f697e2c2823dfbb95659088f994a6) - Deprecated APIs that add non top descriptors to pool will be removed soon (https://github.com/protocolbuffers/protobuf/commit/3f5d844d9068de034df8db49a3c91f9100bd192d) ##### Python C-Extension (Default) - Remove RegisterExtension in message class (https://github.com/protocolbuffers/upb/commit/cbacdf152a04abc7e849b68ba6c4eaeb3c3669e3) - *See also UPB changes below, which may affect Python C-Extension (Default).* ### PHP - Adding provide to php composer.json ([#​13141](https://togithub.com/protocolbuffers/protobuf/issues/13141)) (https://github.com/protocolbuffers/protobuf/commit/d603b4199e42d18a6ed433f47bdf8e5042900588) - Require PHP version >=8.0, Ruby >=2.7, and Python >=3.8 (https://github.com/protocolbuffers/protobuf/commit/a5516ca6cc5e8034344879d1da83c946cff17ccf) - Enable building PHP extension on Windows ([#​13097](https://togithub.com/protocolbuffers/protobuf/issues/13097)) (https://github.com/protocolbuffers/protobuf/commit/4d9bbac167a651db960c4d334fa1c47ecd5130e2) - Add support for option retention in PHP (https://github.com/protocolbuffers/protobuf/commit/ba348e2b3bf30f3d6f6c356020ac6999ddcf13b0) ##### PHP C-Extension - Release prototype of Protobuf Editions. (https://github.com/protocolbuffers/protobuf/commit/4f9e41767a819abf8108bb29e4910fbc0f37dc6e) - Enable building PHP extension on Windows ([#​13097](https://togithub.com/protocolbuffers/protobuf/issues/13097)) (https://github.com/protocolbuffers/protobuf/commit/4d9bbac167a651db960c4d334fa1c47ecd5130e2) - Remove RegisterExtension in message class (https://github.com/protocolbuffers/protobuf/commit/3560e2381efc3e01e67cc895383d270cd5492e13) - *See also UPB changes below, which may affect PHP C-Extension.* ### Ruby - Update ruby gemspec required ruby version to >=2.7 (https://github.com/protocolbuffers/protobuf/commit/14ea2cb2966f6ede44b91d5594d46d8ea45b64ef) - Refactor the object cache to better account for race conditions ([#​13204](https://togithub.com/protocolbuffers/protobuf/issues/13204)) (https://github.com/protocolbuffers/protobuf/commit/a01d047456783b46a4ca675eee881de110a88799) - Fix jruby encoding in new thread ([#​12919](https://togithub.com/protocolbuffers/protobuf/issues/12919)) (https://github.com/protocolbuffers/protobuf/commit/6609bea792af9624f460dad0213bb47fd1ccf623) - Implement option retention for Ruby (https://github.com/protocolbuffers/protobuf/commit/d96032d1a501d8d8ee2f581d0a9597d631797c5f) ##### Ruby C-Extension - Refactor the object cache to better account for race conditions ([#​13204](https://togithub.com/protocolbuffers/protobuf/issues/13204)) (https://github.com/protocolbuffers/protobuf/commit/a01d047456783b46a4ca675eee881de110a88799) - Release prototype of Protobuf Editions. (https://github.com/protocolbuffers/protobuf/commit/4f9e41767a819abf8108bb29e4910fbc0f37dc6e) - Remove RegisterExtension in message class (https://github.com/protocolbuffers/protobuf/commit/3560e2381efc3e01e67cc895383d270cd5492e13) - *See also UPB changes below, which may affect Ruby C-Extension.* ### UPB (Python/PHP/Ruby C-Extension) - Fix `upb_MiniTableField_CType()` to work correctly for enums & strings. (https://github.com/protocolbuffers/upb/commit/532b4d0671c806f3f590fb0313b8fc73bd460c6d) - Fixed a bug in `upb_Map_Delete()` that caused crashes in map.delete(k) for Ruby when string-keyed maps were in use. (https://github.com/protocolbuffers/upb/commit/14bad4a5bfd8ff8fced91010edac7dd3747a7bd7) ### Other - Drop Bazel 4 support and add Bazel 6 (https://github.com/protocolbuffers/protobuf/commit/4031712c34084f8c2bb4904e49e8a0d723ea8578) - Bump Abseil submodule to [`2023012`](https://togithub.com/protocolbuffers/protobuf/commit/20230125).3 ([#​12660](https://togithub.com/protocolbuffers/protobuf/issues/12660)) (https://github.com/protocolbuffers/protobuf/commit/2a3ce310843056fce9159af643c4785a0f8c85e2) - Added a conformance test for embedded nulls in JSON strings. (https://github.com/protocolbuffers/protobuf/commit/37dfe806f84617390e9779fc237a0a77f5a50d6d) ### [`v23.4`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v23.4): Protocol Buffers v23.4 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v23.3...v23.4) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Compiler - Add dllexport_decl for generated default instance. ([#​13085](https://togithub.com/protocolbuffers/protobuf/issues/13085)) (https://github.com/protocolbuffers/protobuf/commit/0c70d9514090a2e5e5b35eba7e4d23d97592ec49) ### Java - Deps: Update Guava to 32.0.1 (https://github.com/protocolbuffers/protobuf/commit/40d577782b75aa4f3d9149a1eb6b01b2349f13af) ### [`v23.3`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v23.3): Protocol Buffers v23.3 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v23.2...v23.3) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### C++ - Regenerate stale files ([#​13046](https://togithub.com/protocolbuffers/protobuf/issues/13046)) (https://github.com/protocolbuffers/protobuf/commit/58b6ddb03ef8f186c9225d0107213f74750a82f3) - Use the same ABI for static and shared libraries on non-Windows platforms ([#​12983](https://togithub.com/protocolbuffers/protobuf/issues/12983)) (https://github.com/protocolbuffers/protobuf/commit/efa1ec75cf152991a64cedf9c4a1ec5cb826ee34) ### Objective-C - Regenerate stale files ([#​13046](https://togithub.com/protocolbuffers/protobuf/issues/13046)) (https://github.com/protocolbuffers/protobuf/commit/58b6ddb03ef8f186c9225d0107213f74750a82f3) ### UPB (Python/PHP/Ruby C-Extension) - Fixed a bug in `upb_Map_Delete()` that caused crashes in map.delete(k) for Ruby when string-keyed maps were in use. (https://github.com/protocolbuffers/upb/commit/2de798e976d6c12d75b8b7d40f38da1f0ef53c8b) ### [`v23.2`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v23.2): Protocol Buffers v23.2 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v23.1...v23.2) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Compiler - Add missing header to Objective-c generator ### Java - Rollback of: Simplify protobuf Java message builder by removing methods that calls the super class only. (https://github.com/protocolbuffers/protobuf/commit/b556b8871cd07971b09df7b73ff6a461d78560fb) ### [`v23.1`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v23.1): Protocol Buffers v23.1 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v23.0...v23.1) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Compiler - Add a workaround for GCC constexpr bug (https://github.com/protocolbuffers/protobuf/commit/67ecdde4f257094c4019ebfda62b2ae60facb6fa) ### C++ - Add a workaround for GCC constexpr bug (https://github.com/protocolbuffers/protobuf/commit/67ecdde4f257094c4019ebfda62b2ae60facb6fa) ### Csharp - \[C#] Replace regex that validates descriptor names ([#​12174](https://togithub.com/protocolbuffers/protobuf/issues/12174)) (https://github.com/protocolbuffers/protobuf/commit/0ced986277be52dcb666e802a4602081df4e7264) ### [`v23.0`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v23.0): Protocol Buffers v23.0 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v22.5...v23.0) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Compiler - Implement a retain_options flag in protoc. (https://github.com/protocolbuffers/protobuf/commit/83507c7f4e8a53cc6e800efac5ce157cd960f657) - Make protoc --descriptor_set_out respect option retention (https://github.com/protocolbuffers/protobuf/commit/ae2531dcc2492c51554ea36d15540ff816ca6abd) - Modify release artifacts for protoc to statically link system libraries. (https://github.com/protocolbuffers/protobuf/commit/723bd4c3c1a51ccf7e9726453f0b710223c4b583) - Extension declaration: Enforce that if the extension range has a declaration then all extensions in that range must be declared. This should prevent non-declared extensions from being added. (https://github.com/protocolbuffers/protobuf/commit/5dc171f71eca66579b06d4400ee5c94bfa68947a) - Implement "reserved" for extension declaration. (https://github.com/protocolbuffers/protobuf/commit/41287bd5d5373e91277b849e93c7ae2a0238b5c3) - Open-source extension declaration definition. (https://github.com/protocolbuffers/protobuf/commit/145900f06c732974af996a28a3e2c211ae104888) ### C++ - Fix(libprotoc): export useful symbols from .so (https://github.com/protocolbuffers/protobuf/commit/46fb4aa8d2ade5e0067fce271fcb5293c5c70500) - Turn off clang::musttail on i386 (https://github.com/protocolbuffers/protobuf/commit/b40633ff0bf9b34bf3bec9f3d35eec2d951a98b8) - Fixes Clang 6 linker bug (https://github.com/protocolbuffers/protobuf/commit/49bb3f20647b914fc52909eec19f260fb9a945f3) - Remove PROTOBUF_DEPRECATED in favor of \[\[deprecated]]. (https://github.com/protocolbuffers/protobuf/commit/5c59290022dcbbea71099bc40097a149a2446f21) - Add `assert` to the list of keywords for C++. (https://github.com/protocolbuffers/protobuf/commit/a75c1a2761e49d8afb7838c03b923b909420f7fd) - Added Reflection::GetCord() method in C++ (https://github.com/protocolbuffers/protobuf/commit/6ecb5d097e8d9bfafeb5ec8d251827f0d444f2ce) - Support C++ protobuf ctype=CORD for bytes field (generated code). (https://github.com/protocolbuffers/protobuf/commit/714f97502662ae75ed64f8456b43d5536740b022) - Expand LazySerializerEmitter to cover proto3 cases. (https://github.com/protocolbuffers/protobuf/commit/fab7f928b5375a20fd8d33556632128e936ad436) - Unconditionally generate unknown field accessors. (https://github.com/protocolbuffers/protobuf/commit/dd8a3cf2b54a06ef0558c004f9fca570278ad4a1) - Introduce proto filter for inject_field_listener_events. (https://github.com/protocolbuffers/protobuf/commit/2dc5338ea222e1f4e0357e46b702ed6a0e82aaeb) - Add ParseFromCord to TextFormat (https://github.com/protocolbuffers/protobuf/commit/055a6c669fd1ee67803f71dcc55a3b746376934f) - Mark proto2::Arena::GetArena as deprecated. (https://github.com/protocolbuffers/protobuf/commit/9f959583da525ba006a6dc6b8b8b733e4d8c619a) ### Java - Adds `Timestamps.now()`. (https://github.com/protocolbuffers/protobuf/commit/295f1125ceff5e07dfb8bfd2d7bada6c28918c0c) - Added Reflection::GetCord() method in C++ (https://github.com/protocolbuffers/protobuf/commit/6ecb5d097e8d9bfafeb5ec8d251827f0d444f2ce) - Re-attach OSGI headers to lite,core, and util. This information was dropped in the move from maven to bazel. (https://github.com/protocolbuffers/protobuf/commit/4b5652b030eda12fa1c7ea3e1ddd8d0404bd4ac5) - Add Java FileDescriptor.copyHeadingTo() which copies file-level settings (e.g. syntax, package, file options) to FileDescriptorProto.Builder (https://github.com/protocolbuffers/protobuf/commit/6e6d0bce4a04fd13d50485c22ecc7e96d9a16000) - Remove unnecessary has bits from proto2 Java. (https://github.com/protocolbuffers/protobuf/commit/c440da9e1389db520b79acb19cb55e5b3266dfba) - Add casts to make protobuf compatible with Java 1.8 runtime. (https://github.com/protocolbuffers/protobuf/commit/d40aadf823cf7e1e62b65561656f689da8969463) - Fix mutability bug in Java proto lite: sub-messages inside of oneofs were not (https://github.com/protocolbuffers/protobuf/commit/fa82155c653776304bf6d03c33bea744db1b5eff) - Document known quirks of EnumDescriptor::is_closed() when importing across files with different syntaxes. (https://github.com/protocolbuffers/protobuf/commit/1de344fcd1c1b2c6ec937151d69634171463370d) ##### Kotlin - Remove errorprone dependency from kotlin protos. (https://github.com/protocolbuffers/protobuf/commit/7b6e8282157f0280ecb3fd9fd4c6519a7cd5afbc) ### Csharp - Make json_name take priority over name (fully) in C# parsing ([#​12262](https://togithub.com/protocolbuffers/protobuf/issues/12262)) (https://github.com/protocolbuffers/protobuf/commit/4326e0f852a3cf47c30bf99db66c3e3e77658dfb) - Add C# presence methods to proto3 oneof fields. (https://github.com/protocolbuffers/protobuf/commit/affadac847370221e2ec0e405d5715b4a22e518f) ### Objective-C - Enforce the max message size when serializing to binary form. (https://github.com/protocolbuffers/protobuf/commit/e6d01b2edcb04fdfb0f3cf79bf9d427f57fa2eac) - Mark mergeFromData:extensionRegistry: as deprecated. (https://github.com/protocolbuffers/protobuf/commit/e3b00511099838e22f59827bfb7c72e27fcc22fa) ### Python - Fix bug in \_internal_copy_files where the rule would fail in downstream repositories. (https://github.com/protocolbuffers/protobuf/commit/b36c39236e43f4ab9c1472064b6161d00aef21c5) - Make numpy/pip_deps a test-only dependency. (https://github.com/protocolbuffers/protobuf/commit/fe038fc9d2e6a469c3cd2f1a84a6560c0a123481) - Fix Python bug with required fields (https://github.com/protocolbuffers/protobuf/commit/579f4ab70dc5c37f075a0b3f186fe80dcdf8165d) - Mark deprecated SupportsUnknownEnumValues on Message reflection. Use FieldDescriptor or EnumDescriptor instead. (https://github.com/protocolbuffers/protobuf/commit/0b9134bb4eb281c3ed1446e8acf1aa354e0fe67e) - Raise warnings for MessageFactory class usages (https://github.com/protocolbuffers/protobuf/commit/dd9dd86fbca3ab5c1c7f0aa2534dc5da61530711) - Add Python support for retention attribute (https://github.com/protocolbuffers/protobuf/commit/63389c027f474954e8178e77ac624e8ef952626d) - Document known quirks of EnumDescriptor::is_closed() when importing across files with different syntaxes. (https://github.com/protocolbuffers/protobuf/commit/1de344fcd1c1b2c6ec937151d69634171463370d) ##### Python C-Extension (Default) - Fix Python bug with required fields (https://github.com/protocolbuffers/upb/commit/ea4cb79f669e69342d7ced4d0255050325df41e3) - *See also UPB changes below, which may affect Python C-Extension (Default).* ### PHP - RepeatedField: unset by index ([#​11425](https://togithub.com/protocolbuffers/protobuf/issues/11425)) (https://github.com/protocolbuffers/protobuf/commit/363fa89b1f02d4c51028f8c8bcd506f08eaa6b49) ##### PHP C-Extension - RepeatedField: unset by index ([#​11425](https://togithub.com/protocolbuffers/protobuf/issues/11425)) (https://github.com/protocolbuffers/protobuf/commit/363fa89b1f02d4c51028f8c8bcd506f08eaa6b49) - *See also UPB changes below, which may affect PHP C-Extension.* ### Ruby - Change the Ruby code generator to emit a serialized proto instead of the DSL ([#​12319](https://togithub.com/protocolbuffers/protobuf/issues/12319)) (https://github.com/protocolbuffers/protobuf/commit/bd52d0483987f1a5186fc3daa261d1d76a787bcf) - Feat(6178): emit ruby enum as integer ([#​11673](https://togithub.com/protocolbuffers/protobuf/issues/11673)) (https://github.com/protocolbuffers/protobuf/commit/8aa2b177f156393ce607b4ffea8c1ac28560c746) ##### Ruby C-Extension - Feat(6178): emit ruby enum as integer ([#​11673](https://togithub.com/protocolbuffers/protobuf/issues/11673)) (https://github.com/protocolbuffers/protobuf/commit/8aa2b177f156393ce607b4ffea8c1ac28560c746) - Ruby: Implement Write Barriers ([#​11793](https://togithub.com/protocolbuffers/protobuf/issues/11793)) (https://github.com/protocolbuffers/protobuf/commit/d82d8a48f6c50ae6c811dbd6b7383e36a691c6b3) - *See also UPB changes below, which may affect Ruby C-Extension.* ### UPB (Python/PHP/Ruby C-Extension) - Implements upb_Message_DeepClone. (https://github.com/protocolbuffers/upb/commit/3286f948f888f0c912c4ec483db9a1a50a6782a3) ### Other - Fix: missing -DPROTOBUF_USE_DLLS in pkg-config ([#​12700](https://togithub.com/protocolbuffers/protobuf/issues/12700)) (https://github.com/protocolbuffers/protobuf/commit/1ca4e9c4859a23112684138c78608ddc0b8f1770) - Avoid using string(JOIN..., which requires cmake 3.12 (https://github.com/protocolbuffers/protobuf/commit/54caf40312b3e7fd7794e267ef17e3be202de83d) - Bump Abseil submodule to [`2023012`](https://togithub.com/protocolbuffers/protobuf/commit/20230125).3 ([#​12660](https://togithub.com/protocolbuffers/protobuf/issues/12660)) (https://github.com/protocolbuffers/protobuf/commit/750a6e7d7cbd8c022e18834f0a57fcd76d2c3c58) - Fix btree issue in map tests. (https://github.com/protocolbuffers/protobuf/commit/9898418bd9188b22e9db7f94529df638e65b14f7) - Fix declared dependencies for pkg-config ([#​12518](https://togithub.com/protocolbuffers/protobuf/issues/12518)) (https://github.com/protocolbuffers/protobuf/commit/f79e35c821a50c6a37ffe365511b892f5409ac44) - Fix build for newlib ([#​12501](https://togithub.com/protocolbuffers/protobuf/issues/12501)) (https://github.com/protocolbuffers/protobuf/commit/945bf3c48de64eb3c8a96f5dd36c19670c3dbcdd) - Update usage disclaimer on FieldOptions.ctype (https://github.com/protocolbuffers/protobuf/commit/b8e7192a731a8ece54b11f2caf87c32209559525) - Add config option to print 64-bit integers in JSON as unquoted ints if they can be losslessly converted into a 64-bit float. (https://github.com/protocolbuffers/protobuf/commit/330e10d53fe1c12757f1cdd7293d0881eac4d01e) - Version protoc according to the compiler version number. (https://github.com/protocolbuffers/protobuf/commit/e67136d289e6cf4265e2763dd77216940c400ac9) - Fix shared object ABI exports ([#​5144](https://togithub.com/protocolbuffers/protobuf/issues/5144)) ([#​11032](https://togithub.com/protocolbuffers/protobuf/issues/11032)) (https://github.com/protocolbuffers/protobuf/commit/462964ed322503af52638d54c00a0a67d7133349) - Ensure VarintParseSlowArm{32,64} are exported with PROTOBUF_EXPORT (https://github.com/protocolbuffers/protobuf/commit/2ce56399e30db62e45869c6fd2d2bbacbb81a7ed) - Update the min required CMake version to 3.10 (https://github.com/protocolbuffers/protobuf/commit/bcb20bbdfa0cba15c869d413edaaeb8507526a2e) ### [`v22.5`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v22.5): Protocol Buffers v22.5 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v22.4...v22.5) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### C++ - Fix: avoid warnings on MSVC ([#​12697](https://togithub.com/protocolbuffers/protobuf/issues/12697)) (https://github.com/protocolbuffers/protobuf/commit/4483f10a1d7a553b17301d8fce477a12a6777c00) - Fix: avoid warnings on Windows ([#​12701](https://togithub.com/protocolbuffers/protobuf/issues/12701)) (https://github.com/protocolbuffers/protobuf/commit/a1435ade2aad3ce1171d7bdfcc051df3c97ec71c) - Add missing cstdint header (https://github.com/protocolbuffers/protobuf/commit/9daf5fb6ca8c8309548059c8f3c3574875036354) - Fix: missing -DPROTOBUF_USE_DLLS in pkg-config ([#​12700](https://togithub.com/protocolbuffers/protobuf/issues/12700)) (https://github.com/protocolbuffers/protobuf/commit/18fae1c15112efad2080c2b2f726d904fea48b35) - Avoid using string(JOIN..., which requires cmake 3.12 (https://github.com/protocolbuffers/protobuf/commit/0ce610ef46ce8937306778105a881cd7c28657ec) - Explicitly include GTest package in examples (https://github.com/protocolbuffers/protobuf/commit/5191c3b26435dd852cd57e9ab5c73f4ea8753183) - Bump Abseil submodule to [`2023012`](https://togithub.com/protocolbuffers/protobuf/commit/20230125).3 ([#​12660](https://togithub.com/protocolbuffers/protobuf/issues/12660)) (https://github.com/protocolbuffers/protobuf/commit/2880a20b01af3c955a76f2a1a58342fea8b5f741) ### [`v22.4`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v22.4): Protocol Buffers v22.4 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v22.3...v22.4) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### C++ - Fix libprotoc: export useful symbols from .so (https://github.com/protocolbuffers/protobuf/commit/860fbf10c7347a2ccca2ca27cb1cc80acacc929c) - Fix btree issue in map tests. (https://github.com/protocolbuffers/protobuf/commit/d379c083cb54ad3d908d7adbc46202b9e8a6f8e3) ### Python - Fix bug in \_internal_copy_files where the rule would fail in downstream repositories. (https://github.com/protocolbuffers/protobuf/commit/859410bccc59aeeef1c48e34960fe93827767bac) ### Other - Bump utf8\_range to version with working pkg-config ([#​12584](https://togithub.com/protocolbuffers/protobuf/issues/12584)) (https://github.com/protocolbuffers/protobuf/commit/b05ee4f0102e60dbf63c55ff79839879a6ca2a03) - Fix declared dependencies for pkg-config (https://github.com/protocolbuffers/protobuf/commit/2c55945fc55eddef4f38f5f43b2a7b0c9a45accf) - Update abseil dependency and reorder dependencies to ensure we use the version specified in protobuf_deps. (https://github.com/protocolbuffers/protobuf/commit/99529a22092fd2b06bfddc3d0af702ff7a1b39bf) - Turn off clang::musttail on i386 (https://github.com/protocolbuffers/protobuf/commit/5381f405067b28920c7a8dd37b892ce55c654e29) ### [`v22.3`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v22.3): Protocol Buffers v22.3 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v22.2...v22.3) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### UPB (Python/PHP/Ruby C-Extension) - Remove src prefix from proto import (https://github.com/protocolbuffers/upb/commit/e05f22a398cdfd6d760653ff862f290b06940e3b) ### Other - Fix .gitmodules to use the correct absl branch (https://github.com/protocolbuffers/protobuf/commit/f51da1fe664ad4e76a0238b7ddbf78bb72fb0d8b) - Remove erroneous dependency on googletest ([https://github.com/protocolbuffers/protobuf/pull/12276](https://togithub.com/protocolbuffers/protobuf/pull/12276)) ### [`v22.2`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v22.2): Protocol Buffers v22.2 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v22.1...v22.2) ### Announcements - **This release was only published for Java and Ruby.** - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Java - Add version to intra proto dependencies and add kotlin stdlib dependency (https://github.com/protocolbuffers/protobuf/commit/99ed01009f14fbfb885f98c3512818af8033ef6a) - Add $ back for osgi header (https://github.com/protocolbuffers/protobuf/commit/d80c12d3221fd489b779fccf0020a17bd666a311) - Remove $ in pom files (https://github.com/protocolbuffers/protobuf/commit/8ac23375950e905f54f2523807b68618bd047835) ##### Kotlin - Add version to intra proto dependencies and add kotlin stdlib dependency (https://github.com/protocolbuffers/protobuf/commit/99ed01009f14fbfb885f98c3512818af8033ef6a) - Remove $ in pom files (https://github.com/protocolbuffers/protobuf/commit/8ac23375950e905f54f2523807b68618bd047835) ### [`v22.1`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v22.1): Protocol Buffers v22.1 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v22.0...v22.1) ### Announcements - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Compiler - Modify release artifacts for protoc to statically link system libraries. (https://github.com/protocolbuffers/protobuf/commit/8ad6cdd007fe8c09ec95e69cc7a7419264d11655) - Add visibility of plugin.proto to python directory (https://github.com/protocolbuffers/protobuf/commit/620d21a8ac8ba9b00f4519df6af28f09d184ac3e) - Strip "src" from file name of plugin.proto (https://github.com/protocolbuffers/protobuf/commit/9c89a70e6b62ec2914fa7ff72570c553e530b9b7) ### Java - Add OSGi headers to pom files. (https://github.com/protocolbuffers/protobuf/commit/e909bfc5174b73d5bcf32199bc0f71dde7325c2f) ##### Kotlin - Remove errorprone dependency from kotlin protos. (https://github.com/protocolbuffers/protobuf/commit/66f80c3610b0cd61bedd42c78e78ae2eac002142) ### Other - Version protoc according to the compiler version number. (https://github.com/protocolbuffers/protobuf/commit/b1435864256653b18cb8c1fc40b1c9e0da5f978e) ### [`v22.0`](https://togithub.com/protocolbuffers/protobuf/releases/tag/v22.0): Protocol Buffers v22.0 [Compare Source](https://togithub.com/protocolbuffers/protobuf/compare/v21.12...v22.0) ### Announcements - **This version includes breaking changes to: Cpp.** - \[Cpp] Migrate to Abseil's logging library. (https://github.com/protocolbuffers/protobuf/commit/a9f1ea6371c108876649f27a5940a59cc8594768) - \[Cpp] `proto2::Map::value_type` changes to `std::pair`. (https://github.com/protocolbuffers/protobuf/commit/46656ed080e959af3d0cb5329c063416b5a93ef0) - \[Cpp] Mark final ZeroCopyInputStream, ZeroCopyOutputStream, and DefaultFieldComparator classes. (https://github.com/protocolbuffers/protobuf/commit/bf9c22e1008670b497defde335f042ffd5ae25a1) - \[Cpp] Add a dependency on Abseil ([#​10416](https://togithub.com/protocolbuffers/protobuf/issues/10416)) - \[Cpp] Remove all autotools usage ([#​10132](https://togithub.com/protocolbuffers/protobuf/issues/10132)) - \[Cpp] Add C++20 reserved keywords - \[Cpp] Dropped C++11 Support - \[Cpp] Delete Arena::Init - \[Cpp] Replace JSON parser with new implementation - \[Cpp] Make RepeatedField::GetArena non-const in order to support split RepeatedFields. - You can refer to our [migration guide](https://protobuf.dev/programming-guides/migration/) for details on what C++ code changes will be necessary to be compatible with 22.0. - [Protobuf News](https://protobuf.dev/news/) may include additional announcements or pre-announcements for upcoming changes. ### Compiler - Breaking change: Migrate to Abseil's logging library. (https://github.com/protocolbuffers/protobuf/commit/a9f1ea6371c108876649f27a5940a59cc8594768) - Add debug_redact field option to protobuf. (https://github.com/protocolbuffers/protobuf/commit/9238c4843a1a25c588f11da5101c858f6ae6f7a8) - Protoc: accept capital X to indicate hex escape in string literals ([#​10757](https://togithub.com/protocolbuffers/protobuf/issues/10757)) - Gracefully handle weird placement of linebreaks around comments ([#​10660](https://togithub.com/protocolbuffers/protobuf/issues/10660)) - Open up visibility for some compiler internals ([#​10608](https://togithub.com/protocolbuffers/protobuf/issues/10608)) - Protoc: validate reserved names are identifiers ([#​10586](https://togithub.com/protocolbuffers/protobuf/issues/10586)) - Protoc: validate custom json_name configuration ([#​10581](https://togithub.com/protocolbuffers/protobuf/issues/10581)) - Protoc: fix consistency with parsing very large decimal numbers ([#​10555](https://togithub.com/protocolbuffers/protobuf/issues/10555)) - Use protoc version for --version ([#​10386](https://togithub.com/protocolbuffers/protobuf/issues/10386)) - Fix for grpc.tools [#​17995](https://togithub.com/protocolbuffers/protobuf/issues/17995) & protobuf [#​7474](https://togithub.com/protocolbuffers/protobuf/issues/7474) (handle UTF-8 paths in argumentfile) ([#​10200](https://togithub.com/protocolbuffers/protobuf/issues/10200)) - Print full path name of source .proto file on error - Include proto message type in the annotation comments. - Maven artifact suffix format has changed to -RCN instead of -rc-N ### C++ - Document known quirks of EnumDescriptor::is_closed() when importing across files with different syntaxes. (https://github.com/protocolbuffers/protobuf/commit/a594141cc408b972c9ffe2bcf14958174d0a4fe4) - Add C++ support for retention attribute (https://github.com/protocolbuffers/protobuf/commit/8f882e7f3d0535760c46f8cdde9f40006e33e02a) - Breaking change: Migrate to Abseil's logging library. (https://github.com/protocolbuffers/protobuf/commit/a9f1ea6371c108876649f27a5940a59cc8594768) - No longer define no_threadlocal on OpenBSD ([#​10610](https://togithub.com/protocolbuffers/protobuf/issues/10610)) - CMake: Enable projects to set the C++ version ([#​10464](https://togithub.com/protocolbuffers/protobuf/issues/10464)) - Breaking Change: Add a dependency on Abseil ([#​10416](https://togithub.com/protocolbuffers/protobuf/issues/10416)) - Upgrade third_party/googletest submodule to current main branch ([#​10393](https://togithub.com/protocolbuffers/protobuf/issues/10393)) - Breaking Change: Remove all autotools usage ([#​10132](https://togithub.com/protocolbuffers/protobuf/issues/10132)) - CMake: use add_compile_options instead of add_definitions for compile options ([#​10293](https://togithub.com/protocolbuffers/protobuf/issues/10293)) - Fix [#​9947](https://togithub.com/protocolbuffers/protobuf/issues/9947): make the ABI identical between debug and non-debug builds ([#​10271](https://togithub.com/protocolbuffers/protobuf/issues/10271)) - Allow for CMAKE_INSTALL_LIBDIR to be absolute ([#​10090](https://togithub.com/protocolbuffers/protobuf/issues/10090)) - Add header search paths to protobuf-c++ spec ([#​10024](https://togithub.com/protocolbuffers/protobuf/issues/10024)) - Cpp_generated_lib_linked support is removed in protoc - Reduced .pb.o object file size slightly by explicitly instantiating - Breaking Change: Add C++20 reserved keywords. - Breaking Change: Dropped C++11 Support - Fixed crash in ThreadLocalStorage for pre-C++17 compilers on 32-bit ARM. - Clarified that JSON API non-OK statuses are not a stable API. - Added a default implementation of MessageDifferencer::Reporter methods. - Proto2::MapPair is now an alias to std::pair. - Hide C++ RepeatedField::UnsafeArenaSwap - Use table-driven parser for reflection based objects. - Add ARM-optimized Varint decoding functions. - Minor optimization for parsing groups - Declare ReflectiveProtoHook class - Reduce size of VarintParse code in protocol buffers, by calling the shared - Avoid inlining some large heavily duplicated routines in repeated_ptr_field.h - Add ReflectiveProtoHook to Reflection. - Turns on table-driven parser for reflection based objects. - Save code space by avoiding inlining of large-in-aggregate code-space MessageLite::~MessageLite destructor. - Undefine the macro `linux` when compiling protobuf - Reduce memory consumption of MessageSet parsing. - Save code space by avoiding inlining of large-in-aggregate code-space MessageLite::~MessageLite destructor. - Breaking Change: Delete Arena::Init - Make a PROTOBUF_POISON/UNPOISON to reduce noise in the source - Put alignment functions in "arena_align.h" - Split off `cleanup` arena functions into "arena_cleanup.h" - Fix signed / unsigned match in CHECK_EQ - Kill Atomic<>. it's not pulling it's weight - Move AllocationPolicy out of arena_impl, and unify arena_config for bazel - Fix failure case in table-driven parser. - Breaking Change: Replace JSON parser with new implementation - Introduce the Printer::{SetRedactDebugString,SetRandomizeDebugString} private flags. - Introduce global flags to control Printer::{SetRedactDebugString, SetRandomizeDebugString}. - Proto3 string fields no longer trigger clang-tidy warning bugprone-branch-clone. - Fix the API of DescriptorUpgrader::set_allow_unknown_dependencies to set to True always, and to populate into the DescriptorPool as well. - Report line numbers consistently in text-format deprecated-field warnings. - Fixed C++ code generation for protos that use int32\_t, uint32\_t, int64\_t, uint64\_t, size_t as field names. - Annotate generated C++ public aliases for enum types. - Change default arena max block size from 8K to 32K. - Begin emitting semantic metadata for some C++ proto features. (https://github.com/protocolbuffers/protobuf/commit/2880fef06cb7443ba24dc1264ba9f02115407f2c) ### Java - Document known quirks of EnumDescriptor::is_closed() when importing across files with different syntaxes. (https://github.com/protocolbuffers/protobuf/commit/a594141cc408b972c9ffe2bcf14958174d0a4fe4) - Use LazyStringArrayList directly in gencode. (https://github.com/protocolbuffers/protobuf/commit/e6dd59e6cdd16664d60f9e2c2ee97cf1effb4fa7) - Add Java support for retention attribute (https://github.com/protocolbuffers/protobuf/commit/1325913afd65b39c268e5c4101d6b82f32957ae9) - Expect fail when serialize inf and nan for Value.number_value in json format. fixes [#​11259](https://togithub.com/protocolbuffers/protobuf/issues/11259) (https://github.com/protocolbuffers/protobuf/commit/ca1cb1ba80ef18f5dccfb5b6ee7fa623ba6caab5) - Create a helper function that can make a mutable copy of any ProtobufList (https://github.com/protocolbuffers/protobuf/commit/56696066132560c5de9ca888a097ba570cda1910) - Add debug_redact field option to protobuf. (https://github.com/protocolbuffers/protobuf/commit/9238c4843a1a25c588f11da5101c858f6ae6f7a8) - Remove unused package private class ProtobufLists. (https://github.com/protocolbuffers/protobuf/commit/b51c551e37b1036bf54ade9911d9a39aed879ab0) - Mark UnmodifiableLazyStringList deprecated. UnmodifiableLazyStringList is unnecessary and will be removed in a future release. (https://github.com/protocolbuffers/protobuf/commit/9595cbbf9a1dbd03edaf3def50befd99b727642c) - Make emptyList public and mark the public EMPTY field as deprecated. (https://github.com/protocolbuffers/protobuf/commit/c658e27529ccf4a000724ab3622f1b807c85449b) - Enable Text format parser to skip unknown short-formed repeated fields. (https://github.com/protocolbuffers/protobuf/commit/6dbd4131fa6b2ad29b2b1b827f21fc61b160aeeb) - Expose internal setExtension method for Kotlin (https://github.com/protocolbuffers/protobuf/commit/33d1070fc46ecb6189d57095bc483bc8637dc972) - Mark default instance as immutable first to avoid race during static initialization of default instances. ([#​10770](https://togithub.com/protocolbuffers/protobuf/issues/10770)) - Add serialVersionUID to ByteString and subclasses ([#​10718](https://togithub.com/protocolbuffers/protobuf/issues/10718)) - Fix serialization warnings in generated code when compiling with Java 18 and above ([#​10561](https://togithub.com/protocolbuffers/protobuf/issues/10561)) - Fix Timestamps fromDate for negative 'exact second' java.sql.Timestamps ([#​10321](https://togithub.com/protocolbuffers/protobuf/issues/10321)) - Fix Timestamps.fromDate to correctly handle java.sql.Timestamps before unix epoch ([#​10126](https://togithub.com/protocolbuffers/protobuf/issues/10126)) - Performance improvement for repeated use of FieldMaskUtil#merge by caching - Optimized Java proto serialization gencode for protos having many extension ranges with few fields in between. - More thoroughly annotate public generated code in Java lite protocol buffers. - Fixed Bug in proto3 java lite repeated enum fields. Failed to call copyOnWrite before modifying previously built message. Causes modification to already "built" messages that should be immutable. - Fix Java reflection serialization of empty packed fields. - Refactoring java full runtime to reuse sub-message builders and prepare to migrate parsing logic from parse constructor to builder. - Move proto wireformat parsing functionality from the private "parsing constructor" to the Builder class. - Change the Lite runtime to prefer merging from the wireformat into mutable messages rather than building up a new immutable object before merging. This way results in fewer allocations and copy operations. - Make message-type extensions merge from wire-format instead of building up instances and merging afterwards. This has much better performance. - Fix TextFormat parser to build up recurring (but supposedly not repeated) sub-messages directly from text rather than building a new sub-message and merging the fully formed message into the existing field. - Fix bug in nested builder caching logic where cleared sub-field builders would remain dirty after a clear and build in a parent layer. [https://github.com/protocolbuffers/protobuf/issues/10624](https://togithub.com/protocolbuffers/protobuf/issues/10624) - Add exemplar variants of the Java Any.is() and Any.unpack() methods. (https://github.com/protocolbuffers/protobuf/commit/60b71498d70a5645324385269c518b95c8c2feb0) - Use bit-field int values in buildPartial to skip work on unset groups of fields. (https://github.com/protocolbuffers/protobuf/commit/2326aef1a454a4eea363cc6ed8b8def8b88365f5) - Maven artifact suffix format has changed to -RCN instead of -rc-N ##### Kotlin - Add debug_redact field option to protobuf. (https://github.com/protocolbuffers/protobuf/commit/9238c4843a1a25c588f11da5101c858f6ae6f7a8) - Expose internal setExtension method for Kotlin (https://github.com/protocolbuffers/protobuf/commit/33d1070fc46ecb6189d57095bc483bc8637dc972) - Add missing `public` modifier to Kotlin generated code ([#​10616](https://togithub.com/protocolbuffers/protobuf/issues/10616)) - Add "public" modifier to Kotlin generated code ([#​10599](https://togithub.com/protocolbuffers/protobuf/issues/10599)) - Update rules_kotlin version ([#​10212](https://togithub.com/protocolbuffers/protobuf/issues/10212)) - Suppress deprecation warnings in Kotlin generated code. - Kotlin generated code comments now use kdoc format instead of javadoc. - Escape keywords in package names in proto generated code - Add Kotlin enum int value getters and setters ### Csharp - Make the MergeFrom method of type ReadOnlySequence public ([#​11124](https://togithub.com/protocolbuffers/protobuf/issues/11124)) (https://github.com/protocolbuffers/protobuf/commit/c4bac67464cfb52f998a2f942a85adedfad04895) - Fix a bug in which a possibly invalidated swisstable reference is used. (https://github.com/protocolbuffers/protobuf/commit/5c5dcdd11728d62a69e53f7a80ec2db8e16c4230) - Fix .NET Native AOT warnings in Protobuf reflection ([#​11128](https://togithub.com/protocolbuffers/protobuf/issues/11128)) (https://github.com/protocolbuffers/protobuf/commit/c019a797492791093bccfb8404c90bf83761b3a4) - Use forward slash instead of backslash in nuspec file ([#​11449](https://togithub.com/protocolbuffers/protobuf/issues/11449)) (https://github.com/protocolbuffers/protobuf/commit/724250d6e34c2734c876cdfa7208716757a6d50d) - Add debug_redact field option to protobuf. (https://github.com/protocolbuffers/protobuf/commit/9238c4843a1a25c588f11da5101c858f6ae6f7a8) - Expose internal setExtension method for Kotlin (https://github.com/protocolbuffers/protobuf/commit/33d1070fc46ecb6189d57095bc483bc8637dc972) - Apply Obsolete attribute to deprecated enums and enum values in C# generated code ([#​10520](https://togithub.com/protocolbuffers/protobuf/issues/10520)) - Fix 32-bit floating point JSON parsing of maximal values for C# ([#​10514](https://togithub.com/protocolbuffers/protobuf/issues/10514)) - Retain existing array in RepeatedField.Clear ([#​10508](https://togithub.com/protocolbuffers/protobuf/issues/10508)) - Implement IComparable for the Duration type (C#) ([#​10441](https://togithub.com/protocolbuffers/protobuf/issues/10441)) - Implement correct map merging behavior for C# ([#​10339](https://togithub.com/protocolbuffers/protobuf/issues/10339)) - Support indented JSON formatting in C# ([#​9391](https://togithub.com/protocolbuffers/protobuf/issues/9391)) - Disambiguate generated properties in C# ([#​10269](https://togithub.com/protocolbuffers/protobuf/issues/10269)) - Bugfix/issue 8101 ([#​10268](https://togithub.com/protocolbuffers/protobuf/issues/10268)) - Expose plugin protos for C# ([#​10244](https://togithub.com/protocolbuffers/protobuf/issues/10244)) - Update to C# 10 and upgrade code style ([#​10105](https://togithub.com/protocolbuffers/protobuf/issues/10105)) - Fix failing FieldMask.Merge for well-known wrapper field types ([#​9602](https://togithub.com/protocolbuffers/protobuf/issues/9602)) - Helper method on Any to allow an any to be unpacked more easily ([#​9695](https://togithub.com/protocolbuffers/protobuf/issues/9695)) ### Objective-C - \[ObjC] Mark classes that shouldn't be subclassed as such. (https://github.com/protocolbuffers/protobuf/commit/a185a6ea8a5cc1d85f8a91405a0fafd007207ca4) - \[ObjC] Boolean generation options support no value as "true". (https://github.com/protocolbuffers/protobuf/commit/7935932356b405c4f8962e1e5ac19db1afd753aa) - \[ObjC] Put out of range closed enum extension values in unknown fields. (https://github.com/protocolbuffers/protobuf/commit/903639c3287df7235537547d947cbbaf8da01feb) - \[ObjC] Raise the min OS versions (and required Xcode) ([#​10652](https://togithub.com/protocolbuffers/protobuf/issues/10652)) - \[ObjC] Provide a protocol for GPBExtensionRegistry's lookup support. ([#​10597](https://togithub.com/protocolbuffers/protobuf/issues/10597)) - Mark the `syntax` on `GPBFileDescriptor` as deprecated. (https://github.com/protocolbuffers/protobuf/com

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.