Repository navigation
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.12.0 - #17872
Conversation
|
📱 QA build
The QA build installs alongside a released Nextcloud app, so you can keep Downloading the file requires a GitHub account, so open this link on the |
… v1.12.0 Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
6b738c9 to
c11a2c1
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Update dependency androidx.webkit:webkit to v1.18.0 (#17879) Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.12.0 (#17872) Update library to 2026-10-26 fix(l10n): Update translations from Transifex Update dependency com.google.firebase:firebase-messaging to v26.0.1 fix(l10n): Update translations from Transifex fix(l10n): Update translations from Transifex Update Gradle to v9.8.2 chore(detekt): relax rules and drop obsolete suppressions fix lint fix(l10n): Update translations from Transifex fix error: cannot find symbol import androidx.lifecycle.ProcessLifecycleOwner; abi optimization for build and remove data binding and is fork disable data binding use in file actions bottom sheet introduce reusable filenameview fix(file-list): renew after upload simplify simplify migrate oc file list fragment migrate file detail actions to file action handler use app consts fix dir observation fix icon changes set current folder id add file download progress in current folder sync use worker instead local broadcast manager fix kotlin spotless bug fix kotlin spotless bug Wait for proxy only if there's a proxy configured refactor(web-view-util): use ProxyController rebase Fix: areImageDimensionsSame remote file check is now symmetric to local one (it doesn't fail when dimensions are unknown) replace deprecated api with display metrics deduplicate display size logic refactor(thumbail-cache-manager): resized image generation remove dead code fix(ical4j): match nullable getTzId() return type from ical4j 4.4.0 fix verification-metadata.xml fix verification-metadata.xml fix verification-metadata.xml fix verification-metadata.xml Update dependency com.github.albfernandez:juniversalchardet to v2.5.1 Update dependency org.mnode.ical4j:ical4j to v4.4.0 fix verification-metadata.xml Update dependency com.diffplug.spotless to v8.10.4
This PR contains the following updates:
1.11.0→1.12.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)
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
Configuration
📅 Schedule: (in timezone Europe/Berlin)
🚦 Automerge: Enabled.
♻ 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 was generated by Mend Renovate. View the repository job log.