Update dependency org.jetbrains.kotlin:kotlin-maven-allopen to v1.8.0
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| org.jetbrains.kotlin:kotlin-maven-allopen (source) | build | minor |
1.7.22 -> 1.8.0
|
Release Notes
JetBrains/kotlin
v1.8.0
Analysis API
-
KT-50255Analysis API: Implement standalone mode for the Analysis API
Analysis API. FIR
-
KT-54292Symbol Light classes: implement PsiVariable.computeConstantValue for light field -
KT-54293Analysis API: fix constructor symbol creation when its accessed via type alias
Android
-
KT-53342TCS: New AndroidSourceSet layout for multiplatform -
KT-53013Increase AGP compile version in KGP to 4.1.3 -
KT-54013Report error when using deprecated Kotlin Android Extensions compiler plugin -
KT-53709MPP, Android SSL2: Conflicting warnings forandroidTest/kotlinsource set folder
Backend. Native. Debug
-
KT-53561Invalid LLVM module: "inlinable function call in a function with debug info must have a !dbg location"
Compiler
New Features
-
KT-52817Add@JvmSerializableLambdaannotation to keep old behavior of non-invokedynamic lambdas -
KT-54460Implementation of non-local break and continue -
KT-53916Support Xcode 14 and new Objective-C frameworks in Kotlin/Native compiler -
KT-32208Generate method annotations into bytecode for suspend lambdas (on invokeSuspend) -
KT-53438Introduce a way to get SourceDebugExtension attribute value via JVMTI for profiler and coverage
Performance Improvements
-
KT-53347Get rid of excess allocations in parser -
KT-53689JVM: Optimize equality on class literals -
KT-53119Improve String Concatenation Lowering
Fixes
-
KT-53465Unnecessary checkcast to array of reified type is not optimized since Kotlin 1.6.20 -
KT-49658NI: False negative TYPE_MISMATCH on nullable type withwhen -
KT-48162NON_VARARG_SMREAD isn't reported on *toTypedArray() call -
KT-43493NI: False negative: no compilation error "Operator '==' cannot be applied to 'Long' and 'Int'" is reported in builder inference lambdas -
KT-54393Change in behavior from 1.7.10 to 1.7.20 for java field override. -
KT-55357IllegalStateException when reading a class that delegates to a Java class with a definitely-not-null type with a flexible upper bound -
KT-55068Kotlin Gradle DSL: No mapping for symbol: VALUE_PARAMETER SCRIPT_IMPLICIT_RECEIVER on JVM IR backend -
KT-51284SAM conversion doesn't work if method has context receivers -
KT-48532Remove old JVM backend -
KT-55065Kotlin Gradle DSL: Reflection cannot find class data for lambda, produced by JVM IR backend -
KT-53270K1: implement synthetic Enum.entries property -
KT-52823Cannot access class Thread.State after upgrading to 1.7 from 1.6.1 using -Xjdk-release=1.8 -
KT-55108IR interpreter: Error occurred while optimizing an expression: VARARG -
KT-53547Missing fun IrBuilderWithScope.irFunctionReference -
KT-54884"StackOverflowError: null" caused by Enum constant name in constructor of the same Enum constant -
KT-47475"IncompatibleClassChangeError: disagree on InnerClasses attribute": cross-module inlined WhenMappings has mismatched InnerClasses -
KT-55013State checker use-after-free with XCode 14.1 -
KT-54802"VerifyError: Bad type on operand stack" for inline functions on arrays -
KT-54707"VerifyError: Bad type on operand stack" in inline call chain on a nullable array value -
KT-48678Coroutine debugger: disable "was optimised out" compiler feature -
KT-54745Restore KtToken constructors without tokenId parameter to preserve back compatibility -
KT-54650Binary incompatible ABI change in Kotlin 1.7.20 -
KT-52786Frontend / K2: IndexOutOfBoundsException when opting in to K2 -
KT-54004Builder type inference does not work correctly with variable assignment and breaks run-time -
KT-54581JVM: "VerifyError: Bad type on operand stack" with generic inline function andwheninside try-catch block -
KT-53794IAE "Unknown visibility: protected/protected and package/" on callable reference to protected member of Java superclass -
KT-54600NPE on passing nullable Kotlin lambda as Java's generic SAM interface withsupertype bound -
KT-54463Delegating to a field with a platform type causes java.lang.NoSuchFieldError: value$delegate -
KT-54509Ir Interpreter: unable to evaluate string concatenation with "this" as argument -
KT-54615JVM: Internal error in file lowering: java.lang.AssertionError: Error occurred while optimizing an expression -
KT-53146JVM IR: unnecessary checkcast of null leads to NoClassDefFoundError if the type isn't available at runtime -
KT-53712Add mode to prevent generating JVM 1.8+ annotation targets (TYPE_USE, TYPE_PARAMETER) -
KT-54366K2: no JVM BE specific diagnostics (in particular CONFLICTING_JVM_DECLARATIONS) in 1.8 -
KT-35187NullPointerException on compiling suspend inline fun with typealias to suspend function type -
KT-54275K2: "IllegalArgumentException: KtParameter is not a subtype of class KtAnnotationEntry for factory REPEATED_ANNOTATION" -
KT-53656"IllegalStateException: typeParameters == null for SimpleFunctionDescriptorImpl" with recursive generic type parameters -
KT-46727Report warning on contravariant usages of star projected argument from Java -
KT-53197K2: 'init' hides member of supertype 'UIComponent' and needs 'override' modifier -
KT-53867K2:@JvmRecorddoes not compile to a java record -
KT-53964K2 is unable to work with Java records -
KT-53349K2: TYPE_MISMATCH caused by non-local return -
KT-54100"Type variable TypeVariable(P) should not be fixed" crash in code with errors -
KT-54212K2: cannot calculate implicit property type -
KT-53699K2: Exception during IR lowering in code with coroutines -
KT-54192Warn about unsupported feature on generic inline class parameters -
KT-53723Friend modules aren't getting passed to cache build during box tests -
KT-53873K2: Duplicated diagnostics reported from user type ref checkers -
KT-50909"VerifyError: Bad type on operand stack" caused by smartcasting for nullable inline class property in class -
KT-54115Restore Psi2IrTranslator constructor from 1.7.20 -
KT-53908K2: Self-referencing generics in Java class causes New Inference Error (IE: class Foo<T extends Foo>) -
KT-53193K2: compile error on project that compiles fine with normal 1.7.10 -
KT-54062K2 Invalid serialization for type-aliased suspend function type with extension receiver -
KT-53953Forbid usages of super or super if in fact it accesses an abstract member -
KT-47473NI: Missed UPPER_BOUND_VIOLATED diagnostics if use type aliases with type parameters -
KT-54049K2: false positive MANY_IMPL_MEMBER_NOT_IMPLEMENTED -
KT-30054Wrong approximation if nullable anonymous object with implemented interface is used -
KT-53751Postpone IgnoreNullabilityForErasedValueParameters feature -
KT-53324Implement Enum.entries lowering on K/N -
KT-44441K2: report redeclaration error if there is a Java class with the same name as the Kotlin class -
KT-53807No warning about declaringClass on an enum value -
KT-53493K2:val on function parametercounts as just warning -
KT-53435K2: "IllegalArgumentException: class KtValueArgument is not a subtype of class KtExpression for factory ANNOTATION_ARGUMENT_MUST_BE_CONST" if string in nested annotation is concatenated -
KT-52927AssertionError: LambdaKotlinCallArgumentImpl -
KT-53922Make Enum.entries unstable feature to poison binaries -
KT-53783Exception during psi2ir when declaring expect data object -
KT-53622[OVERLOAD_RESOLUTION_AMBIGUITY] when enum entry called 'entries' is present in K2 -
KT-41670JVM IR: AbstractMethodError when using inheritance for fun interfaces -
KT-53178K2: implement diagnostics for serialization plugin -
KT-53804Restore old and incorrect logic of generating InnerClasses attributes for kotlin-stdlib -
KT-52970Default value constant in companion object works on JVM and JS, but fails on native -
KT-51114FIR: Support DNN checks -
KT-27936Write InnerClasses attribute for all class names used in a class file -
KT-53719Parsing regression on function call with type arguments and labeled lambda -
KT-53261Evaluate effect from inline for primitive types -
KT-53706K2: Context receivers are not resolved on properties during type resolution stage -
KT-39492Kotlin.Metadata's packageName field cannot be an empty string -
KT-53664Ir Interpreter: unable to evaluate name of function reference marked with JvmStatic from another module -
KT-52478[Native] Partial linkage: Building native binary from cached KLIBs fails if one library depends on removed nested callable member from another one -
KT-48822CompilationException: Back-end (JVM) Internal error: Failed to generate expression: KtProperty - ConcurrentModificationException -
KT-50281IllegalStateException: unsupported call of reified inlined function -
KT-50083Different error messages in android and JVM (Intrinsics.checkNotNullParameter). -
KT-53236Support Enum.entries codegen on JVM/IR BE -
KT-41017FIR: should we support smartcast after null check -
KT-53202"ISE: Descriptor can be left only if it is last" after direct invoke optimization on a capturing lambda -
KT-46969@BuilderInferencewith nested DSL scopes cause false-positive scope violation in Kotlin 1.5 -
KT-53257FIR: Improper context receiver argument is chosen when there are two extension receiver candidates -
KT-53090Anonymous function and extension function literals are generated as classes even with -Xlambdas=indy -
KT-53208K2: Cannot get annotation for default interface method parameter when compiled with-Xuse-k2 -
KT-53184K2: NoSuchMethodError on KProperty1.get() referenced via nullable typealias -
KT-53198K2: Return type mismatch: expected kotlin/Unit, actual kotlin/Unit? -
KT-53100Optimization needed: (CONSTANT_MRIMITIVE(x: T?)) => x -
KT-49875[FIR] Support infering MRIVATE_TO_THIS visibility -
KT-53024Refactor FIR renderer to composable architecture -
KT-50995[FIR] Support SAM with receiver plugin -
KT-53148K1: introduce warning for inline virtual member in enum -
KT-49847Devirtualization fails to eliminate boxing in function reference context -
KT-52875Extension function literal creation with-Xlambdas=indyfails with incorrect arguments -
KT-53072INVALID_IF_AS_EXMRESSION error isn't shown in the IDE (LV 1.8) -
KT-52985Native: a function with typeT?returned akotlin.Unitinstead ofnull -
KT-52020FIR warning message includes internal rendering -
KT-48778-Xtype-enhancement-improvements-strict-mode not respecting@NonNullannotation for property accesses?
IDE
Fixes
-
KTIJ-22357CCE “class org.jetbrains.kotlin.fir.types.impl.FirImplicitTypeRefImpl cannot be cast to class org.jetbrains.kotlin.fir.types.FirResolvedTypeRef” in K2 -
KT-55150Argument for@NotNullparameter 'scope' of org/jetbrains/kotlin/resolve/AnnotationResolverImpl.resolveAnnotationType must not be null -
KTIJ-22165IDE notification to promote users to migrate to the new Kotlin/JS toolchain -
KTIJ-22166IDE notification (or something else) about JPS and Maven support for Kotlin/JS is deprecated -
KT-53543Rework light classes for file facade -
KT-48773Investigate the possibility of removing dependency on old JVM backend in light classes -
KTIJ-19699IDE: False positive type mismatch in Java code for Kotlin nested class non-direct inheritor from external library -
KT-51101FIR IDE: Exception on "Show Type Info" action -
KTIJ-22295MPP, 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-51656FIR IDE: ProgressCancelled exception is masked in the compiler during resolve -
KT-51315FIR IDE: move out base modules from fe10 plugin to reuse in k2 plugin -
KTIJ-22323K2: ISE during resolve of stdlib calls from the stdlib -
KTIJ-21391Generate -> Override methods : don't delegate to abstract methods -
KT-53097Extract common part of light classes to another module -
KTIJ-22354FIR LC: annotation owner is always null -
KTIJ-22157Kotlin call resolver leaks user code when reporting exception
IDE. Completion
-
KTIJ-22552Kotlin: 'for loop' postfix completion doesn't work - "Fe10SuggestVariableNameMacro must be not requested from main classloader" -
KTIJ-22503Support code completion for data objects
IDE. Debugger
-
KT-51755Compilation exception with scripting compilation during debug session -
KTIJ-21963Debugger / IR: Expression evaluation of the debugger doesn't work
IDE. Decompiler, Indexing, Stubs
-
KTIJ-22750Initialize Kotlin stub element types lazily -
KTIJ-18094IDE: "AssertionError: Stub count doesn't match stubbed node length" with minified Android AAR library -
KTIJ-17632IndexOutOfBoundsException: Cannot decompile a class located in minified AAR
IDE. Gradle Integration
-
KT-48135In the IDE import, reuse dependency granular source set KLIBs across multi-project build to avoid duplicate external libraries -
KTIJ-22345False positive unresolved reference for members of subclasses of expect classes. -
KT-53514HMPP: False positive forNone of the following functions can be called with the arguments supplied.with Enum in common module -
KT-51583Gradle 7.4+ | SamplesVariantRule interference: Could not resolve all files for configuration ':kotlinKlibCommonizerClasspath' -
KTIJ-21077Dependency matrix does not work with Jetpack compose / multiplatform projects
IDE. Inspections and Intentions
-
KTIJ-19531Adapt changes about new rules for method implementation requirements -
KTIJ-22087Support IDE inspections for upcoming data objects -
KTIJ-20510Quick fix to implement and call correct super method in case of inheritance with defaults -
KTIJ-20170Provide quickfix for deprecated resolution to private constructor of sealed class -
KTIJ-22630FIR IDE: Lazy resolve exception after invocation ofOverride membersaction on value class -
KT-49643Intentions: "Implement members" fails when base type function declaration uses unresolved generic types
IDE. JS
-
KTIJ-22167Make JS IR default in projects created by wizard -
KTIJ-22332Wizard: Kotlin/JS projects: cssSupport DSL should be updated
IDE. KDoc
-
KTIJ-22324K2 IDE: implement reference resolve inside KDocs
IDE. Multiplatform
-
KTIJ-19566New Project Wizard: Update HMPP-related flags in multiplatform wizards
IDE. Navigation
-
KT-51314FIR IDE: show Kotlin declarations in search symbol -
KTIJ-22755Find usage for constructor from kotlin library doesn't work for secondary constructor usages
IDE. Script
-
KTIJ-22598Add warning for standalone scripts in source roots -
KT-54325.settings.gradle.kts and .init.gradle.kts are reported as standalone scripts
IDE. Structural Search
-
KTIJ-21986KSSR: "CodeFragment with non-kotlin context should have fakeContextForJavaFile set: originalContext = null" warning shows up when replacing
IDE. Tests Support
-
KT-50269FIR IDE: Allow running tests via gutter
IDE. Wizards
-
KTIJ-23537Wizard: projects with Android modules require higher sdkCompileVersion -
KTIJ-23525Wizard: Compose multiplatform: project won't build and require higher compileSdkVersion -
KTIJ-22763New Project Wizard: remove deprecated Android extensions plugin from Android target in the project constructor -
KTIJ-22481Wizard: Kotlin -> Browser application (gradle groove). Build error
JavaScript
Fixes
-
KT-55097KJS / IR + IC: Using an internal function from a friend module throws an unbound symbol exception -
KT-54406Kotlin/JS: build with dependencies fails with "Could not find "kotlin" in [~/.local/share/kotlin/daemon]" -
KT-53074Make JS IR BE default in toolchain (gradle & CLI) -
KT-50589UTF-8 Instability in kotlin.js.map -
KT-54934KJS / IR + IC: Suspend abstract function stubs are generated with unstable lowered ic signatures -
KT-54895KJS / IR + IC: broken cross module references for function default param wrappers -
KT-54520KJS / IR Allow IdSignature clashes -
KT-54120JS IR + IC: pointless invalidation of dependent code after modifying companions -
KT-53986KJS / IR + IC: compiler produces different JS file names with IC and without IC -
KT-54010JS IR + IC: Force IC cache invalidation after updating language version or features -
KT-53931KJS / Gradle: Regression with 1.7.20-RC: ReferenceError: println is not defined -
KT-53968Kotlin/JS: no UninitializedPropertyAccessException on access to non-initialized lateinit property defined in dependencies -
KT-54686KJS / IR: Incorrect generation of signatures when one of argument is nested class -
KT-54479KJS / IR + IC: Adding or removing companion fields leads java.lang.IllegalStateException in the compiler IC infrastructure -
KT-54382KJS / IR: Wrong type check for inheritors of suspend functions -
KT-54323KJS / IR + IC: Intrinsics from stdlib may lose their dependencies in incremental rebuild -
KT-53361KJS / IR: No debug info is generated for in-line js code -
KT-53321Implement Enum.entries lowering on JS/IR -
KT-53112KJS IR turn on IC infra by default -
KT-50503Kotlin/JS: IR + IC: compileTestDevelopmentExecutableKotlinJs fails with ISE: "Could not find library" after removing module dependency -
KT-54011JS IR + IC: EnumEntries don't work well when IC is enabled -
KT-53672KJS / IR: "IndexOutOfBoundsException: Index 0 out of bounds for length 0" caused by function reference to extension function of reified type variable -
KT-43455KJS: IR. Incremental compilation problem with unbound symbols -
KT-53539KJS: Exported class inherited non-exported class shows warning -
KT-53443KJS/IR: NullPointerException caused by anonymous objects inside lambdas -
KT-52795K/JS and K/Native IR-validation/compilation errors for a valid kotlin code -
KT-52805KJS/IR: Invalid call of inline function inalsoblock -
KT-51151KJS / IR: Wrong overloaded generic method with receiver is called -
KT-52830KJS/IR: Sourcemap disabling doesn't work -
KT-52968KJS / IR: Buggy generation of overridden methods -
KT-53063KJS / IR + IC: undefined cross module reference for implemented interface functions -
KT-51099KJS / IR + IC: Cache invalidation doesn't check generic class variance annotations (in, out) -
KT-51090KJS / IR + IC: Cache invalidation doesn't check suspend qualifier -
KT-51088KJS / IR + IC: Cache invalidation doesn't check class qualifiers (data, inline) -
KT-51083KJS / IR + IC: Cache invalidation doesn't check inline function which was non inline initially -
KT-51896KJS / IR + IC: Cache invalidation doesn't trigger rebuild for fake overridden inline functions
Language Design
-
KT-48385Deprecate confusing grammar in when-with-subject -
KT-48516Forbid@Synchronizedannotation on suspend functions -
KT-41886Ability to require opt-in for interface implementation, but not for usage -
KT-34943OVERLOAD_RESOLUTION_AMBIGUITY inconsistent with the equivalent Java code -
KT-51334Implement type-bound labelthis@Type
Libraries
New Features
-
KT-21007Provide Kotlin OSGI Bundle with extensions for JRE8 (and JRE7) -
KT-54082Comparable and subtractible TimeMarks -
KT-52928Provide copyToRecursively and deleteRecursively extension functions for java.nio.file.Path -
KT-49425Update OptIn documentation to reflect latest design changes -
KT-54005Allow callingdeclaringJavaClasson Enum -
KT-52933rangeUntil members in built-in types
Performance Improvements
-
KT-53508Cache typeOf-related KType instances when kotlin-reflect is used
Fixes
-
KT-51907Switch JVM target of the standard libraries to 1.8 -
KT-54835Document that Iterable.all(emptyCollection) returns TRUE. -
KT-54168Expand on natural order in comparator docs -
KT-53277Stabilize experimental API for 1.8 -
KT-53864Review deprecations in stdlib for 1.8 -
KT-47707Remove the system property and the brittlecontainsoptimization code itself -
KT-52336Different behavior on JVM and Native in stringBuilder.append(charArray, 0, 1) -
KT-53927Remove deprecation from ConcurrentModificationException constructors -
KT-53152Introduce EnumEntries to stdlib as backing implementation of Enum.entries -
KT-53134stdlib > object Charsets > not thread safe lazy initialization -
KT-51063Gradle project with JPS runner: "JUnitException: Failed to parse version" JUnit runner internal error with JUnit -
KT-52908Native: setUnhandledExceptionHook swallows exceptions
Native
-
KT-51043Kotlin Native: ObjC-Interop: kotlin.ClassCastException: null cannot be cast to kotlin.Function2 -
KT-50786Native: prohibit suspend calls inside autoreleasepool {} -
KT-52834Implement test infrastructure for K2/Native
Native. C Export
-
KT-36878Reverse C Interop: incorrect headers generation for primitive unassigned type arrays -
KT-53599[Reverse C Interop] Provide box/unbox API for unsigned primitive types -
KT-41904Kotlin/Native : error: duplicate member for interface and function with the same name -
KT-42830[Reverse C Interop] Add API to get value of boxed primitives -
KT-39496K/N C: optional unsigned types as function parameters crash the compiler -
KT-39015Cannot compile native library with nullable inline class
Native. C and ObjC Import
-
KT-54738Cocoapods cinterop: linking platform.CoreGraphics package -
KT-54001Kotlin/Native: support header exclusion in cinterop def files -
KT-53151Native: Custom declarations in .def don't work with modules, only headers
Native. ObjC Export
-
KT-53680Obj-C refinement annotations -
KT-54119Native: runtime assertion failed due to missing thread state switch -
KT-42641Don't export generated component* methods from Kotlin data classes to Obj-C header
Native. Platform Libraries
-
KT-54225Native: update to Xcode 14.1 -
KT-54164Native: commonizer fails on CoreFoundation types -
KT-39747Why is there no WinHttp API in Kotlin/Native's Windows API?
Native. Runtime
-
KT-49228Kotlin/Native: Allow to unset unhandled exception hook -
KT-27305Fix FILE macro insideRuntimeCheckandRuntimeAssert
Native. Runtime. Memory
-
KT-54498Deprecation message of 'FreezingIsDeprecated' is not really helpful -
KT-53182New memory manager: Unexpected memory usage on IOS
Native. Stdlib
-
KT-52429Small Usability Improvements for Worker API
Reflection
-
KT-54629Incorrectly cached class classifier -
KT-54611KTypeImpldoes not take into account class loader from theclassifierproperty -
KT-48136MakeReflection.getOrCreateKotlinPackageuse cache whenkotlin-reflectis used -
KT-50705Use ClassValue to cache KClass objects in kotlin-reflect -
KT-53454Properly cache the same class's KClass when it's loaded by multiple classloaders in getOrCreateKotlinClass
Specification
-
KT-54210Update Kotlin specification to mention that since 1.8 generics in value classes are allowed
Tools. CLI
-
KT-54116Add JVM target bytecode version 19 -
KT-53278Support values 6 and 8 for -Xjdk-release -
KT-46312CLI: Kotlin runner should use platform class loader to load JDK modules on Java 9+
Tools. Commonizer
-
KT-54310Commonizer fails on 1.8.0-dev K/N distributions -
KT-48576[Commonizer] platform.posix.pselect not commonized in Ktor
Tools. Compiler Plugins
-
KT-46959Kotlin Lombok: Support generated builders (@Builder) -
KT-53683Unresolved reference compilation error occurs if a file is annotated with@Singular and has any guava collection type : ImmutableTable, ImmutableList or else -
KT-53657[K2] Unresolved reference compilation error occurs if a field is annotated with@Singular and has type NavigableMap without explicit types specification -
KT-53647[K2] Unresolved reference compilation error occurs if a field is annotated with@Singular and has type Iterable<> -
KT-53724Param of the@Singular lombok annotation ignoreNullCollections=true is ignored by kotlin compiler -
KT-53451[K2] References to methods generated by@With lombok annotation can't be resolved with enabled K2 compiler -
KT-53721[K2] There is no compilation error while trying to add null as a param of the field with non-null type -
KT-53370Kotlin Lombok compiler plugin can't resolve methods generated for java boolean fields annotated with@With annotation
Tools. Compiler plugins. Serialization
-
KT-54878JVM/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-55340Argument for kotlinx.serialization.UseSerializers does not implement KSerializer or does not provide serializer for concrete type -
KT-55296Improve exceptions in serialization plugin -
KT-55180KJS: regression in serialization for Kotlin 1.8.0-beta -
KT-53157Recursion detected in a lazy value under LockBasedStorageManager in kotlinx.serialization -
KT-54297Regression in serializable classes with star projections -
KT-49660kotlinx.serialization: IndexOutOfBoundsException for parameterized sealed class -
KT-43910JS IR: Serialization with base class: "IndexOutOfBoundsException: Index 0 out of bounds for length 0"
Tools. Daemon
-
KT-52622Kotlin/JS, Kotlin/Common compilations start Kotlin daemon incompatible with Kotlin/JVM compilation on JDK 8
Tools. Gradle
New Features
-
KT-27301Expose compiler flags via Gradle lazy properties -
KT-53357Change single build metrics property -
KT-50673Gradle: KotlinCompile task(s) should use@NormalizeLineEndings -
KT-34464Kotlin build report path not clickable in the IDE
Performance Improvements
-
KT-51525[Gradle] Optimize evaluating args for compile tasks -
KT-52520Remove usage of reflection from CompilerArgumentsGradleInput
Fixes
-
KT-48843Add ability to disable Kotlin daemon fallback strategy -
KT-55334kaptGenerateStubs passes wrong android variant module names to compiler -
KT-55255Gradle: stdlib version alignment fails build on dynamic stdlib version. -
KT-55363[K1.8.0-Beta] Command line parsing treats plugin parameters as source files -
KT-54993Raise kotlin.jvm.target.validation.mode check default level to error when build is running on Gradle 8+ -
KT-54136Duplicated classes cause build failure if a dependency to kotlin-stdlib specified in an android project -
KT-50115Setting toolchain via Java extension does not configure 'kotlinOptions.jvmTarget' value when Kotlin compilation tasks are created eagerly -
KT-55222Migrate AndroidDependencyResolver to the new Gradle API -
KT-55119There is no validation for different jvmTarget and targetCompatibility values in multiplatform projects with jvm target and used java sources -
KT-55102Compile java task fails with different target version in pure kotlin project -
KT-54995[1.8.0-Beta] compileAppleMainKotlinMetadata fails on default parameters withNo value passed for parameter 'mustExist' -
KT-35003Automatically set targetCompatibility for kotlin-jvm projects to work with gradle 6 metadata -
KT-45335kotlinOptions.jvmTarget conflicts with Gradle variants -
KT-48798Android: going from one to more than one productFlavor causes inputs of commonSourceSet$kotlin_gradle_plugin property of compileKotlin task to change -
KT-55019Gradle sync: UnknownConfigurationException when adding implementation dependencies to a Kotlin with Java compilation -
KT-55004jvmTarget value is ignored by depending modules if a task "UsesKotlinJavaToolchain" is configured for all project modules using allProjects {} -
KT-54888Add Gradle property to suppress kotlinOptions.freeCompilerArgs modification on execution phase -
KT-54399Undeprecate 'kotlinOptions' DSL -
KT-54306Change the naming of newly added Compiler*Options classes and interfaces -
KT-54580KotlinOptions in AbstractKotlinCompilation class are deprecated -
KT-54653java.lang.NoClassDefFoundError: kotlin/jdk7/AutoCloseableKt exception if a dependency to the kotlin-stdlib is added -
KT-52624Compatibility with Gradle 7.3 release -
KT-54703Stdlib substitution does not work with JPMS modules -
KT-54602Prevent leaking Gradle Compile DSL types into compiler cli runtime -
KT-54439Project failed to sync Native LaguageSettings to compiler options in afterEvaluate -
KT-53885Bump minimal supported Gradle version to 6.8.3 -
KT-53773Protect and system properties can contain sensitive data -
KT-53732Add custom values limits for build scan reports -
KT-52623Compatibility with Gradle 7.2. release -
KT-51831Gradle: removekotlin.compiler.execution.strategysystem property -
KT-51679Change deprecation level to error for KotlinCompile setClasspath/getClasspath methods -
KT-54335Kotlin build report configuration. There is no validation for SINGLE_FILE output if the required kotlin.build.report.single_file property is empty or absent -
KT-54356Kotlin build report configuration. Wrong path is used for the property kotlin.internal.single.build.metrics.file -
KT-53617KotlinCompilerExecutionStrategy value is ignored by depending modules if configure once for all project modules using allProjects {} -
KT-53823Kotlin Gradle Plugin uses deprecated Gradle API: Provider.forUseAtConfigurationTime() -
KT-54142Increase Kotlin Gradle plugin Gradle target API to 7.5 -
KT-50161Android variant filter breaks KotlinCompile cache compatibility -
KT-54113LanguageSettings to KotlinNativeLink.toolOptions sync are executed on the wrong context -
KT-53830Versions of kotlin-stdlib-jdk8 and kotlin-stdlib-jdk7 aren't overrided if added as transitive dependencies to kotlin-stdlib -
KT-54112Missing target input on KotlinNativeLink task -
KT-45879Documentation: Wrong kotlin languageVersion "1.6 (EXPERIMENTAL)" -
KT-54103Remove JvmTarget.JVM_1_6 from generated Gradle compiler type -
KT-52959KMP code is breaking Gradle project isolation -
KT-50598MULTIPLE_KOTLIN_PLUGINS_SPECIFIC_MROJECTS_WARNING is only shown on first build -
KT-53246Gradle: Special characters in paths of errors and warnings should be escaped -
KT-47730How to avoid stdlib coming from Kotlin gradle plugin -
KT-52209Corrupted cache and non-incremental build if produce caches "in process" and restore then compiling with kotlin daemon -
KT-41642"TaskDependencyResolveException: Could not determine the dependencies" when trying to apply stdlib -
KT-53390Drop usage of -Xjava-source-roots when passing java sources required for Kotlin compilation -
KT-52984Kotlin Gradle plugin is misbehaving by resolving DomainObjectCollection early -
KT-38622Non-incremental compilation because of R.jar with Android Gradle plugin 3.6 -
KT-38576AnalysisResult.RetryWithAdditionalRoots crashes during incremental compilation with java classes in classpath
Tools. Gradle. Cocoapods
-
KT-54314Cocoapods: Signing pod dependency for Xcode 14 -
KT-54060Xcode 14: disable bitcode embedding for Apple frameworks -
KT-53340Change default linking type for frameworks registered by cocoapods plugin -
KT-53392Deprecate and delete downloading pod dependencies by direct link -
KT-53695Build of macOS application fails if a framework is integrated via Cocoapods plugin
Tools. Gradle. JS
-
KT-53367KJS: Migrate cssSupport API -
KT-45789KJS / IR: Transitive NPM dependencies are not included in PublicPackageJsonTask output -
KT-55099K/JS: Second declaration of JS target without compiler type report warning incorrectly -
KT-52951[KGP/JS] Browser test target registration via properties -
KT-52950KJS: Report if yarn.lock was updated during built -
KT-53374KJS / Gradle: Implement IDEA sync detection logic via ValueSource to improve configuration cache support -
KT-53381Kotlin/JS: with erased kotlin-js-store/ and reportNewYarnLock = true the task kotlinUpgradeYarnLock always fails -
KT-53788KJS / Gradle: Disable Gradle build cache for KotlinJsDce when development mode is enabled -
KT-53614Kotlin/JS upgrade npm dependencies
Tools. Gradle. Multiplatform
New Features
-
KT-53396Support 'implementation platform()' by gradle kotlin mpp plugin for JVM target -
KT-40489MPP / Gradle: support BOM (enforcedPlatform) artifacts in source set dependencies DSL
Performance Improvements
-
KT-52726[MPP] Optimize caching/performance/call-sites of 'compilationsBySourceSets'
Fixes
-
KT-54634MPP: Test Failure causes:KotlinJvmTest$Executor$execute$1 does not define failure -
KT-35916Gradle MPP plugin: Configurations for a main compilation and its default source set have different naming -
KT-46960Repeated kotlin/native external libraries in project -
KT-27292MPP: jvm { withJava() }: Gradle build: Java source under Kotlin root is resolved while building, but does not produce output class files -
KT-34650Naming clash in MPP+Android: androidTest vs androidAndroidTest -
KT-54387Remove MPP alpha stability warning -
KT-31468Targets disambiguation doesn't work if a depending multiplatform module useswithJava()mode -
KT-54090Take an Apple test device from the device list -
KT-54301KotlinToolingVersionOrNull: IllegalArgumentException -
KT-53256Implement K/N compiler downloading for KPM -
KT-45412KotlinCompilation: Make sure .kotlinSourceSets and .allKotlinSourceSets include the default source set -
KT-49202Tests 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 Junit5
Tools. Gradle. Native
New Features
-
KT-43293Support Gradle configuration caching with Kotlin/Native -
KT-53107Add arm64 support for watchOS targets (Xcode 14)
Fixes
-
KT-53704Native cinterop: eager header path calculation -
KT-54814Kotlin/Native: Github Actions: Testing watchOSX64 with Xcode 14 — Invalid device: Apple Watch Series 5 -
KT-54627Native: :commonizeNativeDistribution with configuration cache enabled fails even when set to warn on JDK 17 -
KT-54339Link tasks fail if Gradle Configuration Cache is enabled -
KT-53191Native cinterop sync problem with gradle -
KT-54583watchosDeviceArm64 target shouldn't register test tasks -
KT-52303Gradle / Native: Build tasks ignore project.buildDir -
KT-54442Gradle iOS test tasks fail if a device is not selected explicitly -
KT-54177Gradle: DeprecateenableEndorsedLibsflag -
KT-47355Support macos target for FatFramework task -
KT-53339MPP / CocoaPods: The static framework fails to install on a real iOS device -
KT-31573Missing description for Native Gradle tasks -
KT-53131Gradle Sync: "NoSuchElementException: Array contains no element matching the predicate" with CocoaPods -
KT-53686Task assembleReleaseXCFramework fails with "error: the path does not point to a valid framework" if project name contains a dash
Tools. Incremental Compile
-
KT-54144New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline function with custom JvmName -
KT-53871New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline property accessor -
KT-19804Relocatable IC caches
Tools. JPS
-
KT-45474False positive NO_ELSE_IN_WHEN on sealed class with incremental compilation -
KT-54228Switching abstract to sealed classes causes incremental issue -
KT-38483JPS: Stopping compilation causes IDE CompilationCanceledException -
KT-50310False positive NO_ELSE_IN_WHEN on incremental build when adding sealed classes -
KT-48813Move cache version to compiler -
KTIJ-921JPS: FileNotFoundException on project build in mixed Kotlin/Scala project
Tools. Kapt
-
KT-54187JVM IR + kapt: incorrect modifierfinalis generated for nested enum in interface -
KT-48827Remove 'kapt.use.worker.api' property
Tools. Scripts
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by Renovate Bot