Repository navigation
update coroutine dependencies - #164
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
June 27, 2025 15:07
beba39f to
87d4eae
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
July 3, 2025 16:02
87d4eae to
77c5186
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
July 7, 2025 22:43
77c5186 to
b38fff7
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
August 10, 2025 12:27
b38fff7 to
9837ab4
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
October 9, 2025 09:48
9837ab4 to
462d8ca
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
October 21, 2025 18:05
462d8ca to
09e27a9
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
January 21, 2026 17:22
09e27a9 to
577fc3c
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
April 9, 2026 20:50
577fc3c to
b992267
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
2 times, most recently
from
May 8, 2026 14:52
323e265 to
6de81c2
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
August 12, 2026 00:40
6de81c2 to
c043c3d
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
October 20, 2026 18:18
c043c3d to
86b1bce
Compare
renovate
Bot
force-pushed
the
chore/update-libs/coroutine-dependencies
branch
from
November 11, 2026 22:58
86b1bce to
6a064fa
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
0.6.2→0.8.0-0.6.x-compat1.9.0→1.13.01.10.2→1.11.0Release Notes
Kotlin/kotlinx-datetime (org.jetbrains.kotlinx:kotlinx-datetime)
v0.8.0Breaking changes:
TimeZoneserialization (#576).Additions:
orNullfunctions for non-throwing construction of datetime entities (#68).parseOrNullextension functions for non-throwing attempts at parsing (#508).LocalIsoWeekDatefor representing ISO week dates (#603).Tweaks and fixes:
Instant.untilandInstant.periodUntil(#534).DateTimeComponents.Formats.RFC_1123format (#608).Changelog relative to version 0.8.0-rc02
No changes, only the version is increased.
v0.7.1kotlinx.datetime.Instantandkotlinx.datetime.Clocktype aliases to, respectively,kotlin.time.Instantandkotlin.time.Clockto make migration more convenient.v0.7.0Breaking changes:
kotlinx.datetime.Instantandkotlinx.datetime.Clockin favor ofkotlin.time.Instant(#506). See https://github.com/Kotlin/kotlinx-datetime?tab=readme-ov-file#deprecation-of-instant for a description of what to do if this causes problems.LocalDateandLocalDateTimevalues on all platforms (#432).dayOfMonthtoday,monthNumbertomonth(#84).DayOfWeekandMonthno longer type aliases tojava.time.DayOfWeekandjava.time.Month(#96)."UTC"and not"Z"be the timezone identifier forTimeZone.UTC(#474)."z"inTimeZone.of, with the same meaning as"Z"(#529).DateTimeFormat-basedKSerializerimplementations for datetime entities, and change the default serializers to be based ontoString/parsepairs (#415).Additions:
java.io.Serializableimplementations for most of the entities in the library (#143). Thanks for spotting and fixing a potential vulnerability, @lukellmann!LocalDateRange, a range ofLocalDatevalues (#190). Thanks, @PeterAttardo!YearMonthandYearMonthRange(#457).Tweaks and fixes:
timeZoneId()directive (#444).timeZoneId()directive, allowing parsing values not present in the timezone database (#531).DateTimeComponentsvalue (#471).kotlinx.serialization.coreto be optional (#496).Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-core)
v1.13.0===================
This release is based on Kotlin 2.4.10 and reverts a breaking change introduced in 1.12.0.
Besides that, it improves
JsonElement.toStringperformance.Exceptions rework rollback
In 1.12.0, Json format start intercepting almost all exceptions thrown by serializers during serialization and
deserialization, and wrap them into a
JsonExceptionwith additional information about JSON path and input.The impact of the change was underestimated, and it was decided to revert the change.
Performance improvements
JsonElement.toStringwas rewritten and its improved twofold on some benchmarks.See #3296 and #3299 for details.
v1.12.0===================
This release is based on Kotlin 2.4.10 and contains all of the changes from 1.12.0-RC.
Additionally, it includes a fix removing unnecessary leading whitespaces from Proguard rules (#3270),
and two changes stabilizing
kotlin.uuid.Uuidserializer (#3263) andkotlin.time.Instantserializers (#3261).API stabilization and deprecations
A big portion of the Json and Core APIs has been stabilized. Most important ones include:
@KeepGeneratedSerializerand@SerialInfoannotations,JsonNamingStrategy, andContextualSerializer.Additionally, various descriptor builders such as
listDescriptorand JsonElementBuilder'saddAllfunctions are alsostable and can be freely used. There is also one deprecation:
ChunkedDecoderinterface. Since there is no demand forit, we plan to remove it in the future. See details in
the #3238, #3239,
and #3216.
Also,
kotlin.time.Instantandkotlin.uuid.Uuidserializers are no longer annotated with experimental annotationsfrom the Kotlin standard library (see [#3261](#3261
and #3263)
Performance improvements
We also improved performance in various areas. ASCII-specific parser
(#3225) brings performance of decoding from Okio and
kotlinx-io sources closer to decoding performance from
String. #3220 makes decoding significantly faster in case
JsonElementpresent in your serializable classes.And #3248 should bring overall performance improvements
(up to 30%) on large strings.
Exceptions rework
We continue to improve exception handling in Json encoders and decoders.
#3235 makes a big change around custom serializers and
@Serializableclasses constructors:from now on, every exception thrown during deserialization is wrapped by decoder into a
JsonException. This way, it ismore predictable to write a
catchand it is easier to understand what went wrong:JsonDecodingExceptionalso includes context information such as Json path and input. Besidesthat, #3246 limits maximum nesting depth of Json
document, so you will get a proper
JsonDecodingExceptioninstead of a random stack overflow error.CBOR improvements
CBOR format also gets many improvements in this release. The most important one is memory optimization for
definitely-sized collections (#3191, #3192).
The others include:
Protobuf improvements
Protocol buffers format received a big new feature: support for unknown fields. Using a new
ProtoUnknownFieldHolderclass, you can now decode and store unknown fields in Protobuf messages to retransmit them back later. See documentation
updates and #2860 for details. Big thanks
to xzk for theirs contributions:
this one and the bug with
oneofdefault value (#3147).We've also fixed Protobuf schema generation for inlined value classes (#3209).
Other improvements and bugfixes
v1.11.0==================
This release is based on Kotlin 2.3.20 and provides new Json exceptions API and some bugfixes and improvements.
Expose Json exceptions structure
To make working with exceptions easier and providing proper error codes in e.g., REST APIs,
classes
JsonException,JsonDecodingException, andJsonEncodingExceptionare now public.They have relevant public properties, such as
shortMessage,path,offset, and others.This API is currently experimental, and we're going to improve it further in the subsequent releases.
See the linked issues for the details: #1930, #1877.
Ability to hide user input from exception messages for security/privacy reasons.
Historically, exception messages in kotlinx.serialization often included the input Json itself for debuggability reason.
Such behavior may pose additional challenges for logging, analytics, and other systems, since
a system is not always allowed to store user data due to privacy/security reasons, which imposes additional sanitation logic.
To address this issue, a new property
exceptionsWithDebugInfois added toJsonConfiguration.Disable it to hide user input from exception messages.
IMPORTANT: This behavior will be enabled by default when this property becomes stable.
See #2590 for more details.
Bugfixes and improvements
v1.10.0==================
This release is based on Kotlin 2.3.0 and contains all of the changes from 1.10.0-RC.
The only additional change is a fix for ProtoBuf packing of Kotlin unsigned types (#3079).
Big thanks to KosmX for contributing the fix.
Stabilization of APIs
kotlinx-serialization 1.10 and subsequent releases will be focused on stabilization of existing APIs.
The following APIs and configuration options are no longer experimental because they're widely used without any known major issues:
Jsonconfiguration options:decodeEnumsCaseInsensitive,allowTrailingComma,allowComments, andprettyPrintIndent. (#3100)@EncodeDefaultannotation and its modes. (#3106)JsonUnquotedLiteralconstructor function (#2900)JsonPrimitiveconstructor function overloads that accept unsigned types. (#3117)JsonElementwithNothing?overloads. (#3117)Readiness for return value checker
Kotlin 2.3.0 introduces a new feature aimed
at helping you to catch bugs related to the accidentally ignored return value of the function.
kotlinx-serialization 1.10.0-RC code is fully marked for this feature, meaning that you
can get warnings for unused function calls like
Json.encodeToString(...).To get the warnings, the feature has to be enabled in your project as described here.
Polymorphism improvements
Polymorphic serialization received a couple of improvements in this release:
New
subclassesOfSealedutility to automatically register sealed subclasses serializers in polymorphic modules (#2201).Use it in your
SerializersModulewhen configuring a polymorphic hierarchy which contains both abstract and sealed classes.For example, when root of your hierarchy is an
interface, but most of your inheritors aresealedclasses.The new function will register all known sealed subclasses for you, so you don’t need to list them one by one.
This makes writing your
SerializerModules much faster and simpler.Big thanks to Paul de Vrieze for contributing this feature.
Class discriminator conflict check rework (#3105).
If a payload already contains a property with the same name as the configured discriminator (for example,
type),it is called a class discriminator conflict.
To produce a correct output and allow more inputs to be deserialized at the same time, the following changes were made:
JsonNamingStrategytransformations are now detected during serialization as well and will causeSerializationException.It also affects non-polymorphic classes.
ClassDisciminatorMode.ALL_JSON_OBJECTSandSerializersModuleBuilder.polymorphicDefaultSerializerare also detected.Previously, it was possible in the sealed hierarchies alone due to missing assertion. See #1664 for details.
General improvements
.serialNametoMissingFieldExceptionfor clearer diagnostics. (#3114)Automatic-Module-Nameentries for metadata JARs. (#3109)Bugfixes
BIGNUM_NEGATIVEtag name. (#3090)Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-swing)
v1.11.0Compare Source
Various
Breaking changes and deprecations
Promise-related functions from JS and Wasm/JS to the newwebtarget. On Wasm/JS, this is a breaking change. Before the change,Promiseon Wasm/JS could work with arbitrary Kotlin types, but now, onlyJsAnysubtypes are accepted (#4563).CoroutineDispatcheras the coroutine context key; now,ContinuationInterceptorhas to be used instead (#4333).kotlinx-coroutines-testAPIs (#4604).Jobto coroutine builders as deprecated (#4435).Bug fixes and improvements
callsInPlace(EXACTLY_ONCE)contract torunBlockingin code shared between JVM and Native (#4368).callsInPlace(EXACTLY_ONCE)contract tosuspendCancellableCoroutine(#4574).flowOnincorrectly handlingThreadContextElementupdates (#4403).Thread.UncaughtExceptionHandlerinstances causing the internal coroutines machinery to fail (#4516).CoroutineDispatcher.asSchedulerin the RxJava integration not cancelling outstanding work when aWorkergets cancelled, which led to memory leaks in some scenarios (#4615).SharedFlowentering an invalid state when a subscriber and an emitter are cancelled simultaneously (#4583).shareIn/stateIncoroutines getting garbage-collected (#4646). Thanks, @solevic!Small additions
CompletableDeferred.asDeferredfor obtaining a read-onlyDeferredview (#4408).SharedFlow.asFlowfor obtaining aFlowview with hidden hot flow semantics (#4530). Thanks, @g000sha256!StateFlow.collectLatestoverload returningNothingto assist with finding unreachable code (#4454).ReceiveChannel.consumeTofor consuming aReceiveChannelinto aMutableCollection(#4520).StateFlow<T>.onSubscriptionoverload returning aStateFlow<T>, similar toSharedFlow<T>.onSubscriptionreturningSharedFlow<T>(#4275). Thanks, @xit0c!Flowoperators for collecting aFlowto aMap(#1541).Changelog relative to version 1.11.0
No changes, only the version is increased.
Configuration
📅 Schedule: (in timezone Africa/Nairobi)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.