diff --git a/baselibs.conf b/baselibs.conf index 50a2458..4156ee8 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,3 +1,3 @@ -libprotobuf20 -libprotoc20 -libprotobuf-lite20 +libprotobuf22 +libprotoc22 +libprotobuf-lite22 diff --git a/protobuf-3.11.4.tar.gz b/protobuf-3.11.4.tar.gz new file mode 100644 index 0000000..57e0c91 --- /dev/null +++ b/protobuf-3.11.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a79d19dcdf9139fa4b81206e318e33d245c4c9da1ffed21c87288ed4380426f9 +size 5140799 diff --git a/protobuf-3.9.2.tar.gz b/protobuf-3.9.2.tar.gz deleted file mode 100644 index d17b7bd..0000000 --- a/protobuf-3.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1fbf1c2962af287607232b2eddeaec9b4f4a7a6f5934e1a9276e9af76952f7e0 -size 4947582 diff --git a/protobuf.changes b/protobuf.changes index 364a235..633582c 100644 --- a/protobuf.changes +++ b/protobuf.changes @@ -1,3 +1,72 @@ +------------------------------------------------------------------- +Fri Mar 6 10:05:22 UTC 2020 - Nico Kruber + +- 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 + ------------------------------------------------------------------- Fri Dec 20 09:04:24 UTC 2019 - Martin Pluskal diff --git a/protobuf.spec b/protobuf.spec index a254ee0..2f58b9f 100644 --- a/protobuf.spec +++ b/protobuf.spec @@ -17,7 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define sover 20 +%define sover 22 %define tarname protobuf %define src_install_dir %{_prefix}/src/%{name} %define extra_java_flags -source 7 -target 7 @@ -27,7 +27,7 @@ %bcond_without python2 %bcond_without python3 Name: protobuf -Version: 3.9.2 +Version: 3.11.4 Release: 0 Summary: Protocol Buffers - Google's data interchange format License: BSD-3-Clause