Update dependency org.jetbrains.kotlin:kotlin-stdlib to v1.6.0 [SECURITY] #299
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.50
->1.6.0
GitHub Vulnerability Alerts
CVE-2022-24329
In JetBrains Kotlin before 1.6.0, it was not possible to lock dependencies for Multiplatform Gradle Projects.
CVE-2020-29582
In JetBrains Kotlin before 1.4.21, a vulnerable Java API was used for temporary file and folder creation. An attacker was able to read data from such files and list directories due to insecure permissions.
Release Notes
JetBrains/kotlin (org.jetbrains.kotlin:kotlin-stdlib)
v1.6.0
: Kotlin 1.6.0Changelog
Android
KT-48019
Bundle Kotlin Tooling Metadata into apk artifactsKT-47733
JVM / IR: Android Synthetic don't generate _findCachedViewById functionCompiler
New Features
KT-47984
In-place arguments inlining for @InlineOnly functionsKT-12794
Allow runtime retention repeatable annotations when compiling under Java 8KT-43714
Support annotations on class type parameters (AnnotationTarget.TYPE_PARAMETER)KT-45949
Kotlin/Native: Improve bound check eliminationKT-43919
Support loading Java annotations on base classes and implementing interfaces' type argumentsKT-48194
Try to resolve calls where we don't have enough type information, using the builder inference despite the presence of the annotationKT-47736
Support conversion from regular functional types to suspending ones in JVM IRKT-39055
Support property delegate created via synthetic method instead of fieldPerformance Improvements
KT-45185
FIR2IR: get rid of IrBuiltIns usagesKT-47918
JVM / IR: Performance degradation with const-bound for-cyclesKT-33835
Bytecode including unnecessary null checks for safe calls where left-hand side is non-nullableKT-41510
Compilation of kotlin html DSL is still too slowKT-48211
We spend a lot of time in ExpectActual declaration checker when there is very small amount of actual/expect declarationKT-39054
Optimize delegated properties which call get/set on the given KProperty instance on JVMKT-46615
Don't generate nullability assertions in methods for directly invoked lambdasFixes
KT-49613
JVM / IR: "Exception during IR lowering" with java fun interface and it's non-trivial usageKT-49548
"ClassCastException: java.util.ArrayList$Itr cannot be cast to kotlin.collections.IntIterator" with Iterable insidelet
KT-22562
Deprecate calls to "suspend" named functions with single dangling lambda argumentKT-47120
JVM IR: NoClassDefFoundError when there are an extension and a regular function with the same nameKT-49477
Has ran into recursion problem with two interdependant delegatesKT-49442
ClassCastException on reporting [EXPOSED_FROM_PRIVATE_IN_FILE] Deprecation: private-in-file class should not expose 'private-in-class'KT-49371
JVM / IR: "NoSuchMethodError" with multiple inheritanceKT-44843
PSI2IR: "org.jetbrains.kotlin.psi2ir.generators.ErrorExpressionException: null: KtCallExpression" with delegate who has name or parameter with the same name as a propertyKT-49294
Turning FlowCollector into 'fun interface' leads to AbstractMethodErrorKT-18282
Companion object referencing it's own method during construction compiles successfully but fails at runtime with VerifyErrorKT-25289
Prohibit access to class members in the super constructor call of its companion and nested objectKT-32753
Prohibit @JvmField on property in primary constructor that overrides interface propertyKT-43433
Suspend conversion is disabled
message in cases where it is not supported and quickfix to update language version is suggestedKT-49399
Building repeatable annotation with Container nested class fails with ISE: "Repeatable annotation class should have a container generated"KT-49209
Default upper bound for type variables should be non-nullKT-49335
NPE inRepeatedAnnotationLowering.wrapAnnotationEntriesInContainer
when using@Repeatable
annotation from different fileKT-48876
java.lang.UnsupportedOperationException: org.jetbrains.kotlin.ir.expressions.impl.IrReturnableBlockImpl@4a729df
KT-48131
IAE "Repeatable annotation container value must be a class reference" on using Kotlin-repeatable annotation from dependencyKT-49322
Postpone promoting warnings to errors forProperTypeInferenceConstraintsProcessing
featureKT-49285
Exception on nested builder inference callsKT-49101
IllegalArgumentException: ClassicTypeSystemContext couldn't handle: Captured(out Number)KT-41378
Compilation failed: Deserializer for declaration public kotlinx.coroutines/SingleThreadDispatcher|null[0] is not foundKT-47285
IR deserialization exception when dependency KLIB has class instead of typealiasKT-46697
IllegalStateException: IrTypeAliasSymbol expected: Unbound public symbol for public kotlinx.coroutines/CancellationException|null[0] compiling KMM module for Kotlin/Native with Kotlin 1.5KT-36399
Gradually support TYPE_USE nullability annotations read from class-filesKT-11454
Load annotations on TYPE_USE/TYPE_PARAMETER positions from Java class-filesKT-18768
@Notnull
annotation from Java does not work with varargsKT-24392
Nullability of Java arrays is read incorrectly if@Nullable
annotation has both targets TYPE_USE and VALUE_PARAMETERKT-48157
FIR: incorrect resolve with built-in names in useKT-46409
FIR: erroneous resolve to qualifier instead of extensionKT-44566
FirConflictsChecker
do not check for conflicting overloads across multiple filesKT-37318
FIR: Discuss treating flexible bounded constraints in inferenceKT-45989
FIR: wrong callable reference type inferredKT-46058
[FIR] Remove state from some checkersKT-45973
FIR: wrong projection type inferredKT-43083
[FIR] False positive 'HIDDEN' on internalKT-48794
Breaking change in 1.5.30: Builder inference lambda contains inapplicable calls so {1} cant be inferredKT-46727
Report warning on contravariant usages of star projected argument from JavaKT-40668
FIR: Ambiguity on qualifier when having multiple different same-named objects in near scopesKT-37081
[FIR] errors NO_ELSE_IN_WHEN and INCOMPATIBLE_TYPES absenceKT-48162
NON_VARARG_SPREAD isn't reported on *toTypedArray() callKT-45118
ClassCastException caused by parent and child class in if-elseKT-47605
Kotlin/Native: switch to LLD linker for MinGW targetsKT-48912
K/NSymbol with IrSimpleFunctionSymbolImpl is unbound
andJS Validation failed in file shaders.kt
KT-44436
Support default not null annotations to enhance T into T!!KT-49190
Increase stub versionsKT-48261
"overload resolution ambiguity" for JSpecify+jsr305-annotated Java List implementationKT-48778
-Xtype-enhancement-improvements-strict-mode not respecting@NonNull
annotation for property accesses?KT-48606
[1.6] Instantiated annotations do not implement hashCode correctly/consistentlyKT-49157
Tail-call optimization miss with cast to type parameterKT-46437
NI: "Throwable: Resolution error of this type shouldn't occur for resolve if as a call" caused by reflectively accessing private property inside "if/else" or "when" expressionKT-48590
IllegalArgumentException: ClassicTypeSystemContext couldn't handle: Captured(*) reified type class referenceKT-48633
Can't infer builder inference's type argument across local classKT-49136
JVM IR: NPE with safe call chain and property set to null by reflectionKT-48570
OptIn marker should not spread from class to its membersKT-48928
Prohibit using old JVM backend with language version >= 1.6KT-41978
NI: Kotlin fails to infer type of function argumentKT-48101
Smart cast on base class property is impossible if base class is from another moduleKT-48732
JVM / IR: MalformedParameterizedTypeException is thrown when a Spring Bean of suspending function type is registeredKT-47841
Turning LV to 1.6 breaks some diagnostics based on jspecify annotationsKT-48498
JVM IR: IllegalAccessError with inline function call and property delegation from different moduleKT-48319
JVM / IR: AssertionError: FUN caused by suspend lambda inside anonymous functionKT-48835
Psi2ir: vararg parameter value is lost when translating adapted function reference to base class memberKT-46908
JVM / IR: do not wrap fun interface implementation into another SAM adapter if it inherits from a functional typeKT-48927
JVM IR: "VerifyError: Bad invokespecial instruction: current class isn't assignable to reference class" when up-casting and read a base class's private property that has a custom getter in the base class's public functionKT-48992
Postpone migration to new operator resolution scheme for integer literalsKT-48290
Type bounds warning based on Java annotations not issues with language level 1.6KT-47920
There is no warning on violated nullability of type parameter in accordance with java nullability annotationKT-41664
Remove the "runtime JAR files in the classpath should have the same version" warningKT-48851
Keep using warn mode for jspecify in 1.6KT-46829
IR: NullPointerException caused by setting scoped generic extension varKT-42972
Forbid protected constructor calls from public inline functionsKT-45378
Prohibit super calls in public-api inline functionsKT-48515
JSpecify: If a class has a@Nullable
type-parameter bound, Kotlin should still treat unbounded wildcards like platform typesKT-48825
JVM IR: NPE with delegated property "by this" to base classKT-48535
Make EXPERIMENTAL_ANNOTATION_ON_OVERRIDE warningKT-47928
Prohibit declarations of repeatable annotation classes whose container annotation violates JLSKT-47971
Report error on declaration of a repeatable annotation class with nested class named ContainerKT-48478
JVM IR: Coroutines 1.5.1 + Kotlin 1.5.30 - ClassCastException: CompletedContinuation cannot be cast to DispatchedContinuationKT-48523
Kotlin/Native: cross-compilation from Linux to MinGW not working whenplatform.posix
is usedKT-48671
JVM / IR: "AssertionError: Primitive array expected: CLASS IR_EXTERNAL_DECLARATION_STUB CLASS"KT-46181
JVM IR: private @JvmStatic function is generated in the outer class instead of companion object, which breaks existing calls via JNI or reflection (e.g. JUnit @MethodSource)KT-48736
JVM IR: assert in SyntheticAccessorLowering when inline function attempts to access package-private field from JavaKT-48653
Warnings on non-exhaustive when statements missing in some cases with 1.6KT-48394
JVM: Invalid locals caused by unboxing bytecode optimizationKT-20542
IllegalAccessError on calling private function with default parameters from internal inline function used in another packageKT-48331
JVM / IR: "VerifyError: Bad access to protected data in invokevirtual" when a sealed class uses another sealed class in its same hierarchy level as a constructor parameterKT-48380
kotlin.RuntimeException: Unexpected receiver typeKT-47855
Kotlin/Native: compilation fails due to Escape AnalysisKT-48291
False positive [ACTUAL_MISSING] Declaration must be marked with 'actual' when implementing actual interfaceKT-48445
"IAE: Top level call context should not be null to analyze coroutine-lambda" when compiling Kotlin with language version 1.6KT-48618
Enable by default "suspend conversion" feature in 1.6KT-47638
Drop EXPERIMENTAL_IS_NOT_ENABLED diagnosticKT-48589
KotlinTypeRefiner is lost, leading to TYPE_MISMATCH and OVERLOAD_RESOLUTION_AMBIGUITY issues with MPP projectsKT-48615
Inconsistent behavior with integer literals overflow (Implementation)KT-47937
Implement deprecation of computing constant values of complex boolean expressions in when condition branches and conditions of loopsKT-48391
JVM / IR: "AssertionError: SyntheticAccessorLowering should not attempt to modify other files!" caused by class which inherits interface which has default function with default argument from companion const valKT-48552
Kotlin/Native: iosArm64 debug build fails in 1.6.0-M1-139KT-46182
Native: prohibit using dots in identifiersKT-46230
JVM IR: "IllegalArgumentException: Null argument in ExpressionCodegen for parameter VALUE_PARAMETER MOVED_DISPATCH_RECEIVER" with value class overriding function with default parameterKT-48302
FIR: Investigate not-null assertion on generic Java methodKT-48350
JVM IR: NPE from LocalDeclarationsLowering on property reference with field from outer class used as receiver (1.6.0-M1 regression)KT-48500
AE: "Last parameter type of suspend function must be Continuation, but it is kotlin.coroutines.experimental.Continuation" forkotlin-stdlib-common
libraryKT-48469
Problem with properties lazy initialization while using kotlinx.serialization pluginKT-48432
Regression in IntRange.contains (and probably other ranges too) when used in-placeKT-44855
"AssertionError: SyntheticAccessorLowering should not attempt to modify other files" on smart cast of protected field ownerKT-47542
Incorrect ABSTRACT_CLASS_MEMBER_NOT_IMPLEMENTED after migration to 1.6 on class indirectly extending RuntimeExceptionKT-48166
FIR: incorrect common supertype for PSI elements hierarchyKT-47499
JVM / IR: java.lang.VerifyError: Bad access to protected data in invokevirtual when trying to clone the result of lambda invocation that is "this" in an extension functionKT-46451
JVM Debugging: stepping on finally block end brace line before stepping into finally codeKT-48329
It's impossible to infer a type variables based on several builder inference lambdasKT-48193
Don't use the builder inference for calls which can be resolved without itKT-46450
JVM Debugging: some break statements in catch blocks have no line numbers and you cannot set breakpoints on themKT-48298
FIR: incorrect deserialized annotations in back-endKT-48234
FIR: false positive NON_INTERNAL_PUBLISHED_API for primary constructor propertyKT-48174
IR interpreter: unsupported compile-time callKT-48158
FIR: false positive ASSIGNMENT_TYPE_MISMATCH as a result of wrong type inference around callable referencesKT-48109
FIR: incorrect type inference for generic argument of intersection typeKT-48161
FIR: false positive ARGUMENT_TYPE_MISMATCH for bounded type parameter VS Java not-nullKT-48159
FIR: erroneous scope order during type resolve of constructor return typeKT-48165
FIR: false positive "initializer should be a constant value" on String.lengthKT-48175
FIR: exception for JvmField on local class propertyKT-48164
FIR: false positive OVERRIDING_FINAL_MEMBER in enum entryKT-48116
FIR: false positive NOT_A_LOOP_LABELKT-48102
FIR: false positive ABSTRACT_MEMBER_NOT_IMPLEMENTED with mapped stdlib functionsKT-47911
Native compiler on ios_arm64 target generates movi.2d instructions, which are mishandled by Apple hardwareKT-48105
FIR: generic/specific callable reference ambiguityKT-14392
Repeated annotation with use site target is not detected for getter and setterKT-47493
Missed frontend diagnostic in try/catchKT-48058
"No type for expression" compiler exception on calls with unused lambdaKT-47597
JVM IR: if statement doesn't eval correctly on 1.5.20 possible nullable type differences.KT-47922
False negative type mismatch on empty when as last statement of lambdaKT-34594
Do not generate fake debugger variables initialization for @InlineOnly functionsKT-47749
Incorrect scope of a local variable inside the coroutineKT-47527
JVM / IR ClassCastException: "kotlin.Unit cannot be cast to java.lang.String"KT-47840
JVM / IR: "IllegalStateException: No mapping for symbol: VALUE_PARAMETER name: x" in nested local functions with recursive callsKT-46448
JVM Debugging: Locals in finally blocks not always duplicated when the finally block isKT-47716
JVM / IR: NoSuchMethodError when trying to get MAX_VALUE from ULong in non-trivial try/finally contextKT-47762
JVM / IR: Properties with the same signatures in inline class and its companion object crashes the compiler with NullPointerExceptionKT-47741
JVM / IR: VerifyError: Bad type on operand stack with iterator and invoking method reference to IntIteratorKT-43696
ClassFormatError on @JvmStatic external fun in interface companion objectKT-47715
JVM / IR, R8: External getter cannot be represented in dex formatKT-47684
Add warning onis
checks which are always falseKT-47685
False positive CAST_NEVER_SUCCEEDS on variable of intersection typeKT-32188
NI: False positive "This cast can never succeed"KT-35687
NI: Poor cast can never succeed [CAST_NEVER_SUCCEEDS]KT-41331
False negative USELESS_IS_CHECK with nullKT-47609
JVM IR: "AssertionError: Unexpected number of type arguments" when compiling an extension property with annotation and it extends a value class with a generic parameterKT-47413
FIR: Rework FirDelegatedScopeKT-47492
Illegal use of DUPDocs & Examples
KT-48534
Wrong compiler argument for RequiresOptInIDE
KT-48604
MISSING_DEPENDENCY_CLASS in test source sets with kotlin.mpp.enableGranularSourceSetsMetadata=trueIDE. Debugger
KT-47970
AE: "Either library or explicit name have to be provided " in IR debugger testsIDE. Gradle Integration
KT-46273
MPP: Don't fail import for case of missed platform in source set structureKT-48823
Improve error reporting on import when configuration phase in Gradle failedKT-48504
MPP: UninitializedPropertyAccessException on import if new hierarchical mpp flag conflicts with other flagsKT-47463
MPP: Import fails withTask 'runCommonizer' not found in root project
if Kotlin configured only in moduleIDE. Multiplatform
KT-47604
kotlin-stdlib-common leaks into dependencies of Android-specific source setsJavaScript
KT-43783
KJS / IR: companion object and nested objects are not exportedKT-47524
KJS / IR: Treat protected members as part of exported APIKT-48132
KJS / IR: "IllegalStateException" when interface methods don't have default implementationKT-47700
Support instantiation of annotation classes on JSKT-48317
KJS / IR: "TypeError: ... is not a function" on running code with suspend function inheritorsKT-48344
KJS / IR: incorrect call with vararg argument from suspend functionKT-47751
Kotlin/JS: IR + IC: "argument has no effect without source map" warnings on buildLibraries
New Features
KT-46423
infix extension fun Comparable.compareToKT-47421
Stabilize collection buildersKT-48584
Introduce JVM readln() and readlnOrNull() top-level functionsPerformance Improvements
KT-45438
Remove brittle ‘contains’ optimization in minus/removeAll/retainAllFixes
KT-28378
Different behavior of Regex replace function in JVM and JS when replacement string contains group referenceKT-46785
Get rid of !! after readLine() in the standard libraryKT-46784
Stabilize Duration API in the standard libraryKT-46229
Bring back Duration factory extension propertiesKT-27738
Make JS Regex.replace not inlineKT-48607
Stabilize experimental API for 1.6KT-47304
Random#nextLong generates value outside provided rangeKT-47706
System property that controls the brittlecontains
optimizationKT-48999
Align behavior of some JS functions with their JVM counterpartKT-46243
Typography.leftGuillemete and Typography.rightGuillemete are named inconsistent with standardKT-46101
Review deprecations in stdlib for 1.6KT-48456
Introduce Common (multi-platform) readln() and readlnOrNull() top-level functionsKT-48587
Deprecate some of JS-only stdlib APIKT-39328
Make builder collection implementations serializableKT-47676
K/JS: MatchResult.next() returns no expected next match if called aftermatchEntire
KT-39166
Nothing is silently mapped to Void in arguments of the type passed to typeOfKT-39330
Migrate declarations from kotlin.dom and kotlin.browser packages to kotlinx.*KT-28753
Comparing floating point values in array/list operations 'contains', 'indexOf', 'lastIndexOf': IEEE 754 or total orderKT-38854
Gradually change the return type of collection min/max functions to non-nullableKT-38754
Deprecate appendln in favor of appendLineNative
KT-48807
Cinterop: cannot create bindings for a framework when Xcode 13 RC is installedKT-49384
Kotlin/Native: Unexpected variance in super type argument: out@0
KT-47424
StackOverflowError in IR hashCode() methods compiling KMM module for Kotlin/Native with Kotlin 1.5.0+KT-49234
SIGSEGV using the new memory manager in release in Kotlin 1.6.0-RC in MacosX64KT-48566
ExceptionInInitializerError when configuring Gradle project with kotlin-multiplatform plugin on a host unsupported by Kotlin/NativeKT-48039
Native: support shaded (aka embeddable) compiler jar in Gradle pluginKT-42693
Remove dependency on ncurses5 libraryNative. C Export
KT-47209
kotlin-native fails to generate valid C header if a setter takes anonymous parameter (_)Native. C and ObjC Import
KT-48074
Native: cinterop: __flexarr supportNative. ObjC Export
KT-47809
Kotlin/Native: ObjC-export module name usage in klib compilationNative. Platforms
KT-43024
Kotlin/Native: Windows as cross-compilation targetNative. Runtime
KT-48452
Kotlin/Native: Support thread state switching in termination handlers for the new MMNative. Runtime. Memory
KT-48143
Kotlin/Native: test fails with assert with new MM and state checkerKT-48364
Uninitialized top-level properties in new MMKT-44283
staticCFunction with CValue parameter crashes when invoked off the main threadNative. Stdlib
KT-47662
[Native, All platforms] Incorrect parsing of long strings to Float and DoubleReflection
KT-45066
Support flexible types (nullability, mutability, raw) in typeOfKT-35877
typeOf<MutableList<>> cannot be distinguished from typeOf<List<>> in Kotlin/JVMTools. CLI
KT-49007
Support three previous API versionsKT-48622
Introduce compiler X-flag to use the builder inference for all calls by defaultKT-32376
“no main manifest attribute” on running the jar for cli-compiled Kotlin objects with main functionKT-48026
Add the compiler X-flag to enable self upper bound type inferenceKT-47640
CLI: support -option=value format as for -Xoption=valueKT-47099
Add a stable compiler argument for opt-in requirements as soon as they are stableTools. Commonizer
New Features
KT-48455
[Commonizer] Optimistic number commonizationKT-48459
[Commonizer] Add opt-in annotation to optimistically commonized numbersFixes
KT-47430
[Commonizer] 'platform.posix.DIR' not implementing 'CPointed' when commonized for "unixMain"KT-48567
[Commonizer] pthread_self function is not commonized in atomicfuKT-48287
[Commonizer] platform.posix.mkdir not commonized in OKIOKT-48286
[Commonizer] platform.posix.ftruncate not commonized in OKIOKT-47523
MPP: Unable to resolve c-interop dependency if platform is included in an intermediate source set with the only targetKT-48278
[Commonizer] platform.posix.usleep not commonized in sqliterKT-46691
MPP: Type mismatch for hierarchically commonized typealiasesKT-47221
C-interop commonization fails if few targets reuse same source setKT-47775
Commonizer don't run for shared native code if test source set depends on mainKT-47053
MPP: Unable to resolve c-interop commonized code from shared test source setKT-48118
Commonized c-interop lib is not attached to common main source setKT-47641
Enabled cInterop commonization triggers native compilation during Gradle sync in IDEKT-47056
MPP: Change naming for folder with commonized c-interop librariesTools. Compiler Plugins
KT-48842
Compiler crash: Symbol with IrFieldSymbolImpl is unboundKT-48117
Kotlin AllOpen Plugin should open private methodsKT-40340
jvm-abi-gen plugin: failure with Android D8 (Dexer) toolKT-40133
jvm-abi-gen plugin: fails for inline function containing apply block with anonymous objectKT-28704
jvm-abi-gen plugin: avoid calling codegen twice per moduleKT-48111
JVM / IR: "IllegalAccessError: tried to access method" with NoArg plugin and sealed classTools. Gradle
Performance Improvements
KT-49159
KotlinGradleBuildServices leaks Gradle instance when configuration cache is enabledFixes
KT-45504
Deprecate Gradle option KotlinJvmOptions.useIR since 1.5KT-49189
In Gradle, dependencies on an MPP with Android+JVM fail to resolve in pure-Java projectsKT-48830
Change deprecation level to 'ERROR' for 'KotlinGradleSubplugin'KT-48264
Cannot write Kotlin build report unless directory existsKT-48745
JVM target compatibility check should be disabled when Java sources are emptyKT-49066
Setting kotlinOptions.modulePath in an android project breaks incremental compilationKT-48847
Remove deprecated kotlin options marked for removal after 1.5KT-48245
KGP makes compileOnly configuration resolvableKT-38010
Invalid warning "Runtime JAR files in the classpath should have the same version." withjava-gradle-plugin
KT-48768
Misleading 'jdkHome' deprecation messageKT-46719
Remove 'kotlin.useFallbackCompilerSearch' build optionKT-47792
KGP should ignore ProjectDependency when customize kotlin DependenciesKT-47867
Replace usages of IncrementalTaskInputs with InputChangesKT-46972
Migrate Kotlin repo to use Gradle toolchain featureTools. Gradle. JS
KT-49124
KJS / Gradle: Unable to load '@webpack-cli/serve' commandKT-49201
KJS / Gradle: NPM dependencies resolution may fail on parallel buildsKT-48241
KJS / Gradle: NPM test dependency may break Gradle configuration cacheKT-32071
Possibility to disable downloading of Node.js and YarnKT-48332
Make NodeJsSetupTask and YarnSetupTask not cacheableKT-37895
KJS: NPM Post-install Scripts sometimes print "node: not found"KT-34985
kotlin-gradle-plugin: Should align ways NodeJs and Yarn are downloadedTools. Gradle. Multiplatform
KT-48709
MPP: Task compileKotlinMacosX64 fails on matching native variants if ktlint presentedKT-48919
Gradle multiplatform plugin 1.6.0-M1 does not accept apiVersion = "1.7"KT-46343
[Commonizer] Use lockfile for NativeDistributionCommonizationCacheKT-48427
Execution failed for task ':commonizeNativeDistribution'. > java.io.FileNotFoundException lock (No such file or directory)KT-48513
Commonized platform libraries are unresolved in modules for new hierarchical MPP flagKT-48138
CInteropCommonizer: Missing commonization request if test source set has different targets than associated mainKT-35832
Gradle: MPP plugin operates with -Xuse-experimental and not with -Xopt-inTools. Gradle. Native
KT-48729
Test-source sets receive extra unnecessary granular dependencies to more common source sets when depending on MPP-libraryKT-37511
CocoaPods Gradle plugin: Support incremental task execution when switching between Xcode and terminalKT-47362
Cocoapods plugin: add error reporting for case when pod is not installed on user machineKT-37513
CocoaPods Gradle plugin: Support building tests from terminal for projects depending on podsTools. Kapt
KT-45545
Kapt is not compatible with JDK 16+KT-47853
KaptWithoutKotlincTask
eagerly resolves dependencies during construction/configuration and can cause deadlocksKT-47934
KaptJavaLog is unable to map stub back to the kotlin sourceKT-48195
Kapt causes dead lock in DefaultFileLockManagerTools. Scripts
KT-49400
Script resolver options can't take values with special symbols (/, , $, :, .) in themKT-49012
Compiling .kts script with inner class declaration fails with Backend Internal Error caused by AE: "Local class constructor can't have dispatch receiver"KT-47927
Script: memory leak with new enginesKT-48025
JVM / IR / Script: IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER caused by method tnat returns outer functionKT-48303
main.kts script fails to detect vanished dependencies if run from the cacheKT-48177
Scripts: OutOfMemoryException with circular@file:Import
KT-46645
Scripts: "IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVER" caused by get accessorChecksums
v1.5.32
: Kotlin 1.5.32Changelog
Tools. Gradle. Multiplatform
KT-49798
[MPP] [Android] AGP 7.1.0+ android target publications leak 'AgpVersionAttr' attributeChecksums
v1.5.31
: Kotlin 1.5.31Changelog
Compiler
Fixes
KT-48659
JVM / IR: Referential equality returns true for different instancesKT-48613
Kotlin/Native fails to compile debug binaries for watchosArm64 targetKT-48316
"No value passed for parameter" regression with Java annotation default values with JSR-305KT-48343
Mistake in an error message for uninferred type variable without unrestricted builder inferenceKT-48543
Native compiler crashes because of bridges for $default stubsKT-48349
OptIn markers are forbidden on local variable / value parameter / property getter only in presence of explicit Target annotationKT-48295
JVM / IR: VerifyError: Bad access to protected data in getfieldKT-48551
JVM / IR: "IllegalStateException: Inline class has no primary constructor" caused by inline class from one module andfun interface
from anotherKT-47917
JVM: "UTF8 string too large" caused by a big stringKT-48440
JVM IR: Missing checkcast in generated bytecode causes VerifyError in Kotlin 1.5.30KT-48361
INTEGER_OPERATOR_RESOLVE_WILL_CHANGE is not reported in some positionsKT-48267
JVM IR: CCE on callable reference to Array constructor passed to inline functionIDE
KTIJ-15744
Reopening build.gradle.kts-based project reports MISSING_SCRIPT_BASE_CLASS KotlinBuildScript until re-importKTIJ-19005
JDK 17: "PermittedSubclasses requires ASM9" exception multiple times per second during analysisKTIJ-19504
IDE highlighting: Kotlin plugin 1.5.30 started showing some valid classes from multiplatform libraries as not existingNative
KT-48591
Kotlin/Native: Char.isHighSurrogate and Char.isLowSurrogate return wrong result for macosArm64 and iosArm64 with compiler cache enabledKT-48491
CInterop broke in Kotlin 1.5.30Checksums
v1.5.30
: Kotlin 1.5.30Changelog
Backend. Native. Debug
KT-47405
Incorrect path from inlined method in stacktrace on iOS-simulator ARM64KT-47408
Incorrect line number of inlined method on iOS-simulator ARM64Compiler
New Features
KT-44261
Support RxJava 3 nullability annotationsKT-32443
Experimental declarations should be contagious even when they are not explicitly usedKT-45844
Forbid using experimental markers on override declarationsKT-45845
Forbid using experimental markers on getterKT-46644
Resolve overrides for IrProperty on deserializationKT-46967
Support class type parameters annotations in FIRKT-47402
Native: optimize access to object declarations that have only const vals and no init blocksKT-47709
Make when statements with enum, sealed, and Boolean subjects exhaustive by defaultKT-47699
Support programmatic creation of class annotations and corresponding feature flag on JVMPerformance Improvements
KT-45103
Direct invoke optimizationKT-47785
Compilation time increased when trying to compile AssertJ DB expression in 1.5.21Fixes
KT-48361
INTEGER_OPERATOR_RESOLVE_WILL_CHANGE is not reported in some positionsKT-48180
JVM / IR: AssertionError: "Lambda with offset already exists" caused by calling inline function with default lambda parameterKT-47328
JVM / IR: NoSuchFieldError with missing CHECKCASTKT-48172
"IllegalStateException: Cannot serialize error type: [ERROR : ]" in 1.5.21 with java kotlin interopKT-48230
JVM IR: CCE for multiple receivers caseKT-48262
"Inconsistent type" with JSpecify @NullMarkedKT-48167
JVM / IR: If Map#entrySet is implemented in an interface, Kotlin compiler generates incorrect code for its implementationKT-47988
JVM / IR: "VerifyError: Bad type on operand stack" when invoking apply with a local method referenceKT-48163
JVM / IR: "VerifyError: Bad type on operand stack" when throwing result of smartcastKT-47833
False positive "Type argument is not within its bounds " with upcasting in 1.5.30-M1KT-47830
Some code doesn't compile with unrestricted builder inferenceKT-39883
Deprecate computing constant values if complex boolean expressions in when condition branches and conditions of loopsKT-47037
Eliminate builder inference restrictionsKT-46726
IR + BuilderInference: AssertionError: Unbound private symbol on usage of this in a BuilderInference lambdaKT-43855
Support gradual introduction of new nullability annotationsKT-43142
FIR: Check UPPER_BOUND_VIOLATED for type alias constructors properlyKT-45228
Leaking builder inference type variables though callable referencesKT-42270
NI: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER for BuilderInference with extension functionsKT-46029
JVM / IR: "Unbound private symbol: " when trying to save SequenceScope in propertyKT-45258
Wrong CST between types which contain stub typeKT-45224
Type safety problem through leaking of the builder inference scopeKT-22852
Report diagnostics on implicit usages of experimental APIKT-22941
Experimental marker annotation with SOURCE retention is compiled without errorKT-24993
Inference for buildSequence/yield doesn't work for labeled lambdasKT-31728
Incorrect EXPERIMENTAL_OVERRIDE_ERROR for override of experimental function in anonymous objectKT-33364
Kotlin/Native debugger: execution stops only at next line for breakpoint at when expression without parameterKT-42139
NI: NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER for emptyList / listOf (with no arguments) / emptyMap / mapOf (with no arguments) inside if block insidesequence
blockKT-44241
NI: BuilderInference regressionKT-44372
FIR: KClass::java cannot be resolved as callable referenceKT-44547
Native: wrong RTTI when overriding functions with equal signatures but different type argumentsKT-44571
Segfault on unnecessary int unboxingKT-45083
Problem with property reference in builder inferenceKT-45315
Deprecate (V)::a reference resolution to companion in FE 1.0KT-46393
AE: "1 trailing arguments were found in Any type" for private function with implicit anonymous return type inside generic classKT-46661
FIR: Investigate inference issue with self-types and star projectionKT-46775
[Native] [IR] Support multiple suspend lambdas as class supertypesKT-46836
Error: Invalid LLVM module on inlineClasses external testsKT-46838
NullPointerException: Parameter specified as non-null is null in CollectionsKt.joinToString()KT-46896
Native IR: NPE when using irBuiltIns.suspendFunctionKT-46996
FIR: INFERENCE_NO_INFORMATION_FOR_PARAMETER on type aliases with non-trivial expansionsKT-47034
KtValueArgument.getArgumentExpression could lead to StubBasedPsiElementBase.notBoundInExistingAstKT-47052
BuilderInference case with flatMapTo doesn't work properlyKT-47082
Stub type variable is leaked (reproduces with K/N during deserialization)KT-47143
ClassicTypeSystemContext couldn't handle: Captured(*) in Kotlin 1.5.0KT-47148
Type mismatch: inferred type is Any? but T? was expectedKT-47180
Forbid using OptIn markers on local variable, value parameter or fieldKT-47181
Forbid using OptIn markers on types or type parametersKT-47183
Segfault on int unboxingKT-47208
Backend IntConfiguration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.