This repository has been archived by the owner on Jul 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.1 #10
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.1 #10
renovate
wants to merge
1
commit into
main
from
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
added
dependencies
Pull requests that update a dependency file
renovate
labels
Mar 22, 2021
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
March 24, 2021 15:46
4fa3e99
to
ad76dc3
Compare
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
April 26, 2021 19:07
ad76dc3
to
ce950d7
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.1.0
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.2.0
Apr 26, 2021
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
May 13, 2021 20:19
ce950d7
to
59b8604
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.2.0
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.2.1
May 13, 2021
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
October 20, 2021 05:23
59b8604
to
160ad71
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.2.1
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.0
Oct 20, 2021
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
March 7, 2022 14:57
160ad71
to
c2e23b0
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.0
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.2
Mar 7, 2022
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.2
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.3
May 15, 2022
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
May 15, 2022 20:45
c2e23b0
to
2c38219
Compare
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
September 25, 2022 15:09
2c38219
to
b849d71
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.3.3
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.4.0
Sep 25, 2022
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
November 20, 2022 17:48
b849d71
to
e02cc96
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.4.0
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.4.1
Nov 20, 2022
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.4.1
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.5.0
Mar 16, 2023
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
March 16, 2023 11:44
e02cc96
to
53ed4c3
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.5.0
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.5.1
May 28, 2023
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
May 28, 2023 15:55
53ed4c3
to
d74ce4e
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.5.1
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.0
Aug 23, 2023
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
August 23, 2023 00:01
d74ce4e
to
b447241
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.0
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.1
Nov 16, 2023
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
November 16, 2023 02:54
b447241
to
a33f904
Compare
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
November 30, 2023 20:21
a33f904
to
f0de506
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.1
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.2
Nov 30, 2023
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
February 17, 2024 08:58
f0de506
to
99b635e
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.2
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.3
Feb 17, 2024
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.3
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.0
Jun 6, 2024
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
June 6, 2024 14:25
99b635e
to
8de9bf6
Compare
renovate
bot
force-pushed
the
renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
branch
from
June 26, 2024 11:35
8de9bf6
to
dcf0816
Compare
renovate
bot
changed the title
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.0
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.1
Jun 26, 2024
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.1
->1.7.1
Release Notes
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)
v1.7.1
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 inJsonBuilder
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
v1.6.2
v1.6.1
==================
This release uses Kotlin 1.9.20 by default, while upcoming 1.9.21 is also supported.
Trailing commas in Json
Trailing commas are one of the most popular non-spec Json variations.
A new configuration flag,
allowTrailingComma
, makes Json parser accept them instead of throwing an exception.Note that it does not affect encoding, so kotlinx.serialization always produces Json without trailing commas.
See details in the corresponding PR
Support of WasmJs target
Kotlin/Wasm has been experimental for some time and gained enough maturity to be added to the kotlinx libraries.
Starting with 1.6.1, kotlinx.serialization provides a wasm-js flavor, so your projects with Kotlin/Wasm can have even more
functionality.
As usual, just add serialization dependencies to your build
and declare wasmJs target.
Please remember that Kotlin/Wasm is still experimental, so changes are expected.
Bugfixes and improvements
v1.6.0
==================
This release contains all features and bugfixes from 1.6.0-RC plus some bugfixes on its own (see below).
Kotlin 1.9.0 is used as a default, while 1.9.10 is also supported.
Bugfixes
v1.5.1
==================
This release contains an important Native targets overhaul, as well as numerous enhancements and bugfixes.
Kotlin 1.8.21 is used by default.
New set of Native targets
The official Kotlin target support policy has recently been published
describing new target policy: each target belongs to a certain tier, and different tiers have different stability guarantees.
The official recommendation for library authors is to support targets up to Tier 3,
and kotlinx.serialization now follows it.
It means that in this release, there are a lot of new targets added from this tier,
such as
androidNativeX86
orwatchosDeviceArm64
.Note that since they belong to Tier 3, they're not auto-tested on CI.
kotlinx.serialization also ships some deprecated Kotlin/Native targets that do not belong to any tier (e.g.
iosArm32
,mingwX86
).We'll continue to release them, but we do not provide support for them, nor do we plan to add new targets from the deprecated list.
Improvements in Json elements
There are two new function sets that should make creating raw Json elements easier.
First one contains overloads for
JsonPrimitive
constructor-like functionthat accept unsigned types:
JsonPrimitive(1u)
.Second one adds new
addAll
functions toJsonArrayBuilder
to be used with collectionsof numbers, booleans or strings:
buildJsonArray { addAll(listOf(1, 2, 3)) }
Both were contributed to us by aSemy.
Other enhancements
target
variables tosink
(#2226)Bugfixes
v1.5.0
==================
This release contains all features and bugfixes from 1.5.0-RC plus some experimental features and bugfixes on its own (see below).
Kotlin 1.8.10 is used as a default.
HoconEncoder and HoconDecoder interfaces and HOCON-specific serializers
These interfaces work in a way similar to
JsonEncoder
andJsonDecoder
: they allow intercepting (de)serialization process,making writing if custom HOCON-specific serializers easier. New
ConfigMemorySizeSerializer
andJavaDurationSerializer
already make use of them.See more details in the PR.
Big thanks to Alexander Mikhailov for contributing this!
Ability to read buffered huge strings in custom Json deserializers
New interface
ChunkedDecoder
allows you to read huge strings that may not fit in memory by chunks.Currently, this interface is only implemented by Json decoder that works with strings and streams,
but we may expand it later, if there's a demand for it.
See more details in the PR authored by Alexey Sviridov.
Bugfixes
v1.4.1
==================
This is patch release contains several bugfixes and improvements.
Kotlin 1.7.20 is used by default.
Improvements
Bugfixes
v1.4.0
==================
This release contains all features and bugfixes from 1.4.0-RC plus some bugfixes on its own (see below).
Kotlin 1.7.10 is used as a default.
Bugfixes
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
v1.3.1
==================
This release mainly contains bugfixes for 1.3.0 and provides new experimental
Json.decodeToSequence
function.Improvements
Bugfixes
v1.3.0
==================
This release contains all of the cool new features from 1.3.0-RC (see below) as well as minor improvements.
It uses Kotlin 1.5.31 by default.
Bugfixes and improvements
v1.2.2
==================
This release contains various bugfixes, some useful features and important performance improvements.
It also uses Kotlin 1.5.20 as default.
Features
@JsonNames
andcoerceInputValues
inJson.decodeFromDynamic
(#1479)Bugfixes and performance improvements
JsonStringBuilder
slow-path to avoid excessive array-copies for large strings with escape symbols (#1491)JsonDecodingException
instead ofClassCastException
during unexpected null inTreeJsonDecoder
(#1550)serialDescriptor<KType>
in production sources (#1540)DescriptorSchemaCache
in Json thread-local on Native (#1484)v1.2.1
==================
This release mainly contains bugfixes for various issues, including important broken thread-safety and improper encoding.
Features
Bugfixes
v1.2.0
==================
This release has some known critical bugs, so we advise to use 1.2.1 instead.
This release contains a lot of new features and important improvements listed below;
Kotlin 1.5.0 is used as a default compiler and language version.
JSON performance improvements
JSON encoder and decoder were revisited and significantly rewritten,
which lead us to up to 2-3x times speedup in certain cases.
Additional details can be found in the corresponding issues: [1], [2].
Ability to specify alternative names during JSON decoding
The one of the most voted issues is fixed now — it is possible to specify multiple names for one property
using new
@JsonNames
annotation.Unlike
@SerialName
, it only affects JSON decoding, so it is useful when dealing with different versions of the API.We've prepared a documentation for you about it.
JsonConfiguration in public API
JsonConfiguration
is exposed as a property ofJson
instance. You can use it to adjust behavior inyour custom serializers.
Check out more in the corresponding issue and the PR.
Generator for .proto files based on serializable Kotlin classes
Our implementation of Protocol Buffers format uses
@Serializable
Kotlin classes as a source of schema.This is very convenient for Kotlin-to-Kotlin communication, but makes interoperability between languages complicated.
To resolve this issue, we now have a
schema generator that can produce .proto files out of Kotlin classes. Using it, you can keep Kotlin
classes as a source of truth and use traditional protoc compilers for other languages at the same time.
To learn more, check out the documentation for the new
ProtoBufSchemaGenerator
class orvisit the corresponding PR.
Contextual serialization of generic classes
Before 1.2.0, it was impossible to register context serializer for generic class,
because
contextual
function accepted a single serializer.Now it is possible to register a provider — lambda that allows to construct a serializer for generic class
out of its type arguments serializers. See the details in the documentation.
Other features
Bugfixes
v1.1.0
==================
This release contains all features and bugfixes from 1.1.0-RC plus an additional fix for incorrect exception type
(#1325 — Throw
SerializationException
instead ofIllegalStateException
inEnumSerializer
) and uses release version of Kotlin 1.4.30.In the light of JCenter shutdown, starting from 1.1.0-RC and now on,
all new releases of kotlinx.serialization are published directly to Maven Central and therefore are not available in
https://kotlin.bintray.com/kotlinx/
repository.We suggest you to remove
jcenter()
and other kotlin bintray repositories from your buildscripts and to usemavenCentral()
repository instead.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 Mend Renovate. View repository job log here.