MyGit

v1.3.3

Kotlin/kotlinx.serialization

版本发布时间: 2022-05-12 18:52:24

Kotlin/kotlinx.serialization最新发布版本:v1.7.2(2024-08-29 01:45:05)

This release contains support for Protocol Buffers packed fields, as well as several bugfixes. It uses Kotlin 1.6.21 by default.

Protobuf packed fields

It is now possible to encode and decode Kotlin classes to/from Protobuf messages with packed repeated fields. To mark the field as packed, use @ProtoPacked annotation on it. Note it affects only List and primitive collection such as IntArray types. With this feature, it is now possible to decode Proto3 messages, where all repeated fields are packed by default. Protobuf schema generator also supports new @ProtoPacked annotation.

Many thanks to Paul de Vrieze for his valuable contribution!

Other improvements & small features

Bugfixes

相关地址:原始地址 下载(tar) 下载(zip)

查看:2022-05-12发行的版本