Suositut: Tiedot päivitetty 27. lokakuuta 2026

Kategoriat

Internet1 356
Viestintä321
Ääni ja video898
Grafiikka ja suunnittelu539
Toimisto ja tuottavuus1 124
Kehitystyökalut3 134
Tekoälytyökalut529
Tietoturva ja yksityisyys385
Järjestelmätyökalut3 114
Pelit523
Opiskelu ja tiede239
Verkko ja IT284

Lataa protobuf 31.0

Protocol Buffers (a.k.a., protobuf) are Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.

Tämä on vanhempi versio. Uusin versio on 36.2. protobuf 36.2 · Julkaistu:

Asennustiedostot 31.0

ArkkitehtuuriTyyppiLaajuusTiedostokokoLatausSHA256
64-bittinen ZIP → Portable — — github.com VirusTotal
32-bittinen ZIP → Portable — — github.com VirusTotal

Linkki ja SHA256-tiiviste ovat peräisin Windows Package Managerin yhteisön manifestista. Vertaa ladatun tiedoston tiivistettä ennen kuin suoritat sen.

Muutosloki

Announcements
- Protobuf News may include additional announcements or pre-announcements for upcoming changes.
Bazel
- Loosen py_proto_library check to be on the import path instead of full directory (i.e. excluding external/module-name prefix). (a4be867)
Compiler
- Add support for import option for protoc.(9901db6)
- Add notices.h with information about our dependencies' licenses and add --notices flag to protoc to print the contents of that file. (7a26486)
- Move upb minitable code generator into protoc (dce6b0f)
- Upgrade abseil-cpp to 20250127 and use @com_google_absl -> @abseil-cpp and com_google_googletest -> @googletest canonical BCR names. (ba6b54d)
C++
- Remove fast-path check for non-clang compilers in MessageCreator. (aa5410d)
- Add missing include. (d390631)
- Add weak attribute to GetClassData to speed up clang builds. (d896480)
- Add nontemporal software prefetcher to repeated ptr field dtor to improve performance. (73f3469)
- Warn on unused RepeatedPtrField. (683e9d2)
- Add notices.h with information about our dependencies' licenses and add --notices flag to protoc to print the contents of that file. (7a26486)
- Fix a bug in handling of implicit-presence string_view fields. (bd70a7c)
- Control bounds checks via BUILD flags. (d21e8ef)
- Upgrade abseil-cpp to 20250127 and use @com_google_absl -> @abseil-cpp and com_google_googletest -> @googletest canonical BCR names. (ba6b54d)
- Create hardened versions of Get and Mutable for repeated_field. (ffade4a)
Java
- Add weak attribute to GetClassData to speed up clang builds. (d896480)
- Use ProtobufToStringOutput to control the output format of AbstractMessage.Builder.toString. (f5cb162)
- Implement Protobuf Java Immutable API nest_in_file_class feature for Edition 2024. (0416c3e)
- Introduce a Generated annotation to eventually replace javax.annotation.Generated (31e57fc)
- Add volatile to featuresResolved (9e03ca5)
- Fix Java concurrency issue in feature resolution for old <=3.25.x gencode using lazy feature resolution. (fafb0fd)
- Remove Java runtime classes from kotlin release. (079be27)
- Split maven dependencies into dev vs local (#20549) (e045fc6)
- Improve error messaging when detecting and erroring out on integer overflow of byte count limit variables. (097fdb8)
Kotlin
- Remove Java runtime classes from kotlin release. (079be27)
Csharp
- Remove "experimental API" warnings from members in the .NET protobuf runtime. (afea52f)
- Improve performace of repeated packed fixedSize fields (#19667) (85507b9)
Objective-C
- [ObjC] Deprecate GPBFieldDescriptor.isOptional. (86ab252)
- [ObjC] Raise the library version and enable new generated code. (a639cf8)
Rust
- Cherry-pick Rust fix to 31.x (#21617) (01b42bb)
- Add upb_Map_GetMutable API to upb (dd5bf5e)
- See also UPB changes below, which may affect Rust.
Python
- Update GetCurrentTime to use datetime.datetime.now (01b154c)
- Make Py JSON float_precision apply to both float and double fields. (5b54ee3)
- -Add '+' and '-' annotations for Timestamp and Duration in Python (fff783e)
- Bug fix for FieldMask.MergeFrom() with unset fields. (1c87ac3)
- Make python text_format able to skip unknown fields for repeated messages (dcafca2)
- Fix segment fault for UPB Pyhon 'in' method of empty repeated extensions (da04261)
- Fix upb to escape DefinitelyNeedsEscape (like " and ') for bytes field (b234305)
- Check with fallback descriptorDB for FindExtensionByNumber()/FindAllExtensions in UPB python pool. (9fd28d9)
- Add clear() method to repeated fields in Python. (0324f39)
- Register Scalar/MessageMapContainerTypes as virtual subclasses of (9a0b591)
- Fix python codegen crash when C++ features are used. (308aaf4)
- Add more detail to the comment for GetMessageClassesForFiles (9befb58)
- Add constructing unpack routine to Python Protobuf Any API. (fb78c09)
- Implement typing for proto Timestamp/Duration assignments. (0e3326b)
PHP
- Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (d82de8f)
- Feat(php): improve return typehint when repeatedfield (#11734) (e04fe69)
PHP C-Extension
- Automated rollback of commit f9863df. (#21355) (a59988c)
- Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (d82de8f)
- Ruby: Allow to get a file descriptor by a file name (#20287) (c398592)
- Feat(php): improve return typehint when repeatedfield (#11734) (e04fe69)
- See also UPB changes below, which may affect PHP C-Extension.
Ruby
- Fix silent failure of rb_test rules to run test (#21733) (0cf5489)
- Ruby | Add support for a protobuf debug build (#21060) (59e1f0f)
- Ruby | Support installing the gem via git and some other small build tweaks (#21061) (d3560e7)
- Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (d82de8f)
- [Ruby]Implement #to_hash for message classes (#20866) (5596f6d)
- Drop Ruby 3.0 (5de7c80)
- Fixes #18726 by backslash escaping descriptor data containing # if the hashmark appears immediately before any of $, {, or @. (fffa3da)
- Ruby: Allow to get a file descriptor by a file name (#20287) (c398592)
- Ruby: fix bug in Map.hash (b968d0d)
Ruby C-Extension
- Ruby | Add support for a protobuf debug build (#21060) (59e1f0f)
- Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (d82de8f)
- Ruby: Allow to get a file descriptor by a file name (#20287) (c398592)
- Ruby: fix bug in Map.hash (b968d0d)
- See also UPB changes below, which may affect Ruby C-Extension.
UPB (Python/PHP/Ruby C-Extension)
- Fixed LTO-only linker error in upb linker arrays. (3434a21)
- Deprecate Descriptor Label. As an alternative, add helper methods for checking whether a field is required or repeated. (d82de8f)
- Add upb_Map_GetMutable API to upb (dd5bf5e)
- Fix upb to escape DefinitelyNeedsEscape (like " and ') for bytes field (b234305)
- Upb: delete functions in map_gencode_util. They're unused after the Map iterator API change. (f398807)
- Upb: Update _upb_map_next signature to return a boolean and remove the _nextmutable Map iterator API. (e4cdf44)
- Change upb C generated map iteration function to not hand out MapEntry pointers. (3a3d697)
- Ruby: Allow to get a file descriptor by a file name (#20287) (c398592)
- Expose the upb_ByteSize function to upb clients. Note that the current naive implementation is no more efficient than serializing the message yourself and noting the resulting size. (121fdaa)
- Move upb minitable code generator into protoc (dce6b0f)
- Tolerate message set extensions encoded as normal deliminited submessages (c63fd56)
- Automated rollback of commit 6bde8c4. (8ef81fb)
- Fix UPB fast table build. (46f9e29)
Other
- Patch rules_ruby to apply neverlink = True to the jars rule (#21416) (#21505) (664d94a)
- Restore JDK8 compatibility in Bazel for libraries with dependencies from Maven (e.g. //java/util) (e8edc5d)
- Protobuf: add //:go_features_proto Bazel alias (f79be3e)
- Fixes -lpthread problem when building with android_arm64 config (#20337) (4f5968a)

https://github.com/protocolbuffers/protobuf/releases/tag/v31.0