Update dependency org.jetbrains.kotlin:kotlin-maven-allopen to v1.7.0
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| org.jetbrains.kotlin:kotlin-maven-allopen (source) | build | minor |
1.6.21 -> 1.7.0
|
Release Notes
JetBrains/kotlin
v1.7.0
Changelog
Analysis API. FIR
-
KT-50864Analysis API: ISE: "KtCallElement should always resolve to a KtCallInfo" is thrown on call resolution inside plusAssign target -
KT-50252Analysis API: Implement FirModuleResolveStates for libraries -
KT-50862Analsysis API: do not create use site subsitution override symbols
Analysis API. FIR Low Level API
-
KT-50729Type bound is not fully resolved -
KT-50728Lazy resolve of extension function from 'kotlin' package breaks over unresolved type -
KT-50271Analysis API: get rid of using FirRefWithValidityCheck
Backend. Native. Debug
-
KT-50558K/N Debugger. Error is not displayed in variables view for catch block
Compiler
New Features
-
KT-26245Add ability to specify generic type parameters as not-null -
KT-45165Remove JVM target version 1.6 -
KT-27435Allow implementation by delegation to inlined value of inline class -
KT-47939Support method references to functional interface constructors -
KT-50775Support IR partial linkage in Kotlin/Native (disabled by default) -
KT-51737Kotlin/Native: Remove unnecessary safepoints on watchosArm32 and iosArm32 targets -
KT-44249NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER with type usage in higher order function
Performance Improvements
-
KT-48233Switching to JVM IR backend increases compilation time by more than 15% -
KT-51699Kotlin/Native: runtime has no LTO in debug binaries -
KT-34466Use optimized switch over enum only when all entries are constant enum entry expressions -
KT-50861FIR: Combination of array set convention and plusAssign works exponentially -
KT-47171For loop doesn't avoid boxing with value class iterators (JVM) -
KT-29199'next' calls for iterators of merged primitive progressive values are not specialized -
KT-50585JVM IR: Array constructor loop should use IINC -
KT-22429Optimize 'for' loop code generation for reversed arrays -
KT-50074Performance regression in String-based 'when' with single equality clause -
KT-22334Compiler backend could generate smaller code for loops using range such as integer..array.size -1 -
KT-35272Unnecessary null check on unsafe cast after not-null assertion operator -
KT-27427Optimize nullable check introduced with 'as' cast
Fixes
-
KT-46762Finalize support for jspecify -
KT-51499@file:OptIndoesn't cover override methods -
KT-52037FIR: add error in 1.7.0 branch if run with non-compatible plugins -
KT-46756Release the K2/JVM compiler in Alpha -
KT-49715IR: "IllegalStateException: Function has no body: FUN name:toString" during IR lowering with shadowed extension inside interface -
KT-45508False negative ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED on a fake override with an abstract super class member -
KT-28078Report error "Public property exposes its private type" for primary constructor properties instead of warning -
KT-49017Forbid usages of super or super if in fact it accesses an abstract member -
KT-38078Prohibit calling methods from Any with "super" qualifier once they are overridden as abstract in superclass -
KT-52363Evaluate impact of qualifiedthisbehavior change warnings -
KT-52561JVM: Coroutine state machine loses value after a check-induced smart cast -
KT-52311java.lang.VerifyError: Bad type on operand stack -
KT-41124Inconsistency of exceptions at init block for an enum entry with and without a qualifier name -
KT-46860Make safe calls always nullable -
KT-52503New green code appeared at the callable reference resolution -
KT-51925Native: "IllegalStateException: Symbol for kotlinx.cinterop/CStructVar|null[0] is unbound" caused by inline function -
KT-49317"IllegalStateException: Parent of this declaration is not a class: FUN LOCAL_FUNCTION_FOR_LAMBDA" with parameter of suspend type with the default parameter -
KT-51844New errors in overload resolution involving vararg extension methods -
KT-52006"java.lang.Throwable: Unbalanced tree Exception" on indexing kotlin project -
KT-51223Report warning about conflicting inherited members from deserialized dependencies -
KT-51439FE 1.0: implement type variance conflict deprecation on qualifier type arguments -
KT-51433FE 1.0: implement warnings about label resolve changes -
KT-51317Regression in resolution of lambdas where expected type has an extension receiver parameter -
KT-45935JVM IR: Add not-null assertion for explicit definitely not-null parameters -
KT-51818"ClassCastException: class CoroutineSingletons cannot be cast to class" with suspendCoroutineUninterceptedOrReturn and coroutines -
KT-51718JVM / IR: "VerifyError: Bad type on operand stack" caused by nullable variable inside suspend function -
KT-51927Native:The symbol of unexpected type encountered during IR deserializationerror when multiple libraries have non-conflicting declarations with the same name -
KT-52394JVM: Missing annotation on method with value class return type when a subclass is present in the same file in Kotlin 1.7.0-Beta -
KT-51640FIR: remove warning about "far from being production ready" -
KT-45553FIR: support hiding declaration from star import by as import -
KT-52404Prolong deprecation cycle for errors at contravariant usages of star projected argument from Java -
KT-50734TYPE_MISMATCH: NonNull parameter with a type of Nullable type argument causes compiler warning -
KT-51235JVM / IR: "AbstractMethodError: Receiver class does not define or inherit an implementation of the resolved method" when property with inline class type is overridden to return Nothing? -
KT-48935NI: Multiple generic parameter type constraints are not applied as expected when the parameter is of function type -
KT-49661NI: No TYPE_INFERENCE_UPPER_BOUND_VIOLATED when argument is inferred by return type -
KT-50877Inconsistent flexible type -
KT-51988"NPE: getContainingDeclaration…lDeclarationType.REGULAR) must not be null" when using@BuilderInferencewith multiple type arguments -
KT-48890Revert Opt-In restriction "Overriding methods can only have opt-in annotations that are present on their basic declarations." -
KT-52035FIR: add error in 1.7.0 branch if run on JS / Native configuration -
KT-45461NI: False negative TYPE_INFERENCE_UPPER_BOUND_VIOLATED when passing an argument to a function with generic constraints -
KT-52146JVM IR: "AssertionError: Primitive array expected" on vararg of SAM types with self-type and star projection -
KT-50730Implement error for a super class constructor call on a function interface in supertypes list -
KT-52040JVM: ClassFormatError Illegal method name "expectFailure$__proxy-0" -
KT-50845Postpone rxjava errors reporting in the strict mode till 1.8 due to found broken cases -
KT-51979"AssertionError: No modifier list, but modifier has been found by the analyzer" exception on incorrect Java interface override -
KT-51759FIR DFA: false positive "Variable must be initialized" -
KT-50378Unresolved reference for method in Jsoup library in a kts script file -
KT-34919"Visibility is unknown yet" when named parameter in a function type used in a typealias implemented by an abstract class -
KT-51893Duplicated [OVERRIDE_DEMRECATION] on overridden properties -
KT-41034K2: Change evaluation semantics for combination of safe calls and convention operators -
KT-51843Functional interface constructor references are incorrectly allowed in 1.6.20 without any compiler flags -
KT-51914False positive RETURN_TYPE_MISMATCH in intellij ultimate -
KT-51711Compiler warning is displayed in case there is 'if' else branch used with elvis -
KT-33517Kotlin ScriptEngine does not respect async code when using bindings -
KT-51850FIR cannot resolve ambiguity with different SinceKotlin/DeprecatedSinceKotlin -
KT-44705Deprecate using non-exhaustive if's and when's in rhs of elvis -
KT-44510FIR DFA: smartcast after elvis with escaping lambda -
KT-44879FIR DFA: Trackincanddecoperator calls in preliminary loop visitor -
KT-51758FIR: explicit API mode errors should not be reported for effectively internal / private entities -
KT-51203FIR: Inconsistent RETURN_TYPE_MISMATCH and TYPE_MISMATCH reporting on functions and properties -
KT-51624FIR: false-positive INAPPLICABLE_LATEINIT_MODIFIER for lateinit properties with unresolved types -
KT-51204FIR IC: Incremental compilation fails on nested crossinline -
KT-51798Fix ISE from IR backend when data class inherits equals/hashCode/toString with incompatible signature -
KT-46187FIR: OVERLOAD_RESOLUTION_AMBIGUITY on SAM-converted callable reference to List::plus -
KT-51761Incorrect NONE_APPLICABLE in expect class -
KT-51756FIR: false positive NO_VALUE_FOR_PARAMETER in expect class delegated constructor call -
KT-49778Support cast to DefinitelyNotNull type in Native -
KT-51441-Xpartial-linkage option specified in Gradle build script is not passed to Native linker -
KT-34515NI: "AssertionError: Base expression was not processed: POSTFIX_EXMRESSION" with double not-null assertion to brackets -
KT-48546PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression" with recursive property access in lazy block -
KT-28109"AssertionError: No setter call" for incrementing parenthesized result of indexed access convention operator -
KT-46136Unsubstituted return type inferred for a function returning anonymous object upcast to supertype -
KT-51364FIR: ambiguity due to String constructors clash -
KT-51621FIR: visible VS invisible qualifier conflict -
KT-50468FIR compilers fails with CCE when meets top-level destruction -
KT-51557Inline stack frame is not shown for default inline lambda -
KT-51358OptIn: show default warning/error message in case of empty message argument -
KT-44152FIR2IR fails on declarations from java stdlib if java classes are loaded from PSI instead of binaries -
KT-50949PSI2IR: NSEE fromArgumentsGenerationUtilsKt.createFunctionForSuspendConversionwith providing lambda as argument with suspend type -
KT-39256ArrayStoreException with list of anonymous objects with inferred types created in reified extension function -
KT-39883Deprecate computing constant values of complex boolean expressions in when condition branches and conditions of loops -
KT-36952Exception during codegen: cannot pop operand off an empty stack (reference equality, implicit boxing, type check) -
KT-51233AssertionError in JavaLikeCounterLoopBuilder with Compose -
KT-51254Verify Error on passing null to type parameter extending inline class -
KT-50996[FIR] Support Int -> Long conversion for property initializers -
KT-51000[FIR] Support Int -> Long? conversion -
KT-51003[FIR] Consider Int -> Long conversion if expected type is type variable -
KT-51018[FIR] Wrong type inference if one of constraints is integer literal -
KT-51446Metadata serialization crashes with IOOBE when deserializing underlying inline class value with type table enabled -
KT-50973Redundant line number mapping for finally block with JVM IR -
KT-51272Incompatible types: KClass and callable reference Collection::class -
KT-51274"Expected some types" exception on when branch for when expression of erroneous type -
KT-51229FIR: private constructor of internal data class treated as internal and not private -
KT-50750[FIR] Report UNSUPPORTED on array literals not from annotation classes -
KT-51200False EXPOSED_PARAMETER_TYPE for internal type parameter of internal type -
KT-49804False positive of UPPER_BOUND_VIOLATED and RETURN_TYPE_MISMATCH -
KT-51121Inconsistent SAM behavior in multiple cases causing AbstractMethodError (Kotlin 1.6.10) -
KT-50136FIR: syntax error on (T & Any) -
KT-49465FIR2IR: support definitely not-null types -
KT-51357FIR: error in inference while using integer literal in expected Long position -
KT-49925[FIR] Incorrect builder inference (different cases) -
KT-50542"IllegalStateException: Type parameter descriptor is not initialized: T declared in sort" with definitely non-null type Any & T in generic constraint -
KT-51171FIR: classErrorresolution problem -
KT-51156Multiplatform linkDebugFramework task throws NoSuchElementException when expect class constructors utilize nested enum constant -
KT-51017[FIR] Ambiguity on callable reference between two functions on generic receiver with different bounds -
KT-51007[FIR] False positive ILLEGAL_SUSPEND_FUNCTION_CALL if fun interface with suspend function declared in another module -
KT-50998[FIR] Int.inv() cal does not considered as compile time call -
KT-51009[FIR] Incorrect inference of lambda in position of return -
KT-50997[FIR] Incorrect type of typealias for suspend functional type -
KT-49714Compiler reports "'operator modifier is inapplicable" if expect class with increment operator is provided via type alias -
KT-48623Type nullability enhancement improvements -
KT-44623"IllegalStateException: IdSignature is allowed only for PublicApi symbols" when suspending receiver is annotated with something -
KT-46000JVM / IR: AssertionError on isSubtypeOfClass check in copyValueParametersToStatic with Compose -
KT-50211Annotation Instantiation with default arguments in Native -
KT-49412Controversial "type argument is not within its bounds" reported by FIR -
KT-48044[FIR] Investigate behavior ofUPPER_BOUND_VIOLATEDon complex cases -
KT-37975Don't show deprecation of enum class itself for its own member -
KT-50737Inheritance from SuspendFunction leads to compiler crash -
KT-50723Implement a fix of reporting of uninitialized parameter in default values of parameters -
KT-50749Implement UNSUPPORTED reporting on array literals inside objects in annotation classes -
KT-50753Implement reporting errors on cycles in annotation parameter types -
KT-50758Fix inconsistency of exceptions at init block for an enum entry with and without a qualifier name -
KT-50182CONST_VAL_NOT_TOP_LEVEL_OR_OBJECT: clarify error message forconstin object expression -
KT-50183Fix missing apostrophe escapes in compiler error messages -
KT-50788FIR: false unsafe call on not-null generic -
KT-50785FIR: inconsistent smart cast after comparison with true -
KT-50858[FIR LL] FIR in low level mode creates multiple symbols for same declaration -
KT-50822Analysis API: make declaration transformers machinery to be a thread safe -
KT-50972FIR doesn't report VAL_REASSIGNMENT on synthetic properties -
KT-50969FIR: diamond inheritance with different parameter types depends on a supertype order -
KT-50875FIR: no smart cast after reassignment with elvis -
KT-50835Inline functions with suspend lambdas break the tail-call optimization -
KT-49485JVM / IR: StackOverflowError with long when-expression conditions -
KT-35684NI: "IllegalStateException: Expected some types" from builder-inference about intersecting empty types on trivial code -
KT-50776FIR: ambiguity between Sequence.forEach and Iterable.forEach -
KT-48908Error for annotation on parameter type could have distinct ID and message referring 1.6 -
KT-48907SUPERTYPE_IS_SUSPEND_FUNCTION_TYPE error could have message referring version 1.6 -
KT-50774FIR2IR: NSEE in case of lambda in enum entry constructor call -
KT-49016Drop QUALIFIED_SUPERTYPE_EXTENDED_BY_OTHER_SUPERTYPE diagnostic -
KT-34338Parameterless main causes duplicate JVM signature error -
KT-50577JVM_IR: No NPE when casting uninitialized value of non-null type to non-null type -
KT-50476JVM_IR: NSME when calling 'super.removeAt(Int)' implemented in Java interface as a default method -
KT-50257JVM_IR: Incorrect bridge delegate signature for renamed remove(I) causes SOE with Kotlin class inherited from fastutils IntArrayList -
KT-50470FIR: inapplicable candidate in delegate inference due to nullability -
KT-32744Inefficient compilation of null-safe call (extra null checks, unreachable code)
Docs & Examples
-
KT-52032Document performance optimizations of the Kotlin/JVM compiler in 1.7.0 -
KT-49424Update KEEP for OptIn
IDE
Fixes
-
KTIJ-21735Exception when opening a project -
KTIJ-17414UAST: Synthetic enum methods have null return values -
KTIJ-17444UAST: Synthetic enum methods are missing nullness annotations -
KTIJ-19043UElement#comments is empty for a Kotlin property with a getter -
KTIJ-10031IDE fails to suggest a project declaration import if the name clashes with internal declaration with implicit import from stdlib (ex.@Serializable) -
KTIJ-21515Load JVM target 1.6 as 1.8 in Maven projects -
KTIJ-21151Exception about wrong read access from "Java overriding methods searcher" with Kotlin overrides -
KTIJ-20736NoClassDefFoundError: Could not initialize class org.jetbrains.kotlin.idea.roots.KotlinNonJvmOrderEnumerationHandler. Kotlin plugin 1.7 fails to start -
KT-50111Resolving into KtUltraLightMethod -
KTIJ-21063IDE highlighting: False positive error "Context receivers should be enabled explicitly" -
KTIJ-20810NoClassDefFoundError: org/jetbrains/kotlin/idea/util/SafeAnalyzeKt errors in 1.7.0-master-212 kotlin plugin on project open -
KTIJ-19088KotlinUFunctionCallExpression.resolve() returns null for calls to@JvmSyntheticfunctions -
KTIJ-17869KotlinUFunctionCallExpression.resolve() returns null for instantiations of local classes with default constructors -
KTIJ-21061UObjectLiteralExpression.getExpressionType() returns the base class type for Kotlin object literals instead of the anonymous class type -
KTIJ-20200UAST:@Deprecated(level=HIDDEN)constructors are not returning UMethod.isConstructor=true -
KTIJ-19624NoDescriptorForDeclarationException on iosTest.kt.vm
IDE. Code Style, Formatting
-
KTIJ-20554Introduce some code style for definitely non-null types
IDE. Completion
-
KTIJ-14740Multiplatform declaration actualised in an intermediate source set is shown twice in a completion popup called in the source set
IDE. Debugger
-
KTIJ-20815MPP Debugger: Evaluation of expect function for the project with intermediate source set may fail with java.lang.NoSuchMethodError
IDE. Decompiler, Indexing, Stubs
-
KTIJ-21472"java.lang.IllegalStateException: Could not read file" exception on indexing invalid class file -
KTIJ-20802Definitely Not-Null types: "UpToDateStubIndexMismatch: PSI and index do not match" plugin error when trying to use library function with T&Any -
KT-51248Function and parameter names with special symbols have to backticked
IDE. FIR
-
KTIJ-20443FIR IDE: Work in Dumb mode -
KTIJ-21374FIR IDE: Incorrect highlighting for operators -
KTIJ-21013FIR IDE: Inconsistent smartcasts highlighting -
KTIJ-21343FIR IDE: Navigation from explicit invoke call does not work -
KTIJ-20852FIR IDE: Exception when checkingisInheritoron two classes in different modules -
KTIJ-21021FIR IDE: Completion of extension function does not work on nullable receiver -
KTIJ-20637FIR IDE: Strange exception while commenting-uncommenting FirReferenceResolveHelper.kt -
KTIJ-20971FIR IDE: "Parameter Info" shows parameters of uncallable methods
IDE. Gradle Integration
-
KTIJ-21807Gradle to IDEA import: language and API version settings are not imported for Native facet -
KTIJ-21692Kotlin Import Test maintenance: 1.7.0-Beta -
KTIJ-20567Kotlin/JS: Gradle import into IDEA creates no proper sub-modules, source sets, facets
IDE. Hints. Inlay
-
KTIJ-20552Support definitely non-null types in inlay hints
IDE. Inspections and Intentions
New Features
-
KTIJ-18979Quickfix for INTEGER_OPERATOR_RESOLVE_WILL_CHANGE to add explicit conversion call -
KTIJ-19950Provide quickfixes forINVALID_IF_AS_EXMRESSION_WARNINGandNO_ELSE_IN_WHEN_WARNING -
KTIJ-19866Create quick-fix for effective visibility error on private-in-file interface exposing private class -
KTIJ-19939Provide quickfix for deprecated confusing expressions in when branches
Fixes
-
KTIJ-20705Register quickfix forNO_CONSTRUCTOR_WARNINGdiagnostic -
KTIJ-21226"Remove else branch" quick fix is not suggested -
KTIJ-20981Definitely non-null types: quick-fixes suggested incorrectly for LV=1.6 when Xenhance-type-parameter-types-to-def-not-null flag is set -
KTIJ-20953Add quickfix for OVERRIDE_DEMRECATION warning to 1.7 - 1.9 migration -
KTIJ-20734Replace with [@JvmInline] value quick fix should be appliable on a whole project -
KTIJ-21420Add 'else' branch quick fix suggestion is displayed twice in case 'if' isn't completed -
KTIJ-21192"Make protected" intention is redundant for interface properties -
KTIJ-18120"Make public" intention does not add explicit "public" modifier when using ExplicitApi Strict mode -
KTIJ-20493"Create expect" quick fix doesn't warn about platform-specific annotations
IDE. Misc
-
KTIJ-21582Notification for Kotlin EAP survey
IDE. Multiplatform
-
KT-49523Improve environment setup experience for KMM projects -
KT-50952MPP: Commonized cinterops doesn't attach/detach to source set on configuration changes
IDE. Native
-
KT-44329Improve UX of using Native libraries in Kotlin -
KTIJ-21602With Native Debugging Support plugin Gradle run configurations can't be executed from IDEA: LLDB_NATVIS_RENDERERS_ENABLED
IDE. Wizards
-
KTIJ-20919Update ktor-html-builder dependency in kotlin wizards -
KTIJ-20962Wizard: Invalid Ktor imports
JavaScript
New Features
-
KT-51735KJS / IR: Minimize member names in production mode
Performance Improvements
-
KT-51127Kotlin/JS - IR generates plenty of uselessUnit_getInstance() -
KT-50212KJS IR: Upcast should be a no-op -
KT-16974JS: Kotlin.charArrayOf is suboptimal due to Rhino bugs
Fixes
-
KT-44319JS IR BE: Add an ability to generate separate JS files for each module -
KT-52518Kotlin/JS IR: project with 1.6.21 fails to consume library built with 1.7.0-RC: ISE "Unexpected IrType kind: KIND_NOT_SET" at IrDeclarationDeserializer.deserializeIrTypeData() -
KT-52010K/JS IR: both flows execute when using elvis operator -
KT-41096KJS IR:@JsExportshould use original js name for external declarations -
KT-52144KJS / IR: Missing property definitions for interfaced defined properties -
KT-52252KJS / IR: overridden properties are undefined/null -
KT-51973KJS / IR overridden properties of inherited interface missing -
KT-51125Provide a way to useimportkeyword injsexpressions -
KT-40888KJS / IR: Missing methods are no longer generated (polyfills) -
KT-50504KJS / IR: Transpiled JS incorrectly uses the unscrambled names of internal fields -
KT-51853JS compilation fails with "Uninitialized fast cache info" error -
KT-51205K/JS IR: external class is mapped to any -
KT-50806Typescript definitions contain invalid nested block comments with generic parent and type argument without@JsExport -
KT-51841KJS / IR: No flat hash for FUN FAKE_OVERRIDE with kotlin.incremental.js.ir=true -
KT-51081KJS / IR + IC: Passing an inline function with default params as a param to a higher-order function crashes the compiler -
KT-51084KJS / IR + IC: Cache invalidation doesn't check generic inline functions reified qualifier -
KT-51211K/JS IR: JsExport: Can't export nested enum -
KT-51438KJS / IR: Duplicated import names for the same external names -
KT-51238Kotlin/JS: IR + IC: build fails after clean oncompileTestDevelopmentExecutableKotlinJstask: "Failed to create MD5 hash for file '.../build/classes/kotlin/main' as it does not exist" -
KT-50674KJS / IR: JS code cannot modify local variable -
KT-50953KJS IR: Incorrect nested commenting in d.ts -
KT-15223JS: function that overrides external function withvarargparameter is translated incorrectly -
KT-50657KJS / IR 1.6.20-M1-39 - Date in Kotlin JS cannot be created from long.
Language Design
New Features
-
KT-45618Stabilize builder inference -
KT-30485Underscore operator for type arguments -
KT-49006Support at least three previous versions of language/API -
KT-16768Context-sensitive resolution prototype (Resolve unqualified enum constants based on expected type) -
KT-14663Support having a "public" and a "private" type for the same property -
KT-50477Functional conversion does not work on suspending functions -
KT-32162Allow generics for inline classes
Fixes
-
KT-12380Support sealed (exhaustive) whens -
KT-27750Reverse reservation of 'yield' as keyword -
KT-22956Release OptIn annotations -
KT-44866Change behavior of private constructors of sealed classes -
KT-49110Prohibit access to members of companion of enum class from initializers of entries of this enum -
KT-29405Switch default JVM target version to 1.8
Libraries
New Features
-
KT-50484Extensions for java.util.Optional in stdlib -
KT-50146Reintroduce min/max(By/With) operations on collections with non-nullable return type -
KT-46132Specialized default time source with non-allocating time marks -
KT-41890Support named capture groups in Regex on Native -
KT-48179Introduce API to retrieve the number of CPUs the runtime has
Performance Improvements
-
KT-42178Range and Progression should override last()
Fixes
-
KT-42436Supportjava.nio.Pathextension in the standard library -
KT-51470Stabilize experimental API for 1.7 -
KT-51775JS: Support named capture groups in Regex -
KT-51776Native: Support back references to groups with multi-digit index -
KT-51082Introduce Enum.declaringJavaClass property -
KT-51848Promote deepRecursiveFunction to stable API -
KT-48924KJS:toStringin base 36 produces different results in JS compare to JVM -
KT-50742Regular expression is fine on jvm but throws PatternSyntaxException for native macosX64 target -
KT-50059Stop publishing kotlin-stdlib and kotlin-test artifacts under modular classifier -
KT-26678Rename buildSequence/buildIterator to sequence/iterator
Native
-
KT-49406Kotlin/Native: generate standalone executable for androidNative targets by default -
KT-48595Enable Native embeddable compiler jar in Gradle plugin by default -
KT-51377Native: synthetic forward declarations are preferred over commonized definitions -
KT-49145Kotlin/Native static library compilation fails for androidNative* -
KT-49496Gradle (or the KMM plugin) is caching the Xcode Command Line Tools location -
KT-49247gradle --offline should translate into airplaneMode for kotin-native compiler
Native. Build Infrastructure
-
KT-52259kotlin-native releases from GitHub don't contain platform libs
Native. C and ObjC Import
-
KT-49455Methods from Swift extensions are not resolved in Kotlin shared module -
KT-50648Incorrect KMM cinterop conversion
Native. ObjC Export
-
KT-50982RuntimeAssertFailedPanic in iOS when Kotlin framework is initialized before loading -
KT-49937Kotlin/Native 1.5.31: 'runtime assert: Unexpected selector clash' when 'override fun toString(): String' is used
Native. Platforms
-
KT-52232Kotlin/Native: simplify toolchain dependency override for MinGW
Native. Runtime
-
KT-52365Kotlin/Native fails to compile projects for 32-bit targets when new memory manager is enabled
Native. Runtime. Memory
-
KT-48537Kotlin/Native: improve GC triggers in the new MM. -
KT-50713Kotlin/Native: Enable Concurrent Sweep GC by default
Native. Stdlib
-
KT-50312enhancement: kotlin native -- add alloc<TVarOf>(T)
Native. Testing
-
KT-50316Kotlin/Native: Produce a list of available tests alongside the final artifact -
KT-50139Create tests for Enter/Leave frame optimization
Reflection
-
KT-27598"KotlinReflectionInternalError" when usingcallByon constructor that has inline class parameters -
KT-31141IllegalArgumentException when reflectively accessing nullable property of inline class type
Tools. CLI
-
KT-52409Report error when use-k2 with Multiplatform -
KT-51717IllegalArgumentException: Unexpected versionNeededToExtract (0) in 1.6.20-RC2 with useFir enabled -
KT-52217Rename 'useFir' to 'useK2' -
KT-29974Add a compiler option '-Xjdk-release' similar to javac's '--release' to control the target JDK version -
KT-51673Make language version description not in capital letters -
KT-48833-Xsuppress-version-warnings allows to suppress errors about unsupported versions -
KT-51627kotlinc fails withjava.lang.RuntimeExceptionif/tmp/build.txtfile exists on the disk -
KT-51306Support reading language settings from an environment variable and overriding the current settings by them -
KT-51093"-Xopt-in=..." command line argument no longer works
Tools. Commonizer
-
KT-43309Overwrite return type and parameter types of callable member to succeed commonization -
KT-52050[Commonizer] 'platform.posix.DIR' not implementing 'CPointed' when commonized for 'nativeMain' on linux or windows hosts -
KT-51224MPP: For optimistically commonized numbers missed kotlinx.cinterop.UnsafeNumber -
KT-51215MPP: Update Kdoc description for kotlinx.cinterop.UnsafeNumber -
KT-51686Cinterop: Overload resolution ambiguity in 1.6.20-RC2 -
KT-46636HMPP: missed classes fromplatform.posix.* -
KT-51332Optimistic number commonization is disabled by default in KGP with enabled HMPP
Tools. Compiler Plugins
-
KT-50992jvm-abi-gen breaks inline functions in inline classes with private constructors in Kotlin 1.6.20
Tools. Daemon
-
KT-32885KT. Kotlin daemon compilation process is broken: java.lang.IllegalStateException Service is dying at entities generation by Kotlin.kts script
Tools. Gradle
New Features
-
KT-49227Support Gradle plugins variants -
KT-50869Provide API that allow AGP to set up Kotlin compilation -
KT-48008Consider offering a KotlinBasePlugin -
KT-52030Provide experimental possibility to view internal information about Kotlin Compiler performance
Performance Improvements
-
KT-52141Optimize Java class snapshotting for thekotlin.incremental.useClasspathSnapshotfeature -
KT-51978Optimize classpath snapshot cache for thekotlin.incremental.useClasspathSnapshotfeature -
KT-51326Kotlin-gradle-plugin performance issue with mass java SourceRoots
Fixes
-
KT-52448Compilation tasks are missing input/output/internal annotations on includes/excludes properties -
KT-52239Type based task configuration-blocks for JVM stopped working in Gradle -
KT-52313No recompilation in Gradle after adding or removing function parameters, removing functions (and maybe more) in dependent modules -
KT-51854Add Ktor to gradle performance benchmark -
KT-52086Rename flag 'use-fir' to 'use-k2' -
KT-52509Main variant published to Gradle plugin portal uses unshadowed artifact -
KT-52392Gradle: 1.7.0 does not support custom gradle build configuration on Windows OS -
KT-32805KotlinCompile inherits properties sourceCompatibility and targetCompatibility which breaks Gradle's incremental compilation -
KT-52189Provide Gradle Kotlin/DSL friendly deprecated classpath property in KotlinCompiler task -
KT-51415Confusing build failure reason is displayed in case kapt is used and different JDKs are used for compileKotlin and compileJava tasks -
KT-52187New IC can not be enabled in an Android project using kapt -
KT-51898Upgrading Kotlin/Kotlin Gradle plugin to 1.5.3 and above breaks 'com.android.asset-pack' plugin -
KT-51913Gradle plugin should not add attributes to the legacy configurations -
KT-34862Restoring from build cache breaks Kotlin incremental compilation -
KT-45777New IC in Gradle -
KT-51360Show performance difference in percent between releases -
KT-51380Add open-source project using Kotlin/JS plugin to build regression benchmarks -
KT-51937Toolchain usage with configuration cache prevents KotlinCompile task to be UP-TO-DATE -
KT-48276Remove kotlin2js and kotlin-dce-plugin -
KT-52138KSP could not access internal methods/properties in Kotlin Gradle Plugin -
KT-51342Set minimal supported Android Gradle plugin version to 3.6.4 -
KT-50494Remove kotlin.experimental.coroutines Gradle DSL option -
KT-49733Bump minimal supported Gradle version to 6.7.1 -
KT-48831Remove 'KotlinGradleSubplugin' -
KT-47924Remove annoying cast in toolchain extension method for Kotlin DSL -
KT-46541Fail Gradle builds when deprecated kotlinOptions.jdkHome is set -
KT-51830Gradle: deprecatekotlin.compiler.execution.strategysystem property -
KT-47763Gradle DSL: Remove deprecated useExperimentalAnnotation and experimentalAnnotationInUse -
KT-51374NoSuchFileException in getOrCreateSessionFlagFile() -
KT-51837kotlin-gradle-plugin:1.6.20 fails xray scan on shadowed Gson 2.8.6. -
KT-51454KotlinJvmTest is not a cacheable task -
KT-45745Migrate only Kotlin Gradle Plugin tests to new JUnit5 DSL and run them separately on CI -
KT-47318Remove deprecated 'kotlinPluginVersion' property in `KotlinBasePluginWrapper' -
KT-51378Gradle 'buildSrc' compilation fails when newer version of Kotlin plugin is added to the build script classpath -
KT-46038Gradle:kotlin_modulefiles are corrupted in the KotlinCompile output, and gets cached -
KT-51064Kotlin gradle build hangs on MetricsContainer.flush -
KT-48779Gradle: Could not connect to kotlin daemon
Tools. Gradle. Cocoapods
-
KT-50622Cocoapods Plugin: cocoapods-generate does not work correctly with ruby 3.0.0 and higher -
KT-51861Custom binary name in CocoaPods plugin isn't respected by fatFramework task
Tools. Gradle. JS
-
KT-52221Kotlin/JS: failed Node tests are not reported in a standard way -
KT-51895K/JS: Redundant technical messages during JS tests -
KT-51414Allow set up environment variables for JS tests -
KT-51623Kotlin/JS: Mocha could not failed when external module not found -
KT-51503Update NPM dependency versions
Tools. Gradle. Multiplatform
New Features
-
KT-51386[KPM] IdeaKotlinProjectModelBuilder: Implement dependencies
Fixes
-
KT-49524Improve DSL for managing Kotlin/Native binary output -
KT-51765com.android.lint in multiplatform project without android target should not trigger warning -
KT-38456MPP with Android source set: allTests task does not execute Android unit tests -
KT-44227Common tests are not launched on local JVM for Android via allTests task in a multiplatform project -
KT-51946Temporarily mark HMPP tasks as notCompatibleWithConfigurationCache for Gradle 7.4 -
KT-52140Support extensibility Kotlin Artifacts DSL by external gradle plugins -
KT-51947Mark HMPP tasks as notCompatibleWithConfigurationCache for Gradle 7.4 using Reflection -
KT-50925Could not resolve all files for configuration ':metadataCompileClasspath' -
KT-51262[KPM] IDEA import: Move model builder to KGP -
KT-51220[KPM][Android] Implement generic data storage and import pipeline -
KT-48649No run task generated for macosArm64 target in Gradle plugin
Tools. Gradle. Native
-
KT-47746Allow customization of the Kotlin/Native compiler download url -
KT-51884Gradle Native: "A problem occurred starting process 'command 'xcodebuild''" when buildingassembleFooXCFrameworktask on Linux
Tools. Incremental Compile
-
KT-51546FIR incremental compilation fails with assertion "Trying to inline an anonymous object which is not part of the public ABI" -
KT-49780IncrementalCompilerRunner bug: Outputs are deleted after successful rebuild following fallback from an exception -
KT-44741Incremental compilation: inspectClassesForKotlinIC doesn't determine changes with imported constant
Tools. JPS
-
KTIJ-17280JPS: don't use java.io.File.createTempFile as it is not working sometimes -
KTIJ-20954NPE at at org.jetbrains.kotlin.metadata.jvm.deserialization.JvmProtoBufUtil.readNameResolver on compiling by JPS with LV > 1.7
Tools. Kapt
-
KT-49533Make kapt work out of the box with latest JDKs -
KT-52284FIR: add error in 1.7.0 branch if run with Kapt -
KT-51463KAPT: Incremental compilation not working when rerunning unit tests -
KT-51132KAPT: Support reporting the number of generated files by each annotation processor -
KT-30172Kapt: Shutdown kotlinc gracefully in case of error in annotation processor
Tools. Scripts
-
KT-49173Add support for nullable types in provided properties and other configuration-defined declarations -
KT-52294[Scripting] Update oudated org.eclipse.aether dependencies to new org.apache.maven.resolver -
KT-51213Kotlin JSR223 crashes with "ScriptException: ERROR java.lang.NullPointerException:" if bindings contain one or more null values -
KT-48812Script: "IllegalStateException: unknown classifier kind SCRIPT" when passing a function reference to a Flow -
KT-50902Scripts loaded from the compilation cache ignore theloadDependencieseval configuration property -
KT-52186Scripts: Backend Internal error: Exception during IR lowering when using symbol from a dependency inside a function -
KT-51731Script: jsr223 memory leak in spring-boot Fat Jar -
KT-49258Scripts: method 'void ()' not found with multiple evals using kotlin script JSR223 -
KT-51346Scripts: "BackendException: Exception during IR lowering" with variable of imported script inside class
Checksums
| File | Sha256 |
|---|---|
| kotlin-compiler-1.7.0.zip | f5216644ad81571e5db62ec2322fe07468927bda40f51147ed626a2884b55f9a |
| kotlin-native-linux-x86_64-1.7.0.tar.gz | 0a70da9bbd9405233f68d7a5863d098cb372f60171e5620f023b6fb9b9e99a9c |
| kotlin-native-macos-x86_64-1.7.0.tar.gz | b39a85a6e59e91eecb09f51290dc9704e816752275f9cb3a83b994d68b14fc9f |
| kotlin-native-macos-aarch64-1.7.0.tar.gz | 5f1f4c1fb4090c27db3caf5f03953566855bb8ba08272cbb40414c9420fd257c |
| kotlin-native-windows-x86_64-1.7.0.zip | 2736b340adc708fe21083d441a86f96bb77fbbbe3f7c41a29fb1e10dd488bb26 |
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.
Edited by Renovate Bot