>From the release notes:

C++

* Removed deprecated unsafe arena string accessors
* Enabled heterogeneous lookup for std::string keys in maps.
* Removed implicit conversion from StringPiece to std::string
* Fix use-after-destroy bug when the Map is allocated in the arena.
* Improved the randomness of map ordering
* Added stack overflow protection for text format with unknown fields
* Use std::hash for proto maps to help with portability.
* Added more Windows macros to proto whitelist.
* Arena constructors for map entry messages are now marked "explicit"
  (for regular messages they were already explicit).
* Fix subtle aliasing bug in RepeatedField::Add
* Fix mismatch between MapEntry ByteSize and Serialize with respect to unset
  fields.

Full release notes:
https://github.com/protocolbuffers/protobuf/releases/tag/v3.13.0
(in case you're confused about the "major version bump" this was
initially going to be protobuf 4.0.0 due to deprecation of PHP 5.x)

I built this on amd64, macppc and sparc64 and did the usual
interoperability tests with mosh between versions and architectures.
I built the consumers below net/ (except ktorrent) and a handful of
others, no issues encountered. All three shared libs remove and add
symbols, hence major bumps.

The diff is relatively small as far as protobuf updates go (only 15k
lines) I spotted nothing unusual.

Index: Makefile
===================================================================
RCS file: /var/cvs/ports/devel/protobuf/Makefile,v
retrieving revision 1.34
diff -u -p -r1.34 Makefile
--- Makefile    29 Jun 2020 05:38:20 -0000      1.34
+++ Makefile    5 Sep 2020 15:50:07 -0000
@@ -2,15 +2,15 @@
 
 COMMENT =              c++ protocol buffers
 
-V =                    3.12.3
+V =                    3.13.0
 DISTNAME =             protobuf-cpp-$V
 PKGNAME =              protobuf-$V
 
 WRKDIST =              ${WRKDIR}/protobuf-${V}
 
-SHARED_LIBS +=         protobuf        7.0   # 23.3
-SHARED_LIBS +=         protobuf-lite   7.0   # 23.3
-SHARED_LIBS +=         protoc          8.0   # 23.3
+SHARED_LIBS +=         protobuf-lite   8.0   # 24.0
+SHARED_LIBS +=         protobuf        8.0   # 24.0
+SHARED_LIBS +=         protoc          9.0   # 24.0
 
 CATEGORIES =           devel
 
Index: distinfo
===================================================================
RCS file: /var/cvs/ports/devel/protobuf/distinfo,v
retrieving revision 1.13
diff -u -p -r1.13 distinfo
--- distinfo    29 Jun 2020 05:38:20 -0000      1.13
+++ distinfo    5 Sep 2020 15:26:03 -0000
@@ -1,2 +1,2 @@
-SHA256 (protobuf-cpp-3.12.3.tar.gz) = 
Tvl+xqjgVw0irYxXyZ0gVaYeomQ7jhoJmNLIRJFsSWg=
-SIZE (protobuf-cpp-3.12.3.tar.gz) = 4631996
+SHA256 (protobuf-cpp-3.13.0.tar.gz) = 
+KVH3+FDqfYfra+6R/plc3E6M8uAkJMHwVAuJuEQIpg=
+SIZE (protobuf-cpp-3.13.0.tar.gz) = 4638758

Reply via email to