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