protobuf v3.11.0 Release Notes
Release Date: 2019-11-26 // over 4 years ago-
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)
- 0๏ธโฃ 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)