- Update to version 3.11.4; notable changes since 3.9.2:
* C++: Make serialization method naming consistent
* C++: 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
* C++: Removed non-namespace macro EXPECT_OK()
* C++: Removed mathlimits.h from stubs in favor of using
std::numeric_limits from C++11
* C++: Support direct pickling of nested messages
* C++: Disable extension code gen for C#
* C++: Switch the proto parser to the faster MOMI parser
* C++: Unused imports of files defining descriptor extensions
will now be reported
* C++: Add proto2::util::RemoveSubranges to remove multiple
subranges in linear time
* C++: Support 32 bit values for ProtoStreamObjectWriter to Struct
* C++: Removed the internal-only header coded_stream_inl.h and
the internal-only methods defined there
* C++: Enforced no SWIG wrapping of descriptor_database.h
(other headers already had this restriction)
* C++: 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
* C++: Add move constructor for Reflection's SetString
* Java: Remove the usage of MethodHandle, so that Android users
prior to API version 26 can use protobuf-java
* Java: Publish ProGuard config for javalite
* Java: Include unknown fields when merging proto3 messages in
Java lite builders
* Java: Have oneof enums implement a separate interface (other
than EnumLite) for clarity
* Java: Opensource Android Memory Accessors
* Java: Change ProtobufArrayList to use Object[] instead of
ArrayList for 5-10% faster parsing
* Java: Make a copy of JsonFormat.TypeRegistry at the protobuf
top level package. This will eventually replace
JsonFormat.TypeRegistry
* Java: Add Automatic-Module-Name entries to the Manifest
* Python: Add float_precision option in json format printer
* Python: Optionally print bytes fields as messages in unknown
fields, if possible
* Python: Experimental code gen (fast import protobuf module)
which only work with cpp generated code linked in
* Python: Add descriptor methods in descriptor_pool are deprecated
* Python: Added delitem for Python extension dict
* JavaScript: Remove guard for Symbol iterator for jspb.Map
* JavaScript: Remove deprecated boolean option to getResultBase64String()
* JavaScript: Change the parameter types of binaryReaderFn in
ExtensionFieldBinaryInfo to (number, ?, ?)
* JavaScript: 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
* JavaScript: Migrate moneys to TypeScript
* PHP: Increase php7.4 compatibility
* PHP: Implement lazy loading of php class for proto messages
* Ruby: Support hashes for struct initializers
* C#: Experimental proto2 support is now officially available
* C#: Change _Extensions property to normal body rather than expression
* Objective C: Remove OSReadLittle* due to alignment requirements
* Other: Override CocoaPods module to lowercase
* further bugfixes and optimisations
OBS-URL: https://build.opensuse.org/request/show/782071
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=86
- update to version v3.6.1:
* PHP namespaces for nested messages and enums (#4536)
* Allows the json marshaller to be passed json marshal options (#4252)
* Make sure to delete temporary maps used by FileDescriptorTables
* fix python cpp kokoro build
* Change C# reflection to avoid using expression trees
* Updated checked-in generated code
* Removed unused variables in repeated_scalar_container.cc
* Removed unused code pertaining to shared_ptr
* Include no_package.proto in Python test
* Only check filenames when end with .py in _CalledFromGeneratedFile() (#4262)
* Convert descriptortype to type for upb_msgval_sizeof (#4357)
* Removed duplicate using statement from ReflectionUtil.cs
* Add support for power ppc64le
* Cat the test-suite.log on errors for presubits
* Address review comments
* Add third-party RPC implementation: raster - a network framework supports pbrpc by 'service' keyword.
* Delete javanano kokoro build configs.
* Updated Ruby conformance test failure list
* Removed use of some type traits
* Adopt php_metadata_namespace in php code generator (#4622)
* Move to Xcode 9.3 which also means a High Sierra image.
* Add protoc release script for Linux build.
* protoc-artifacts: Avoid storing temporary files and use fewer layers
* Rewrite go_benchmark
* Add files to build ruby artifact for mac on kokoro (#4814)
* Remove javanano.
* Comment out unused command from release script.
* Avoid direct check of class name (#4601)
* The JsonParseOptions::ignore_unknown_fields option behavior treats
OBS-URL: https://build.opensuse.org/request/show/635274
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=64
update to version v3.5.2:
* Update release date
* Disable pip cache when testing uploaded packages
* Replace private timelib_update_ts with public date_timestamp_get
* Remove py2.6 support.
* Cherrypick for csharp, including:
* Update changelog
* Update changelog for 3.5.1
* Fix uploading binary wheel.
* Fix memory leak when creating map field via array.
* Update rake file to build of 2.1.6.
* Avoid using php_date_get_date_ce() in case date extension is not
* Update protoc-artfacts
* Fix string::back() usage in googletest.cc
* Fix memory leak in php7
* Support ruby2.5
* io_win32: support non-ASCII paths
* Explicitly propagate the status of Flush().
* Add discard unknown API in ruby. (#3990)
* Update version for 3.5.0.post1
* remove nullptr
* Fix more memory leak for php c extension (#4211)
* Bumping number to fix ruby 2.1 on mac
* io_win32_unittest: remove incorrect error check
* Fix memory leak when creating repeated field via array.
* Update version number for php c extension (#3896)
* Fix file permission for python package.
* Create containing directory before generating well_known_types_embed.cc
* Replace C++11 only method std::map::at
* Recursively clear unknown fields in submessages. (#3982)
OBS-URL: https://build.opensuse.org/request/show/607107
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=62
- Update to 3.3.0 :
* C++:
* Fixed map fields serialization of DynamicMessage to correctly serialize
both key and value regardless of their presence.
* Parser now rejects field number 0 correctly.
* New API Message::SpaceUsedLong() that’s equivalent to
Message::SpaceUsed() but returns the value in size_t.
* JSON support
- New flag always_print_enums_as_ints in JsonPrintOptions.
- New flag preserve_proto_field_names in JsonPrintOptions. It will instruct
the JSON printer to use the original field name declared in the .proto
file instead of converting them to lowerCamelCase when printing JSON.
- JsonPrintOptions.always_print_primtive_fields now works for oneof message
fields.
- Fixed a bug that doesn’t allow different fields to set the same json_name
value.
- Fixed a performance bug that causes excessive memory copy when printing
large messages.
* Various performance optimizations.
* Java:
* Map field setters eagerly validate inputs and throw NullPointerExceptions
as appropriate.
* Added ByteBuffer overloads to the generated parsing methods and the Parser
interface.
* proto3 enum's getNumber() method now throws on UNRECOGNIZED values.
* Output of JsonFormat is now locale independent.
* Python:
* Added FindServiceByName() in the pure-Python DescriptorPool. This works only
for descriptors added with DescriptorPool.Add(). Generated descriptor_pool
does not support this yet.
OBS-URL: https://build.opensuse.org/request/show/503018
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/protobuf?expand=0&rev=53