Protocol Buffers 33.1 已經發布。Protocol Buffers(protobuf)是 Google 開源的語言無關、平台無關的可擴展機制,用於序列化結構化數據。
具體更新內容包括:
Announcements
- Protobuf News 可能包括即將發生的變化的額外公告或預告。
Compiler
- 添加 EDITION_UNSTABLE 用於新版本開發 ( 9247790 )
- 修復了 pb package 外部自定義功能中的一個錯誤。(483173d)
- 為 Impress proto 插件保留一個聲明。( 8a0b438 )
C++
- 移除對 descriptor.proto 未來更改的不必要使用(50c9e62)
- 修復了 pb package 外部自定義功能中的一個錯誤。(483173d)
Java
- 修復了 pb package 外部自定義功能中的一個錯誤。(483173d)
C#
- 添加 EDITION_UNSTABLE 用於新版本開發 ( 9247790 )
- 儘可能使用通用的 Marshal.SizeOf(#21964)(#24673)(9f263cd)
- 重新生成 stale files ( 058bffa )
PHP
- 添加 EDITION_UNSTABLE 用於新版本開發 ( 9247790 )
PHP C-Extension
- 重新生成 staleness tests(e9f62c6)
- 添加 EDITION_UNSTABLE 用於新版本開發 ( 9247790 )
- 重新生成 stale files ( 058bffa )
- 另可參閲下文 UPB 更改,這些更改可能會影響 PHP C 擴展。
紅寶石
Ruby C-Extension
- 重新生成 staleness tests(e9f62c6)
- 重新生成 stale files ( 058bffa )
- 另可參閲下面的 UPB 更改,這些更改可能會影響 Ruby C 擴展。
UPB (Python/PHP/Ruby C-Extension)
- 重新生成 staleness tests(e9f62c6)
- 啓用分支保護時,將 BTI 添加到分支目標。此舉解決了 (72a48f9)
- Extract arm64 asm check ( 13ee2ce )
更新説明:https://github.com/protocolbuffers/protobuf/releases/tag/v33.2