Skip to content
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 #1254

Merged
merged 2 commits into from
Apr 7, 2024
Merged

Update Kotlin #1254

merged 2 commits into from
Apr 7, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 14, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.jetbrains.kotlinx:kotlinx-coroutines-android 1.7.3 -> 1.8.0 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-coroutines-core 1.7.3 -> 1.8.0 age adoption passing confidence
com.google.devtools.ksp (source) 1.9.21-1.0.15 -> 1.9.23-1.0.20 age adoption passing confidence
org.jetbrains.kotlin.plugin.parcelize (source) 1.9.21 -> 1.9.23 age adoption passing confidence
org.jetbrains.kotlin.android (source) 1.9.21 -> 1.9.23 age adoption passing confidence

Release Notes

Kotlin/kotlinx.coroutines (org.jetbrains.kotlinx:kotlinx-coroutines-android)

v1.8.0

Compare Source

  • Implement the library for the Web Assembly (Wasm) for JavaScript (#​3713). Thanks @​igoriakovlev!
  • Major Kotlin version update: was 1.8.20, became 1.9.21.
  • On Android, ensure that Dispatchers.Main != Dispatchers.Main.immediate (#​3545, #​3963).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#​4035, #​4038)
  • kotlinx-coroutines-debug is published with the correct Java 9 module info (#​3944).
  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#​3783).
  • kotlinx-coroutines-test: set the default timeout of runTest to 60 seconds, added the ability to configure it on the JVM with the kotlinx.coroutines.test.default_timeout=10s (#​3800).
  • kotlinx-coroutines-test: fixed a bug that could lead to not all uncaught exceptions being reported after some tests failed (#​3800).
  • delay(Duration) rounds nanoseconds up to whole milliseconds and not down (#​3920). Thanks @​kevincianfarini!
  • Dispatchers.Default and the default thread for background work are guaranteed to use the same context classloader as the object containing it them (#​3832).
  • It is guaranteed that by the time SharedFlow.collect suspends for the first time, it's registered as a subscriber for that SharedFlow (#​3885). Before, it was also true, but not documented.
  • Atomicfu version is updated to 0.23.1, and Kotlin/Native atomic transformations are enabled, reducing the footprint of coroutine-heavy code (#​3954).
  • Added a workaround for miscompilation of withLock on JS (#​3881). Thanks @​CLOVIS-AI!
  • Small tweaks and documentation fixes.
Changelog relative to version 1.8.0-RC2
  • kotlinx-coroutines-debug no longer requires manually setting DebugProbes.enableCoroutineCreationStackTraces to false, it's the default (#​3783).
  • Fixed a bug that caused Flow operators that limit cancel the upstream flow to forget that they were already finished if there is another such operator upstream (#​4035, #​4038)
  • Small documentation fixes.
google/ksp (com.google.devtools.ksp)

v1.9.23-1.0.20

Compare Source

KSP1 issues fixed

  • performance optimization for certain workload consists of heavy Java files, including
    • Replace IdKey's impl with identityHashCode #​1804
    • Cache enclosed descriptors by name #​1808
  • Add excludedSources to the KSP extension object #​1793 thanks to @​bitspittle

KSP2 issues fixed

  • NoClassDefFoundError for LZ4Factory when trying KSP2 #​1713
  • Calling KSType.replace() with original arguments results in #​1807
  • Static fields in base class appear in derived classes #​1744
  • fix backing field checking for top level callables
  • support sealed inheritors lookup.
  • support type alias for getSymbolsWithAnnotation
  • support more types for reference elements

v1.9.23-1.0.19

New APIs
  • #​1708 SymbolProcessorEnvironment.kspVersion
  • #​1707 CodeGenerator.associateWithFunctions and CodeGenerator.associateWithProperties
Issues fixed in KSP2
  • #​1691 IllegalStateException: Value type not found for value
  • #​1719 The order of symbols returned from Resolver.getSymbolsWithAnnotation() is different
  • #​1718 Getting packageName of Kotlin types returns empty String
  • #​1721 KSAnnotation packageName is an empty String for a type from a different module
  • #​1722 Resolver.getDeclarationsFromPackage() returns declarations from the default package when passing in an unknown package
  • #​1717 Resolver.getJvmName() returns different results for annotation args
  • #​1725 asMemberOf() throws exception with a generic type without arguments
  • #​1728 ClassCastException when calling KSType.replace() with empty list
  • #​1713 NoClassDefFoundError for LZ4Factory when trying KSP2
  • #​1665 NoClassDefFound in ksp.useKSP2=true mode
  • #​1733 ABI incompatibility with kotlin-compiler-embeddable in 2.0.0-Beta4
  • #​1714 Generated resources are not added to KotlinCompilation inputs
  • #​1747 isCompanionObject is false for companion objects from KOTLIN_LIB
  • #​1743 Incorrect type parameter variances
  • #​1759 IllegalStateException when getting the modifiers from properties in a Java annotation declaration
Issues fixed in KSP Gradle Plugin
  • #​1712 Analysis API artifacts have the wrong common-deps dependency
  • #​1775 1.0.18 creates circular dependencies with kapt tasks
  • #​1772 Update plugin com.google.devtools.ksp to v1.9.22-1.0.18 BUILD FAILED
Known issues
  • #​1776 KSP2 has higher memory usage when the compile classpath is very large.

v1.9.22-1.0.17

Compare Source

Issues fixed
  • Annotations missing on KSTypeArgument of typealias #​1679
  • unhandled visibility: private to this #​1515
  • Resolver#getJvmCheckedException results in <ERROR TYPE> when throwing type variable. #​1460
  • Class annotation values with $ in name are null when used in Kotlin source #​1671
  • KSP 1.9.21-1.0.15 leaking memory and causing OOMs #​1653
  • KSP processing fails with Java enum #​1482
  • [KSP2] Support Package annotations #​1641

v1.9.22-1.0.16

Compare Source

This is KSP 1.0.16 for Kotlin compiler 1.9.22

v1.9.21-1.0.16

Compare Source

Issue fixed

#​1653 KSP 1.9.21-1.0.15 leaking memory and causing OOMs

JetBrains/kotlin (org.jetbrains.kotlin.plugin.parcelize)

v1.9.23: Kotlin 1.9.23

1.9.23
Apple Ecosystem
  • KT-65542 Cinterop tasks fails if Xcode 15.3 is used
Backend. Wasm
  • KT-64486 Kotlin/Wasm/WASI exported function callback for coroutines support
Compiler
  • KT-53478 Could not load module
  • KT-66044 JDK's new API is used over Kotlin's SDK functions
  • KT-64640 Prevent mutating SequenceCollection methods from JDK 21 be available on read-only collections
  • KT-65441 K1: Remove JDK 21 getFirst()/getLast() in (Mutable)List interfaces
  • KT-65634 K/N: data race during monolithic cache creation
  • KT-53109 CompilationErrorException generateUnboundSymbolsAsDependencies with builder inference and lambdas
  • KT-52757 Type inference for builders fails if inferred from a function
Tools. Gradle
  • KT-65792 Add JSON build report
  • KT-65091 Update compiler metrics in build reports
  • KT-62490 KGP dropping resource directories
Tools. Gradle. JS
  • KT-64119 K/JS: Migrate package manager from Yarn onto NPM
  • KT-64561 K/JS tests are not executed after upgrade to 1.9.22
Tools. Gradle. Multiplatform
  • KT-65954 commonTest dependencies affect commoMainMetadata compilation
Tools. Gradle. Native
  • KT-64573 Default value for produceUnpackedKlib was not provided

v1.9.22

JavaScript
  • KT-63719 KJS: Test results ignored for ES module kind
  • KT-63808 compileTestDevelopmentExecutableKotlinJs failed in JsIntrinsicTransformers
Native
  • KT-64139 Weird bug with while and coroutine in Kotlin Native
  • KT-63471 linkDebugTestIosX64 Failed to build cache: NoSuchFileException bitcode_deps
  • KT-63789 Native: Incremental compilation problem with compose
Tools. CLI
  • KT-64485 CLI: cache and optimize parsing of command-line arguments
Tools. Gradle
  • KT-63990 "Cannot query the value of property 'buildFlowServiceProperty' because it has no value available" with Isolated Projects
Tools. Gradle. Native
  • KT-63363 Kotlin Gradle Plugin: KotlinNativeHostSpecificMetadataArtifact breaks configuration cache, implicitly includes output file as configuration cache input
  • KT-63742 Gradle wrongly caches Kotlin/Native compiler flags
Tools. JPS
  • KT-64305 Kotlin JPS builder requests chunk rebuild with graph implementation
  • KT-64112 Avoid using IJ's JPS mappings in Kotlin JPS tests
  • KT-63799 Make plugin classpath serialization path agnostic

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added dependencies Pull requests that update dependencies gradle labels Dec 14, 2023
@jellyfin-bot jellyfin-bot added this to the v2.7.0 milestone Dec 14, 2023
@renovate renovate bot force-pushed the renovate/kotlin branch from da402cb to 9945025 Compare December 21, 2023 14:09
@renovate renovate bot changed the title Update dependency com.google.devtools.ksp to v1.9.21-1.0.16 Update Kotlin Dec 21, 2023
@renovate renovate bot force-pushed the renovate/kotlin branch from 9945025 to 1c9b7df Compare December 25, 2023 09:25
@renovate renovate bot force-pushed the renovate/kotlin branch from 1c9b7df to 6dcb1e0 Compare January 19, 2024 00:58
@renovate renovate bot force-pushed the renovate/kotlin branch from 6dcb1e0 to f416163 Compare February 15, 2024 16:03
@renovate renovate bot force-pushed the renovate/kotlin branch from f416163 to dbf58a2 Compare February 29, 2024 04:55
@renovate renovate bot force-pushed the renovate/kotlin branch 3 times, most recently from 013cfeb to 4e1c49d Compare March 13, 2024 11:14
@renovate renovate bot force-pushed the renovate/kotlin branch from 4e1c49d to eece74e Compare April 2, 2024 10:42
@renovate renovate bot force-pushed the renovate/kotlin branch from eece74e to 1b04f2e Compare April 5, 2024 02:31
@Maxr1998 Maxr1998 enabled auto-merge (squash) April 7, 2024 19:29
@Maxr1998 Maxr1998 merged commit 5d6f927 into master Apr 7, 2024
8 checks passed
@Maxr1998 Maxr1998 deleted the renovate/kotlin branch April 7, 2024 19:34
taitsmith added a commit to taitsmith/jellyfin-android that referenced this pull request Apr 9, 2024
Update CI dependencies (jellyfin#1332)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Update eps1lon/actions-label-merge-conflict action to v3 (jellyfin#1336)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Update dependency org.chromium.net:cronet-embedded to v119 (jellyfin#1335)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Update dependency org.jellyfin.sdk:jellyfin-core to v1.4.7 (jellyfin#1333)

* Update dependency org.jellyfin.sdk:jellyfin-core to v1.4.7

* 🐛 Fix build error due to new enum

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Maxr1998 <max.rumpf1998@gmail.com>

Update dependency de.maxr1998:modernandroidpreferences to v2.4.0-beta2

Update Kotlin (jellyfin#1254)

* Update Kotlin

* Update dependency androidx.compose.compiler:compiler to v1.5.11

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Update compose to v1.6.5 (jellyfin#1320)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Update dependency androidx.compose.foundation:foundation to v1.6.5 (jellyfin#1322)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Update compose.material to v1.6.5 (jellyfin#1321)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Update dependency androidx.mediarouter:mediarouter to v1.7.0 (jellyfin#1328)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Update dependency androidx.webkit:webkit to v1.10.0 (jellyfin#1338)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

Update dependency androidx.activity:activity-ktx to v1.8.2

Update koin to v3.5.4

Update dependency io.coil-kt:coil-base to v2.6.0

Update gradle/gradle-build-action action to v3.2.1

Update dependency com.google.android.material:material to v1.11.0
@nielsvanvelzen nielsvanvelzen modified the milestones: v2.7.0, v2.6.1 Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update dependencies gradle
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants