:warning: :tada: Kotlin 1.4-M3 has been released!...
# javascript
s
⚠️ 🎉 Kotlin 1.4-M3 has been released! (https://blog.jetbrains.com/kotlin/2020/07/kotlin-1-4-m3-is-out-standard-library-changes/) We’ll go in-depth about new features for Kotlin/JS in the next blog post, but in case you’re itching to migrate already, here are the breaking changes in M3: -
npm
dependencies in Gradle now require versions to be specified explicitly. If you want to just take whatever version, you can specify
*
– but that’s not recommended for obvious reasons. -
cssSettings
gets renamed to
cssSupport
, and isn’t enabled by default anymore. To turn on CSS support, set
cssSupport.enabled = true
in your
webpackTask
,
runTask
and
testTask
. -
kotlin.dom
and
kotlin.browser
are moving to
kotlinx.dom
and
kotlinx.browser
. Same APIs, different packages, so all that is needed is to adjust your
import
statements. We’ll lay out the rationale for these changes in the next blog post as well. Happy experimenting! Find the full changelog at https://github.com/JetBrains/kotlin/blob/1.4-M3/ChangeLog.md#js-tools
🔥 1
👍 2
🎉 14
g