chore(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.3 #4
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
This PR contains the following updates:
1.3.1
->1.3.3
Release Notes
Kotlin/kotlinx.serialization
v1.3.3
==================
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 asIntArray
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
Collection<E>
properties that are not lists at the runtime (#1821)Bugfixes
v1.3.2
==================
This release contains several features and bugfixes for core API as well as for HOCON format.
It uses Kotlin 1.6.10 by default.
Serializing objects to HOCON
It's now possible to encode Kotlin objects to
Config
values with newHocon.encodeToConfig
function.This feature may help edit existing configs inside Kotlin program or generate new ones.
Big thanks to Osip Fatkullin for implementing this.
Polymorphic default serializers
As of now,
polymorphicDefault
clause insideSerializersModule { }
builder specifies afallback serializer to be used only during deserialization process. A new function has been introduced to allow setting
fallback serializer for serialization:
polymorphicDefaultSerializer
.This function should ease serializing vast hierarchies of third-party or Java classes.
Note that there are two new experimental functions,
polymorphicDefaultSerializer
andpolymorphicDefaultDeserializer
.To avoid naming confusion, we are going to deprecate
polymorphicDefault
in favor ofpolymorphicDefaultDeserializer
in the next minor release (1.4.0).Credit for the PR goes to our contributor Joseph Burton.
Other improvements
Bugfixes
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.3to chore(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.3c57805baf9
toac48941562
ac48941562
tof602dd0c5f