Protocol Buffers 33.3 已經發布。Protocol Buffers(protobuf)是 Google 開源的語言無關、平台無關的可擴展機制,用於序列化結構化數據。
具體更新內容包括:
Announcements
- Protobuf News 可能包括即將發生的變化的額外公告或預告。
Bazel
- 修復:當 prebuilt flag 切換時,cc_toolchain 應優先使用 protoc。(#25168)(7b30360)
- 已鎖定新 flags 和配置設置的可見性。( 04ca1b7 )
- Feat(bazel):wire up prebuilt protoc toolchain (#24115) (aeaede0)
Compiler
- 創建 editions test_utils 以修復
command_line_interface_unittest和code_generator_unittest中現有 brittle tests。(cb0a8c5) - 添加用於開發工作的不穩定版本。(44e090c)
- 為不穩定版本添加兼容性測試 (d167dd0)
C++
- 添加用於開發工作的不穩定版本。(44e090c)
- 為不穩定版本添加兼容性測試 (d167dd0)
Java
- 為不穩定版本添加兼容性測試 (d167dd0)
- 解析 Any-of-Any 類型時,正確應用 JSON 遞歸限制。(94c7f73)
C#
- 為不穩定版本添加兼容性測試 (d167dd0)
Python
-
為不穩定版本添加兼容性測試 (d167dd0)
-
自動回滾提交 38ca2d3(184b5e8)
UPB (Python/PHP/Ruby C-Extension)
-
為不穩定版本添加兼容性測試 (d167dd0)
-
修復未使用參數警告(cd0cb21)
其他
- 不要忽略平台要求(aeedbc6)
- 再次更新 GitHub Actions 以使用 macOS-14。(f7b18f8)
- 刪除冗餘的 ARM 測試(d4e7a81)
- Protobuf:將 php 從 macos-13 更新到 macos-15-intel ( 9027d6b )
- 更新 GitHub Actions 以使用 macOS-14。(f0907f3)
詳情可查看:https://github.com/protocolbuffers/protobuf/releases/tag/v33.3