Protobuf

Latest version: v5.27.2

Safety actively analyzes 641954 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 20 of 27

3.11.4

C
==
* Fix latest ArgumentException for C extensions (7188)
* Enforce recursion depth checking for unknown fields (7210)

Ruby
====
* Fix wrappers with a zero value (7195)
* Fix JSON serialization of 0/empty-valued wrapper types (7198)

3.11.3

Not secure
C++
===
* Add OUT and OPTIONAL to windows portability files (7087)

PHP
===

* Refactored ulong to zend_ulong for php7.4 compatibility (7147)
* Call register_class before getClass from desc to fix segfault (7077)

3.11.2

Not secure
PHP
===

* Make c extension portable for php 7.4 (6968)

3.11.1

Not secure
PHP
===
* Extern declare protobuf_globals (6946)

3.11.0

Not secure
C++
===
* Make serialization method naming consistent
* Make proto runtime + generated code free of deprecation warnings
* Moved ShutdownProtobufLibrary() to message_lite.h. For backward compatibility a declaration is still available in stubs/common.h, but users should prefer message_lite.h
* Removed non-namespace macro EXPECT_OK()
* Removed mathlimits.h from stubs in favor of using std::numeric_limits from C++11
* Fixed bug in parser when ending on a group tag
* Add a helper function to UnknownFieldSet to deal with the changing return value of message::unknown_fields()
* Fix incorrect use of string_view iterators
* Support direct pickling of nested messages
* Skip extension tag validation for MessageSet if unknown dependencies are allowed
* Updated deprecation macros to annotate deprecated code (6612)
* Remove conversion warning in MapEntryFuncs::ByteSizeLong (6766)
* Revert "Make shared libraries be able to link to MSVC static runtime libraries, so that VC runtime is not required." (6914)

Java
====
* Remove the usage of MethodHandle, so that Android users prior to API version 26 can use protobuf-java
* Publish ProGuard config for javalite
* Fix for StrictMode disk read violation in ExtensionRegistryLite
* Include part of the ByteString's content in its toString().
* Include unknown fields when merging proto3 messages in Java lite builders

Python
=====
* Add float_precision option in json format printer
* Optionally print bytes fields as messages in unknown fields, if possible
* FieldPath: fix testing IsSet on root path ''
* Experimental code gen (fast import protobuf module) which only work with cpp generated code linked in

JavaScript
========
* Remove guard for Symbol iterator for jspb.Map

PHP
====
* Avoid too much overhead in layout_init (6716)
* Lazily Create Singular Wrapper Message (6833)
* Implement lazy loading of php class for proto messages (6911)

Ruby
====
* Ruby lazy wrappers optimization (6797)

C
==
* (RepeatedField): Capacity property to resize the internal array (6530)
* Experimental proto2 support is now officially available (4642, 5183, 5350, 5936)
* Getting started doc: https://github.com/protocolbuffers/protobuf/blob/master/docs/csharp/proto2.md
* Add length checks to ExtensionCollection (6759)
* Optimize parsing of some primitive and wrapper types (6843)
* Use 3 parameter Encoding.GetString for default string values (6828)
* Change _Extensions property to normal body rather than expression (6856)

Objective C
=========
* Fixed unaligned reads for 32bit arm with newer Xcode versions (6678)

3.11.0rc2

Not secure
PHP
===
* Implement lazy loading of php class for proto messages (6911)
* Fixes https://github.com/protocolbuffers/protobuf/issues/6918

Page 20 of 27

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.