pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri May 29 11:59:19 UTC 2026

Modified Files:
        pkgsrc/devel/protobuf: Makefile PLIST distinfo
        pkgsrc/devel/py-protobuf: Makefile distinfo

Log Message:
protobuf py-protobuf: updated to [7.]35.0

Protocol Buffers v35.0

Bazel

Bazel 9 Support: Upgrade tests to Bazel 9 (3ee8d8a)
Moved protocopt flag out of the cc dir, since it is not a c++-specific flag. (325d8dc)
Add support for bazel 9.x
Change @protobuf//bazel/flags:prefer_prebuilt_proto flag to True. (f9f32d2)
Dropped support for Bazel 7. (1816758)
Compiler

Implement the Edition 2026 naming style enforcement feature. This will help prevent field name collisions. (ae0d964)
Add enum to enforce_naming_style feature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)
Fail writing files in protoc CLI if any file output path is relative. (3bf2b07)
Mangle types named XyzView if there is any direct sibling named Xyz (63d6ef0)
Improve the namespacing selected by rustc used for gencode types in errors. (ce2eb73)
Fully qualify scalar types in Kotlin/Native proto generator. (adc8d22)
Change _opt() accessors to return an std::Option instead of protobuf::Optional (6ced612)
Make Message's trait bounds much better for generic use (be1292f)
Support more chars in type URLs in the C++ text-format parser. (3a87c6c)
Validate Feature Support on Custom Options (34c1110)
Trait clarity effort: introduce Singular trait, for types which are allowed as simple fields (cdbfaf1)
Trait clarity improvement on Map traits (a8daa95)
C++

Workaround for attribute handling bug in gcc < 13 (78dc67e)
Implement the Edition 2026 naming style enforcement feature. This will help prevent field name collisions. (ae0d964)
Add enum to enforce_naming_style feature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)
Enhance ParseInfoTree to provide location of names and values. (1cb4fdb)
Add integer overflow check to RepeatedPtrField::MergeFrom. (cb5fe97)
Adding sanity check for ListFields reflection call (555360e)
Introduce Arena::UniquePtr and Arena::Ptr as smart pointers to better manage (bb00218)
Bug fix for edition 2024 visibility checking. Visibility checking was not properly applied to service method input and output types. This is now applied properly and will error if method input/output 
types do not have visibility to those messages. (5a56dee)
Fixed data race in Python Free Threading by removing unnecessary SetHasBitForRepeated() call. (8c1a9a4)
Add support for bazel 9.x
Add proto2::sort/stable_sort utilities that behave as the standard ones but are optimized for Protobuf containers. (252281f)
Add proto2::erase/erase_if utilities that behave as the standard ones but are optimized for Protobuf containers. (dc9fb35)
Extend Abseil flag support for enums to include std::vector. (bd42ac6)
Dropped support for Bazel 7. (1816758)
Add native Abseil flag support to protobuf message types. (ec42e19)
Support more chars in type URLs in the C++ text-format parser. (3a87c6c)
Stripping empty options (d5d6d4c)
Creating generic MaybeAddError helper function (4bcf773)
Validate Feature Support on Custom Options (34c1110)
Add bounds checks to UnsafeArenaExtractSubrange, ReleaseLast and SwapElements. (d124c2d)
Fix UTF-8 Validation of string extensions in C++ (0936f33)
Remove first implementation of protobuf out of bounds enforcement. (507f86b)
Add native Abseil flag support to protobuf enums. (a203388)
Improve EINTR handling for close in zero_copy_stream_impl.h (a904af9)
Add cc_proto_library for MessageSet in //src/google/protobuf/bridge (6d23e8e)
Java

Add BytecodeClassName functions, matching helpers in the java GeneratorNames utility. (514aceb)
Add enum to enforce_naming_style feature to avoid field naming collisions which will be implemented in Edition 2026. (e4911a1)
Avoid toBigIntegerExact in JsonFormat to avoid degenerate parse behavior in the face of large exponents. (57093a8)
Dropped support for Bazel 7. (1816758)
Add native Abseil flag support to protobuf enums. (a203388)
Csharp

Implement WriteDelimitedTo(BufferWriter)
Add an "include" directory containing WKTs for Google.Protobuf.Tools nuget package. (6029d17)
Objective-C

ObjC: Block Roots from being created. (8274114)
Fix naming convention in c_function extension syntax (e3bee07)
Modify unit tests to use c_function extension syntax via ifdefs (e1f2f52)
Rust

Mangle types named XyzView if there is any direct sibling named Xyz (63d6ef0)
Improve the namespacing selected by rustc used for gencode types in errors. (ce2eb73)
Allow ProtoStr to be used in const contexts. (7f7b974)
Make any &T impl AsView if T impl AsView (d787869)
Change _opt() accessors to return an std::Option instead of protobuf::Optional (6ced612)
Add some common methods to ProtoStr to make it more ergonomic to use without dropping down to &[u8] (f8daf2f)
Ffi_11: Define basic arithmetic operations and comparison with underlying type (74b6f3f)
Make Message's trait bounds much better for generic use (be1292f)
Remove ProxiedInMapValue alias, since it is superceded by MapValue (5bde6e8)
Add fn push_default(&mut self) -> SomeMsgMut<> fn for Repeated message type fields. (a3bf3ec)
Fix that f32 and f64 were incorrectly tagged as legal for MapKeys in RustProto. (ab3793e)
Trait clarity effort: introduce Singular trait, for types which are allowed as simple fields (cdbfaf1)
Trait clarity improvement on Map traits (a8daa95)
See also UPB changes below, which may affect Rust.
Python

Fix Python text_format by adding an optional recursion depth limit
Fix data race in CMessage lazy initialization for Python freethreading. (28e4512)
Fixed data race in Python Free Threading by removing unnecessary SetHasBitForRepeated() call. (8c1a9a4)
Fix type annotation for FindAllExtensionNumbers() to be a list rather than the more general Iterator. (3edd615)
Add type hints to descriptor_database.py. (cbe6403)
Fixed a bug in msg.MergeFrom(msg2) in Python. (ab14c0f)
Fix NULL byte handling issue in Python Protobuf find symbols in pool (059dc7e)
Add support for bazel 9.x
Add recursion guards for the following nested messages: (b4c3fec)
Protobuf Python UPB Free Threading support. (f10c1de)
Fix Any recursion depth bypass in Python json_format.ParseDict
Supports exporting int as int (ea78297)
PHP

Fail writing files in protoc CLI if any file output path is relative. (3bf2b07)
PHP C-Extension

Fix 1-byte stack overflow in PHP extension int64 formatting
See also UPB changes below, which may affect PHP C-Extension.
Ruby

Gracefully handle payloads >2GB. (918ad5b)
Ruby C-Extension

Gracefully handle payloads >2GB. (918ad5b)
See also UPB changes below, which may affect Ruby C-Extension.
UPB (Python/PHP/Ruby C-Extension)

Fixed two GCC-only issues around upb's generated extension registry.
Avoid theoretical overflow of uintptr_t in AddAllLinkedExtensions (e7785e0)
Test(proto): Add message to test oneof name conflict resolution (29476e1)
Add recursion guards for the following nested messages: (b4c3fec)


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 pkgsrc/devel/protobuf/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/devel/protobuf/PLIST
cvs rdiff -u -r1.99 -r1.100 pkgsrc/devel/protobuf/distinfo
cvs rdiff -u -r1.96 -r1.97 pkgsrc/devel/py-protobuf/Makefile
cvs rdiff -u -r1.87 -r1.88 pkgsrc/devel/py-protobuf/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/protobuf/Makefile
diff -u pkgsrc/devel/protobuf/Makefile:1.105 pkgsrc/devel/protobuf/Makefile:1.106
--- pkgsrc/devel/protobuf/Makefile:1.105        Wed May 20 09:31:34 2026
+++ pkgsrc/devel/protobuf/Makefile      Fri May 29 11:59:19 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.105 2026/05/20 09:31:34 jperkin Exp $
+# $NetBSD: Makefile,v 1.106 2026/05/29 11:59:19 adam Exp $
 #
 # When updating this, please also update devel/py-protobuf.
 #
@@ -8,8 +8,7 @@
 # likely that any upstream release, even if apparently minor, will
 # require a recursive revbump.
 
-DISTNAME=      protobuf-34.1
-PKGREVISION=   1
+DISTNAME=      protobuf-35.0
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=protocolbuffers/}
 GITHUB_PROJECT=        protobuf

Index: pkgsrc/devel/protobuf/PLIST
diff -u pkgsrc/devel/protobuf/PLIST:1.35 pkgsrc/devel/protobuf/PLIST:1.36
--- pkgsrc/devel/protobuf/PLIST:1.35    Thu Apr 16 09:56:13 2026
+++ pkgsrc/devel/protobuf/PLIST Fri May 29 11:59:19 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.35 2026/04/16 09:56:13 adam Exp $
+@comment $NetBSD: PLIST,v 1.36 2026/05/29 11:59:19 adam Exp $
 bin/protoc
 bin/protoc-${PKGVERSION}.0
 bin/protoc-gen-upb
@@ -18,6 +18,7 @@ include/google/protobuf/arena_allocation
 include/google/protobuf/arena_cleanup.h
 include/google/protobuf/arenastring.h
 include/google/protobuf/arenaz_sampler.h
+include/google/protobuf/c_sharp_features.proto
 include/google/protobuf/compiler/code_generator.h
 include/google/protobuf/compiler/code_generator_lite.h
 include/google/protobuf/compiler/command_line_interface.h
@@ -137,6 +138,9 @@ include/google/protobuf/reflection_ops.h
 include/google/protobuf/reflection_visit_field_info.h
 include/google/protobuf/reflection_visit_fields.h
 include/google/protobuf/repeated_field.h
+include/google/protobuf/repeated_field_proxy.h
+include/google/protobuf/repeated_field_proxy_iterator.h
+include/google/protobuf/repeated_field_proxy_traits.h
 include/google/protobuf/repeated_ptr_field.h
 include/google/protobuf/runtime_version.h
 include/google/protobuf/serial_arena.h
@@ -183,6 +187,7 @@ include/upb/base/string_view.h
 include/upb/base/upcast.h
 include/upb/generated_code_support.h
 include/upb/hash/common.h
+include/upb/hash/ext_table.h
 include/upb/hash/int_table.h
 include/upb/hash/str_table.h
 include/upb/json/decode.h

Index: pkgsrc/devel/protobuf/distinfo
diff -u pkgsrc/devel/protobuf/distinfo:1.99 pkgsrc/devel/protobuf/distinfo:1.100
--- pkgsrc/devel/protobuf/distinfo:1.99 Thu Apr 16 09:56:13 2026
+++ pkgsrc/devel/protobuf/distinfo      Fri May 29 11:59:19 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.99 2026/04/16 09:56:13 adam Exp $
+$NetBSD: distinfo,v 1.100 2026/05/29 11:59:19 adam Exp $
 
-BLAKE2s (protobuf-34.1.tar.gz) = 21220b49697972be7c839f8ceb3f8ee288519bd91f0eb28c8e79f845e41d693c
-SHA512 (protobuf-34.1.tar.gz) = 7d4baa4becc19b230366257ac0db5c8a41225d5bb427f344b2cb75e555c1af04a8f6c9273cc97b3e35d9d9956775e152a25a273fed6cc6961a6c85621e76d684
-Size (protobuf-34.1.tar.gz) = 7034963 bytes
+BLAKE2s (protobuf-35.0.tar.gz) = a618e9d64e485cac4013002af78aac00ab65054cbaa427159d483578a6bcd9ca
+SHA512 (protobuf-35.0.tar.gz) = c2a55514df0d98db578f29657e42ab9c92f1029d9e6ddac871d0fbaf1750d876849cba2fccb6ef15b64fecefb62b0e094c35c690da5b8f56a3e71c8f5b3ace8a
+Size (protobuf-35.0.tar.gz) = 7146236 bytes
 SHA1 (patch-src_file__lists.cmake) = 0b693792cefcff5bed559c6abbe9092e4fb1efdc

Index: pkgsrc/devel/py-protobuf/Makefile
diff -u pkgsrc/devel/py-protobuf/Makefile:1.96 pkgsrc/devel/py-protobuf/Makefile:1.97
--- pkgsrc/devel/py-protobuf/Makefile:1.96      Thu Mar 26 09:31:53 2026
+++ pkgsrc/devel/py-protobuf/Makefile   Fri May 29 11:59:19 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.96 2026/03/26 09:31:53 adam Exp $
+# $NetBSD: Makefile,v 1.97 2026/05/29 11:59:19 adam Exp $
 
-DISTNAME=      protobuf-7.34.1
+DISTNAME=      protobuf-7.35.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/protobuf/}

Index: pkgsrc/devel/py-protobuf/distinfo
diff -u pkgsrc/devel/py-protobuf/distinfo:1.87 pkgsrc/devel/py-protobuf/distinfo:1.88
--- pkgsrc/devel/py-protobuf/distinfo:1.87      Thu Mar 26 09:31:53 2026
+++ pkgsrc/devel/py-protobuf/distinfo   Fri May 29 11:59:19 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.87 2026/03/26 09:31:53 adam Exp $
+$NetBSD: distinfo,v 1.88 2026/05/29 11:59:19 adam Exp $
 
-BLAKE2s (protobuf-7.34.1.tar.gz) = 4015fa7757b1c241a0130ac9c2962e1a83fecb0128b65b13663c6b04a911d31a
-SHA512 (protobuf-7.34.1.tar.gz) = 9ad533b9bb72c7d490578e63afd704b1ec50b5b1689cfe4da8c7897ec523b7286f690e4952646fa95e65bac9c6a9722e55df41f42116e163bfec89e84d251b7f
-Size (protobuf-7.34.1.tar.gz) = 454708 bytes
+BLAKE2s (protobuf-7.35.0.tar.gz) = 6043ab97c514a5c9d7d014ac0df603f7a284b6d518ee0b44731726f841e56322
+SHA512 (protobuf-7.35.0.tar.gz) = 009307d9d19139ec219f7d3f05db1f9d2894bcd8029c7ba12c367ea7f08a2393af2008baf92ae86b6ebbf1ab51f9578b842a124d2d8203a5d9ce6f2fbdb5ef2e
+Size (protobuf-7.35.0.tar.gz) = 458677 bytes



Home | Main Index | Thread Index | Old Index