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 #882

Merged
merged 3 commits into from
Jun 10, 2023
Merged

Update Kotlin #882

merged 3 commits into from
Jun 10, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 8, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.jetbrains.kotlinx:kotlinx-coroutines-android 1.6.4 -> 1.7.1 age adoption passing confidence
org.jetbrains.kotlinx:kotlinx-coroutines-core 1.6.4 -> 1.7.1 age adoption passing confidence
com.google.devtools.ksp (source) 1.7.20-1.0.8 -> 1.8.22-1.0.11 age adoption passing confidence
org.jetbrains.kotlin.plugin.parcelize (source) 1.7.20 -> 1.8.22 age adoption passing confidence
org.jetbrains.kotlin.android (source) 1.7.20 -> 1.8.22 age adoption passing confidence

Release Notes

Kotlin/kotlinx.coroutines

v1.7.1

Compare Source

Bug fixes and improvements
  • Special characters in coroutine names in JSON dumps are supported (#​3747)
  • The binary compatibility of the experimental overload of runTest is restored (#​3673)
  • Channels that don't use onUndeliveredElement now allocate less memory (#​3646)

v1.7.0

Compare Source

Core API significant improvements
  • New Channel implementation with significant performance improvements across the API (#​3621).
  • New select operator implementation: faster, more lightweight, and more robust (#​3020).
  • Mutex and Semaphore now share the same underlying data structure (#​3020).
  • Dispatchers.IO is added to K/N (#​3205)
    • newFixedThreadPool and Dispatchers.Default implementations on K/N were wholly rewritten to support graceful growth under load (#​3595).
  • kotlinx-coroutines-test rework:
    • Add the timeout parameter to runTest for the whole-test timeout, 10 seconds by default (#​3270). This replaces the configuration of quiescence timeouts, which is now deprecated (#​3603).
    • The withTimeout exception messages indicate if the timeout used the virtual time (#​3588).
    • TestCoroutineScheduler, runTest, and TestScope API are promoted to stable (#​3622).
    • runTest now also fails if there were uncaught exceptions in coroutines not inherited from the test coroutine (#​1205).
Breaking changes
  • Old K/N memory model is no longer supported (#​3375).
  • New generic upper bounds were added to reactive integration API where the language since 1.8.0 dictates (#​3393).
  • kotlinx-coroutines-core and kotlinx-coroutines-jdk8 artifacts were merged into a single artifact (#​3268).
  • Artificial stackframes in stacktrace recovery no longer contain the \b symbol and are now navigable in IDE and supplied with proper documentation (#​2291).
  • CoroutineContext.isActive returns true for contexts without any job in them (#​3300).
Bug fixes and improvements
  • Kotlin version is updated to 1.8.20
  • Atomicfu version is updated to 0.20.2.
  • JavaFx version is updated to 17.0.2 in kotlinx-coroutines-javafx (#​3671)..
  • JPMS is supported (#​2237). Thanks @​lion7!
  • BroadcastChannel and all the corresponding API are deprecated (#​2680).
  • Added all supported K/N targets (#​3601, #​812, #​855).
  • K/N Dispatchers.Default is backed by the number of threads equal to the number of available cores (#​3366).
  • Fixed an issue where some coroutines' internal exceptions were not properly serializable (#​3328).
  • Introduced Job.parent API (#​3201).
  • Fixed a bug when TestScheduler leaked cancelled jobs (#​3398).
  • TestScope.timeSource now provides comparable time marks (#​3617). Thanks @​hfhbd!
  • Fixed an issue when cancelled withTimeout handles were preserved in JS runtime (#​3440).
  • Ensure awaitFrame only awaits a single frame when used from the main looper (#​3432). Thanks @​pablobaxter!
  • Obsolete Class-Path attribute was removed from kotlinx-coroutines-debug.jar manifest (#​3361).
  • Fixed a bug when updateThreadContext operated on the parent context (#​3411).
  • Added new Flow.filterIsInstance extension (#​3240).
  • Dispatchers.Default thread name prefixes are now configurable with system property (#​3231).
  • Added Flow.timeout operator as @FlowPreview (#​2624). Thanks @​pablobaxter!
  • Improved the performance of the future builder in case of exceptions (#​3475). Thanks @​He-Pin!
  • Mono.awaitSingleOrNull now waits for the onComplete signal (#​3487).
  • Channel.isClosedForSend and Channel.isClosedForReceive are promoted from experimental to delicate (#​3448).
  • Fixed a data race in native EventLoop (#​3547).
  • Dispatchers.IO.limitedParallelism(valueLargerThanIOSize) no longer creates an additional wrapper (#​3442). Thanks @​dovchinnikov!
  • Various @FlowPreview and @ExperimentalCoroutinesApi are promoted to experimental and stable respectively (#​3542, #​3097, #​3548).
  • Performance improvements in Dispatchers.Default and Dispatchers.IO (#​3416, #​3418).
  • Fixed a bug when internal suspendCancellableCoroutineReusable might have hanged (#​3613).
  • Introduced internal API to process events in the current system dispatcher (#​3439).
  • Global CoroutineExceptionHandler is no longer invoked in case of unprocessed future failure (#​3452).
  • Performance improvements and reduced thread-local pressure for the withContext operator (#​3592).
  • Improved performance of DebugProbes (#​3527).
  • Fixed a bug when the coroutine debugger might have detected the state of a coroutine incorrectly (#​3193).
  • CoroutineDispatcher.asExecutor() runs tasks without dispatching if the dispatcher is unconfined (#​3683). Thanks @​odedniv!
  • SharedFlow.toMutableList and SharedFlow.toSet lints are introduced (#​3706).
  • Channel.invokeOnClose is promoted to stable API (#​3358).
  • Improved lock contention in Dispatchers.Default and Dispatchers.IO during the startup phase (#​3652).
  • Fixed a bug that led to threads oversubscription in Dispatchers.Default (#​3642).
  • Fixed a bug that allowed limitedParallelism to perform dispatches even after the underlying dispatcher was closed (#​3672).
  • Fixed a bug that prevented stacktrace recovery when the exception's constructor from cause was selected (#​3714).
  • Improved sanitizing of stracktrace-recovered traces (#​3714).
  • Introduced an internal flag to disable uncaught exceptions reporting in tests as a temporary migration mechanism (#​3736).
  • Various documentation improvements and fixes.

Changelog for previous versions may be found in CHANGES_UP_TO_1.7.md

google/ksp

v1.8.22-1.0.11: Release

Compare Source

v1.8.21-1.0.11: Release

Compare Source

Bump Kotlin Compiler to 1.8.21 for 1.0.11 release

v1.8.20-1.0.11: Release

Compare Source

Issues fixed

Incremental compilation fails with "Number of loaded files in snapshots differs" #​1280

v1.8.20-1.0.10

Compare Source

New Features

KSP can now be run with K2 compiler frontend.

  • note that KSP itself still runs in old frontend implementation as its own task, there might be some behavior differences with new compiler frontend (e.g. you might get different type resolution results)

Issues fixed

  • KSP up-to-date after changing processor code #​1308
  • Java annotation array type value in java will break getAnnotationsByType #​1329
  • Gradle configuration warning: "Configuration is both resolvable/consumable or consumable/declarable #​1293
  • Defer resolution of processor classpath #​1294

Known issue

There is a known issue with incremental with this release #​1280 from compiler update, we are working on a hotfix release to address this, if you are impacted by this issue, please try to disable incremental or hold on for hotfix release.

Contributors

Thanks for your contributions!
@​larryxiao625
@​ansman

v1.8.10-1.0.9

Compare Source

v1.8.0-1.0.9

Compare Source

New Features

  • Supported definitely non null type
    • Added corresponding KSDefNonNullReference for definitely non null types.
    • If you are implementing KSVisitor directly, you need to override visitDefNonNullReference in your visitor as well.
  • excludedProcessors is added to Gradle extensions to allow excluding certain processors.
  • Any? is added to unbounded type parameters

Issues fixed

  • Incremental compilation fails with "Number of loaded files in snapshots differs" #​1280
  • Type T & Any can't be analyzed even in the latest version. #​1127
  • Can't differentiate between @​A(int.class) and @​A(Integer.class) #​870
  • Non-embeddable compiler JAR compilations are broken in 1.0.7 #​1155
  • Need a way to specify and exclude processors #​1234
  • Bug of KSPropertyDeclaration.findOverridee() #​1182
  • KSTypeParameter#bounds returns when the bounds is another type parameter #​1250
  • Resolved KSTypeParameter doesn't equal the source #​971

Contributors

Thanks for your contributions!
@​3flex
@​danysantiago

v1.8.0-1.0.8

Compare Source

KSP 1.0.8 for Kotlin 1.8.0.

v1.7.22-1.0.8

Compare Source

KSP 1.0.8 for Kotlin 1.7.22

v1.7.21-1.0.8

Compare Source

KSP 1.0.8 for Kotlin 1.7.21

JetBrains/kotlin

v1.8.22: Kotlin 1.8.22

Changelog
Tools. Gradle
  • KT-58280 org.jetbrains.kotlin.jvm Gradle plugin contributes build directories to the test compile classpath
Checksums
File Sha256
kotlin-compiler-1.8.22.zip 91f50fe25c9edfb1e79ae1fe2ede85fa4728f7f4b0587644a4eee40252cdfaa6
kotlin-native-linux-x86_64-1.8.22.tar.gz a1fb41fc010b347d5d9a5449ebb48ad200c59ec2a9121b01db5165db6697e58b
kotlin-native-macos-x86_64-1.8.22.tar.gz 0d6e6b12569a4b8ff2f301f827192dd715a29962cc01eed05557aa8e6eb7c20d
kotlin-native-macos-aarch64-1.8.22.tar.gz 29805af3220eab3c163ac54f02a6097436d4ddfa83eca7815eb053517093e417
kotlin-native-windows-x86_64-1.8.22.zip 91b04aa9f3dc3d5968c75d8e7f163e542458867915777e995162864cc805b2e5

v1.8.21

Compiler
  • KT-57848 Native: compilation of dynamic/static library fails with Xcode 14.3
  • KT-57875 Native compilation failure: Suspend functions should be lowered out at this point, but FUN LOCAL_FUNCTION_FOR_LAMBDA
  • KT-57946 KAPT: "RuntimeException: No type for expression" with delegate
JavaScript
  • KT-57356 KJS: StackOverflowException on @​JsExport with type parameters referring to one another
Tools. Compiler plugins. Serialization
  • KT-58067 Serialization: NullPointerException caused by @​Contextual property with type with generic
  • KT-57730 Serialization: "IllegalStateException: Serializer for element of type .Foo has not been found" caused by serialization of Java type
Tools. Gradle. JS
  • KT-57766 KJS / Gradle "Module not found: Error: Can't resolve 'kotlin-kotlin-stdlib-js-ir'" when using "useEsModules"
Tools. Kapt
  • KT-58027 Kotlin 1.8.20 kapt issue "null: KtCallExpression: build()"
Tools. Maven
  • KT-58048 Maven: "Too many source module declarations found" after upgrading to 1.8.20
  • KT-58101 'Unable to access class' in kotlin-maven-plugin after updating to Kotlin 1.8.20

v1.8.20

Analysis API
  • KT-55510 K2: Lost designation for local classes
  • KT-55191 AA: add an API to compare symbol pointers
  • KT-55487 K2: symbol pointer restoring doesn't work for static members
  • KT-55336 K2 IDE: "java.lang.IllegalStateException: Required value was null." exception while importing a compiled JPS project
  • KT-55098 AA: KtDeclarationRenderer should render a context receivers
  • KT-51181 LL API: errors for SAM with suspend function from another module
  • KT-50250 Analysis API: Implement Analysis API of KtExpression.isUsedAsExpression
  • KT-54360 KtPropertySymbol: support JvmField in javaSetterName and javaGetterName
Analysis API. FE1.0
  • KT-55825 AA FE1.0: stackoverflow when resolution to a function with a recursive type parameter
Analysis API. FIR
  • KT-54311 K2: proper implementation of KtSymbolPointer
  • KT-50238 Analysis API: Implement KSymbolPointer for KtSymbol
Analysis API. FIR Low Level API
  • KT-52160 FIR: Substitution overrides on FirValueParameter-s are incorrectly unwrapped
  • KT-55566 LL FIR: Tests in compiler/testData/diagnostics/tests/testsWithJava17 fail under LL FIR
  • KT-55339 LL FIR: Missing RECURSIVE_TYPEALIAS_EXPANSION error in function type alias
  • KT-55327 LL FIR: Diverging UNRESOLVED_REFERENCE errors in recursive local function test
  • KT-54826 KtSymbolPointer: migrate from IdSignature to our own solution
Android
  • KT-54464 MPP, Android SSL2: Add a flag for suppressing warning in case of using Android Style folders
Backend. Wasm
  • KT-38924 Wasm support in nodejs
  • KT-56160 Getting WebAssembly.CompileError in browsers not supported GC and other required proposals
  • KT-46773 Implement an experimental version of the Kotlin/Wasm compiler backend
  • KT-56584 K/Wasm: Can't link symbol class
  • KT-56166 Fix compatibility with Firefox Nightly
  • KT-55589 Basic support of WASI
  • KT-53790 Reading from "node:module" is not handled by plugins error with Kotlin/Wasm 1.7.20-Beta
Compiler
New Features
  • KT-54535 Implement custom equals and hashCode for value classes in Kotlin/JVM
  • KT-55949 Release experimental @Volatile support in native
  • KT-44698 Frontend (K2): print file name/line on compiler crash/exception
  • KT-54666 K2: Allow to skip specifying type arguments for members from raw type scope
  • KT-54524 Implement Java synthetic property references in compiler
  • KT-54024 K2: support -Xlink-via-signatures mode
Performance Improvements
  • KT-33722 JVM: Result API causes unnecessary boxing
  • KT-53330 Optimize for-loops and contains over open-ended ranges with until operator (..<) for all backends
  • KT-54415 JVM BE: performance loss related to multi-field inline class lowering
  • KT-48759 Infix compareTo boxes inline classes
  • KT-55033 Make org.jetbrains.kotlin.resolve.calls.inference.model.NewConstraintSystemImpl#runTransaction an inline function
  • KT-54501 Improve code generation for inline classes with custom equals
Fixes
  • KT-56965 K/N: linkDebugFrameworkIosArm64 tasks failing with UnsupportedOperationException: VAR name:disposables type:com.badoo.reaktive.disposable.CompositeDisposable [val]
  • KT-56611 Native: new native caches are broken when KONAN_DATA_DIR is defined to a directory inside ~/.gradle
  • KT-55251 Enum.entries compilation error should be more specific
  • KT-56527 K2: "AssertionError: Assertion failed" during compilation in SequentialFilePositionFinder
  • KT-56526 InvalidProtocolBufferException on reading module metadata compiled by K2 in 1.8.20
  • KT-57388 Kapt+JVM_IR: "RuntimeException: No type for expression" for delegated property
  • KT-53153 Synthetic Enum.entries can be shadowed by user-defined declarations
  • KT-51290 "AssertionError: Parameter indices mismatch at context" with context receivers
  • KT-57242 Equals behaviour for value classes implementing interfaces is different between 1.8.10 and 1.8.20-RC
  • KT-57261 "IllegalArgumentException was thrown at: MemoizedInlineClassReplacements.getSpecializedEqualsMethod" when comparing non-inline class instance with an inline class instance
  • KT-57107 Handling of Windows line endings CRLF broken in latest snapshot with K2
  • KT-57117 K2: Compiler reports invalid columns in diagnostics in case of crlf line endings
  • KT-56500 The type parameter TYPE_PARAMETER name:E index:0 variance: superTypes:[kotlin.Any?] reified:false is not defined in the referenced function FUN LOCAL_FUNCTION_FOR_LAMBDA
  • KT-56258 VerifyError: Bad local variable type when using -Xdebug
  • KT-54455 Unexpected result of equality comparison of inline class objects
  • KT-56251 Generic Java synthetic property references don't work in K2
  • KT-55886 K2: Wrong code location mapping with Windows line endings
  • KT-43296 FIR: Complicated interaction between smart cast and inference leads to false-positive diagnostic
  • KT-57053 Problem around anonymous objects in inline functions
  • KT-54950 NoSuchMethodError on calling 'addAll' on inline class implementing mutable list
  • KT-56815 compileKotlin task is stuck with while(true) and suspend function
  • KT-56847 Unresolved reference to Java annotation in Kotlin class with the same name packages
  • KT-52459 Context receivers: AbstractMethodError caused by Interface method with both an extension and a context receiver is overriden incorrectly in subclasses
  • KT-56215 JVM: Object extension function nullable receiver null check false negative when object is null
  • KT-56188 K/N: AssertionError when casting SAM wrapper with generic type parameter
  • KT-56033 Restore 'isMostPreciseContravariantArgument' function signature for compatibility
  • KT-56407 Backend Internal error: Exception during IR lowering during :daemon-common-new:compileKotlin
  • KT-55887 K2. "IllegalStateException: org.jetbrains.kotlin.ir.expressions.impl.IrErrorCallExpressionImpl is not expected" on adding kotlin.plugin.jpa
  • KT-56701 K2 (with LightTree) reports syntax errors without additional information
  • KT-56649 K2 uses 0-index for line numbers rather than 1-index
  • KT-54807 K2. Support @OnlyInputTypes diagnostic checks (contains like calls)
  • KT-51247 "AssertionError: org.jetbrains.kotlin.ir.expressions.impl.IrFunctionReferenceImpl" caused by context receiver functional types
  • KT-55436 K1: implement warning about shadowing of the derived property by the base class field
  • KT-56521 Static scope initializers sometimes not called when first accessed from interop
  • KT-49182 Strange cast from Unit to String
  • KT-55288 False negative WRONG_ANNOTATION_TARGET on type under a nullability qualifier
  • KT-33132 Cannot override the equals operator twice (in a class and its subclass) unless omitting the operator keyword in the subclass
  • KT-56061 K1 does not report error on inconsistent synthetic property assignment
  • KT-55483 K2: Fir is not initialized for FirRegularClassSymbol java/lang/invoke/LambdaMetafactory
  • KT-55125 Difference in generated bytecode for open suspend functions of generic classes
  • KT-54140 SOE at IrBasedDescriptorsKt.makeKotlinType with mixing recursive definitely not nullable type with nullability
  • KT-56224 Clarify message "Secondary constructors with bodies are reserved for for future releases" for secondary constructors in value classes with bodies
  • KT-54662 K2: Assign operator ambiguity on synthetic property from java
  • KT-54507 K2: Wrong implicitModality for interface in FirHelpers
  • KT-55912 "UnsupportedOperationException: Unsupported const element type kotlin.Any" caused by kotlin fqn in annotation
  • KT-56018 [K2/N] Fir2Ir does not take value parameters annotations from FIR to IR
  • KT-56091 [K2/N] Fix various property annotations
  • KT-54209 K2: false positive deprecation on a class literal with deprecated companion
  • KT-55977 [K2/N] Suspend function reference type is wrongly serialized to klib
  • KT-55493 K2: False-negative VAL_REASSIGNMENT
  • KT-55372 K2: false-negative INVISIBLE_MEMBER for call of static method of package-private Java grandparent class
  • KT-55371 K2: compiled code fails trying to call static method of package-private Java grandparent class
  • KT-55408 K2: can't access indirectly inherited from a package-private class Java members through a type alias
  • KT-55116 K2: store static qualifiers in dispatch receiver field
  • KT-55996 K2: cannot switch the light tree mode off with -Xuse-fir-lt=false
  • KT-55368 K2/MPP: Metadata compiler
  • KT-54305 K1: implement warning "synthetic setter projected out"
  • KT-52027 "NullPointerException" when using context receivers with inline fun
  • KT-55984 Stack allocated array is not cleaned between loop iterations
  • KT-52593 Provide Alpha support for JS in the K2 platform
  • KT-54656 NoSuchMethodError on invoking Java constructor which takes an inline value class as a parameter
  • KT-56015 Remove unnecessary stack traces for special checks for ObjC interop
  • KT-55606 K2. Infix operator "in" works on ConcurrentHashMap when it's declared through another class
  • KT-53884 K2: "IllegalStateException: Fir is not initialized for FirRegularClassSymbol com/appodeal/consent/Consent.a" when importing this class
  • KT-54502 Synthetic extensions on raw types work differently from regular getter calls
  • KT-49351 FIR: Raw type scopes are unsupported
  • KT-49345 FIR: Properly support raw types in type parameter upper bounds
  • KT-55733 K2. Reference resolve works incorrectly for classes declared through typealias
  • KT-46369 FIR: Investigate raw types for arrays
  • KT-41794 [FIR] Implement raw type based scope
  • KT-55181 K2. No compilation error on throwing not throwable
  • KT-55398 Kotlin inline nested inline lambda's inline variable will inline not correctly
  • KT-55359 K2. No error when secondary constructor does not delegate to primary one
  • KT-55759 K2: Unresolved reference of serializer if library linking is used (with kotlinx.serialization plugin)
  • KT-54705 Kotlin scripting doesn't support files with UTF-8 BOM
  • KT-51753 FIR: various errors due to expect/actual mapping absence in translator
  • KT-44515 FIR DFA: extract non-null info from anonymous object's initialization
  • KT-55018 K2 / serialization: FIR2IR fails on local companion
  • KT-55284 Refactor org.jetbrains.kotlin.diagnostics.KtDiagnosticReportContextHelpersKt#reportOn(...)
  • KT-55693 K2. Type inference changed in k2
  • KT-54742 K2: lambda with conditional bare return inferred to return Any, not Unit
  • KT-54332 Add deprecation warning for false-negative TYPE_MISMATCH for KT-49404
  • KT-55509 Invisible fake overrides are listed among lazy IR class members
  • KT-55597 K2. This type has a constructor, and thus must be initialized here error is missed for anonymous object inherits class with no-arg constructor
  • KT-54357 "ClassCastException: class org.jetbrains.kotlin.resolve.scopes.receivers.ExtensionReceiver cannot be cast to class org.jetbrains.kotlin.resolve.scopes.receivers.ContextClassReceiver" with anonymous object extending a class with a context receiver
  • KT-51397 "VerifyError: Bad type on operand stack" with context receivers
  • KT-54905 KLIB check on compiled with pre-release version
  • KT-55615 K2 often does not expand type aliases in annotation position
  • KT-54522 K2: ambiguity between operator candidates on += (plusAssign) to reassigned var of MutableList type
  • KT-54300 K2: No "Projections are not allowed for immediate arguments of a supertype" for projection in supertypes of an anonymous object
  • KT-55495 K2: support lateinit intrinsic applicability checker
  • KT-55494 MPP. Error when building for native: Compilation failed: Global 'kclass:io.ktor.serialization.$deserializeCOROUTINE$0' already exists
  • KT-54980 K2: Explicit type arguments in calls with the wrong number of type arguments are not resolved
  • KT-54730 K2: type aliases to generic functional interfaces attempt to re-infer explicitly specified type parameters
  • KT-55611 IC / MPP: Optional internal annotations are not visible on incremental builds
  • KT-55324 K2: ControlFlowGraphBuilder fails with index out of bounds exception
  • KT-55656 K2: PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED being a warning causes a NPE in runtime
  • KT-51277 "NoSuchElementException: Collection contains no element matching the predicate" with context receivers and star projection
  • KT-52791 Class with multiple context receivers fails -Xvalidate-ir with "Validation failed in file"
  • KT-55071 Shared Native Compilation: Calls from intermediate common source set cannot use default parameters declared in expect common functions
  • KT-52193 Native: Unable to call primary constructor with default values in an actual class without passing the values, in nativeMain source set
  • KT-54573 K2: untouched implicit types in delegated constructor call of data class with @JvmRecord
  • KT-55037 Support jspecify annotations moved to the new package org.jspecify.annotations in jspecify 0.3
  • KT-48989 JVM / IR: "IllegalStateException: Bad exception handler end" when first parameter of inline function is nullable with "try/catch/finally" default value and second parameter tries to call toString() on the first
  • KT-55231 K2: Contract declarations are not passed to checkers
  • KT-54411 False positive: INFERRED_TYPE_VARIABLE_INTO_POSSIBLE_EMPTY_INTERSECTION on kotlinx.coroutines code
  • KT-55005 Inconsistent behavior of array set operation in Kotlin 1.7.21
  • KT-44625 Property backing/delegate field annotations are not serialized/deserialized for non-JVM targets
  • KT-42490 Receiver annotations are not serialized/deserialized for non-JVM targets
  • KT-53441 K2: cannot access static method of package-private Java grandparent class
  • KT-54197 [K2] Exception from inliner for inline function with context receiver
  • KT-55246 Disable 'CustomEqualsInValueClasses' feature in 1.9 language version
  • KT-55247 Disable 'InlineLateinit' feature in 1.9 language version
  • KT-53957 K2 and -Xlambdas=indy: LambdaConversionException on reference to method with both context and extension receivers
  • KT-55421 K2: get rid of potentially redundant call of preCacheBuiltinClassMembers from getIrClassSymbol
  • KT-52815 Compiler option -Xjdk-release fails to compile mixed projects
  • KT-52236 Different modality in psi and fir
  • KT-54921 K2: cannot access static field of package-private Java parent class
  • KT-53698 K2: FIR2IR fails on call of inivisble extension function with Suppress
  • KT-53920 K2: "NoSuchElementException: Key org.jetbrains.kotlin.fir.resolve.dfa.cfg.ClassExitNode@ef115ab is missing in the map" with unreachable code and anonymous object
  • KT-55358 INTEGER_OPERATOR_RESOLVE_WILL_CHANGE is not reported in return positions of functions
  • KT-51475 "ArrayIndexOutOfBoundsException: Index 4 out of bounds for length 4" with context(Any) on inline function with contract
  • KT-51951 "IllegalStateException: No receiver" caused by implicit invoke on typealias context receiver
  • KT-52373 Context receivers: ClassCastException: function with dispatch, context, and extension receivers produces this when a parameter's default is included
  • KT-54220 K2: compiler fails on compiling plus expression on unsigned int
  • KT-54692 K2: compiler fails on compiling unsigned shifts
  • KT-54824 K2: missing smartcast after two levels of aliasing and a reassignment
  • KT-53368 Out of bounds read in sse version of String::hashCode
  • KT-54978 K2: Property accesses with explicit type arguments pass frontend checkers
  • KT-51863 ClassCastException when using context receivers with named argument.
  • KT-55123 JvmSerializableLambda is not applicable in common code in multiplatform projects
  • KT-45970 Missing deprecation warnings for constant operators calls in property initializers
  • KT-54851 K2: analysis of as/is contains multiple errors that result in missing diagnostics
  • KT-54668 K2: Inference error in body of lazy property with elvis with Nothing in RHS
  • KT-55269 FIR2IR: Static functions and nested classes are missing from Fir2IrLazyClass
  • KT-55026 K2: Function hides internal constructor from another module
  • KT-53070 Update intellij testdata fixes for FIR and merge it to master
  • KT-53492 No parameter null check generated for constructor taking an inline class type
  • KT-50489 Smart cast may lead to failing inference
  • KT-55160 Kotlin's fragment element types must not extend IStubFileElementType
  • KT-55143 K2: INAPPLICABLE_JVM_NAME in JVM does not work for inline classes
  • KT-47933 Report warning if kotlin.annotation.Repeatable is used together with java.lang.annotation.Repeatable
  • KT-55035 FIR: do not use FirValueParameter for FirFunctionalTypeRef
  • KT-55095 Wrong containingDeclarationSymbol in type parameter from Enhancement
  • KT-53946 K2: don't resolve Enum.declaringClass and Enum.getDeclaringClass
  • KT-54673 K2. "Superclass is not accessible" from interface error for sealed interfaces
  • KT-55074 OptIn false negative: constructor call with default argument value
  • KT-54260 K2: "AssertionError: No modifier list, but modifier has been found by the analyzer" when annotated annotation and AllOpen plugin
  • KT-55034 FIR: provide information about containing function/constructor to FirValueParameter
  • KT-54744 K2: reassigning a var erases smartcast info of a variable derived from the old value
  • KT-53988 K2: False negative "The expression cannot be a selector (occur after a dot)"
  • KT-53983 K2 crashes with NPE when 'this' is used inside enum class constructor
  • KT-54910 Can not declare typed equals operator in inline class with "Nothing" return type
  • KT-54909 Usage of custom typed equals operator in generic inline class is type-unsafe
  • KT-53371 Properly resolve FIR to get fully resolved annotations
  • KT-53519 FIR: argument mapping for annotations on value parameter is not properly built
  • KT-54827 MPP: "java.lang.IndexOutOfBoundsException: Index: 0" during compilation of androidMain target
  • KT-54417 K2: move receiver-targeted annotations to KtReceiverParameterSymbol and remove it from FirProperty receiver type
  • KT-54972 K2: Local functions with multiple type arguments are broken
  • KT-54762 Private constructor is accessible from a public inline function via @PublishedAPI annotation
  • KT-54832 Deprecate incorrect callable references resolution behavior for KT-54316
  • KT-54732 DirectedGraphCondensationBuilder.paint fails with StackOverflowError during linkReleaseFrameworkIos64
  • KT-54897 K2: value class with private constructor stripped by jvm-abi-gen cannot be used in another module
  • KT-54784 NPE from IrSourceCompilerForInlineKt.nonLocalReturnLabel on non-local break and continue in anonymous initializers and in scripts
  • KT-54840 Field for const property on interface companion object loses deprecated status when copied to interface
  • KT-53825 class files are generated when compilation fails with platform declaration clash
  • KT-54526 K2: Raw type scope is lost after exiting from elvis
  • KT-54570 K2: False-positive OVERLOAD_RESOLUTION_AMBIGUITY in case of combination of raw types
  • KT-52157 Annotation on type parameter isn't present in the symbol loaded from the library
  • KT-54318 VerifyError on { null } in catch block
  • KT-54654 K2: Implicit types leaks into delegated member
  • KT-54645 K2: Clash of two inherited classes with the same name
  • KT-53255 [FIR2IR] StackOverflowError with long when-expression conditions
  • KT-48861 No warning on incorrect usage of array type annotated as Nullable in Java
  • KT-54539 @Deprecated on members of private companion object is no longer needed
  • KT-54403 Unexpected behaviour on overridden typed equals in inline class
  • KT-54536 Unexpected result of comparison of inline class instances
  • KT-54603 ClassCastException on comparison of inline classes with custom equals
  • KT-54401 Unhandled exception on compilation inline class with 'equals' from 'Any' returning 'Nothing'
  • KT-54378 K2: smart cast breaks subtyping in case with complex projections
  • KT-53761 Reified type not propagated to supertype token through two inline functions
  • KT-53876 Manually instantiated annotations with unsigned arrays are not equal
  • KT-51740 NO_VALUE_FOR_PARAMETER: Consider increasing error highlighting range
  • KT-54084 ClassCastException when trying to call a context receiver's method
  • KT-51282 IllegalAccessError: Compiler for JVM 1.8+ makes lambdas access unaccessible classes when using @JvmMultifileClasses
  • KT-53479 False positive "Cannot access 'runCatching' before superclass constructor has been called"
  • KT-50950 JVM IR: "AssertionError: FUN SYNTHETIC_GENERATED_SAM_IMPLEMENTATION" when using bound reference to suspend SAM function
  • KT-49364 "VerifyError: Bad type on operand stack" on cast which "can never succeed" from ULong to Int
  • KT-51478 Inapplicable receiver diagnostic expected when there are two context receiver candidates
Docs & Examples
  • KT-32469 @Synchronized on extension method doesn't generate instance lock
IDE
New Features
  • KTIJ-24378 Update Kotlin plugin to 1.8.0 in IDEA 223.2
Performance Improvements
  • KT-55445 KtUltraLightClassModifierList.hasModifierProperty requires resolve for PsiModifier.PRIVATE
Fixes
  • KTIJ-24657 Disable pre-release and other metadata checks in IDE
  • KT-55929 Unresolved dependencies for intermediate multiplatform SourceSets
  • KTIJ-24179 Bundle Kotlin 1.8.0 with Intellij IDEA 2022.3.2
  • KTIJ-23547 K2 IDE: Functional type: explicit parameter name VS ParameterName annotation
  • KTIJ-23347 K2 IDE. False positive "Symbol fun intFun(): Unit is invisible" in tests
  • KT-55862 Can't resolve kotlin-stdlib-js sources in IDE
  • KTIJ-23587 K2: SOE in delegate field resolution
  • KT-55782 [SLC] Typealiases are not exapnded in arguments of annotations
  • KT-55778 [SLC] Incorrect determination of useSitePostion for types of local declarations
  • KT-55780 [SLC] No approximation of anonymous and local types in members
  • KT-55743 K2 SLC: SymbolLightClassForClassOrObject must have a name
  • KT-55604 Descriptor leak
  • KT-55502 SLC: drop redundant 'final' modifier from synthetic static enum members
  • KT-55497 LC: drop @NotNull annotation from parameter from synthetic Enum.valueOf
  • KT-55496 SLC: generated synthetic enum methods by symbols instead of manual creation
  • KT-55481 SLC: implement correct java annotations for annotation classes (Retention, Target, etc.)
  • KT-55470 SLC: implement light class for RepeatableContainer
  • KT-55442 SLC: 'isInheritor' for 'DefaultImpls' should work correctly
  • KTIJ-23449 K2: "parent must not be null" from SymbolLightClassBase.getContext()
  • KT-40609 IDE: False positive "Exception is never thrown..." in Java when Kotlin getter is annotated with Throws
  • KT-54051 Migrate symbol light classes from KtSymbol to KtElement
IDE. Completion
  • KTIJ-22503 Support code completion for data objects
  • KTIJ-22361 ISE “java.lang.IllegalStateException: Expected FirResolvedTypeRef with ConeKotlinType but was FirImplicitTypeRefImpl ” on K2
IDE. Debugger
  • KTIJ-24259 Debugger is stuck in an infinite loop in an Android project
  • KTIJ-24003 Smart step into doesn't work for Java synthetic properties references

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 Nov 8, 2022
@jellyfin-bot jellyfin-bot added this to the v2.5.0 milestone Nov 8, 2022
@renovate renovate bot force-pushed the renovate/kotlin branch from 74dbb6b to 5813015 Compare November 9, 2022 19:50
@renovate renovate bot changed the title Update Kotlin to v1.7.21 Update Kotlin Nov 9, 2022
@renovate renovate bot force-pushed the renovate/kotlin branch 3 times, most recently from b566bde to cd37281 Compare November 28, 2022 22:17
@Maxr1998 Maxr1998 modified the milestones: v2.5.0, v2.6.0 Dec 21, 2022
@Maxr1998
Copy link
Member

Skip until supported by Compose.

@nielsvanvelzen
Copy link
Member

.21 is supported, .22 is not. So we could update to .21 now.

@Maxr1998
Copy link
Member

@renovate renovate bot force-pushed the renovate/kotlin branch 3 times, most recently from 6ab7687 to 66a8c4e Compare January 3, 2023 17:10
@renovate renovate bot force-pushed the renovate/kotlin branch 4 times, most recently from a4ca2e6 to 2a3afd8 Compare January 24, 2023 06:12
@renovate renovate bot force-pushed the renovate/kotlin branch from 2a3afd8 to 78a659b Compare January 26, 2023 04:43
@renovate renovate bot force-pushed the renovate/kotlin branch 2 times, most recently from 3bea16d to c4887e2 Compare February 3, 2023 02:19
@IDisposable
Copy link

Compose 1.4.3 (released) is compatible with Kotlin 1.8.10 so this should be shippable.

@nielsvanvelzen
Copy link
Member

The app is currently in a release cycle so no dependency updates are merged until the master branch is free again.

@Maxr1998
Copy link
Member

Maxr1998 commented Mar 1, 2023

I should have more time again soon after I'm done with my exams.
Once we completed the current release cycle and don't find any major bugs, we can move on to the next cycle and pull in some dependency updates.

@jellyfin-bot jellyfin-bot added the merge conflict Conflicts prevent merging label Mar 18, 2023
@renovate renovate bot force-pushed the renovate/kotlin branch from c4887e2 to 5c58ddb Compare March 18, 2023 09:23
@jellyfin-bot jellyfin-bot removed the merge conflict Conflicts prevent merging label Mar 18, 2023
@renovate renovate bot force-pushed the renovate/kotlin branch from 5c58ddb to 4499c50 Compare March 30, 2023 10:50
@renovate renovate bot force-pushed the renovate/kotlin branch from 4499c50 to 4f01260 Compare April 3, 2023 17:15
@renovate renovate bot force-pushed the renovate/kotlin branch 2 times, most recently from 0b39e56 to 50f09de Compare April 25, 2023 06:27
@renovate renovate bot force-pushed the renovate/kotlin branch from 50f09de to efefdc4 Compare April 27, 2023 16:14
@renovate renovate bot force-pushed the renovate/kotlin branch 2 times, most recently from e00be5b to d5e3faa Compare May 8, 2023 11:50
@renovate renovate bot force-pushed the renovate/kotlin branch from d5e3faa to 4384620 Compare May 13, 2023 15:27
@renovate renovate bot force-pushed the renovate/kotlin branch 10 times, most recently from 93bf10f to b3a5edb Compare June 1, 2023 21:40
@renovate renovate bot force-pushed the renovate/kotlin branch 3 times, most recently from dc90603 to a5b1592 Compare June 10, 2023 20:06
@renovate renovate bot force-pushed the renovate/kotlin branch from a5b1592 to 0af4dbd Compare June 10, 2023 20:25
@renovate
Copy link
Contributor Author

renovate bot commented Jun 10, 2023

Edited/Blocked Notification

Renovate 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.

Warning: custom changes will be lost.

@Maxr1998 Maxr1998 merged commit 187290f into master Jun 10, 2023
@Maxr1998 Maxr1998 deleted the renovate/kotlin branch June 10, 2023 21:23
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.

4 participants