All Versions
38
Latest Version
Avg Release Cycle
23 days
Latest Release
708 days ago

Changelog History
Page 3

  • v3.11.0 Changes

    November 26, 2019

    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

    Objective C

    • ๐Ÿ›  Fixed unaligned reads for 32bit arm with newer Xcode versions (#6678)
  • v3.11.0-rc2 Changes

    November 22, 2019

    PHP

    • Implement lazy loading of php class for proto messages (#6911)
    • ๐Ÿ›  Fixes #6918
  • v3.11.0-rc1 Changes

    November 20, 2019

    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)

    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)

    ๐Ÿ’Ž Ruby

    • ๐Ÿ’Ž Ruby lazy wrappers optimization (#6797)

    C

    Objective C

    • ๐Ÿ›  Fixed unaligned reads for 32bit arm with newer Xcode versions (#6678)
  • v3.10.1 Changes

    October 29, 2019

    C

    • โž• Add length checks to ExtensionCollection (#6759)
    • Disable extension code gen for C# (#6760)

    ๐Ÿ’Ž Ruby

    • ๐Ÿ›  Fixed bug in Ruby DSL when no names are defined in a file (#6756)
  • v3.10.0 Changes

    October 03, 2019

    C++

    • ๐Ÿ“œ Switch the proto parser to the faster MOMI parser.
    • Properly escape Struct keys in the proto3 JSON serializer.
    • ๐Ÿ›  Fix crash on uninitialized map entries.
    • ๐Ÿ‘ Informed the compiler of has-bit invariant to produce better code
    • Unused imports of files defining descriptor extensions will now be reported
    • โž• Add proto2::util::RemoveSubranges to remove multiple subranges in linear time.
    • โž• Added BaseTextGenerator::GetCurrentIndentationSize()
    • Made implicit weak fields compatible with the Apple linker
    • ๐Ÿ‘Œ Support 32 bit values for ProtoStreamObjectWriter to Struct.
    • Removed the internal-only header coded_stream_inl.h and the internal-only methods defined there.
    • Enforced no SWIG wrapping of descriptor_database.h (other headers already had this restriction).
    • ๐Ÿšš Implementation of the equivalent of the MOMI parser for serialization. This removes one of the two serialization routines, by making the fast array serialization routine completely general. SerializeToCodedStream can now be implemented in terms of the much much faster array serialization. The array serialization regresses slightly, but when array serialization is not possible this wins big.
    • Do not convert unknown field name to snake case to accurately report error.
    • ๐Ÿ›  Fix a UBSAN warnings. (#6333)
    • โž• Add podspec for C++ (#6404)
    • protoc: fix source code info location for missing label (#6436)
    • ๐Ÿšš C++ Add move constructor for Reflection's SetString (#6477)

    Java

    ๐Ÿš€ This release has a known issue on Android API level <26 (#6718)

    • ๐Ÿ”€ Call loadDescriptor outside of synchronized block to remove one possible source of deadlock.
    • Have oneof enums implement a separate interface (other than EnumLite) for clarity.
    • Opensource Android Memory Accessors
    • โšก๏ธ Update TextFormat to make use of the new TypeRegistry.
    • ๐Ÿ‘Œ Support getFieldBuilder and getRepeatedFieldBuilder in ExtendableBuilder
    • โšก๏ธ Update JsonFormat to make use of the new TypeRegistry.
    • โž• Add proguard config generator for GmmBenchmarkSuiteLite.
    • ๐Ÿ”„ Change ProtobufArrayList to use Object[] instead of ArrayList for 5-10% faster parsing
    • ๐Ÿ“œ Implement ProtobufArrayList.add(E) for 20% (5%-40%) faster overall protolite2 parsing
    • ๐Ÿ“ฆ Make a copy of JsonFormat.TypeRegistry at the protobuf top level package. This will eventually replace JsonFormat.TypeRegistry.
    • ๐Ÿ›  Fix javadoc warnings in generated files (#6231)
    • Java: Add Automatic-Module-Name entries to the Manifest (#6568)

    Python

    • โž• Add descriptor methods in descriptor_pool are deprecated.
    • โœ… Uses explicit imports to prevent multithread test failures in py3.
    • Added delitem for Python extension dict
    • Update six version to 1.12.0 and fix legacy_create_init issue (#6391)

    JavaScript

    • โœ‚ Remove deprecated boolean option to getResultBase64String().
    • ๐Ÿ›  Fix sint64 zig-zag encoding.
    • Simplify hash64 string conversion to avoid DIGIT array. Should reduce overhead if these functions aren't used, and be more efficient by avoiding linear array searches.
    • ๐Ÿ”„ Change the parameter types of binaryReaderFn in ExtensionFieldBinaryInfo to (number, ?, ?).
    • Create dates.ts and time_of_days.ts to mirror Java versions. This is a near-identical conversion of c.g.type.util.{Dates,TimeOfDays} respectively.
    • Migrate moneys to TypeScript.

    PHP

    • ๐Ÿ›  Fix incorrect leap day for Timestamp (#6696)
    • ๐ŸŽ‰ Initialize well known type values (#6713)

    ๐Ÿ’Ž Ruby

    • ๐Ÿ›  Fix scope resolution for Google namespace (#5878)
    • ๐Ÿ‘Œ Support hashes for struct initializers (#5716)
    • โšก๏ธ Optimized away the creation of empty string objects. (#6502)
    • ๐Ÿ— Roll forward Ruby upb changes now that protobuf Ruby build is fixed (#5866)
    • โšก๏ธ Optimized layout_mark() for Ruby (#6521)
    • Optimization for layout_init() (#6547)
    • ๐Ÿ›  Fix for GC of Ruby map frames. (#6533)
    • Fixed leap year handling by reworking upb_mktime() -> upb_timegm(). (#6695)

    Objective C

    • โœ‚ Remove OSReadLittle* due to alignment requirements (#6678)
    • Don't use unions and instead use memcpy for the type swaps. (#6672)

    Other

    • Override CocoaPods module to lowercase (#6464)
  • v3.10.0-rc1 Changes

    September 05, 2019

    C++

    • ๐Ÿ“œ Switch the proto parser to the faster MOMI parser.
    • Properly escape Struct keys in the proto3 JSON serializer.
    • ๐Ÿ›  Fix crash on uninitialized map entries.
    • ๐Ÿ‘ Informed the compiler of has-bit invariant to produce better code
    • Unused imports of files defining descriptor extensions will now be reported
    • โž• Add proto2::util::RemoveSubranges to remove multiple subranges in linear time.
    • โž• Added BaseTextGenerator::GetCurrentIndentationSize()
    • Made implicit weak fields compatible with the Apple linker
    • ๐Ÿ‘Œ Support 32 bit values for ProtoStreamObjectWriter to Struct.
    • Removed the internal-only header coded_stream_inl.h and the internal-only methods defined there.
    • Enforced no SWIG wrapping of descriptor_database.h (other headers already had this restriction).
    • ๐Ÿšš Implementation of the equivalent of the MOMI parser for serialization. This removes one of the two serialization routines, by making the fast array serialization routine completely general. SerializeToCodedStream can now be implemented in terms of the much much faster array serialization. The array serialization regresses slightly, but when array serialization is not possible this wins big.
    • Do not convert unknown field name to snake case to accurately report error.
    • ๐Ÿ›  Fix a UBSAN warnings. (#6333)
    • โž• Add podspec for C++ (#6404)
    • protoc: fix source code info location for missing label (#6436)
    • ๐Ÿšš C++ Add move constructor for Reflection's SetString (#6477)

    Java

    • ๐Ÿ”€ Call loadDescriptor outside of synchronized block to remove one possible source of deadlock.
    • Have oneof enums implement a separate interface (other than EnumLite) for clarity.
    • Opensource Android Memory Accessors
    • โšก๏ธ Update TextFormat to make use of the new TypeRegistry.
    • ๐Ÿ‘Œ Support getFieldBuilder and getRepeatedFieldBuilder in ExtendableBuilder
    • โšก๏ธ Update JsonFormat to make use of the new TypeRegistry.
    • โž• Add proguard config generator for GmmBenchmarkSuiteLite.
    • ๐Ÿ”„ Change ProtobufArrayList to use Object[] instead of ArrayList for 5-10% faster parsing
    • ๐Ÿ“œ Implement ProtobufArrayList.add(E) for 20% (5%-40%) faster overall protolite2 parsing
    • ๐Ÿ“ฆ Make a copy of JsonFormat.TypeRegistry at the protobuf top level package. This will eventually replace JsonFormat.TypeRegistry.
    • ๐Ÿ›  Fix javadoc warnings in generated files (#6231)
    • Java: Add Automatic-Module-Name entries to the Manifest (#6568)

    Python

    • โž• Add descriptor methods in descriptor_pool are deprecated.
    • โœ… Uses explicit imports to prevent multithread test failures in py3.
    • Added delitem for Python extension dict
    • Update six version to 1.12.0 and fix legacy_create_init issue (#6391)

    JavaScript

    • โœ‚ Remove deprecated boolean option to getResultBase64String().
    • ๐Ÿ›  Fix sint64 zig-zag encoding.
    • Simplify hash64 string conversion to avoid DIGIT array. Should reduce overhead if these functions aren't used, and be more efficient by avoiding linear array searches.
    • ๐Ÿ”„ Change the parameter types of binaryReaderFn in ExtensionFieldBinaryInfo to (number, ?, ?).
    • Create dates.ts and time_of_days.ts to mirror Java versions. This is a near-identical conversion of c.g.type.util.{Dates,TimeOfDays} respectively.
    • Migrate moneys to TypeScript.

    ๐Ÿ’Ž Ruby

    • ๐Ÿ›  Fix scope resolution for Google namespace (#5878)
    • ๐Ÿ‘Œ Support hashes for struct initializers (#5716)
    • โšก๏ธ Optimized away the creation of empty string objects. (#6502)
    • ๐Ÿ— Roll forward Ruby upb changes now that protobuf Ruby build is fixed (#5866)
    • โšก๏ธ Optimized layout_mark() for Ruby (#6521)
    • Optimization for layout_init() (#6547)
    • ๐Ÿ›  Fix for GC of Ruby map frames. (#6533)

    Other

    • Override CocoaPods module to lowercase (#6464)
  • v3.9.2

    September 20, 2019
  • v3.9.1

    August 05, 2019
  • v3.9.0 Changes

    July 12, 2019

    C++

    • โšก๏ธ Optimize and simplify implementation of RepeatedPtrFieldBase
    • Don't create unnecessary unknown field sets.
    • โœ‚ Remove branch from accessors to repeated field element array.
    • โž• Added delimited parse and serialize util.
    • โฌ‡๏ธ Reduce size by not emitting constants for fieldnumbers
    • ๐Ÿ›  Fix a bug when comparing finite and infinite field values with explicit tolerances.
    • ๐Ÿ“œ TextFormat::Parser should use a custom Finder to look up extensions by number if one is provided.
    • โž• Add MessageLite::Utf8DebugString() to make MessageLite more compatible with Message.
    • ๐ŸŽ Fail fast for better performance in DescriptorPool::FindExtensionByNumber() if descriptor has no defined extensions.
    • โž• Adding the file name to help debug colliding extensions
    • โž• Added FieldDescriptor::PrintableNameForExtension() and DescriptorPool::FindExtensionByPrintableName().
      The latter will replace Reflection::FindKnownExtensionByName().
    • Replace NULL with nullptr
    • Created a new Add method in repeated field that allows adding a range of elements all at once.
    • Enabled enum name-to-value mapping functions for C++ lite
    • Avoid dynamic initialization in descriptor.proto generated code
    • ๐Ÿšš Move stream functions to MessageLite from Message.
    • Move all zero_copy_stream functionality to io_lite.
    • Do not create array of matched fields for simple repeated fields
    • 0๏ธโƒฃ Enabling silent mode by default to reduce make compilation noise. (#6237)

    Java

    • ๐Ÿ”ฆ Expose TextFormat.Printer and make it configurable. Deprecate the static methods.
    • Library for constructing google.protobuf.Struct and google.protobuf.Value
    • ๐Ÿ‘‰ Make OneofDescriptor extend GenericDescriptor.
    • ๐Ÿ”ฆ Expose streamingness of service methods from MethodDescriptor.
    • ๐Ÿ›  Fix a bug where TextFormat fails to parse Any filed with > 1 embedded message sub-fields.
    • Establish consistent JsonFormat behavior for nulls in oneofs, regardless of order.
    • โšก๏ธ Update GSON version to 3.8.5. (#6268)
    • Add protobuf_java_lite Bazel target. (#6177)

    Python

    • ๐Ÿ”„ Change implementation of Name() for enums that allow aliases in proto2 in Python
      to be in line with claims in C++ implementation (to return first value).
    • Explicitly say what field cannot be set when the new value fails a type check.
    • ๐Ÿšฉ Duplicate register in descriptor pool will raise errors
    • Add slots to all well_known_types classes, custom attributes are not allowed anymore.
    • 0๏ธโƒฃ text_format only present 8 valid digits for float fields by default

    JavaScript

    • โž• Add Oneof enum to the list of goog.provide

    PHP

    • ๐Ÿ“‡ Rename get/setXXXValue to get/setXXXWrapper. (#6295)

    ๐Ÿ’Ž Ruby

    • โœ‚ Remove to_hash methods. (#6166)
  • v3.9.0-rc1

    June 26, 2019