Kotlin

詳細情報

タイトル Kotlin
URL https://kotlinlang.org/
バージョン ver 2.0.0-RC3
更新日 2024/05/10
追加日 2016/02/16
種別 フリーソフト
説明 JetBrainsが開発するJVM上で動作するプログラミング言語。

レビュー

Kotlinは、開発者をより幸せにするために設計された、モダンかつ成熟したプログラミング言語。簡潔で、安全で、Javaや他の言語と相互運用可能で、生産的なプログラミングを可能とするために、複数のプラットフォーム間でコードを再利用する多くの方法を提供する。

スクリーンショット

スクリーンショットはありません。

更新グラフ

バージョン履歴

Kotlin 2.0.0-RC3 Pre-release
Pre-release

Changelog

Apple Ecosystem

  • KT-67892 KotlinNativeLink task instantiates with a fixed list of apiFiles

Compiler

  • KT-67993 K2: PCLA Inference throws exception with local objects
  • KT-67912 K2: Cannot inference type properly from inline function with Type parameter
  • KT-68056 Prohibit referencing java field in case of conflict with property from companion object of the derived class
  • KT-67609 K2: False negative INFERRED_TYPE_VARIABLE_INTO_EMPTY_INTERSECTION_ERROR
  • KT-67875
(省略されました)
1.9.24

Changelog

Backend. Wasm

  • KT-64890 K/Wasm compiler crash with external class and Kodein

Compiler

  • KT-65235 JDK 21 might lead to change in overloads resolution
  • KT-66768 K1: False positive UNRESOLVED_REFERENCE in super.getFirst/getLast call

Native

  • KT-67218 Native: nested classes in kx.serialization ProtoBuf produce empty array for release binary

Tools. Gradle

  • KT-67139 Build reports can be overridden
  • KT-67138 Json report is empty for incremental compilation

Tools. Gradle. Multiplatform

(省略されました)
Kotlin 2.0.0-RC2 Pre-release
Pre-release

Changelog

Backend. Wasm

  • KT-66515 Wasm: "call param types must match" during the build
  • KT-67435 K/Wasm: import.meta.url transforming into absolute local path in webpack
  • KT-66905 K/Wasm: support new version of exception handling proposal

Compiler

New Features

  • KT-59688 K2: consider removing smartcasts only from the only visibile property with specific name, not from all of them

Performance Improvements

  • KT-67388 FP intellij: performance de
(省略されました)
Kotlin 2.0.0-RC1 Pre-release
Pre-release

Changelog

Analysis. API

Fixes

  • KT-65616 K2: FirDeclarationStatusImpl cannot be cast to FirResolvedDeclarationStatus from STATUS
  • KT-64241 K2: Unresolved calls to functions in scripts depending on included projects
  • KT-65813 Analysis API Standalone: FirDeclarationForCompiledElementSearcher does not find compiled elements
  • KT-66052 AA: render expect/actual modifier
  • KT-66795 KtCodeFragment.clone() is broken
  • KT-66532 K2 CodeGen AA: missing annotation setup for fun
(省略されました)
Kotlin 2.0.0-Beta5 Pre-release
Pre-release

Changelog

Analysis. API

New Features

  • KT-65327 Support reading klib contents in Analysis API

Performance Improvements

  • KT-65560 K2: Anaysis API: ContextCollector triggers redundant resolution in the case of file elements

Fixes

  • KT-65571 Support VirtualFile inputs to Analysis API modules
  • KT-65600 Analysis Api: FirFile for KtCodeFragments are created and not updated on changes
  • KT-64579 K2 IDE: "Expected FirResolvedArgumentList for FirAnno
(省略されました)
Kotlin 1.9.23

1.9.23

Apple Ecosystem

  • KT-65542 Cinterop tasks fails if Xcode 15.3 is used

Backend. Wasm

  • KT-64486 Kotlin/Wasm/WASI exported function callback for coroutines support

Compiler

  • KT-53478 Could not load module
  • KT-66044 JDK's new API is used over Kotlin's SDK functions
  • KT-64640 Prevent mutating SequenceCollection methods from JDK 21 be available on read-only collections
  • KT-65441 K1: Remove JDK 21 getFirst()/getLast() in (Mutable)List interfaces
  • KT-65634 K/N: data race during monolithic cache creation
(省略されました)
Kotlin 2.0.0-Beta4 Pre-release
Pre-release

Changelog

Analysis. API

Performance Improvements

  • KT-64987 Analysis API: 50GB memory allocation on creating empty kotlinx.collections.immutable.persistentMapOf

Fixes

  • KT-65268 K2: Checking the presence of the delegated constructor call forces AST loading
  • KT-63330 Analysis API: Stub-based deserialized symbol providers provide unresolved enum entry annotation arguments
  • KT-65418 Analysis API: LLFirAbstractSessionFactory loads anchor module sessions eagerly
  • KT-64718<
(省略されました)
Kotlin 2.0.0-Beta3 Pre-release
Pre-release

Changelog

Analysis. API

Fixes

  • KT-62895 K2 IDE. FP 'when' expression must be exhaustive with sealed interface from library
  • KT-64805 Analysis API: introduce common entry point for multi-file test cases
  • KT-64714 K2: Analysis API: CollectionsKt.map doesn't resolves from Java in kotlin repo
  • KT-64647 K2: Allow to calculate decompiled inheritors for sealed classes in tests
  • KT-64595 AA: stackoverflow while simplifying a type with a recursive type parameter
  • KT-64825
(省略されました)
Kotlin 1.9.22

Changelog

JavaScript

  • KT-63719 KJS: Test results ignored for ES module kind
  • KT-63808 compileTestDevelopmentExecutableKotlinJs failed in JsIntrinsicTransformers

Native

  • KT-64139 Weird bug with while and coroutine in Kotlin Native
  • KT-63471 linkDebugTestIosX64 Failed to build cache: NoSuchFileException bitcode_deps
  • KT-63789 Native: Incremental compilation problem with compose

Tools. CLI

  • KT-64485 CLI: cache and optimize parsing of command-line arguments

Tools. Gradle

  • KT-63990
(省略されました)
Kotlin 2.0.0-Beta2 Pre-release
Pre-release

Changelog

Analysis. API

Fixes

  • KT-62982 K2: Cannot get a PSI element for 'Enum.values'
  • KT-59732 FirLazyResolveContractViolationException: lazyResolveToPhase(IMPORTS) cannot be called from a transformer with a phase IMPORTS from serialisation plugin
  • KT-61757 K2 IDE: resolution to buitlins does not work for from common module
  • KT-62676 K2 IDE: Reference shortener does not recoginize redundant this references
  • KT-63627 K2 IDE: shorten reference shortens required qualifier
  • KT-62675 K2 IDE:
(省略されました)
Kotlin 1.9.21

Changelog

Compiler

  • KT-62885 Introduce a language feature entry for expect actual classes for easier configuration of MPP projects
  • KT-63081 Optimize new native caches: CachedLibraries.computeVersionedCacheDirectory()

Docs & Examples

  • KT-55619 Document String.format function

IDE. Gradle Integration

  • KT-62877 Artifact files collecting for project configuration was finished. Resolution for configuration configuration X will be skipped

IDE. Gradle. Script

  • KT-60813 Scripts: NoSuchMethodError: 'void org.slf4j.Logger.error(java.l
(省略されました)