1.1-RC
Pre-release
Pre-release
Reflection
KT-16358
Incompatibility between kotlin-reflect 1.0 and kotlin-stdlib 1.1 fixed
Compiler
Coroutine support
KT-15938
Changed error message for calling suspend function outside of suspendable contextKT-16092
Backend crash fixed: "Don't know how to generate outer expression" for destructuring suspend lambdaKT-16093
Annotations are retained during reading the binary representation of suspend functionsKT-16122
java.lang.VerifyError fixed in couroutines: (String, null, suspend () -> String)KT-16124
Marked as UNSUPPORTED: suspension points in default parametersKT-16219
Marked as UNSUPPORTED: suspend get/set, in/!in operators forKT-16145
Beta-2 coroutine regression fixed (wrong code generation)
Kapt3
KT-15524
Fix javac error reporting in Kotlin daemonKT-15721
JetBrains nullability annotations are now returned from Element.getAnnotationMirrors()KT-16146
Fixed work in verbose modeKT-16153
Ignore declarations with illegal Java identifiersKT-16167
Fixed compilation error with kapt arguments in build.gradleKT-16170
Stub generator now adds imports for corrected error types to stubsKT-16176
javac's finalCompiler log is now used to determine annotation processing errors
Backward compatibility
KT-16017
More graceful error message for disabled featuresKT-16073
Improved backward compatibility mode with version 1.0 on JDK dependent built-insKT-16094
Compiler considers API availability when compiling language features requiring runtime supportKT-16171
Fixed regression "Unexpected container error on Kotlin 1.0 project"KT-16199
Do not import "kotlin.comparisons.*" by default in language version 1.0 mode
Various issues
KT-16225
enumValues non-reified stub implementation references nonexistent method no moreKT-16291
Smart cast works now when getting class of instanceKT-16380
Show warning when running the compiler under Java 6 or 7
JavaScript backend
KT-16144
Fixed inlining of functions called through inheritor ("fake" override) from another moduleKT-16158
Error is not reported now when library path contains JAR file without JS metadata, report warning insteadKT-16160
Companion object dispatch receiver translation fixed
Standard library
KT-7858
Add extension functiontakeUnless
javaClass
extension property is deprecated, useinstance::class.java
instead- Massive deprecations are coming in JS standard library in
kotlin.dom
andkotlin.dom.build
packages
IDE
Configuration issues
KT-15899
Kotlin facet: language and api version for submodule setup for 1.0 are filled now as 1.0 tooKT-15914
Kotlin facet works now with multi-selected modules in Project Settings tooKT-15954
Does not suggest to configure kotlin for the module after each new kt-file creationKT-16157
freeCompilerArgs are now imported from Gradle into IDEAKT-16206
Idea no more refuses to compile a kotlin project defined as a maven projectKT-16312
Kotlin facet: import from gradle: don't import options which are set implicitly alreadyKT-16325
Kotlin facet: correct configuration after upgrading the IDE pluginKT-16345
Kotlin facet: detect JavaScript if the module has language 1.0kotlin-js-library
dependency
Coroutine support
KT-16109
Error fixed: The -Xcoroutines can only have one valueKT-16251
Fix detection of suspend calls containing extracted parameters
Intention actions, inspections and quick-fixes
2017.1 compatibility
KT-15870
"Package name does not match containing directory" inspection: fixed throwable "AWT events are not allowed inside write action"KT-15924
Create Test action: fixed throwable "AWT events are not allowed inside write action"
Bug fixes
KT-14831
Import statement and FQN are not added on converting lambda to reference for typealiasKT-15545
Inspection "join with assignment" does not change now execution order for propertiesKT-15744
Fix: intention to importsleep
wrongly suggestsThread.sleep
KT-16000
Inspection "join with assignment" handles initialization with 'this' correctlyKT-16009
Auto-import for JDK classes in .kts filesKT-16104
Don't insert modifiers (e.g. suspend) before visibility
Completion
KT-16076
Completion does not insert more FQN kotlin.text.StringKT-16088
Completion does not insert more FQN forkotlin
packageKT-16110
Keyword 'suspend' completion inside generic argumentsKT-16243
Performance enhanced after variable of typeArrayList
Various issues
KT-15291
'Find usages' now does not report property access as usage of getter method in Java class with parameterKT-15647
Exception fixed: KDoc link to member of class from different package and moduleKT-16071
IDEA deadlock fixed: when typing "parse()" in .kt fileKT-16149
Intellij Idea 2017.1/Android Studio 2.3 beta3 and Kotlin plugin 1.1-beta2 deadlock fixed
Coroutine libraries
KT-15716
Introduced startCoroutineUninterceptedOrReturn coroutine intrinsicKT-15718
createCoroutine now returns safe continuationKT-16155
Introduced createCoroutineUnchecked intrinsic
Gradle support
KT-15829
Gradle Kotlin JS plugin: removed false "Duplicate source root:" warning for kotlin filesKT-15902
JS: gradle task output is now considered as source set outputKT-16174
Error fixed during IDEA-Gradle synchronization for Kotlin JSKT-16267
JS: fixed regression in 1.1-beta2 for multi-module gradle projectKT-16274
Kotlin JS Gradle unexpected compiler error / absolute path to output fileKT-16322
Circlet project Gradle import issue fixed