Kotlin 各组件的稳定性(1.4 之前)

There can be different modes of stability depending of how quickly a component is evolving:

  • Moving fast (MF): no compatibility should be expected between even incremental releases, any functionality can be added, removed or changed without warning.

  • Additions in Incremental Releases (AIR): things can be added in an incremental release, removals and changes of behavior should be avoided and announced in a previous incremental release if necessary.

  • Stable Incremental Releases (SIR): incremental releases are fully compatible, only optimizations and bug fixes happen. Any changes can be made in a feature release.

  • Fully Stable (FS): incremental releases are fully compatible, only optimizations and bug fixes happen. Feature releases are backwards compatible.

Source and binary compatibility may have different modes for the same component, e.g. the source language can reach full stability before the binary format stabilizes, or vice versa.

The provisions of the Kotlin evolution policy fully apply only to components that have reached Full Stability (FS). From that point on incompatible changes have to be approved by the Language Committee.

组件状态其实版本对于源代码对于二进制
Kotlin/JVM1.0FSFS
kotlin-stdlib(JVM)1.0FSFS
KDoc 语法1.0FSN/A
协程1.3FSFS
kotlin-reflect(JVM)1.0SIRSIR
Kotlin/JS1.1AIRMF
Kotlin/Native1.3AIRMF
Kotlin 脚本(*.kts)1.2AIRMF
dokka0.1MFN/A
Kotlin 脚本 API1.2MFMF
编译器插件 API1.0MFMF
序列化1.3MFMF
多平台项目1.2MFMF
内联类1.3MFMF
无符号算术1.3MFMF
默认情况下,所有其他实验性特性N/AMFMF