-
Notifications
You must be signed in to change notification settings - Fork 155
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
Update kotlin #3283
Update kotlin #3283
Conversation
1490c61
to
e0ce511
Compare
ffe8ec2
to
913b682
Compare
913b682
to
6e9125e
Compare
6e9125e
to
a96f224
Compare
619c2f0
to
340a179
Compare
340a179
to
187d2b2
Compare
f757929
to
0de6d1b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3283 +/- ##
========================================
Coverage 82.82% 82.82%
========================================
Files 1747 1747
Lines 41742 41742
Branches 5102 5102
========================================
+ Hits 34572 34573 +1
Misses 5355 5355
+ Partials 1815 1814 -1 ☔ View full report in Codecov by Sentry. |
0de6d1b
to
b3a7083
Compare
b3a7083
to
07a7907
Compare
07a7907
to
d943ea5
Compare
📱 Scan the QR code below to install the build (arm64 only) for this PR. |
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. |
… URL, runs WidgetDriver and notifies the other clients a call started` not passing.
Quality Gate passedIssues Measures |
This PR contains the following updates:
0.3.7
->0.3.8
1.6.3
->1.7.3
0.6.0
->0.6.1
1.8.1
->1.9.0
1.8.1
->1.9.0
2.0.20-1.0.25
->2.0.21-1.0.25
2.0.20-1.0.25
->2.0.21-1.0.25
2.0.20-1.0.25
->2.0.21-1.0.25
2.0.20
->2.0.21
2.0.20
->2.0.21
2.0.20
->2.0.21
2.0.20
->2.0.21
2.0.20
->2.0.21
2.0.20
->2.0.21
2.0.20
->2.0.21
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
Kotlin/kotlinx.collections.immutable (org.jetbrains.kotlinx:kotlinx-collections-immutable)
v0.3.8
Kotlin/kotlinx.serialization (org.jetbrains.kotlinx:kotlinx-serialization-json)
v1.7.3
==================
This release aims to fix important issues that were discovered in the 1.7.2 release,
including the inability to sync certain projects into Android Studio/IntelliJ IDEA and exceptions from custom Uuid serializers.
It uses Kotlin 2.0.20 by default.
v1.7.2
==================
This release provides several new features, including a major Cbor configuration rework.
It uses Kotlin 2.0.20 by default.
Cbor feature set for COSE compliance
This change brings a lot of features to the CBOR format, namely:
@CborLabel
annotation andpreferCborLabelsOverNames
flag.encode*Tags
andverify*Tags
set of flagsuseDefiniteLengthEncoding
. This flag affects object encoding, since decoding of arrays with definite lenghts is automatically supported.alwaysUseByteString
flag.Since there are quite a lot of flags now, they were restructured to a separate
CborConfiguration
class, similarly toJsonConfiguration
.It is possible to retrieve this configuration from
CborEncoder/CborDecoder
interfaces in your custom serializers (see their documentation for details).All of these features make it possible to serialize and parse COSE-compliant CBOR, for example, ISO/IEC 18013-5:2021-compliant mobile driving license data.
In case you want to make use of them, there is a predefined
Cbor.CoseCompliant
instance.However, some canonicalization steps (such as sorting keys) still need to be performed manually.
This functionality was contributed to us by Bernd Prünster.
Keeping generated serializers
One of the most requested features for serialization plugin was to continue to generate a serializer even if a custom one is specified for the class.
It allows using a plugin-generated serializer in a fallback or delegate strategy, accessing type structure via descriptor, using default serialization behavior in inheritors that do not use custom serializers.
Starting with this release, you can specify the
@KeepGeneratedSerializer
annotation on the class declaration to instruct the plugin to continue generating the serializer.In this case, the serializer will be accessible using the
.generatedSerializer()
function on the class's companion object.You can check out the examples in the documentation and in the PRs: #2758, #2669.
Serializer for kotlin.uuid.Uuid
Kotlin 2.0.20 added a common class to represent UUIDs in a multiplatform code.
kotlinx.serialization 1.7.2 provides a corresponding
Uuid.serializer()
for it, making it possible to use it in@Serializable
classes.Note that for now, serializer should be provided manually with
@Contextual
annotation.Plugin will be able to automatically insert
Uuid
serializer in Kotlin 2.1.0.See more details in the corresponding PR.
Other bugfixes and improvements
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
, anddecodeSourceToSequence
.Check out the PR for more details.
Other bugfixes
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).
Kotlin/kotlinx-datetime (org.jetbrains.kotlinx:kotlinx-datetime)
v0.6.1
DateTimeFormat
(#405)/etc/localtime
set, defaulting toTimeZone.UTC
as the system time zone (#426)Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-test)
v1.9.0
Compare Source
Features
limitedParallelism
now optionally accepts the name of the dispatcher view for easier debugging (#4023).Dispatchers.IO
on the JVM when other standard dispatchers are accessed (#4166). Thanks, @metalhead8816!Flow<T>.chunked(size: Int): Flow<List<T>>
operator that groups emitted values into groups of the given size (#1290).AutoCloseable
now (#4123).Fixes
hasNext
on aChannel
's iterator is idempotent (#4065). Thanks, @gitpaxultek!CoroutineScope()
created without an explicit dispatcher usesDispatchers.Default
on Native (#4074). Thanks, @whyoleg!Dispatchers.Main
from initializing when the Firebase dependency is used (#3914).runBlocking
(#4134).Mutex
toSemaphore
(#4176).asDeferred
on aFuture
many times (#4156).Deprecations and promotions
BroadcastChannel
-based API (#4197).kotlinx-coroutines-test
API (#4198).Job.cancelFutureOnCompletion
(#4173).CoroutineDispatcher.limitedParallelism
to stable (#3864).CoroutineStart.ATOMIC
fromExperimentalCoroutinesApi
toDelicateCoroutinesApi
(#4169).CancellableContinuation.resume
with anonCancellation
lambda to stable, providing extra arguments to the lambda (#4088).InternalForInheritanceCoroutinesApi
opt-in (#3770).ExperimentalForInheritanceCoroutinesApi
opt-in (#3770).Other
CoroutineStart
andChannel
-based API (#4147, #4148, #4167). Thanks, @globsterg!Job
(#4053).google/ksp (com.google.devtools.ksp)
v2.0.21-1.0.25
Compare Source
What's Changed
Full Changelog: google/ksp@2.0.21-RC-1.0.25...2.0.21-1.0.25
JetBrains/kotlin (org.jetbrains.kotlin.plugin.compose)
v2.0.21
: Kotlin 2.0.21Changelog
Apple Ecosystem
KT-69093
Xcode 16 support in KotlinBackend. Native. Debug
KT-71374
lldb: step out breaks breaking in Xcode 16Compiler
Fixes
KT-69735
K2: Static fields are missing from the declaration list of corresponding IrClass for java classKT-71122
Regression in Kotlin Compiler 2.0 causing NPE in the runtimeKT-70931
K2 / Scripts: "cannot convert IrExpression to ConstantValue" when using function annotationKT-70584
K2: "IllegalStateException: flow for PostponedLambdaExitNode not initialized - traversing nodes in wrong order?"KT-70808
K2: "node has already been visited" with anonymous object in dead codeKT-69985
K2: Classifier declarations from root package are resolved without imports in non-root packagesKT-70683
K2: Internal compiler error in IrFakeOverrideSymbolBase.getOwnerKT-70901
False positive Public-API inline function cannot access non-public-API property accessorKT-70930
K2: Java annotations not present on ENUM_ENTRY IR elementsKT-70194
K2 IDE: exception on a very red fileKT-69399
Native: IllegalStateException: "Failed to build cache"Compose compiler
Fixes
b/329477544
Force open / overridden Composable functions to be non-restartable.b/361652128
Disable live literal transform if the corresponding flag is disabledIR. Actualizer
KT-70894
IR crash. UnprocessedIrFunctionFakeOverrideSymbol
when actualize to JavaIR. Tree
KT-71191
SymbolTable: Check if the provided signature is public before adding a symbol to the SymbolTableNative. Build Infrastructure
KT-71485
K/N runtime parts don't build due to _Float16 issues on x86_64 macOSNative. C Export
KT-69507
LLVM 11 clang with Xcode 16 headers: standard c++ headersNative. C and ObjC Import
KT-71029
Investigate why stdarg.h declarations leak into testModuleANative. Platform Libraries
KT-70566
LLVM 11 clang with Xcode 16 headers: 'sys/cdefs.h' file not foundKT-71624
Eliminate remaining UIKit/AppKit removed signaturesKT-70031
Rebuild platform libraries in 2.0.21 with Xcode 16Native. Testing
KT-70603
C++ with -fmodules: cyclic dependency in module 'std': std -> _wctype -> __wctype -> std in dev llvm toolchainsTools. CLI. Native
KT-71262
KotlinNativeLink tasks fetching from network despite -Xoverride-konan-properties=dependenciesUrl= being setTools. Compiler Plugins
KT-71038
PowerAssert: Constant on RHS of elvis operator leads to compiler crashTools. Daemon
KT-35381
Get rid of the native-platform usage in kotlin compilerTools. Gradle. Multiplatform
KT-71444
Certain POMs produced by Kotlin 2.0.20 cannot be consumed by KMP projects with Android targetsKT-70700
Gradle 8.10: The value for task ':commonizeNativeDistribution' property 'kotlinNativeBundleBuildService' cannot be changed any furtherKT-71396
Gradle client side JVM explodes with OOM due to xcodebuild logsTools. Gradle. Native
KT-71419
Light bundle KGP IT run against a stable K/N versionTools. JPS
KT-71450
Constant build failure: com.intellij.util.io.ClosedStorageException: storage is already closedConfiguration
📅 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.
👻 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.