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 dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.2 #85

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

juul-mobile-bot
Copy link
Contributor

This PR contains the following updates:

Package Update Change
org.jetbrains.kotlinx:kotlinx-serialization-json patch 1.3.1 -> 1.3.2

Release Notes

Kotlin/kotlinx.serialization

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 new Hocon.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 inside SerializersModule { } builder specifies a
fallback 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 and polymorphicDefaultDeserializer.
To avoid naming confusion, we are going to deprecate polymorphicDefault in favor of polymorphicDefaultDeserializer in the next minor release (1.4.0).

Credit for the PR goes to our contributor Joseph Burton.

Other improvements
Bugfixes
  • Properly handle top-level value classes in encodeToJsonElement (#​1777)
  • Fix incorrect handling of object end when JsonTreeReader (JsonElement) is used with decodeToSequence (#​1782)

Configuration

📅 Schedule: 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.


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

This PR has been generated by Renovate Bot.

@codecov
Copy link

codecov bot commented Jan 1, 2022

Codecov Report

Merging #85 (5336259) into main (56a59f1) will increase coverage by 0.23%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main      #85      +/-   ##
============================================
+ Coverage     57.25%   57.49%   +0.23%     
  Complexity       11       11              
============================================
  Files             8        8              
  Lines           613      654      +41     
  Branches        145      145              
============================================
+ Hits            351      376      +25     
- Misses          223      239      +16     
  Partials         39       39              
Impacted Files Coverage Δ
koap/src/commonMain/kotlin/Message.kt 57.14% <0.00%> (-2.09%) ⬇️
koap/src/commonMain/kotlin/Debug.kt 26.08% <0.00%> (-1.19%) ⬇️
koap/src/commonMain/kotlin/ByteArrayReader.kt 68.08% <0.00%> (-0.10%) ⬇️
koap/src/commonMain/kotlin/Decoder.kt 53.74% <0.00%> (+1.62%) ⬆️
koap/src/commonMain/kotlin/Encoder.kt 71.69% <0.00%> (+3.27%) ⬆️
koap/src/commonMain/kotlin/Option.kt 26.31% <0.00%> (+4.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 89d5d44...5336259. Read the comment docs.

@twyatt twyatt enabled auto-merge (squash) January 1, 2022 09:21
@twyatt twyatt merged commit 5c400e2 into main Jan 10, 2022
@twyatt twyatt deleted the renovate/org.jetbrains.kotlinx branch January 10, 2022 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants