Compatibility
Minecraft: Java Edition
1.19–1.19.3
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.9
Platforms
Links
Creators
Details
Licensed Apache-2.0
Created 3 years ago
Updated 3 years ago
Changelog
1.8.0-Beta
Android
KT-53013Increase AGP compile version in KGP to 4.1.3KT-53709MPP, Android SSL2: Conflicting warnings forandroidTest/kotlinsource set folder
Backend. Native. Debug
KT-53561Invalid LLVM module: "inlinable function call in a function with debug info must have a !dbg location"
Compiler
New Features
KT-53916Support Xcode 14 and new Objective-C frameworks in Kotlin/Native compilerKT-54460Implementation of non-local break and continueKT-32208Generate method annotations into bytecode for suspend lambdas (on invokeSuspend)KT-53438Introduce a way to get SourceDebugExtension attribute value via JVMTI for profiler and coverage
Performance Improvements
Fixes
KT-52974"IllegalStateException: Symbol with IrSimpleFunctionSymbolImpl is unbound" compiling native targets of MPP projectKT-48678Coroutine debugger: disable "was optimised out" compiler featureKT-54745Restore KtToken constructors without tokenId parameter to preserve back compatibilityKT-54650Binary incompatible ABI change in Kotlin 1.7.20KT-52786Frontend / K2: IndexOutOfBoundsException when opting in to K2KT-54004Builder type inference does not work correctly with variable assignment and breaks run-timeKT-54581JVM: "VerifyError: Bad type on operand stack" with generic inline function andwheninside try-catch blockKT-52913JVM / IR: "IllegalArgumentException: Inline class types should have the same representation" when trying to down cast cast a value classKT-54600NPE on passing nullable Kotlin lambda as Java's generic SAM interface withsupertype boundKT-54463Delegating to a field with a platform type causes java.lang.NoSuchFieldError: value$delegateKT-54509Ir Interpreter: unable to evaluate string concatenation with "this" as argumentKT-54393Change in behavior from 1.7.10 to 1.7.20 for java field override.KT-54615JVM: Internal error in file lowering: java.lang.AssertionError: Error occurred while optimizing an expressionKT-53146JVM IR: unnecessary checkcast of null leads to NoClassDefFoundError if the type isn't available at runtimeKT-51868JVM / IR: Inconsistent behaviour between lambda expression and SAM interface conversion for the same interfaceKT-53947IllegalStateException: No mapping for symbol: VALUE_PARAMETER INSTANCE_RECEIVERKT-53712Add mode to prevent generating JVM 1.8+ annotation targets (TYPE_USE, TYPE_PARAMETER)KT-48532Remove old JVM backendKT-35187NullPointerException on compiling suspend inline fun with typealias to suspend function typeKT-54275K2: "IllegalArgumentException: KtParameter is not a subtype of class KtAnnotationEntry for factory REPEATED_ANNOTATION"KT-47475"IncompatibleClassChangeError: disagree on InnerClasses attribute": cross-module inlined WhenMappings has mismatched InnerClassesKT-53197K2: 'init' hides member of supertype 'UIComponent' and needs 'override' modifierKT-53867K2: @JvmRecord does not compile to a java recordKT-53964K2 is unable to work with Java recordsKT-53349K2: TYPE_MISMATCH caused by non-local returnKT-54100"Type variable TypeVariable(P) should not be fixed" crash in code with errorsKT-49017Forbid usages of super or super if in fact it accesses an abstract memberKT-54192Warn about unsupported feature on generic inline class parametersKT-53723Friend modules aren't getting passed to cache build during box testsKT-53873K2: Duplicated diagnostics reported from user type ref checkersKT-50909"VerifyError: Bad type on operand stack" caused by smartcasting for nullable inline class property in classKT-48031"IllegalStateException: Type variable TypeVariable(T) should not be fixed!"KT-54115Restore Psi2IrTranslator constructor from 1.7.20KT-53908K2: Self-referencing generics in Java class causes New Inference Error (IE: class Foo<T extends Foo>)KT-53193K2: compile error on project that compiles fine with normal 1.7.10KT-53953Forbid usages of super or super if in fact it accesses an abstract memberKT-47473NI: Missed UPPER_BOUND_VIOLATED diagnostics if use type aliases with type parametersKT-54049K2: false positive MANY_IMPL_MEMBER_NOT_IMPLEMENTEDKT-30054Wrong approximation if nullable anonymous object with implemented interface is usedKT-53751Postpone IgnoreNullabilityForErasedValueParameters featureKT-53324Implement Enum.entries lowering on K/NKT-44441K2: report redeclaration error if there is a Java class with the same name as the Kotlin classKT-53493K2:val on function parametercounts as just warningKT-53435K2: "IllegalArgumentException: class KtValueArgument is not a subtype of class KtExpression for factory ANNOTATION_ARGUMENT_MUST_BE_CONST" if string in nested annotation is concatenatedKT-52927AssertionError: LambdaKotlinCallArgumentImplKT-53922Make Enum.entries unstable feature to poison binariesKT-53783Exception during psi2ir when declaring expect data objectKT-41670JVM IR: AbstractMethodError when using inheritance for fun interfacesKT-53178K2: implement diagnostics for serialization pluginKT-53465Unnecessary checkcast to array of reified type is not optimized since Kotlin 1.6.20KT-52970Default value constant in companion object works on JVM and JS, but fails on nativeKT-27936Write InnerClasses attribute for all class names used in a class fileKT-53007JVM: "Bad invokespecial instruction: current class isn't assignable to reference class" when call superclass of outer class method from inner classKT-53261Evaluate effect from inline for primitive typesKT-39492Kotlin.Metadata's packageName field cannot be an empty stringKT-53664Ir Interpreter: unable to evaluate name of function reference marked with JvmStatic from another moduleKT-52478[Native] Partial linkage: Building native binary from cached KLIBs fails if one library depends on removed nested callable member from another oneKT-53667Compiler crashes on attempt to alloc a string on the stack in new MMKT-48822CompilationException: Back-end (JVM) Internal error: Failed to generate expression: KtProperty - ConcurrentModificationExceptionKT-50281IllegalStateException: unsupported call of reified inlined functionKT-53480Internal error in file lowering: java.lang.ClassNotFoundException: com.android.systemui.R$stringKT-50083Different error messages in android and JVM (Intrinsics.checkNotNullParameter).KT-53270K1: implement synthetic Enum.entries propertyKT-41017FIR: should we support smartcast after null checkKT-52823Cannot access class Thread.State after upgrading to 1.7 from 1.6.1 using -Xjdk-release=1.8KT-53257FIR: Improper context receiver argument is chosen when there are two extension receiver candidatesKT-53090Anonymous function and extension function literals are generated as classes even with -Xlambdas=indyKT-53208K2: Cannot get annotation for default interface method parameter when compiled with-Xuse-k2KT-53184K2: NoSuchMethodError on KProperty1.get() referenced via nullable typealiasKT-53198K2: Return type mismatch: expected kotlin/Unit, actual kotlin/Unit?KT-53100Optimization needed: (CONSTANT_PRIMITIVE(x: T?)) => xKT-49875[FIR] Support infering PRIVATE_TO_THIS visibilityKT-53024Refactor FIR renderer to composable architectureKT-29168Prohibit upper bounds violation with generic typealias using not all type parameters as arguments for underlying type in supertypesKT-53148K1: introduce warning for inline virtual member in enumKT-53041NPE in Kotlin 1.7.0 when using RxJava Maybe.doOnEvent with anonymous parametersKT-49847Devirtualization fails to eliminate boxing in function reference contextKT-52875Extension function literal creation with-Xlambdas=indyfails with incorrect argumentsKT-53072INVALID_IF_AS_EXPRESSION error isn't shown in the IDE (LV 1.8)KT-52985Native: a function with typeT?returned akotlin.Unitinstead ofnullKT-52020FIR warning message includes internal renderingKT-50835Inline functions with suspend lambdas break the tail-call optimizationKT-54802"VerifyError: Bad type on operand stack" for inline functions on arrays
IDE
KT-48773Investigate the possibility of removing dependency on old JVM backend in light classesKT-51101FIR IDE: Exception on "Show Type Info" actionKT-51656FIR IDE: ProgressCancelled exception is masked in the compiler during resolveKT-51315FIR IDE: move out base modules from fe10 plugin to reuse in k2 pluginKT-53097Extract common part of light classes to another module
IDE. Debugger
KT-51755Compilation exception with scripting compilation during debug session
IDE. Gradle Integration
KT-53514HMPP: False positive forNone of the following functions can be called with the arguments supplied.with Enum in common moduleKT-48135In the IDE import, reuse dependency granular source set KLIBs across multi-project build to avoid duplicate external librariesKT-51583Gradle 7.4+ | SamplesVariantRule interference: Could not resolve all files for configuration ':kotlinKlibCommonizerClasspath'
IDE. Inspections and Intentions
KT-49643Intentions: "Implement members" fails when base type function declaration uses unresolved generic types
IDE. Navigation
KT-51314FIR IDE: show Kotlin declarations in search symbol
IDE. Script
KT-54325.settings.gradle.kts and .init.gradle.kts are reported as standalone scripts
IDE. Tests Support
KT-50269FIR IDE: Allow running tests via gutter
JavaScript
Fixes
KT-53931KJS / Gradle: Regression with 1.7.20-RC: ReferenceError: println is not definedKT-54520KJS / IR Allow IdSignature clashesKT-54686KJS / IR: Incorrect generation of signatures when one of argument is nested classKT-54479KJS / IR + IC: Adding or removing companion fields leads java.lang.IllegalStateException in the compiler IC infrastructureKT-54382KJS / IR: Wrong type check for inheritors of suspend functionsKT-54323KJS / IR + IC: Intrinsics from stdlib may lose their dependencies in incremental rebuildKT-53361KJS / IR: No debug info is generated for in-line js codeKT-53321Implement Enum.entries lowering on JS/IRKT-53112KJS IR turn on IC infra by defaultKT-50503Kotlin/JS: IR + IC: compileTestDevelopmentExecutableKotlinJs fails with ISE: "Could not find library" after removing module dependencyKT-54120JS IR + IC: pointless invalidation of dependent code after modifying companionsKT-54011JS IR + IC: EnumEntries don't work well when IC is enabledKT-54010JS IR + IC: Force IC cache invalidation after updating language version or featuresKT-53672KJS / IR: "IndexOutOfBoundsException: Index 0 out of bounds for length 0" caused by function reference to extension function of reified type variableKT-43455KJS: IR. Incremental compilation problem with unbound symbolsKT-53539KJS: Exported class inherited non-exported class shows warningKT-53443KJS/IR: NullPointerException caused by anonymous objects inside lambdasKT-52795K/JS and K/Native IR-validation/compilation errors for a valid kotlin codeKT-52805KJS/IR: Invalid call of inline function inalsoblockKT-51151KJS / IR: Wrong overloaded generic method with receiver is calledKT-52830KJS/IR: Sourcemap disabling doesn't workKT-52968KJS / IR: Buggy generation of overridden methodsKT-53063KJS / IR + IC: undefined cross module reference for implemented interface functionsKT-51099KJS / IR + IC: Cache invalidation doesn't check generic class variance annotations (in, out)KT-51090KJS / IR + IC: Cache invalidation doesn't check suspend qualifierKT-51088KJS / IR + IC: Cache invalidation doesn't check class qualifiers (data, inline)KT-51083KJS / IR + IC: Cache invalidation doesn't check inline function which was non inline initiallyKT-51896KJS / IR + IC: Cache invalidation doesn't trigger rebuild for fake overridden inline functions
Language Design
KT-41886Ability to require opt-in for interface implementation, but not for usageKT-34943OVERLOAD_RESOLUTION_AMBIGUITY inconsistent with the equivalent Java codeKT-49110Prohibit access to members of companion of enum class from initializers of entries of this enum
Libraries
New Features
KT-21007Provide Kotlin OSGI Bundle with extensions for JRE8 (and JRE7)KT-54082Comparable and subtractible TimeMarksKT-50484Extensions for java.util.Optional in stdlibKT-52928Provide copyToRecursively and deleteRecursively extension functions for java.nio.file.PathKT-52932Open-ended ranges in the standard libraryKT-49425Update OptIn documentation to reflect latest design changesKT-54005Allow callingdeclaringJavaClasson EnumKT-52933rangeUntil members in built-in types
Performance Improvements
KT-53508Cache typeOf-related KType instances when kotlin-reflect is used
Fixes
KT-51907Switch JVM target of the standard libraries to 1.8KT-53277Stabilize experimental API for 1.8KT-53864Review deprecations in stdlib for 1.8KT-47707Remove the system property and the brittlecontainsoptimization code itselfKT-52336Different behavior on JVM and Native in stringBuilder.append(charArray, 0, 1)KT-53927Remove deprecation from ConcurrentModificationException constructorsKT-53134stdlib > object Charsets > not thread safe lazy initializationKT-51063Gradle project with JPS runner: "JUnitException: Failed to parse version" JUnit runner internal error with JUnitKT-52908Native: setUnhandledExceptionHook swallows exceptions
Native
KT-51043Kotlin Native: ObjC-Interop: kotlin.ClassCastException: null cannot be cast to kotlin.Function2KT-50786Native: prohibit suspend calls inside autoreleasepool {}KT-53346MPP project with kotlinx-serialization-json:1.4.0-RC is not builtKT-52834Implement test infrastructure for K2/Native
Native. C Export
KT-36878Reverse C Interop: incorrect headers generation for primitive unassigned type arraysKT-53599[Reverse C Interop] Provide box/unbox API for unsigned primitive typesKT-41904Kotlin/Native : error: duplicate member for interface and function with the same nameKT-42830[Reverse C Interop] Add API to get value of boxed primitivesKT-39496K/N C: optional unsigned types as function parameters crash the compilerKT-39015Cannot compile native library with nullable inline class
Native. C and ObjC Import
KT-54738Cocoapods cinterop: linking platform.CoreGraphics packageKT-54001Kotlin/Native: support header exclusion in cinterop def filesKT-53151Native: Custom declarations in .def don't work with modules, only headers
Native. ObjC Export
KT-53680Obj-C refinement annotationsKT-54119Native: runtime assertion failed due to missing thread state switchKT-42641Don't export generated component* methods from Kotlin data classes to Obj-C header
Native. Platform Libraries
KT-39747Why is there no WinHttp API in Kotlin/Native's Windows API?
Native. Runtime
KT-49228Kotlin/Native: Allow to unset unhandled exception hookKT-27305Fix FILE macro insideRuntimeCheckandRuntimeAssert
Native. Runtime. Memory
KT-54498Deprecation message of 'FreezingIsDeprecated' is not really helpfulKT-53182New memory manager: Unexpected memory usage on IOS
Native. Stdlib
KT-52429Small Usability Improvements for Worker API
Reflection
KT-54611KTypeImpldoes not take into account class loader from theclassifierpropertyKT-48136MakeReflection.getOrCreateKotlinPackageuse cache whenkotlin-reflectis usedKT-50705Use ClassValue to cache KClass objects in kotlin-reflectKT-53454Properly cache the same class's KClass when it's loaded by multiple classloaders in getOrCreateKotlinClass
Specification
KT-53646Incorporate rangeUntil (..<) operator into specification
Tools. CLI
KT-54116Add JVM target bytecode version 19KT-53278Support values 6 and 8 for -Xjdk-releaseKT-46312CLI: Kotlin runner should use platform class loader to load JDK modules on Java 9+
Tools. Commonizer
KT-54310Commonizer fails on 1.8.0-dev K/N distributionsKT-48576[Commonizer] platform.posix.pselect not commonized in Ktor
Tools. Compiler Plugins
KT-46959Kotlin Lombok: Support generated builders (@builder)KT-53647[K2] Unresolved reference compilation error occurs if a field is annotated with @ Singular and has type Iterable<>
Tools. Compiler plugins. Serialization
KT-53157Recursion detected in a lazy value under LockBasedStorageManager in kotlinx.serializationKT-49660kotlinx.serialization: IndexOutOfBoundsException for parameterized sealed classKT-43910JS IR: Serialization with base class: "IndexOutOfBoundsException: Index 0 out of bounds for length 0"
Tools. Daemon
KT-52622Kotlin/JS, Kotlin/Common compilations start Kotlin daemon incompatible with Kotlin/JVM compilation on JDK 8
Tools. Gradle
KT-54703Stdlib substitution does not work with JPMS modules
New Features
KT-53357Change single build metrics propertyKT-34464Kotlin build report path not clickable in the IDE
Performance Improvements
KT-52520Remove usage of reflection from CompilerArgumentsGradleInputKT-53118Fully up-to-date builds are slower with Kotlin 1.7.0
Fixes
KT-54136Duplicated classes cause build failure if a dependency to kotlin-stdlib specified in an android projectKT-51923Improve usability of errors and warnings by being able to click on themKT-54439Project failed to sync Native LaguageSettings to compiler options in afterEvaluateKT-54399Undeprecate 'kotlinOptions' DSLKT-54306Change the naming of newly added Compiler*Options classes and interfacesKT-53885Bump minimal supported Gradle version to 6.8.3KT-53773Protect and system properties can contain sensitive dataKT-53732Add custom values limits for build scan reportsKT-52624Compatibility with Gradle 7.3 releaseKT-51831Gradle: removekotlin.compiler.execution.strategysystem propertyKT-51679Change deprecation level to error for KotlinCompile setClasspath/getClasspath methodsKT-48843Add ability to disable Kotlin daemon fallback strategyKT-53617KotlinCompilerExecutionStrategy value is ignored by depending modules if configure once for all project modules using allProjects {}KT-53823Kotlin Gradle Plugin uses deprecated Gradle API: Provider.forUseAtConfigurationTime()KT-54142Increase Kotlin Gradle plugin Gradle target API to 7.5KT-50161Android variant filter breaks KotlinCompile cache compatibilityKT-54113LanguageSettings to KotlinNativeLink.toolOptions sync are executed on the wrong contextKT-54112Missing target input on KotlinNativeLink taskKT-45879Documentation: Wrong kotlin languageVersion "1.6 (EXPERIMENTAL)"KT-54103Remove JvmTarget.JVM_1_6 from generated Gradle compiler typeKT-50598MULTIPLE_KOTLIN_PLUGINS_SPECIFIC_PROJECTS_WARNING is only shown on first buildKT-52209Corrupted cache and non-incremental build if produce caches "in process" and restore then compiling with kotlin daemonKT-41642"TaskDependencyResolveException: Could not determine the dependencies" when trying to apply stdlibKT-53390Drop usage of -Xjava-source-roots when passing java sources required for Kotlin compilationKT-38622Non-incremental compilation because of R.jar with Android Gradle plugin 3.6KT-53615Gradle: Fix deprecation warnings in CleanableStoreImplKT-38576AnalysisResult.RetryWithAdditionalRoots crashes during incremental compilation with java classes in classpathKT-53244Report from gradle about compiler pluginsKT-45747Add basic JUnit 5 Kotlin Gradle Plugin Android tests setupKT-52839Warn in Gradle log why incremental compilation failed
Tools. Gradle. Cocoapods
KT-54314Cocoapods: Signing pod dependency for Xcode 14KT-54060Xcode 14: disable bitcode embedding for Apple frameworksKT-53127Cocoapod plugin ignores pod versionKT-53340Change default linking type for frameworks registered by cocoapods pluginKT-53392Deprecate and delete downloading pod dependencies by direct linkKT-53695Build of macOS application fails if a framework is integrated via Cocoapods pluginKT-53174CocoaPods: Synthetic Podfile does not specify platform
Tools. Gradle. JS
KT-53374KJS / Gradle: Implement IDEA sync detection logic via ValueSource to improve configuration cache supportKT-53788KJS / Gradle: Disable Gradle build cache for KotlinJsDce when development mode is enabledKT-53614Kotlin/JS upgrade npm dependenciesKT-52950KJS: Report if yarn.lock was updated during builtKT-53367KJS: Migrate cssSupport APIKT-45789KJS / IR: Transitive NPM dependencies are not included in PublicPackageJsonTask output
Tools. Gradle. Multiplatform
New Features
KT-53396Support 'implementation platform()' by gradle kotlin mpp plugin for JVM targetKT-40489MPP / Gradle: support BOM (enforcedPlatform) artifacts in source set dependencies DSL
Fixes
KT-27292MPP: jvm { withJava() }: Gradle build: Java source under Kotlin root is resolved while building, but does not produce output class filesKT-34650Naming clash in MPP+Android: androidTest vs androidAndroidTestKT-54387Remove MPP alpha stability warningKT-31468Targets disambiguation doesn't work if a depending multiplatform module useswithJava()modeKT-35916Gradle MPP plugin: Configurations for a main compilation and its default source set have different namingKT-54090Take an Apple test device from the device listKT-53256Implement K/N compiler downloading for KPMKT-45412KotlinCompilation: Make sure .kotlinSourceSets and .allKotlinSourceSets include the default source setKT-54071MPP/AGP compatibility: Bump maxSupportedVersion to 7.3.0
Tools. Gradle. Native
KT-53191Native cinterop sync problem with gradleKT-54583watchosDeviceArm64 target shouldn't register test tasksKT-53107Add arm64 support for watchOS targets (Xcode 14)KT-52303Gradle / Native: Build tasks ignore project.buildDirKT-47355Support macos target for FatFramework taskKT-53339MPP / CocoaPods: The static framework fails to install on a real iOS deviceKT-31573Missing description for Native Gradle tasksKT-53131Gradle Sync: "NoSuchElementException: Array contains no element matching the predicate" with CocoaPodsKT-53686Task assembleReleaseXCFramework fails with "error: the path does not point to a valid framework" if project name contains a dash
Tools. Incremental Compile
KT-53266Increment Compilation: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing companion object constant fieldKT-53871New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline property accessorKT-53231New IC reports build failures for missing classpath snapshotsKT-19804Relocatable IC cachesKT-52946CompileKotlinJs task is executed non-incrementally if there were changes made to the dependant module
KT-53266 Increment Compilation: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing companion object constant fieldKT-53871 New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline property accessorKT-53231 New IC reports build failures for missing classpath snapshotsKT-19804 Relocatable IC cachesKT-52946 CompileKotlinJs task is executed non-incrementally if there were changes made to the dependant moduleKT-53266Increment Compilation: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing companion object constant fieldKT-53871New IC: "IllegalStateException: The following LookupSymbols are not yet converted to ProgramSymbols" when changing an inline property accessorKT-53231New IC reports build failures for missing classpath snapshotsKT-19804Relocatable IC cachesKT-52946CompileKotlinJs task is executed non-incrementally if there were changes made to the dependant module
Tools. JPS
KT-45474False positive NO_ELSE_IN_WHEN on sealed class with incremental compilationKT-54228Switching abstract to sealed classes causes incremental issueKT-38483JPS: Stopping compilation causes IDE CompilationCanceledExceptionKT-50310False positive NO_ELSE_IN_WHEN on incremental build when adding sealed classesKT-48813Move cache version to compiler
Tools. Kapt
KT-54187JVM IR + kapt: incorrect modifierfinalis generated for nested enum in interfaceKT-48827Remove 'kapt.use.worker.api' propertyKT-52761Kotlin 1.7.0 breaks kapt processing for protobuf generated java sources
Tools. Scripts
Files
Metadata
Release channel
BetaVersion number
1.8.0-BetaLoaders
Game versions
1.8.9–1.19.3Downloads
159Publication date
November 27, 2022 at 9:25 AMPublisher
TheFruxz
Owner


