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

Bump kotlinx-serialization-json from 1.3.1 to 1.3.2 #3

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 2, 2022

Bumps kotlinx-serialization-json from 1.3.1 to 1.3.2.

Release notes

Sourced from kotlinx-serialization-json's releases.

1.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)
Changelog

Sourced from kotlinx-serialization-json's changelog.

1.3.2 / 2021-12-23

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)
Commits
  • 15a4dd2 Prepare 1.3.2 release
  • 8c93430 Merge remote-tracking branch 'origin/master' into dev
  • 02fe708 Update to 1.6.10
  • 261490a Hocon encoder implementation (#1740)
  • 77aa167 HOCON: parse strings into integers and booleans if possible (#1795)
  • a33ef02 Properly handle top-level value classes in encodeToJsonElement (#1777)
  • 4c30fcf Fixed a naming bug in Json kdocs (#1794)
  • 1b2344f Fix incorrect handling of object end when JsonTreeReader (JsonElement) is use...
  • 9755adc Reduce core module coverage bound
  • 51ccccf Update Kover to 0.4.2 (#1772)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 2, 2022
@lberrymage lberrymage added the blocked Unable to proceed without action elsewhere label Jan 2, 2022
@lberrymage
Copy link
Member

Depends on the compose compiler updating to Kotlin 1.6

@lberrymage lberrymage force-pushed the master branch 9 times, most recently from 4bd72de to 4a2f0ce Compare January 9, 2022 04:01
@sonarcloud
Copy link

sonarcloud bot commented Jan 9, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dependabot dependabot bot force-pushed the dependabot/gradle/org.jetbrains.kotlinx-kotlinx-serialization-json-1.3.2 branch from a8c3ec7 to 83c5599 Compare February 28, 2022 19:43
Bumps [kotlinx-serialization-json](https://github.com/Kotlin/kotlinx.serialization) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/Kotlin/kotlinx.serialization/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.serialization/blob/master/CHANGELOG.md)
- [Commits](Kotlin/kotlinx.serialization@v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-serialization-json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/org.jetbrains.kotlinx-kotlinx-serialization-json-1.3.2 branch from 83c5599 to f035ac6 Compare February 28, 2022 20:04
@sonarcloud
Copy link

sonarcloud bot commented Feb 28, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 28, 2022

Looks like org.jetbrains.kotlinx:kotlinx-serialization-json is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Feb 28, 2022
@dependabot dependabot bot deleted the dependabot/gradle/org.jetbrains.kotlinx-kotlinx-serialization-json-1.3.2 branch February 28, 2022 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Unable to proceed without action elsewhere dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant