Docs for 0.4.0 (#722)

This commit is contained in:
Igor Demin
2021-05-31 18:42:31 +03:00
committed by GitHub
parent 0dc9bf0104
commit cb3794a27e
2 changed files with 9 additions and 5 deletions

View File

@@ -1,7 +1,11 @@
# M4
* New experimental [Composable Window API](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Window_API_new)
* [Tooltips](https://github.com/JetBrains/compose-jb/tree/master/tutorials/Desktop_Components#tooltips)
* Use [Metal renderer for macOS by default](https://github.com/JetBrains/skiko/pull/70)
* [Expose a swing mouse event in Modifier.pointerInput](https://github.com/JetBrains/compose-jb/issues/129#issuecomment-784149646)
* Improved [keyboard support in TextField](https://android-review.googlesource.com/c/platform/frameworks/support/+/1578803)
* Avoid forcing discrete GPU on multi-GPU MacOS machines in [Skiko](https://github.com/JetBrains/skiko/pull/83) and [native distributions](https://github.com/JetBrains/compose-jb/issues/545)
* Fixed [memory leak](https://github.com/JetBrains/compose-jb/issues/538)
* Improved [keyboard support in TextField](https://android-review.googlesource.com/c/platform/frameworks/support/+/1578803)
# M3 (Feb 2021)
* Improve [TextField](https://github.com/JetBrains/compose-jb/issues/277)

View File

@@ -32,11 +32,11 @@ packaging JDK 15 or later must be used.
### Update the wizard plugin
The Сompose plugin version used in the wizard above may be not the last. Update the version of the plugin to the latest available by editing the `build.gradle.kts` file, finding and updating the version information as shown below. In this example the latest version of the plugin was 0.4.0-build182 and a compatible version of kotlin was 1.4.32. For the latest versions, see the [latest versions](https://github.com/JetBrains/compose-jb/releases) site and the [Kotlin](https://kotlinlang.org/) site.
The Сompose plugin version used in the wizard above may be not the last. Update the version of the plugin to the latest available by editing the `build.gradle.kts` file, finding and updating the version information as shown below. In this example the latest version of the plugin was 0.4.0 and a compatible version of kotlin was 1.5.10. For the latest versions, see the [latest versions](https://github.com/JetBrains/compose-jb/releases) site and the [Kotlin](https://kotlinlang.org/) site.
```
plugins {
kotlin("jvm") version "1.5.10"
id("org.jetbrains.compose") version "0.4.0-rc1"
id("org.jetbrains.compose") version "0.4.0"
}
```
@@ -71,8 +71,8 @@ Then create `build.gradle.kts` with the following content:
import org.jetbrains.compose.compose
plugins {
kotlin("jvm") version "1.4.32"
id("org.jetbrains.compose") version "0.4.0-build182"
kotlin("jvm") version "1.5.10"
id("org.jetbrains.compose") version "0.4.0"
}
repositories {