2022-09-30 10:18:22 by Adam Ciarcinski | Files touched by this commit (4) | |
Log message: protobuf py-protobuf: updated to [34].21.7 Protocol Buffers v21.7 Java 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. Protocol Buffers v21.6 C++ Reduce memory consumption of MessageSet parsing This release addresses a Security Advisory for C++ and Python users |
2022-08-18 21:30:39 by Thomas Klausner | Files touched by this commit (4) | |
Log message: {py-,}protobuf: update to [34].21.5 2022-08-09 version 21.5 (C++/Java/Python/PHP/Objective-C/C#/Ruby) PHP * Added getContainingOneof and getRealContainingOneof to descriptor. * fix PHP readonly legacy files for nested messages Python * Fixed comparison of maps in Python. |
2022-07-27 08:43:56 by Adam Ciarcinski | Files touched by this commit (4) | |
Log message: protobuf py-protobuf: updated to [34.]21.4 Protocol Buffers v21.4 C++ Reduce the required alignment of ArenaString from 8 to 4 |
2022-07-25 14:19:13 by Adam Ciarcinski | Files touched by this commit (4) | |
Log message: protobuf py-protobuf: updated to [34].21.3 Protocol Buffers v21.3 C++ Add header search paths to Protobuf-C++.podspec Fixed Visual Studio constinit errors Fix 9947: make the ABI compatible between debug and non-debug builds UPB Allow empty package names (fixes behavior regression in 4.21.0) Fix a SEGV bug when comparing a non-materialized sub-message Fix several bugs in descriptor mapping containers (eg. descriptor.services_by_name) for x in mapping now yields keys rather than values, to match Python conventions \ and the behavior of the old library. Lookup operations now correctly reject unhashable types as map keys. We implement repr() to use the same format as dict. Fix maps to use the ScalarMapContainer class when appropriate Fix bug when parsing an unknown value in a proto2 enum extension PHP Add "readonly" as a keyword for PHP and add previous classnames to \ descriptor pool Python Make //:protobuf_python and //:well_known_types_py_pb2 public |
2022-07-18 16:19:52 by Thomas Klausner | Files touched by this commit (6) | |
Log message: {py-,}protobuf: update to {3,4}.21.2 2022-05-27 version 21.1 (C++/Java/Python/PHP/Objective-C/C#/Ruby) C++ * cmake: Revert "Fix cmake install targets (#9822)" (#10060) * Remove Abseil dependency from CMake build (#10056) Python * Update python wheel metadata with more information incl. required python \ version (#10058) * Fix segmentation fault when instantiating field via repeated field \ assignment (#10066) 2022-05-25 version 21.0 (C++/Java/Python/PHP/Objective-C/C#/Ruby) C++ * cmake: Call get_filename_component() with DIRECTORY mode instead of PATH \ mode (#9614) * Escape GetObject macro inside protoc-generated code (#9739) * Update CMake configuration to add a dependency on Abseil (#9793) * Fix cmake install targets (#9822) * Use __constinit only in GCC 12.2 and up (#9936) Python * Increment python major version to 4 in version.json for python upb (#9926) * The C extension module for Python has been rewritten to use the upb library. This is expected to deliver significant performance benefits, especially when parsing large payloads. There are some minor breaking changes, but these should not impact most users. For more information see: \ https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates * Fixed win32 build and fixed str(message) on all Windows platforms. (#9976) * The binary wheel for macOS now supports Apple silicon. 2022-05-19 version 21.0-rc2(C++/Java/Python/PHP/Objective-C/C#/Ruby) Python * Fix windows builds * Throw more helpful error if generated code is out of date * Fixed two reference leaks 2022-05-10 version 21.0-rc1 (C++/Java/Python/PHP/Objective-C/C#/Ruby) C++ * Rename main cmake/CMakeLists.txt to CMakeLists.txt (#9603) * avoid allocating memory if all extension are cleared (#9345) * cmake: Call get_filename_component() with DIRECTORY mode instead of PATH \ mode (#9614) * Escape GetObject macro inside protoc-generated code (#9739) * Update CMake configuration to add a dependency on Abseil (#9793) * Use __constinit only in GCC 12.2 and up (#9936) * Refactor generated message class layout * Optimize tokenizer ParseInteger by removing division * Reserve exactly the right amount of capacity in ExtensionSet::MergeFrom * Parse FLT_MAX correctly when represented in JSON Python * Increment python major version to 4 in version.json for python upb (#9926) * The C extension module for Python has been rewritten to use the upb library. This is expected to deliver significant performance benefits, especially when parsing large payloads. There are some minor breaking changes, but these should not impact most users. For more information see: \ https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates * Due to the breaking changes for Python, the major version number for Python has been incremented. * The binary wheel for macOS now supports Apple silicon. Compiler * Protoc outputs the list of suggested field numbers when invalid field numbers are specified in the .proto file. * Require package names to be less than 512 bytes in length |
2022-04-22 12:13:33 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message: protobuf: updated to 3.20.1 Protocol Buffers v3.20.1 PHP Fix building packaged PHP extension Fixed composer.json to only advertise compatibility with PHP 7.0+. Ruby Disable the aarch64 build on macOS until it can be fixed. Other Fix versioning issues in 3.20.0 |
2022-04-03 20:19:24 by Adam Ciarcinski | Files touched by this commit (6) | |
Log message: protobuf py-protobuf: updated to 3.20.0 Protocol Buffers v3.20.0 C++ Add option to use external GTest in CMake cmake: Set correct sonames for libprotobuf-lite.so and libprotoc.so Java Revert "Standardize on Array copyOf" Resolve more java field accessor name conflicts Python Pin multibuild scripts to get manylinux1 wheels back Dropped support for Python < 3.7 PHP fix: [PHP] add missing reserved classnames Ruby Dropped Ruby 2.3 and 2.4 support for CI and releases. [Ruby] Message.decode/encode: Add max_recursion_depth option Ruby: rename max_recursion_depth to recursion_limit Fix conversion of singleton classes in Ruby Suppress warning for intentional circular require [Ruby] allow encode json options to be an object that responds to to_hash Other [C#] Fix trim warnings Add protoc-gen-go-svc to options.md Fixes NullReferenceException when accessing FieldDescriptor.IsPacked Add ToProto() method to all C# descriptor classes Add cmake option protobuf_INSTALL to not install files [CMake] Allow custom plugin options e.g. to generate mocks Add an option to preserve proto names in JsonFormatter Add test scope to kotlin-test for protobuf-kotlin-lite Add prefix_to_proto_package_mappings_path ObjC option. [ObjC] Rename proto_package_to_prefix_mappings_path to \ package_to_prefix_mappings_path. cmake: Use linker version scripts Add a generation option to control use of forward declarations in headers. [C#] fix parse failure for extensions with large field numbers |
2022-01-30 17:33:43 by Adam Ciarcinski | Files touched by this commit (4) | |
Log message: protobuf py-protobuf: updated to 3.19.4 Protocol Buffers v3.19.4 Python Make libprotobuf symbols local on OSX to fix issue Protocol Buffers v3.19.3 Python Fix missing Windows wheel for Python 3.10 on PyPI |
2021-11-16 16:27:34 by Thomas Klausner | Files touched by this commit (4) | |
Log message: {py-,}protobuf: update to 3.19.1 2021-10-28 version 3.19.1 (C++/Java/Python/PHP/Objective-C/C#/Ruby/JavaScript) Bazel * Ensure that release archives contain everything needed for Bazel (#9131) * Align dependency handling with Bazel best practices (#9165) JavaScript * Fix `ReferenceError: window is not defined` when getting the global object \ (#9156) Ruby * Fix memory leak in MessageClass.encode (#9150) |
2021-11-11 13:20:26 by Thomas Klausner | Files touched by this commit (1) | |
Log message: protobuf: add update comment Mention that this often needs recursive bumps, and remind to update py-protobuf as well. |