release notes
release notes
Published 12/28/2022
MinorContains breaking changesKT-50255 Analysis API: Implement standalone mode for the Analysis APIKT-54292 Symbol Light classes: implement PsiVariable.computeConstantValue for light fieldKT-54293 Analysis API: fix constructor symbol creation when its accessed via type aliasKT-53342 TCS: New AndroidSourceSet layout for multiplatformKT-53013 Increase AGP compile version in KGP to 4.1.3KT-54013 Report error when using deprecated Kotlin Android Extensions compiler pluginKT-53709 MPP, Android SSL2: Conflicting warnings for androidTest/kotlin source set folderKT-53561 Invalid LLVM module: "inlinable function call in a function with debug info must have a !dbg location"KT-52817 Add [@JvmSerializableLambda](https://github.com/JvmSerializableLambda) annotation to keep old behavior of non-invokedynamic lambdasKT-54460 Implementation of non-local break and continueKT-53916 Support Xcode 14 and new Objective-C frameworks in Kotlin/Native compilerKT-32208 Generate method annotations into bytecode for suspend lambdas (on invokeSuspend)KT-53438 Introduce a way to get SourceDebugExtension attribute value via JVMTI for profiler and coverageKT-53347 Get rid of excess allocations in parserKT-53689 JVM: Optimize equality on class literalsKT-53119 Improve String Concatenation LoweringKT-53465 Unnecessary checkcast to array of reified type is not optimized since Kotlin 1.6.20KT-49658 NI: False negative TYPE_MISMATCH on nullable type with whenKT-48162 NON_VARARG_SPREAD isn't reported on *toTypedArray() callKT-43493 NI: False negative: no compilation error "Operator '==' cannot be applied to 'Long' and 'Int'" is reported in builder inference lambdasKT-54393 Change in behavior from 1.7.10 to 1.7.20 for java field override.KT-55357 IllegalStateException when reading a class that delegates to a Java class with a definitely-not-null type with a flexible upper boundKT-55068 Kotlin Gradle DSL: No mapping for symbol: VALUE_PARAMETER SCRIPT_IMPLICIT_RECEIVER on JVM IR backendKT-51284 SAM conversion doesn't work if method has context receiversKT-48532 Remove old JVM backendKT-55065 Kotlin Gradle DSL: Reflection cannot find class data for lambda, produced by JVM IR backendKT-53270 K1: implement synthetic Enum.entries propertyKT-52823 Cannot access class Thread.State after upgrading to 1.7 from 1.6.1 using -Xjdk-release=1.8KT-55108 IR interpreter: Error occurred while optimizing an expression: VARARGKT-53547 Missing fun IrBuilderWithScope.irFunctionReferenceKT-54884 "StackOverflowError: null" caused by Enum constant name in constructor of the same Enum constantKT-47475 "IncompatibleClassChangeError: disagree on InnerClasses attribute": cross-module inlined WhenMappings has mismatched InnerClassesKT-55013 State checker use-after-free with XCode 14.1KT-54802 "VerifyError: Bad type on operand stack" for inline functions on arraysKT-54707 "VerifyError: Bad type on operand stack" in inline call chain on a nullable array valueKT-48678 Coroutine debugger: disable "was optimised out" compiler featureKT-54745 Restore KtToken constructors without tokenId parameter to preserve back compatibilityKT-54650 Binary incompatible ABI change in Kotlin 1.7.20KT-52786 Frontend / K2: IndexOutOfBoundsException when opting in to K2KT-54004 Builder type inference does not work correctly with variable assignment and breaks run-timeKT-54581 JVM: "VerifyError: Bad type on operand stack" with generic inline function and when inside try-catch blockKT-53794 IAE "Unknown visibility: protected/protected and package/" on callable reference to protected member of Java superclassKT-54600 NPE on passing nullable Kotlin lambda as Java's generic SAM interface with super type boundKT-54463 Delegating to a field with a platform type causes java.lang.NoSuchFieldError: value$delegateKT-54509 Ir Interpreter: unable to evaluate string concatenation with "this" as argumentKT-54615 JVM: Internal error in file lowering: java.lang.AssertionError: Error occurred while optimizing an expressionKT-53146 JVM IR: unnecessary checkcast of null leads to NoClassDefFoundError if the type isn't available at runtimeKT-53712 Add mode to prevent generating JVM 1.8+ annotation targets (TYPE_USE, TYPE_PARAMETER)KT-54366 K2: no JVM BE specific diagnostics (in particular CONFLICTING_JVM_DECLARATIONS) in 1.8KT-35187 NullPointerException on compiling suspend inline fun with typealias to suspend function typeKT-54275 K2: "IllegalArgumentException: KtParameter is not a subtype of class KtAnnotationEntry for factory REPEATED_ANNOTATION"KT-53656 "IllegalStateException: typeParameters == null for SimpleFunctionDescriptorImpl" with recursive generic type parametersKT-46727 Report warning on contravariant usages of star projected argument from JavaKT-53197 K2: 'init' hides member of supertype 'UIComponent' and needs 'override' modifierKT-53867 K2: [@JvmRecord](https://github.com/JvmRecord) does not compile to a java recordKT-53964 K2 is unable to work with Java recordsKT-53349 K2: TYPE_MISMATCH caused by non-local returnKT-54100 "Type variable TypeVariable(P) should not be fixed" crash in code with errorsKT-54212 K2: cannot calculate implicit property typeKT-53699 K2: Exception during IR lowering in code with coroutinesKT-54192 Warn about unsupported feature on generic inline class parametersKT-53723 Friend modules aren't getting passed to cache build during box testsKT-53873 K2: Duplicated diagnostics reported from user type ref checkersKT-50909 "VerifyError: Bad type on operand stack" caused by smartcasting for nullable inline class property in classKT-54115 Restore Psi2IrTranslator constructor from 1.7.20KT-53908 K2: Self-referencing generics in Java class causes New Inference Error (IE: class Foo<T extends Foo>)KT-53193 K2: compile error on project that compiles fine with normal 1.7.10KT-54062 K2 Invalid serialization for type-aliased suspend function type with extension receiverKT-53953 Forbid usages of super or super if in fact it accesses an abstract memberKT-47473 NI: Missed UPPER_BOUND_VIOLATED diagnostics if use type aliases with type parametersKT-54049 K2: false positive MANY_IMPL_MEMBER_NOT_IMPLEMENTEDKT-30054 Wrong approximation if nullable anonymous object with implemented interface is usedKT-53751 Postpone IgnoreNullabilityForErasedValueParameters featureKT-53324 Implement Enum.entries lowering on K/NKT-44441 K2: report redeclaration error if there is a Java class with the same name as the Kotlin classKT-53807 No warning about declaringClass on an enum valueKT-53493 K2: val on function parameter counts as just warningKT-53435 K2: "IllegalArgumentException: class KtValueArgument is not a subtype of class KtExpression for factory ANNOTATION_ARGUMENT_MUST_BE_CONST" if string in nested annotation is concatenatedKT-52927 AssertionError: LambdaKotlinCallArgumentImplKT-53922 Make Enum.entries unstable feature to poison binariesKT-53783 Exception during psi2ir when declaring expect data objectKT-53622 [OVERLOAD_RESOLUTION_AMBIGUITY] when enum entry called 'entries' is present in K2KT-41670 JVM IR: AbstractMethodError when using inheritance for fun interfacesKT-53178 K2: implement diagnostics for serialization pluginKT-53804 Restore old and incorrect logic of generating InnerClasses attributes for kotlin-stdlibKT-52970 Default value constant in companion object works on JVM and JS, but fails on nativeKT-51114 FIR: Support DNN checksKT-27936 Write InnerClasses attribute for all class names used in a class fileKT-53719 Parsing regression on function call with type arguments and labeled lambdaKT-53261 Evaluate effect from inline for primitive typesKT-53706 K2: Context receivers are not resolved on properties during type resolution stageKT-39492 Kotlin.Metadata's packageName field cannot be an empty stringKT-53664 Ir Interpreter: unable to evaluate name of function reference marked with JvmStatic from another moduleKT-52478 [Native] Partial linkage: Building native binary from cached KLIBs fails if one library depends on removed nested callable member from another oneKT-48822 CompilationException: Back-end (JVM) Internal error: Failed to generate expression: KtProperty - ConcurrentModificationExceptionKT-50281 IllegalStateException: unsupported call of reified inlined functionKT-50083 Different error messages in android and JVM (Intrinsics.checkNotNullParameter).KT-53236 Support Enum.entries codegen on JVM/IR BEKT-41017 FIR: should we support smartcast after null checkKT-53202 "ISE: Descriptor can be left only if it is last" after direct invoke optimization on a capturing lambdaKT-46969 [@BuilderInference](https://github.com/BuilderInference) with nested DSL scopes cause false-positive scope violation in Kotlin 1.5KT-53257 FIR: Improper context receiver argument is chosen when there are two extension receiver candidatesKT-53090 Anonymous function and extension function literals are generated as classes even with -Xlambdas=indyKT-53208 K2: Cannot get annotation for default interface method parameter when compiled with -Xuse-k2KT-53184 K2: NoSuchMethodError on KProperty1.get() referenced via nullable typealiasKT-53198 K2: Return type mismatch: expected kotlin/Unit, actual kotlin/Unit?KT-53100 Optimization needed: (CONSTANT_PRIMITIVE(x: T?)) => xKT-49875 [FIR] Support infering PRIVATE_TO_THIS visibilityKT-53024 Refactor FIR renderer to composable architectureKT-50995 [FIR] Support SAM with receiver pluginKT-53148 K1: introduce warning for inline virtual member in enumKT-49847 Devirtualization fails to eliminate boxing in function reference contextKT-52875 Extension function literal creation with -Xlambdas=indy fails with incorrect argumentsKT-53072 INVALID_IF_AS_EXPRESSION error isn't shown in the IDE (LV 1.8)KT-52985 Native: a function with type T? returned a kotlin.Unit instead of nullKT-52020 FIR warning message includes internal renderingKT-48778 -Xtype-enhancement-improvements-strict-mode not respecting [@NonNull](https://github.com/NonNull) annotation for property accesses?KTIJ-22357 CCE “class org.jetbrains.kotlin.fir.types.impl.FirImplicitTypeRefImpl cannot be cast to class org.jetbrains.kotlin.fir.types.FirResolvedTypeRef” in K2KT-55150 Argument for [@NotNull](https://github.com/NotNull) parameter 'scope' of org/jetbrains/kotlin/resolve/AnnotationResolverImpl.resolveAnnotationType must not be nullKTIJ-22165 IDE notification to promote users to migrate to the new Kotlin/JS toolchainKTIJ-22166 IDE notification (or something else) about JPS and Maven support for Kotlin/JS is deprecatedKT-53543 Rework light classes for file facadeKT-48773 Investigate the possibility of removing dependency on old JVM backend in light classesKTIJ-19699 IDE: False positive type mismatch in Java code for Kotlin nested class non-direct inheritor from external libraryKT-51101 FIR IDE: Exception on "Show Type Info" actionKTIJ-22295 MPP, IDE: False positive UPPER_BOUND_VIOLATED when JVM module implements the generic interface from MPP module and the type parameter is not equal to itself.KT-51656 FIR IDE: ProgressCancelled exception is masked in the compiler during resolveKT-51315 FIR IDE: move out base modules from fe10 plugin to reuse in k2 pluginKTIJ-22323 K2: ISE during resolve of stdlib calls from the stdlibKTIJ-21391 Generate -> Override methods : don't delegate to abstract methodsKT-53097 Extract common part of light classes to another moduleKTIJ-22354 FIR LC: annotation owner is always nullKTIJ-22157 Kotlin call resolver leaks user code when reporting exceptionKTIJ-22552 Kotlin: 'for loop' postfix completion doesn't work - "Fe10SuggestVariableNameMacro must be not requested from main classloader"KTIJ-22503 Support code completion for data objectsKT-51755 Compilation exception with scripting compilation during debug sessionKTIJ-21963 Debugger / IR: Expression evaluation of the debugger doesn't workKTIJ-22750 Initialize Kotlin stub element types lazilyKTIJ-18094 IDE: "AssertionError: Stub count doesn't match stubbed node length" with minified Android AAR libraryKTIJ-17632 IndexOutOfBoundsException: Cannot decompile a class located in minified AARKT-48135 In the IDE import, reuse dependency granular source set KLIBs across multi-project build to avoid duplicate external librariesKTIJ-22345 False positive unresolved reference for members of subclasses of expect classes.KT-53514 HMPP: False positive for None of the following functions can be called with the arguments supplied. with Enum in common moduleKT-51583 Gradle 7.4+ | SamplesVariantRule interference: Could not resolve all files for configuration ':kotlinKlibCommonizerClasspath'KTIJ-21077 Dependency matrix does not work with Jetpack compose / multiplatform projectsKTIJ-19531 Adapt changes about new rules for method implementation requirementsKTIJ-22087 Support IDE inspections for upcoming data objectsKTIJ-20510 Quick fix to implement and call correct super method in case of inheritance with defaultsKTIJ-20170 Provide quickfix for deprecated resolution to private constructor of sealed classKTIJ-22630 FIR IDE: Lazy resolve exception after invocation of Override members action on value classKT-49643 Intentions: "Implement members" fails when base type function declaration uses unresolved generic typesKTIJ-22167 Make JS IR default in projects created by wizardKTIJ-22332 Wizard: Kotlin/JS projects: cssSupport DSL should be updatedKTIJ-22324 K2 IDE: implement reference resolve inside KDocsKTIJ-19566 New Project Wizard: Update HMPP-related flags in multiplatform wizardsKT-51314 FIR IDE: show Kotlin declarations in search symbolKTIJ-22755 Find usage for constructor from kotlin library doesn't work for secondary constructor usagesKTIJ-22598 Add warning for standalone scripts in source rootsKT-54325 .settings.gradle.kts and .init.gradle.kts are reported as standalone scriptsKTIJ-21986 KSSR: "CodeFragment with non-kotlin context should have fakeContextForJavaFile set: originalContext = null" warning shows up when replacingKT-50269 FIR IDE: Allow running tests via gutterKTIJ-23537 Wizard: projects with Android modules require higher sdkCompileVersionKTIJ-23525 Wizard: Compose multiplatform: project won't build and require higher compileSdkVersionKTIJ-22763 New Project Wizard: remove deprecated Android extensions plugin from Android target in the project constructorKTIJ-22481 Wizard: Kotlin -> Browser application (gradle groove). Build errorKT-55097 KJS / IR + IC: Using an internal function from a friend module throws an unbound symbol exceptionKT-54406 Kotlin/JS: build with dependencies fails with "Could not find "kotlin" in [~/.local/share/kotlin/daemon]"KT-53074 Make JS IR BE default in toolchain (gradle & CLI)KT-50589 UTF-8 Instability in kotlin.js.mapKT-54934 KJS / IR + IC: Suspend abstract function stubs are generated with unstable lowered ic signaturesKT-54895 KJS / IR + IC: broken cross module references for function default param wrappersKT-54520 KJS / IR Allow IdSignature clashesKT-54120 JS IR + IC: pointless invalidation of dependent code after modifying companionsKT-53986 KJS / IR + IC: compiler produces different JS file names with IC and without ICKT-54010 JS IR + IC: Force IC cache invalidation after updating language version or featuresKT-53931 KJS / Gradle: Regression with 1.7.20-RC: ReferenceError: println is not definedKT-53968 Kotlin/JS: no UninitializedPropertyAccessException on access to non-initialized lateinit property defined in dependenciesKT-54686 KJS / IR: Incorrect generation of signatures when one of argument is nested classKT-54479 KJS / IR + IC: Adding or removing companion fields leads java.lang.IllegalStateException in the compiler IC infrastructureKT-54382 KJS / IR: Wrong type check for inheritors of suspend functionsKT-54323 KJS / IR + IC: Intrinsics from stdlib may lose their dependencies in incremental rebuildKT-53361 KJS / IR: No debug info is generated for in-line js codeKT-53321 Implement Enum.entries lowering on JS/IRKT-53112 KJS IR turn on IC infra by defaultKT-50503 Kotlin/JS: IR + IC: compileTestDevelopmentExecutableKotlinJs fails with ISE: "Could not find library" after removing module dependencyKT-54011 JS IR + IC: EnumEntries don't work well when IC is enabledKT-53672 KJS / IR: "IndexOutOfBoundsException: Index 0 out of bounds for length 0" caused by function reference to extension function of reified type variableKT-43455 KJS: IR. Incremental compilation problem with unbound symbolsKT-53539 KJS: Exported class inherited non-exported class shows warningKT-53443 KJS/IR: NullPointerException caused by anonymous objects inside lambdasKT-52795 K/JS and K/Native IR-validation/compilation errors for a valid kotlin codeKT-52805 KJS/IR: Invalid call of inline function in also blockKT-51151 KJS / IR: Wrong overloaded generic method with receiver is calledKT-52830 KJS/IR: Sourcemap disabling doesn't workKT-52968 KJS / IR: Buggy generation of overridden methodsKT-53063 KJS / IR + IC: undefined cross module reference for implemented interface functionsKT-51099 KJS / IR + IC: Cache invalidation doesn't check generic class variance annotations (in, out)KT-51090 KJS / IR + IC: Cache invalidation doesn't check suspend qualifierKT-51088 KJS / IR + IC: Cache invalidation doesn't check class qualifiers (data, inline)KT-51083 KJS / IR + IC: Cache invalidation doesn't check inline function which was non inline initiallyKT-51896 KJS / IR + IC: Cache invalidation doesn't trigger rebuild for fake overridden inline functionsKT-48385 Deprecate confusing grammar in when-with-subjectKT-48516 Forbid [@Synchronized](https://github.com/Synchronized) annotation on suspend functionsKT-41886 Ability to require opt-in for interface implementation, but not for usageKT-34943 OVERLOAD_RESOLUTION_AMBIGUITY inconsistent with the equivalent Java codeKT-51334 Implement type-bound label this@TypeKT-21007 Provide Kotlin OSGI Bundle with extensions for JRE8 (and JRE7)KT-54082 Comparable and subtractible TimeMarksKT-52928 Provide copyToRecursively and deleteRecursively extension functions for java.nio.file.PathKT-49425 Update OptIn documentation to reflect latest design changesKT-54005 Allow calling declaringJavaClass on EnumKT-52933 rangeUntil members in built-in typesKT-53508 Cache typeOf-related KType instances when kotlin-reflect is usedKT-51907 Switch JVM target of the standard libraries to 1.8KT-54835 Document that Iterable.all(emptyCollection) returns TRUE.KT-54168 Expand on natural order in comparator docsKT-53277 Stabilize experimental API for 1.8KT-53864 Review deprecations in stdlib for 1.8KT-47707 Remove the system property and the brittle contains optimization code itselfKT-52336 Different behavior on JVM and Native in stringBuilder.append(charArray, 0, 1)KT-53927 Remove deprecation from ConcurrentModificationException constructorsKT-53152 Introduce EnumEntries to stdlib as backing implementation of Enum.entriesKT-53134 stdlib > object Charsets > not thread safe lazy initializationKT-51063 Gradle project with JPS runner: "JUnitException: Failed to parse version" JUnit runner internal error with JUnitKT-52908 Native: setUnhandledExceptionHook swallows exceptionsKT-51043 Kotlin Native: ObjC-Interop: kotlin.ClassCastException: null cannot be cast to kotlin.Function2KT-50786 Native: prohibit suspend calls inside autoreleasepool {}KT-52834 Implement test infrastructure for K2/NativeKT-36878 Reverse C Interop: incorrect headers generation for primitive unassigned type arraysKT-53599 [Reverse C Interop] Provide box/unbox API for unsigned primitive typesKT-41904 Kotlin/Native : error: duplicate member for interface and function with the same nameKT-42830 [Reverse C Interop] Add API to get value of boxed primitivesKT-39496 K/N C: optional unsigned types as function parameters crash the compilerKT-39015 Cannot compile native library with nullable inline classKT-54738 Cocoapods cinterop: linking platform.CoreGraphics packageKT-54001 Kotlin/Native: support header exclusion in cinterop def filesKT-53151 Native: Custom declarations in .def don't work with modules, only headersKT-53680 Obj-C refinement annotationsKT-54119 Native: runtime assertion failed due to missing thread state switchKT-42641 Don't export generated component* methods from Kotlin data classes to Obj-C headerKT-54225 Native: update to Xcode 14.1KT-54164 Native: commonizer fails on CoreFoundation typesKT-39747 Why is there no WinHttp API in Kotlin/Native's Windows API?KT-49228 Kotlin/Native: Allow to unset unhandled exception hookKT-27305 Fix FILE macro inside RuntimeCheck and RuntimeAssertKT-54498 Deprecation message of 'FreezingIsDeprecated' is not really helpfulKT-53182 New memory manager: Unexpected memory usage on IOSKT-52429 Small Usability Improvements for Worker APIKT-54629 Incorrectly cached class classifierKT-54611 KTypeImpl does not take into account class loader from the classifier propertyKT-48136 Make Reflection.getOrCreateKotlinPackage use cache when kotlin-reflect is usedKT-50705 Use ClassValue to cache KClass objects in kotlin-reflectKT-53454 Properly cache the same class's KClass when it's loaded by multiple classloaders in getOrCreateKotlinClassKT-54210 Update Kotlin specification to mention that since 1.8 generics in value classes are allowedKT-54116 Add JVM target bytecode version 19KT-53278 Support values 6 and 8 for -Xjdk-releaseKT-46312 CLI: Kotlin runner should use platform class loader to load JDK modules on Java 9+KT-54310 Commonizer fails on 1.8.0-dev K/N distributionsKT-48576 [Commonizer] platform.posix.pselect not commonized in KtorKT-46959 Kotlin Lombok: Support generated builders ([@Builder](https://github.com/Builder))KT-53683 Unresolved reference compilation error occurs if a file is annotated with @ Singular and has any guava collection type : ImmutableTable, ImmutableList or elseKT-53657 [K2] Unresolved reference compilation error occurs if a field is annotated with @ Singular and has type NavigableMap without explicit types specificationKT-53647 [K2] Unresolved reference compilation error occurs if a field is annotated with @ Singular and has type Iterable<>KT-53724 Param of the @ Singular lombok annotation ignoreNullCollections=true is ignored by kotlin compilerKT-53451 [K2] References to methods generated by @ With lombok annotation can't be resolved with enabled K2 compilerKT-53721 [K2] There is no compilation error while trying to add null as a param of the field with non-null typeKT-53370 Kotlin Lombok compiler plugin can't resolve methods generated for java boolean fields annotated with @ With annotationKT-54878 JVM/IR: java.lang.ClassCastException: class org.jetbrains.kotlin.ir.types.impl.IrStarProjectionImpl cannot be cast to class org.jetbrains.kotlin.ir.types.IrTypeProjection on serializer<Box<*>>()KT-55340 Argument for kotlinx.serialization.UseSerializers does not implement KSerializer or does not provide serializer for concrete typeKT-55296 Improve exceptions in serialization pluginKT-55180 KJS: regression in serialization for Kotlin 1.8.0-betaKT-53157 Recursion detected in a lazy value under LockBasedStorageManager in kotlinx.serializationKT-54297 Regression in serializable classes with star projectionsKT-49660 kotlinx.serialization: IndexOutOfBoundsException for parameterized sealed classKT-43910 JS IR: Serialization with base class: "IndexOutOfBoundsException: Index 0 out of bounds for length 0"KT-52622 Kotlin/JS, Kotlin/Common compilations start Kotlin daemon incompatible with Kotlin/JVM compilation on JDK 8KT-27301 Expose compiler flags via Gradle lazy propertiesKT-53357 Change single build metrics propertyKT-50673 Gradle: KotlinCompile task(s) should use [@NormalizeLineEndings](https://github.com/NormalizeLineEndings)KT-34464 Kotlin build report path not clickable in the IDEKT-51525 [Gradle] Optimize evaluating args for compile tasksKT-52520 Remove usage of reflection from CompilerArgumentsGradleInputKT-48843 Add ability to disable Kotlin daemon fallback strategyKT-55334 kaptGenerateStubs passes wrong android variant module names to compilerKT-55255 Gradle: stdlib version alignment fails build on dynamic stdlib version.KT-55363 [K1.8.0-Beta] Command line parsing treats plugin parameters as source filesKT-54993 Raise kotlin.jvm.target.validation.mode check default level to error when build is running on Gradle 8+KT-54136 Duplicated classes cause build failure if a dependency to kotlin-stdlib specified in an android projectKT-50115 Setting toolchain via Java extension does not configure 'kotlinOptions.jvmTarget' value when Kotlin compilation tasks are created eagerlyKT-55222 Migrate AndroidDependencyResolver to the new Gradle APIKT-55119 There is no validation for different jvmTarget and targetCompatibility values in multiplatform projects with jvm target and used java sourcesKT-55102 Compile java task fails with different target version in pure kotlin projectKT-54995 [1.8.0-Beta] compileAppleMainKotlinMetadata fails on default parameters with No value passed for parameter 'mustExist'KT-35003 Automatically set targetCompatibility for kotlin-jvm projects to work with gradle 6 metadataKT-45335 kotlinOptions.jvmTarget conflicts with Gradle variantsKT-48798 Android: going from one to more than one productFlavor causes inputs of commonSourceSet$kotlin_gradle_plugin property of compileKotlin task to changeKT-55019 Gradle sync: UnknownConfigurationException when adding implementation dependencies to a Kotlin with Java compilationKT-55004 jvmTarget value is ignored by depending modules if a task "UsesKotlinJavaToolchain" is configured for all project modules using allProjects {}KT-54888 Add Gradle property to suppress kotlinOptions.freeCompilerArgs modification on execution phaseKT-54399 Undeprecate 'kotlinOptions' DSLKT-54306 Change the naming of newly added Compiler*Options classes and interfacesKT-54580 KotlinOptions in AbstractKotlinCompilation class are deprecatedKT-54653 java.lang.NoClassDefFoundError: kotlin/jdk7/AutoCloseableKt exception if a dependency to the kotlin-stdlib is addedKT-52624 Compatibility with Gradle 7.3 releaseKT-54703 Stdlib substitution does not work with JPMS modulesKT-54602 Prevent leaking Gradle Compile DSL types into compiler cli runtimeKT-54439 Project failed to sync Native LaguageSettings to compiler options in afterEvaluateKT-53885 Bump minimal supported Gradle version to 6.8.3KT-53773 Protect and system properties can contain sensitive dataKT-53732 Add custom values limits for build scan reportsKT-52623 Compatibility with Gradle 7.2. releaseKT-51831 Gradle: remove kotlin.compiler.execution.strategy system propertyKT-51679 Change deprecation level to error for KotlinCompile setClasspath/getClasspath methodsKT-54335 Kotlin build report configuration. There is no validation for SINGLE_FILE output if the required kotlin.build.report.single_file property is empty or absentKT-54356 Kotlin build report configuration. Wrong path is used for the property kotlin.internal.single.build.metrics.fileKT-53617 KotlinCompilerExecutionStrategy value is ignored by depending modules if configure once for all project modules using allProjects {}KT-53823 Kotlin Gradle Plugin uses deprecated Gradle API: Provider.forUseAtConfigurationTime()KT-54142 Increase Kotlin Gradle plugin Gradle target API to 7.5KT-50161 Android variant filter breaks KotlinCompile cache compatibilityKT-54113 LanguageSettings to KotlinNativeLink.toolOptions sync are executed on the wrong contextKT-53830 Versions of kotlin-stdlib-jdk8 and kotlin-stdlib-jdk7 aren't overrided if added as transitive dependencies to kotlin-stdlibKT-54112 Missing target input on KotlinNativeLink taskKT-45879 Documentation: Wrong kotlin languageVersion "1.6 (EXPERIMENTAL)"KT-54103 Remove JvmTarget.JVM_1_6 from generated Gradle compiler typeKT-52959 KMP code is breaking Gradle project isolationKT-50598 MULTIPLE_KOTLIN_PLUGINS_SPECIFIC_PROJECTS_WARNING is only shown on first buildKT-53246 Gradle: Special characters in paths of errors and warnings should be escapedKT-47730 How to avoid stdlib coming from Kotlin gradle pluginKT-52209 Corrupted cache and non-incremental build if produce caches "in process" and restore then compiling with kotlin daemonKT-41642 "TaskDependencyResolveException: Could not determine the dependencies" when trying to apply stdlibKT-53390 Drop usage of -Xjava-source-roots when passing java sources required for Kotlin compilationKT-52984 Kotlin Gradle plugin is misbehaving by resolving DomainObjectCollection earlyKT-38622 Non-incremental compilation because of R.jar with Android Gradle plugin 3.6KT-38576 AnalysisResult.RetryWithAdditionalRoots crashes during incremental compilation with java classes in classpathKT-54314 Cocoapods: Signing pod dependency for Xcode 14KT-54060 Xcode 14: disable bitcode embedding for Apple frameworksKT-53340 Change default linking type for frameworks registered by cocoapods pluginKT-53392 Deprecate and delete downloading pod dependencies by direct linkKT-53695 Build of macOS application fails if a framework is integrated via Cocoapods pluginKT-53367 KJS: Migrate cssSupport APIKT-45789 KJS / IR: Transitive NPM dependencies are not included in PublicPackageJsonTask outputKT-55099 K/JS: Second declaration of JS target without compiler type report warning incorrectlyKT-52951 [KGP/JS] Browser test target registration via propertiesKT-52950 KJS: Report if yarn.lock was updated during builtKT-53374 KJS / Gradle: Implement IDEA sync detection logic via ValueSource to improve configuration cache supportKT-53381 Kotlin/JS: with erased kotlin-js-store/ and reportNewYarnLock = true the task kotlinUpgradeYarnLock always failsKT-53788 KJS / Gradle: Disable Gradle build cache for KotlinJsDce when development mode is enabledKT-53614 Kotlin/JS upgrade npm dependenciesKT-53396 Support 'implementation platform()' by gradle kotlin mpp plugin for JVM targetKT-40489 MPP / Gradle: support BOM (enforcedPlatform) artifacts in source set dependencies DSLKT-52726 [MPP] Optimize caching/performance/call-sites of 'compilationsBySourceSets'KT-54634 MPP: Test Failure causes: KotlinJvmTest$Executor$execute$1 does not define failureKT-35916 Gradle MPP plugin: Configurations for a main compilation and its default source set have different namingKT-46960 Repeated kotlin/native external libraries in projectKT-27292 MPP: jvm { withJava() }: Gradle build: Java source under Kotlin root is resolved while building, but does not produce output class filesKT-34650 Naming clash in MPP+Android: androidTest vs androidAndroidTestKT-54387 Remove MPP alpha stability warningKT-31468 Targets disambiguation doesn't work if a depending multiplatform module uses withJava() modeKT-54090 Take an Apple test device from the device listKT-54301 KotlinToolingVersionOrNull: IllegalArgumentExceptionKT-53256 Implement K/N compiler downloading for KPMKT-45412 KotlinCompilation: Make sure .kotlinSourceSets and .allKotlinSourceSets include the default source setKT-49202 Tests on android target can't be executed in multiplatform project if dependency to kotlin-test framework is provided as a single dependency and tests configured to be executed via Junit5KT-43293 Support Gradle configuration caching with Kotlin/NativeKT-53107 Add arm64 support for watchOS targets (Xcode 14)KT-53704 Native cinterop: eager header path calculationKT-54814 Kotlin/Native: Github Actions: Testing watchOSX64 with Xcode 14 — Invalid device: Apple Watch Series 5KT-54627 Native: :commonizeNativeDistribution with configuration cache enabled fails even when set to warn on JDK 17KT-54339 Link tasks fail if Gradle Configuration Cache is enabledKT-53191 Native cinterop sync problem with gradleKT-54583 watchosDeviceArm64 target shouldn't register test tasksKT-52303 Gradle / Native: Build tasks ignore project.buildDirKT-54442 Gradle iOS test tasks fail if a device is not selected explicitlyKT-54177 Gradle: Deprecate enableEndorsedLibs flagKT-47355 Support macos target for FatFramework taskKT-53339 MPP / CocoaPods: The static framework fails to install on a real iOS deviceKT-31573 Missing description for Native Gradle tasksKT-53131 Gradle Sync: "NoSuchElementException: Array contains no element matching the predicate" with CocoaPodsKT-53686 Task assembleReleaseXCFramework fails with "error: the path does not point to a valid framework" if project name contains a dashKT-54144 New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline function with custom JvmNameKT-53871 New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline property accessorKT-19804 Relocatable IC cachesKT-45474 False positive NO_ELSE_IN_WHEN on sealed class with incremental compilationKT-54228 Switching abstract to sealed classes causes incremental issueKT-38483 JPS: Stopping compilation causes IDE CompilationCanceledExceptionKT-50310 False positive NO_ELSE_IN_WHEN on incremental build when adding sealed classesKT-48813 Move cache version to compilerKTIJ-921 JPS: FileNotFoundException on project build in mixed Kotlin/Scala projectKT-54187 JVM IR + kapt: incorrect modifier final is generated for nested enum in interfaceKT-48827 Remove 'kapt.use.worker.api' propertyKT-54355 Scripts: Internal compiler error (languageVersion=1.9)KT-53009 Scripting: NDFDE “Descriptor wasn't found for declaration SCRIPT” on using script definition with kotlin from master| File | Sha256 | | --- | --- | | kotlin-compiler-1.8.0.zip | 0bb9419fac9832a56a3a19cad282f8f2d6f1237d2d467dc8dfe9bd4a2a43c42e | | kotlin-native-linux-x86_64-1.8.0.tar.gz | 1634d4fa815c5cbd5d4f67526501ab0637e99efe3b1c279bb648f60425dc9688 | | kotlin-native-macos-x86_64-1.8.0.tar.gz | e3764714c4b3f4fe5925d1bf55cb4f79c9d63fd0110ba337a3e4729cc0236c5e | | kotlin-native-macos-aarch64-1.8.0.tar.gz | 75a49236907e0b577558a8353b4ab3221a5073ee4835fa72ec3b0448bd60aca5 | | kotlin-native-windows-x86_64-1.8.0.zip | 3c552df79b62afb229e3e3dcef2797fd1eaae307b0903ccfd473665bb4a2238d |
release notes
Published 12/28/2022
MinorContains breaking changesKT-50255 Analysis API: Implement standalone mode for the Analysis APIKT-54292 Symbol Light classes: implement PsiVariable.computeConstantValue for light fieldKT-54293 Analysis API: fix constructor symbol creation when its accessed via type aliasKT-53342 TCS: New AndroidSourceSet layout for multiplatformKT-53013 Increase AGP compile version in KGP to 4.1.3KT-54013 Report error when using deprecated Kotlin Android Extensions compiler pluginKT-53709 MPP, Android SSL2: Conflicting warnings for androidTest/kotlin source set folderKT-53561 Invalid LLVM module: "inlinable function call in a function with debug info must have a !dbg location"KT-52817 Add [@JvmSerializableLambda](https://github.com/JvmSerializableLambda) annotation to keep old behavior of non-invokedynamic lambdasKT-54460 Implementation of non-local break and continueKT-53916 Support Xcode 14 and new Objective-C frameworks in Kotlin/Native compilerKT-32208 Generate method annotations into bytecode for suspend lambdas (on invokeSuspend)KT-53438 Introduce a way to get SourceDebugExtension attribute value via JVMTI for profiler and coverageKT-53347 Get rid of excess allocations in parserKT-53689 JVM: Optimize equality on class literalsKT-53119 Improve String Concatenation LoweringKT-53465 Unnecessary checkcast to array of reified type is not optimized since Kotlin 1.6.20KT-49658 NI: False negative TYPE_MISMATCH on nullable type with whenKT-48162 NON_VARARG_SPREAD isn't reported on *toTypedArray() callKT-43493 NI: False negative: no compilation error "Operator '==' cannot be applied to 'Long' and 'Int'" is reported in builder inference lambdasKT-54393 Change in behavior from 1.7.10 to 1.7.20 for java field override.KT-55357 IllegalStateException when reading a class that delegates to a Java class with a definitely-not-null type with a flexible upper boundKT-55068 Kotlin Gradle DSL: No mapping for symbol: VALUE_PARAMETER SCRIPT_IMPLICIT_RECEIVER on JVM IR backendKT-51284 SAM conversion doesn't work if method has context receiversKT-48532 Remove old JVM backendKT-55065 Kotlin Gradle DSL: Reflection cannot find class data for lambda, produced by JVM IR backendKT-53270 K1: implement synthetic Enum.entries propertyKT-52823 Cannot access class Thread.State after upgrading to 1.7 from 1.6.1 using -Xjdk-release=1.8KT-55108 IR interpreter: Error occurred while optimizing an expression: VARARGKT-53547 Missing fun IrBuilderWithScope.irFunctionReferenceKT-54884 "StackOverflowError: null" caused by Enum constant name in constructor of the same Enum constantKT-47475 "IncompatibleClassChangeError: disagree on InnerClasses attribute": cross-module inlined WhenMappings has mismatched InnerClassesKT-55013 State checker use-after-free with XCode 14.1KT-54802 "VerifyError: Bad type on operand stack" for inline functions on arraysKT-54707 "VerifyError: Bad type on operand stack" in inline call chain on a nullable array valueKT-48678 Coroutine debugger: disable "was optimised out" compiler featureKT-54745 Restore KtToken constructors without tokenId parameter to preserve back compatibilityKT-54650 Binary incompatible ABI change in Kotlin 1.7.20KT-52786 Frontend / K2: IndexOutOfBoundsException when opting in to K2KT-54004 Builder type inference does not work correctly with variable assignment and breaks run-timeKT-54581 JVM: "VerifyError: Bad type on operand stack" with generic inline function and when inside try-catch blockKT-53794 IAE "Unknown visibility: protected/protected and package/" on callable reference to protected member of Java superclassKT-54600 NPE on passing nullable Kotlin lambda as Java's generic SAM interface with super type boundKT-54463 Delegating to a field with a platform type causes java.lang.NoSuchFieldError: value$delegateKT-54509 Ir Interpreter: unable to evaluate string concatenation with "this" as argumentKT-54615 JVM: Internal error in file lowering: java.lang.AssertionError: Error occurred while optimizing an expressionKT-53146 JVM IR: unnecessary checkcast of null leads to NoClassDefFoundError if the type isn't available at runtimeKT-53712 Add mode to prevent generating JVM 1.8+ annotation targets (TYPE_USE, TYPE_PARAMETER)KT-54366 K2: no JVM BE specific diagnostics (in particular CONFLICTING_JVM_DECLARATIONS) in 1.8KT-35187 NullPointerException on compiling suspend inline fun with typealias to suspend function typeKT-54275 K2: "IllegalArgumentException: KtParameter is not a subtype of class KtAnnotationEntry for factory REPEATED_ANNOTATION"KT-53656 "IllegalStateException: typeParameters == null for SimpleFunctionDescriptorImpl" with recursive generic type parametersKT-46727 Report warning on contravariant usages of star projected argument from JavaKT-53197 K2: 'init' hides member of supertype 'UIComponent' and needs 'override' modifierKT-53867 K2: [@JvmRecord](https://github.com/JvmRecord) does not compile to a java recordKT-53964 K2 is unable to work with Java recordsKT-53349 K2: TYPE_MISMATCH caused by non-local returnKT-54100 "Type variable TypeVariable(P) should not be fixed" crash in code with errorsKT-54212 K2: cannot calculate implicit property typeKT-53699 K2: Exception during IR lowering in code with coroutinesKT-54192 Warn about unsupported feature on generic inline class parametersKT-53723 Friend modules aren't getting passed to cache build during box testsKT-53873 K2: Duplicated diagnostics reported from user type ref checkersKT-50909 "VerifyError: Bad type on operand stack" caused by smartcasting for nullable inline class property in classKT-54115 Restore Psi2IrTranslator constructor from 1.7.20KT-53908 K2: Self-referencing generics in Java class causes New Inference Error (IE: class Foo<T extends Foo>)KT-53193 K2: compile error on project that compiles fine with normal 1.7.10KT-54062 K2 Invalid serialization for type-aliased suspend function type with extension receiverKT-53953 Forbid usages of super or super if in fact it accesses an abstract memberKT-47473 NI: Missed UPPER_BOUND_VIOLATED diagnostics if use type aliases with type parametersKT-54049 K2: false positive MANY_IMPL_MEMBER_NOT_IMPLEMENTEDKT-30054 Wrong approximation if nullable anonymous object with implemented interface is usedKT-53751 Postpone IgnoreNullabilityForErasedValueParameters featureKT-53324 Implement Enum.entries lowering on K/NKT-44441 K2: report redeclaration error if there is a Java class with the same name as the Kotlin classKT-53807 No warning about declaringClass on an enum valueKT-53493 K2: val on function parameter counts as just warningKT-53435 K2: "IllegalArgumentException: class KtValueArgument is not a subtype of class KtExpression for factory ANNOTATION_ARGUMENT_MUST_BE_CONST" if string in nested annotation is concatenatedKT-52927 AssertionError: LambdaKotlinCallArgumentImplKT-53922 Make Enum.entries unstable feature to poison binariesKT-53783 Exception during psi2ir when declaring expect data objectKT-53622 [OVERLOAD_RESOLUTION_AMBIGUITY] when enum entry called 'entries' is present in K2KT-41670 JVM IR: AbstractMethodError when using inheritance for fun interfacesKT-53178 K2: implement diagnostics for serialization pluginKT-53804 Restore old and incorrect logic of generating InnerClasses attributes for kotlin-stdlibKT-52970 Default value constant in companion object works on JVM and JS, but fails on nativeKT-51114 FIR: Support DNN checksKT-27936 Write InnerClasses attribute for all class names used in a class fileKT-53719 Parsing regression on function call with type arguments and labeled lambdaKT-53261 Evaluate effect from inline for primitive typesKT-53706 K2: Context receivers are not resolved on properties during type resolution stageKT-39492 Kotlin.Metadata's packageName field cannot be an empty stringKT-53664 Ir Interpreter: unable to evaluate name of function reference marked with JvmStatic from another moduleKT-52478 [Native] Partial linkage: Building native binary from cached KLIBs fails if one library depends on removed nested callable member from another oneKT-48822 CompilationException: Back-end (JVM) Internal error: Failed to generate expression: KtProperty - ConcurrentModificationExceptionKT-50281 IllegalStateException: unsupported call of reified inlined functionKT-50083 Different error messages in android and JVM (Intrinsics.checkNotNullParameter).KT-53236 Support Enum.entries codegen on JVM/IR BEKT-41017 FIR: should we support smartcast after null checkKT-53202 "ISE: Descriptor can be left only if it is last" after direct invoke optimization on a capturing lambdaKT-46969 [@BuilderInference](https://github.com/BuilderInference) with nested DSL scopes cause false-positive scope violation in Kotlin 1.5KT-53257 FIR: Improper context receiver argument is chosen when there are two extension receiver candidatesKT-53090 Anonymous function and extension function literals are generated as classes even with -Xlambdas=indyKT-53208 K2: Cannot get annotation for default interface method parameter when compiled with -Xuse-k2KT-53184 K2: NoSuchMethodError on KProperty1.get() referenced via nullable typealiasKT-53198 K2: Return type mismatch: expected kotlin/Unit, actual kotlin/Unit?KT-53100 Optimization needed: (CONSTANT_PRIMITIVE(x: T?)) => xKT-49875 [FIR] Support infering PRIVATE_TO_THIS visibilityKT-53024 Refactor FIR renderer to composable architectureKT-50995 [FIR] Support SAM with receiver pluginKT-53148 K1: introduce warning for inline virtual member in enumKT-49847 Devirtualization fails to eliminate boxing in function reference contextKT-52875 Extension function literal creation with -Xlambdas=indy fails with incorrect argumentsKT-53072 INVALID_IF_AS_EXPRESSION error isn't shown in the IDE (LV 1.8)KT-52985 Native: a function with type T? returned a kotlin.Unit instead of nullKT-52020 FIR warning message includes internal renderingKT-48778 -Xtype-enhancement-improvements-strict-mode not respecting [@NonNull](https://github.com/NonNull) annotation for property accesses?KTIJ-22357 CCE “class org.jetbrains.kotlin.fir.types.impl.FirImplicitTypeRefImpl cannot be cast to class org.jetbrains.kotlin.fir.types.FirResolvedTypeRef” in K2KT-55150 Argument for [@NotNull](https://github.com/NotNull) parameter 'scope' of org/jetbrains/kotlin/resolve/AnnotationResolverImpl.resolveAnnotationType must not be nullKTIJ-22165 IDE notification to promote users to migrate to the new Kotlin/JS toolchainKTIJ-22166 IDE notification (or something else) about JPS and Maven support for Kotlin/JS is deprecatedKT-53543 Rework light classes for file facadeKT-48773 Investigate the possibility of removing dependency on old JVM backend in light classesKTIJ-19699 IDE: False positive type mismatch in Java code for Kotlin nested class non-direct inheritor from external libraryKT-51101 FIR IDE: Exception on "Show Type Info" actionKTIJ-22295 MPP, IDE: False positive UPPER_BOUND_VIOLATED when JVM module implements the generic interface from MPP module and the type parameter is not equal to itself.KT-51656 FIR IDE: ProgressCancelled exception is masked in the compiler during resolveKT-51315 FIR IDE: move out base modules from fe10 plugin to reuse in k2 pluginKTIJ-22323 K2: ISE during resolve of stdlib calls from the stdlibKTIJ-21391 Generate -> Override methods : don't delegate to abstract methodsKT-53097 Extract common part of light classes to another moduleKTIJ-22354 FIR LC: annotation owner is always nullKTIJ-22157 Kotlin call resolver leaks user code when reporting exceptionKTIJ-22552 Kotlin: 'for loop' postfix completion doesn't work - "Fe10SuggestVariableNameMacro must be not requested from main classloader"KTIJ-22503 Support code completion for data objectsKT-51755 Compilation exception with scripting compilation during debug sessionKTIJ-21963 Debugger / IR: Expression evaluation of the debugger doesn't workKTIJ-22750 Initialize Kotlin stub element types lazilyKTIJ-18094 IDE: "AssertionError: Stub count doesn't match stubbed node length" with minified Android AAR libraryKTIJ-17632 IndexOutOfBoundsException: Cannot decompile a class located in minified AARKT-48135 In the IDE import, reuse dependency granular source set KLIBs across multi-project build to avoid duplicate external librariesKTIJ-22345 False positive unresolved reference for members of subclasses of expect classes.KT-53514 HMPP: False positive for None of the following functions can be called with the arguments supplied. with Enum in common moduleKT-51583 Gradle 7.4+ | SamplesVariantRule interference: Could not resolve all files for configuration ':kotlinKlibCommonizerClasspath'KTIJ-21077 Dependency matrix does not work with Jetpack compose / multiplatform projectsKTIJ-19531 Adapt changes about new rules for method implementation requirementsKTIJ-22087 Support IDE inspections for upcoming data objectsKTIJ-20510 Quick fix to implement and call correct super method in case of inheritance with defaultsKTIJ-20170 Provide quickfix for deprecated resolution to private constructor of sealed classKTIJ-22630 FIR IDE: Lazy resolve exception after invocation of Override members action on value classKT-49643 Intentions: "Implement members" fails when base type function declaration uses unresolved generic typesKTIJ-22167 Make JS IR default in projects created by wizardKTIJ-22332 Wizard: Kotlin/JS projects: cssSupport DSL should be updatedKTIJ-22324 K2 IDE: implement reference resolve inside KDocsKTIJ-19566 New Project Wizard: Update HMPP-related flags in multiplatform wizardsKT-51314 FIR IDE: show Kotlin declarations in search symbolKTIJ-22755 Find usage for constructor from kotlin library doesn't work for secondary constructor usagesKTIJ-22598 Add warning for standalone scripts in source rootsKT-54325 .settings.gradle.kts and .init.gradle.kts are reported as standalone scriptsKTIJ-21986 KSSR: "CodeFragment with non-kotlin context should have fakeContextForJavaFile set: originalContext = null" warning shows up when replacingKT-50269 FIR IDE: Allow running tests via gutterKTIJ-23537 Wizard: projects with Android modules require higher sdkCompileVersionKTIJ-23525 Wizard: Compose multiplatform: project won't build and require higher compileSdkVersionKTIJ-22763 New Project Wizard: remove deprecated Android extensions plugin from Android target in the project constructorKTIJ-22481 Wizard: Kotlin -> Browser application (gradle groove). Build errorKT-55097 KJS / IR + IC: Using an internal function from a friend module throws an unbound symbol exceptionKT-54406 Kotlin/JS: build with dependencies fails with "Could not find "kotlin" in [~/.local/share/kotlin/daemon]"KT-53074 Make JS IR BE default in toolchain (gradle & CLI)KT-50589 UTF-8 Instability in kotlin.js.mapKT-54934 KJS / IR + IC: Suspend abstract function stubs are generated with unstable lowered ic signaturesKT-54895 KJS / IR + IC: broken cross module references for function default param wrappersKT-54520 KJS / IR Allow IdSignature clashesKT-54120 JS IR + IC: pointless invalidation of dependent code after modifying companionsKT-53986 KJS / IR + IC: compiler produces different JS file names with IC and without ICKT-54010 JS IR + IC: Force IC cache invalidation after updating language version or featuresKT-53931 KJS / Gradle: Regression with 1.7.20-RC: ReferenceError: println is not definedKT-53968 Kotlin/JS: no UninitializedPropertyAccessException on access to non-initialized lateinit property defined in dependenciesKT-54686 KJS / IR: Incorrect generation of signatures when one of argument is nested classKT-54479 KJS / IR + IC: Adding or removing companion fields leads java.lang.IllegalStateException in the compiler IC infrastructureKT-54382 KJS / IR: Wrong type check for inheritors of suspend functionsKT-54323 KJS / IR + IC: Intrinsics from stdlib may lose their dependencies in incremental rebuildKT-53361 KJS / IR: No debug info is generated for in-line js codeKT-53321 Implement Enum.entries lowering on JS/IRKT-53112 KJS IR turn on IC infra by defaultKT-50503 Kotlin/JS: IR + IC: compileTestDevelopmentExecutableKotlinJs fails with ISE: "Could not find library" after removing module dependencyKT-54011 JS IR + IC: EnumEntries don't work well when IC is enabledKT-53672 KJS / IR: "IndexOutOfBoundsException: Index 0 out of bounds for length 0" caused by function reference to extension function of reified type variableKT-43455 KJS: IR. Incremental compilation problem with unbound symbolsKT-53539 KJS: Exported class inherited non-exported class shows warningKT-53443 KJS/IR: NullPointerException caused by anonymous objects inside lambdasKT-52795 K/JS and K/Native IR-validation/compilation errors for a valid kotlin codeKT-52805 KJS/IR: Invalid call of inline function in also blockKT-51151 KJS / IR: Wrong overloaded generic method with receiver is calledKT-52830 KJS/IR: Sourcemap disabling doesn't workKT-52968 KJS / IR: Buggy generation of overridden methodsKT-53063 KJS / IR + IC: undefined cross module reference for implemented interface functionsKT-51099 KJS / IR + IC: Cache invalidation doesn't check generic class variance annotations (in, out)KT-51090 KJS / IR + IC: Cache invalidation doesn't check suspend qualifierKT-51088 KJS / IR + IC: Cache invalidation doesn't check class qualifiers (data, inline)KT-51083 KJS / IR + IC: Cache invalidation doesn't check inline function which was non inline initiallyKT-51896 KJS / IR + IC: Cache invalidation doesn't trigger rebuild for fake overridden inline functionsKT-48385 Deprecate confusing grammar in when-with-subjectKT-48516 Forbid [@Synchronized](https://github.com/Synchronized) annotation on suspend functionsKT-41886 Ability to require opt-in for interface implementation, but not for usageKT-34943 OVERLOAD_RESOLUTION_AMBIGUITY inconsistent with the equivalent Java codeKT-51334 Implement type-bound label this@TypeKT-21007 Provide Kotlin OSGI Bundle with extensions for JRE8 (and JRE7)KT-54082 Comparable and subtractible TimeMarksKT-52928 Provide copyToRecursively and deleteRecursively extension functions for java.nio.file.PathKT-49425 Update OptIn documentation to reflect latest design changesKT-54005 Allow calling declaringJavaClass on EnumKT-52933 rangeUntil members in built-in typesKT-53508 Cache typeOf-related KType instances when kotlin-reflect is usedKT-51907 Switch JVM target of the standard libraries to 1.8KT-54835 Document that Iterable.all(emptyCollection) returns TRUE.KT-54168 Expand on natural order in comparator docsKT-53277 Stabilize experimental API for 1.8KT-53864 Review deprecations in stdlib for 1.8KT-47707 Remove the system property and the brittle contains optimization code itselfKT-52336 Different behavior on JVM and Native in stringBuilder.append(charArray, 0, 1)KT-53927 Remove deprecation from ConcurrentModificationException constructorsKT-53152 Introduce EnumEntries to stdlib as backing implementation of Enum.entriesKT-53134 stdlib > object Charsets > not thread safe lazy initializationKT-51063 Gradle project with JPS runner: "JUnitException: Failed to parse version" JUnit runner internal error with JUnitKT-52908 Native: setUnhandledExceptionHook swallows exceptionsKT-51043 Kotlin Native: ObjC-Interop: kotlin.ClassCastException: null cannot be cast to kotlin.Function2KT-50786 Native: prohibit suspend calls inside autoreleasepool {}KT-52834 Implement test infrastructure for K2/NativeKT-36878 Reverse C Interop: incorrect headers generation for primitive unassigned type arraysKT-53599 [Reverse C Interop] Provide box/unbox API for unsigned primitive typesKT-41904 Kotlin/Native : error: duplicate member for interface and function with the same nameKT-42830 [Reverse C Interop] Add API to get value of boxed primitivesKT-39496 K/N C: optional unsigned types as function parameters crash the compilerKT-39015 Cannot compile native library with nullable inline classKT-54738 Cocoapods cinterop: linking platform.CoreGraphics packageKT-54001 Kotlin/Native: support header exclusion in cinterop def filesKT-53151 Native: Custom declarations in .def don't work with modules, only headersKT-53680 Obj-C refinement annotationsKT-54119 Native: runtime assertion failed due to missing thread state switchKT-42641 Don't export generated component* methods from Kotlin data classes to Obj-C headerKT-54225 Native: update to Xcode 14.1KT-54164 Native: commonizer fails on CoreFoundation typesKT-39747 Why is there no WinHttp API in Kotlin/Native's Windows API?KT-49228 Kotlin/Native: Allow to unset unhandled exception hookKT-27305 Fix FILE macro inside RuntimeCheck and RuntimeAssertKT-54498 Deprecation message of 'FreezingIsDeprecated' is not really helpfulKT-53182 New memory manager: Unexpected memory usage on IOSKT-52429 Small Usability Improvements for Worker APIKT-54629 Incorrectly cached class classifierKT-54611 KTypeImpl does not take into account class loader from the classifier propertyKT-48136 Make Reflection.getOrCreateKotlinPackage use cache when kotlin-reflect is usedKT-50705 Use ClassValue to cache KClass objects in kotlin-reflectKT-53454 Properly cache the same class's KClass when it's loaded by multiple classloaders in getOrCreateKotlinClassKT-54210 Update Kotlin specification to mention that since 1.8 generics in value classes are allowedKT-54116 Add JVM target bytecode version 19KT-53278 Support values 6 and 8 for -Xjdk-releaseKT-46312 CLI: Kotlin runner should use platform class loader to load JDK modules on Java 9+KT-54310 Commonizer fails on 1.8.0-dev K/N distributionsKT-48576 [Commonizer] platform.posix.pselect not commonized in KtorKT-46959 Kotlin Lombok: Support generated builders ([@Builder](https://github.com/Builder))KT-53683 Unresolved reference compilation error occurs if a file is annotated with @ Singular and has any guava collection type : ImmutableTable, ImmutableList or elseKT-53657 [K2] Unresolved reference compilation error occurs if a field is annotated with @ Singular and has type NavigableMap without explicit types specificationKT-53647 [K2] Unresolved reference compilation error occurs if a field is annotated with @ Singular and has type Iterable<>KT-53724 Param of the @ Singular lombok annotation ignoreNullCollections=true is ignored by kotlin compilerKT-53451 [K2] References to methods generated by @ With lombok annotation can't be resolved with enabled K2 compilerKT-53721 [K2] There is no compilation error while trying to add null as a param of the field with non-null typeKT-53370 Kotlin Lombok compiler plugin can't resolve methods generated for java boolean fields annotated with @ With annotationKT-54878 JVM/IR: java.lang.ClassCastException: class org.jetbrains.kotlin.ir.types.impl.IrStarProjectionImpl cannot be cast to class org.jetbrains.kotlin.ir.types.IrTypeProjection on serializer<Box<*>>()KT-55340 Argument for kotlinx.serialization.UseSerializers does not implement KSerializer or does not provide serializer for concrete typeKT-55296 Improve exceptions in serialization pluginKT-55180 KJS: regression in serialization for Kotlin 1.8.0-betaKT-53157 Recursion detected in a lazy value under LockBasedStorageManager in kotlinx.serializationKT-54297 Regression in serializable classes with star projectionsKT-49660 kotlinx.serialization: IndexOutOfBoundsException for parameterized sealed classKT-43910 JS IR: Serialization with base class: "IndexOutOfBoundsException: Index 0 out of bounds for length 0"KT-52622 Kotlin/JS, Kotlin/Common compilations start Kotlin daemon incompatible with Kotlin/JVM compilation on JDK 8KT-27301 Expose compiler flags via Gradle lazy propertiesKT-53357 Change single build metrics propertyKT-50673 Gradle: KotlinCompile task(s) should use [@NormalizeLineEndings](https://github.com/NormalizeLineEndings)KT-34464 Kotlin build report path not clickable in the IDEKT-51525 [Gradle] Optimize evaluating args for compile tasksKT-52520 Remove usage of reflection from CompilerArgumentsGradleInputKT-48843 Add ability to disable Kotlin daemon fallback strategyKT-55334 kaptGenerateStubs passes wrong android variant module names to compilerKT-55255 Gradle: stdlib version alignment fails build on dynamic stdlib version.KT-55363 [K1.8.0-Beta] Command line parsing treats plugin parameters as source filesKT-54993 Raise kotlin.jvm.target.validation.mode check default level to error when build is running on Gradle 8+KT-54136 Duplicated classes cause build failure if a dependency to kotlin-stdlib specified in an android projectKT-50115 Setting toolchain via Java extension does not configure 'kotlinOptions.jvmTarget' value when Kotlin compilation tasks are created eagerlyKT-55222 Migrate AndroidDependencyResolver to the new Gradle APIKT-55119 There is no validation for different jvmTarget and targetCompatibility values in multiplatform projects with jvm target and used java sourcesKT-55102 Compile java task fails with different target version in pure kotlin projectKT-54995 [1.8.0-Beta] compileAppleMainKotlinMetadata fails on default parameters with No value passed for parameter 'mustExist'KT-35003 Automatically set targetCompatibility for kotlin-jvm projects to work with gradle 6 metadataKT-45335 kotlinOptions.jvmTarget conflicts with Gradle variantsKT-48798 Android: going from one to more than one productFlavor causes inputs of commonSourceSet$kotlin_gradle_plugin property of compileKotlin task to changeKT-55019 Gradle sync: UnknownConfigurationException when adding implementation dependencies to a Kotlin with Java compilationKT-55004 jvmTarget value is ignored by depending modules if a task "UsesKotlinJavaToolchain" is configured for all project modules using allProjects {}KT-54888 Add Gradle property to suppress kotlinOptions.freeCompilerArgs modification on execution phaseKT-54399 Undeprecate 'kotlinOptions' DSLKT-54306 Change the naming of newly added Compiler*Options classes and interfacesKT-54580 KotlinOptions in AbstractKotlinCompilation class are deprecatedKT-54653 java.lang.NoClassDefFoundError: kotlin/jdk7/AutoCloseableKt exception if a dependency to the kotlin-stdlib is addedKT-52624 Compatibility with Gradle 7.3 releaseKT-54703 Stdlib substitution does not work with JPMS modulesKT-54602 Prevent leaking Gradle Compile DSL types into compiler cli runtimeKT-54439 Project failed to sync Native LaguageSettings to compiler options in afterEvaluateKT-53885 Bump minimal supported Gradle version to 6.8.3KT-53773 Protect and system properties can contain sensitive dataKT-53732 Add custom values limits for build scan reportsKT-52623 Compatibility with Gradle 7.2. releaseKT-51831 Gradle: remove kotlin.compiler.execution.strategy system propertyKT-51679 Change deprecation level to error for KotlinCompile setClasspath/getClasspath methodsKT-54335 Kotlin build report configuration. There is no validation for SINGLE_FILE output if the required kotlin.build.report.single_file property is empty or absentKT-54356 Kotlin build report configuration. Wrong path is used for the property kotlin.internal.single.build.metrics.fileKT-53617 KotlinCompilerExecutionStrategy value is ignored by depending modules if configure once for all project modules using allProjects {}KT-53823 Kotlin Gradle Plugin uses deprecated Gradle API: Provider.forUseAtConfigurationTime()KT-54142 Increase Kotlin Gradle plugin Gradle target API to 7.5KT-50161 Android variant filter breaks KotlinCompile cache compatibilityKT-54113 LanguageSettings to KotlinNativeLink.toolOptions sync are executed on the wrong contextKT-53830 Versions of kotlin-stdlib-jdk8 and kotlin-stdlib-jdk7 aren't overrided if added as transitive dependencies to kotlin-stdlibKT-54112 Missing target input on KotlinNativeLink taskKT-45879 Documentation: Wrong kotlin languageVersion "1.6 (EXPERIMENTAL)"KT-54103 Remove JvmTarget.JVM_1_6 from generated Gradle compiler typeKT-52959 KMP code is breaking Gradle project isolationKT-50598 MULTIPLE_KOTLIN_PLUGINS_SPECIFIC_PROJECTS_WARNING is only shown on first buildKT-53246 Gradle: Special characters in paths of errors and warnings should be escapedKT-47730 How to avoid stdlib coming from Kotlin gradle pluginKT-52209 Corrupted cache and non-incremental build if produce caches "in process" and restore then compiling with kotlin daemonKT-41642 "TaskDependencyResolveException: Could not determine the dependencies" when trying to apply stdlibKT-53390 Drop usage of -Xjava-source-roots when passing java sources required for Kotlin compilationKT-52984 Kotlin Gradle plugin is misbehaving by resolving DomainObjectCollection earlyKT-38622 Non-incremental compilation because of R.jar with Android Gradle plugin 3.6KT-38576 AnalysisResult.RetryWithAdditionalRoots crashes during incremental compilation with java classes in classpathKT-54314 Cocoapods: Signing pod dependency for Xcode 14KT-54060 Xcode 14: disable bitcode embedding for Apple frameworksKT-53340 Change default linking type for frameworks registered by cocoapods pluginKT-53392 Deprecate and delete downloading pod dependencies by direct linkKT-53695 Build of macOS application fails if a framework is integrated via Cocoapods pluginKT-53367 KJS: Migrate cssSupport APIKT-45789 KJS / IR: Transitive NPM dependencies are not included in PublicPackageJsonTask outputKT-55099 K/JS: Second declaration of JS target without compiler type report warning incorrectlyKT-52951 [KGP/JS] Browser test target registration via propertiesKT-52950 KJS: Report if yarn.lock was updated during builtKT-53374 KJS / Gradle: Implement IDEA sync detection logic via ValueSource to improve configuration cache supportKT-53381 Kotlin/JS: with erased kotlin-js-store/ and reportNewYarnLock = true the task kotlinUpgradeYarnLock always failsKT-53788 KJS / Gradle: Disable Gradle build cache for KotlinJsDce when development mode is enabledKT-53614 Kotlin/JS upgrade npm dependenciesKT-53396 Support 'implementation platform()' by gradle kotlin mpp plugin for JVM targetKT-40489 MPP / Gradle: support BOM (enforcedPlatform) artifacts in source set dependencies DSLKT-52726 [MPP] Optimize caching/performance/call-sites of 'compilationsBySourceSets'KT-54634 MPP: Test Failure causes: KotlinJvmTest$Executor$execute$1 does not define failureKT-35916 Gradle MPP plugin: Configurations for a main compilation and its default source set have different namingKT-46960 Repeated kotlin/native external libraries in projectKT-27292 MPP: jvm { withJava() }: Gradle build: Java source under Kotlin root is resolved while building, but does not produce output class filesKT-34650 Naming clash in MPP+Android: androidTest vs androidAndroidTestKT-54387 Remove MPP alpha stability warningKT-31468 Targets disambiguation doesn't work if a depending multiplatform module uses withJava() modeKT-54090 Take an Apple test device from the device listKT-54301 KotlinToolingVersionOrNull: IllegalArgumentExceptionKT-53256 Implement K/N compiler downloading for KPMKT-45412 KotlinCompilation: Make sure .kotlinSourceSets and .allKotlinSourceSets include the default source setKT-49202 Tests on android target can't be executed in multiplatform project if dependency to kotlin-test framework is provided as a single dependency and tests configured to be executed via Junit5KT-43293 Support Gradle configuration caching with Kotlin/NativeKT-53107 Add arm64 support for watchOS targets (Xcode 14)KT-53704 Native cinterop: eager header path calculationKT-54814 Kotlin/Native: Github Actions: Testing watchOSX64 with Xcode 14 — Invalid device: Apple Watch Series 5KT-54627 Native: :commonizeNativeDistribution with configuration cache enabled fails even when set to warn on JDK 17KT-54339 Link tasks fail if Gradle Configuration Cache is enabledKT-53191 Native cinterop sync problem with gradleKT-54583 watchosDeviceArm64 target shouldn't register test tasksKT-52303 Gradle / Native: Build tasks ignore project.buildDirKT-54442 Gradle iOS test tasks fail if a device is not selected explicitlyKT-54177 Gradle: Deprecate enableEndorsedLibs flagKT-47355 Support macos target for FatFramework taskKT-53339 MPP / CocoaPods: The static framework fails to install on a real iOS deviceKT-31573 Missing description for Native Gradle tasksKT-53131 Gradle Sync: "NoSuchElementException: Array contains no element matching the predicate" with CocoaPodsKT-53686 Task assembleReleaseXCFramework fails with "error: the path does not point to a valid framework" if project name contains a dashKT-54144 New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline function with custom JvmNameKT-53871 New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline property accessorKT-19804 Relocatable IC cachesKT-45474 False positive NO_ELSE_IN_WHEN on sealed class with incremental compilationKT-54228 Switching abstract to sealed classes causes incremental issueKT-38483 JPS: Stopping compilation causes IDE CompilationCanceledExceptionKT-50310 False positive NO_ELSE_IN_WHEN on incremental build when adding sealed classesKT-48813 Move cache version to compilerKTIJ-921 JPS: FileNotFoundException on project build in mixed Kotlin/Scala projectKT-54187 JVM IR + kapt: incorrect modifier final is generated for nested enum in interfaceKT-48827 Remove 'kapt.use.worker.api' propertyKT-54355 Scripts: Internal compiler error (languageVersion=1.9)KT-53009 Scripting: NDFDE “Descriptor wasn't found for declaration SCRIPT” on using script definition with kotlin from master| File | Sha256 | | --- | --- | | kotlin-compiler-1.8.0.zip | 0bb9419fac9832a56a3a19cad282f8f2d6f1237d2d467dc8dfe9bd4a2a43c42e | | kotlin-native-linux-x86_64-1.8.0.tar.gz | 1634d4fa815c5cbd5d4f67526501ab0637e99efe3b1c279bb648f60425dc9688 | | kotlin-native-macos-x86_64-1.8.0.tar.gz | e3764714c4b3f4fe5925d1bf55cb4f79c9d63fd0110ba337a3e4729cc0236c5e | | kotlin-native-macos-aarch64-1.8.0.tar.gz | 75a49236907e0b577558a8353b4ab3221a5073ee4835fa72ec3b0448bd60aca5 | | kotlin-native-windows-x86_64-1.8.0.zip | 3c552df79b62afb229e3e3dcef2797fd1eaae307b0903ccfd473665bb4a2238d |
The Kotlin Programming Language.