Skip to content

Conversation

@plplmax-renovate
Copy link
Contributor

@plplmax-renovate plplmax-renovate bot commented Dec 1, 2023

This PR contains the following updates:

Package Type Update Change
org.jetbrains.kotlinx:kotlinx-serialization-json dependencies minor 1.6.1 -> 1.7.1

Release Notes

Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)

v1.7.1

==================

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)

v1.7.0

==================

This release contains all of the changes from 1.7.0-RC and is compatible with Kotlin 2.0.
Please note that for reasons explained in the 1.7.0-RC changelog, it may not be possible to use it with the Kotlin 1.9.x
compiler plugin. Yet, it is still fully backwards compatible with previous versions.

The only difference with 1.7.0-RC is that classDiscriminatorMode property in JsonBuilder is marked as experimental,
as it should have been when it was introduced (#​2680).

v1.6.3

==================

This release provides a couple of new features and uses Kotlin 1.9.22 as default.

Class discriminator output mode

Class discriminator provides information for serializing and deserializing polymorphic class hierarchies.
In case you want to encode more or less information for various third party APIs about types in the output, it is possible to control
addition of the class discriminator with the JsonBuilder.classDiscriminatorMode property.
For example, ClassDiscriminatorMode.NONE does not add class discriminator at all, in case the receiving party is not interested in Kotlin types.
You can learn more about this feature in the documentation and corresponding PR.

Other features
Bugfixes and improvements
  • Fix: Hocon polymorphic serialization in containers (#​2151) (thanks to LichtHund)
  • Actualize lenient mode documentation (#​2568)
  • Slightly improve error messages thrown from serializer() function (#​2533)
  • Do not try to coerce input values for properties (#​2530)
  • Make empty objects and arrays collapsed in pretty print mode (#​2506)
  • Update Gradle dokka configuration to make sure "source" button is visible in all API docs (#​2518, #​2524)

v1.6.2

==================

This is a patch release accompanying Kotlin 1.9.21. It also provides additional targets that were not available in 1.6.1:
wasm-wasi and (deprecated) linuxArm32Hfp.

  • Add Wasm WASI target (#​2510)
  • Bring back linuxArm32Hfp target because it is deprecated, but not removed yet. (#​2505)

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@plplmax-renovate plplmax-renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x branch from 1408525 to 8b8659a Compare December 28, 2023 04:35
@plplmax-renovate plplmax-renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x branch from 8b8659a to 3a2df44 Compare February 17, 2024 04:36
@plplmax-renovate plplmax-renovate bot changed the title fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.2 fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.3 Feb 17, 2024
@plplmax-renovate plplmax-renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x branch from 3a2df44 to 5e7425a Compare June 7, 2024 04:41
@plplmax-renovate plplmax-renovate bot changed the title fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.3 fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.0 Jun 7, 2024
@plplmax-renovate plplmax-renovate bot force-pushed the renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x branch from 5e7425a to 1f0d74c Compare June 26, 2024 04:42
@plplmax-renovate plplmax-renovate bot changed the title fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.0 fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.1 Jun 26, 2024
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.

1 participant