Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update serialization-version to v1.3.3 #3079

Merged
merged 1 commit into from
Nov 28, 2022
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 25, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.jetbrains.kotlinx:kotlinx-serialization-cbor 1.3.2 -> 1.3.3 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-json 1.3.2 -> 1.3.3 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-serialization-core 1.3.2 -> 1.3.3 age adoption passing confidence

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 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
  • Incorporate JsonPath into exception messages (#​1841)
  • Mark block in corresponding encodeStructure/decodeStructure extensions as crossinline to reduce amount of bytecode (#​1917)
  • Support serialization of compile-time Collection<E> properties that are not lists at the runtime (#​1821)
  • Best-effort kotlin reflect avoidance in serializer(Type) (#​1819)
Bugfixes
  • Iterate over element indices in ObjectSerializer in order to let the format skip unknown keys (#​1916)
  • Correctly support registering both default polymorphic serializer & deserializer (#​1849)
  • Make error message for captured generic type parameters much more straightforward (#​1863)

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 these updates again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@e5l e5l self-requested a review November 28, 2022 08:13
Copy link
Member

@e5l e5l left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@e5l e5l merged commit b40bc53 into main Nov 28, 2022
@e5l e5l deleted the renovate/serialization-version branch November 28, 2022 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant