v1.7.1
版本发布时间: 2024-06-26 00:59:45
Kotlin/kotlinx.serialization最新发布版本:v1.7.2(2024-08-29 01:45:05)
This is a bugfix release that aims to fix missing kotlinx-serialization-hocon
artifact.
It also contains experimental integration with kotlinx-io
library.
Kotlin 2.0.0 is used by default.
Fixed HOCON publication
Sadly, 1.7.0 release was published incomplete: kotlinx-serialization-hocon
artifact is missing from 1.7.0 and 1.7.0-RC releases.
This release fixes this problem and now kotlinx-serialization-hocon
is available again with 1.7.1 version.
No other changes were made to this artifact. Related ticket: #2717.
Add integration with a kotlinx-io library
kotlinx-io
is an official multiplatform library that provides basic IO primitives, similar to Okio.
kotlinx.serialization integration is now available in a separate artifact, located at the kotlinx-serialization-json-io
coordinates. Integration artifact provides functions similar to existing Okio integration: encodeToSink
, decodeFromSource
, and decodeSourceToSequence
. Check out the PR for more details.
Other bugfixes
- Prohibited use of elements other than JsonObject in JsonTransformingSerializer with polymorphic serialization (#2715)