Browse Source

Compose 1.4.1 docs, examples (#3287)

* Compose 1.4.1

* Remove compose-integration from replaceVersion.sh
pull/3305/head v1.5.0-dev1080
Igor Demin 1 year ago committed by GitHub
parent
commit
bf4130cfab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 28
      CHANGELOG.md
  2. 2
      ci/compose-uber-jar/gradle.properties
  3. 2
      ci/templates/desktop-template/gradle.properties
  4. 2
      ci/templates/html-library-template/gradle.properties
  5. 2
      ci/templates/multiplatform-template/gradle.properties
  6. 2
      components/gradle.properties
  7. 2
      examples/chat/gradle.properties
  8. 2
      examples/codeviewer/gradle.properties
  9. 2
      examples/falling-balls/gradle.properties
  10. 2
      examples/html/compose-bird/gradle.properties
  11. 2
      examples/html/compose-in-js/gradle.properties
  12. 2
      examples/html/landing/gradle.properties
  13. 2
      examples/html/with-react/gradle.properties
  14. 2
      examples/imageviewer/gradle.properties
  15. 2
      examples/intellij-plugin/gradle.properties
  16. 2
      examples/issues/gradle.properties
  17. 2
      examples/minesweeper/gradle.properties
  18. 2
      examples/notepad/gradle.properties
  19. 2
      examples/todoapp-lite/gradle.properties
  20. 2
      examples/todoapp/gradle.properties
  21. 2
      examples/visual-effects/gradle.properties
  22. 2
      examples/widgets-gallery/gradle.properties
  23. 2
      gradle-plugins/gradle.properties
  24. 2
      html/gradle.properties
  25. 29
      tools/replaceVersion.sh
  26. 2
      tutorials/HTML/Getting_Started/README.md

28
CHANGELOG.md

@ -1,3 +1,31 @@
# 1.4.1 (June 2023)
## Common
### Fixes
- [Fix perspective transform usage](https://github.com/JetBrains/compose-multiplatform-core/pull/598)
- [After each ComposeScene.render phase, send apply notifications and perform the corresponding changes](https://github.com/JetBrains/compose-multiplatform-core/pull/563)
- [Fix awaitDragStartOnSlop to detect slop-passing on both axes](https://github.com/JetBrains/compose-multiplatform-core/pull/534)
## Desktop
### Fixes
- [Fix `DesktopDropdownMenuPositionProvider` to align with the correct horizontal side of the window](https://github.com/JetBrains/compose-multiplatform-core/pull/555)
- [Propagate LocalLayoutDirection into PopupLayout](https://github.com/JetBrains/compose-multiplatform-core/pull/562)
- [Fix missing scrolling events](https://github.com/JetBrains/compose-multiplatform-core/pull/527)
- [Make popups accessible on desktop](https://github.com/JetBrains/compose-multiplatform-core/pull/439)
## Dependencies
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
- [Compiler 1.4.4](https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.4.4)
- [Runtime 1.4.3](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.4.3)
- [UI 1.4.3](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.4.3)
- [Foundation 1.4.3](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.4.3)
- [Material 1.4.3](https://developer.android.com/jetpack/androidx/releases/compose-material#1.4.3)
- [Material3 1.0.1](https://developer.android.com/jetpack/androidx/releases/compose-material3#1.0.1)
# 1.4.0 (April 2023)
## Common

2
ci/compose-uber-jar/gradle.properties

@ -1,2 +1,2 @@
compose.version=1.3.1
compose.version=1.4.1
kotlin.code.style=official

2
ci/templates/desktop-template/gradle.properties

@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
kotlin.code.style=official
kotlin.version=1.8.20
compose.version=1.4.0
compose.version=1.4.1

2
ci/templates/html-library-template/gradle.properties

@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
kotlin.code.style=official
kotlin.version=1.8.20
compose.version=1.4.0
compose.version=1.4.1

2
ci/templates/multiplatform-template/gradle.properties

@ -4,4 +4,4 @@ android.enableJetifier=true
kotlin.code.style=official
kotlin.version=1.8.20
agp.version=7.1.3
compose.version=1.4.0
compose.version=1.4.1

2
components/gradle.properties

@ -5,7 +5,7 @@ kotlin.code.style=official
# __KOTLIN_COMPOSE_VERSION__
kotlin.version=1.8.20
# __LATEST_COMPOSE_RELEASE_VERSION__
compose.version=1.4.0
compose.version=1.4.1
agp.version=7.3.1
org.jetbrains.compose.experimental.jscanvas.enabled=true
org.jetbrains.compose.experimental.macos.enabled=true

2
examples/chat/gradle.properties

@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.20
agp.version=7.1.3
compose.version=1.4.0
compose.version=1.4.1

2
examples/codeviewer/gradle.properties

@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.20
agp.version=7.1.3
compose.version=1.4.0
compose.version=1.4.1

2
examples/falling-balls/gradle.properties

@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.20
agp.version=7.1.3
compose.version=1.4.0
compose.version=1.4.1

2
examples/html/compose-bird/gradle.properties

@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.8.20
compose.version=1.4.0
compose.version=1.4.1

2
examples/html/compose-in-js/gradle.properties

@ -3,4 +3,4 @@ kotlin.mpp.enableGranularSourceSetsMetadata=true
kotlin.native.enableDependencyPropagation=false
kotlin.js.webpack.major.version=4
kotlin.version=1.8.20
compose.version=1.4.0
compose.version=1.4.1

2
examples/html/landing/gradle.properties

@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.8.20
compose.version=1.4.0
compose.version=1.4.1

2
examples/html/with-react/gradle.properties

@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.8.20
compose.version=1.4.0
compose.version=1.4.1

2
examples/imageviewer/gradle.properties

@ -13,4 +13,4 @@ kotlin.native.useEmbeddableCompilerJar=true
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.20
agp.version=7.1.3
compose.version=1.4.0
compose.version=1.4.1

2
examples/intellij-plugin/gradle.properties

@ -1,3 +1,3 @@
kotlin.code.style=official
kotlin.version=1.8.20
compose.version=1.4.0
compose.version=1.4.1

2
examples/issues/gradle.properties

@ -21,4 +21,4 @@ android.useAndroidX=true
android.enableJetifier=true
kotlin.version=1.8.20
agp.version=7.1.3
compose.version=1.4.0
compose.version=1.4.1

2
examples/minesweeper/gradle.properties

@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.20
agp.version=7.1.3
compose.version=1.4.0
compose.version=1.4.1

2
examples/notepad/gradle.properties

@ -1,4 +1,4 @@
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
kotlin.code.style=official
kotlin.version=1.8.20
compose.version=1.4.0
compose.version=1.4.1

2
examples/todoapp-lite/gradle.properties

@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.20
agp.version=7.1.3
compose.version=1.4.0
compose.version=1.4.1

2
examples/todoapp/gradle.properties

@ -28,4 +28,4 @@ kotlin.native.disableCompilerDaemon=true
# in Android module (search "Workaround for https://github.com/JetBrains/compose-jb/issues/2340")
#TODO also change version in buildSrc/gradle.properties
kotlin.version=1.8.20
compose.version=1.4.0
compose.version=1.4.1

2
examples/visual-effects/gradle.properties

@ -13,4 +13,4 @@ kotlin.native.useEmbeddableCompilerJar=true
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.20
agp.version=7.1.3
compose.version=1.4.0
compose.version=1.4.1

2
examples/widgets-gallery/gradle.properties

@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.20
agp.version=7.1.3
compose.version=1.4.0
compose.version=1.4.1

2
gradle-plugins/gradle.properties

@ -2,7 +2,7 @@ org.gradle.parallel=true
kotlin.code.style=official
# Default version of Compose Libraries used by Gradle plugin
compose.version=1.4.0
compose.version=1.4.1
# The latest version of Compose Compiler used by Gradle plugin. Used only in tests/CI.
compose.tests.compiler.version=1.4.5
# The latest version of Kotlin compatible with compose.tests.compiler.version. Used only in tests/CI.

2
html/gradle.properties

@ -1,4 +1,4 @@
compose.version=1.4.0-rc03
compose.version=1.4.1
compose.web.buildSamples=false
compose.web.tests.integration.withFirefox
compose.web.tests.skip.benchmarks=false

29
tools/replaceVersion.sh

@ -6,18 +6,23 @@ ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/..
# Add folders which should contain up-to-date versions
declare -a folders=(
"templates"
"examples"
#"experimental/examples"
"gradle-plugins"
"components"
"ci"
"web"
"tutorials"
"compose/integrations/composable-test-cases"
"compose/integrations/compose-with-ktx-serialization"
"$ROOT/examples"
"$ROOT/gradle-plugins"
"$ROOT/components"
"$ROOT/ci"
"$ROOT/html"
"$ROOT/tutorials"
)
if [ ! -z "$COMPOSE_TEMPLATES_FOLDER" ]; then
folders+=(
"$COMPOSE_TEMPLATES_FOLDER/compose-multiplatform-desktop-template"
"$COMPOSE_TEMPLATES_FOLDER/compose-multiplatform-html-library-template"
"$COMPOSE_TEMPLATES_FOLDER/compose-multiplatform-ios-android-template"
"$COMPOSE_TEMPLATES_FOLDER/compose-multiplatform-template"
)
fi
if [ -z "$1" ]; then
echo "Specify Compose version. For example: ./replace.sh 1.2.0-beta02 1.7.10"
exit 1
@ -56,11 +61,11 @@ replaceVersionInFile() {
}
replaceVersionInFolder() {
find $ROOT/$1 -wholename $2 -not -path "**/build**" -not -path "**/.gradle**" | while read file; do replaceVersionInFile "$file"; done
find $1 -wholename $2 -not -path "**/build**" -not -path "**/.gradle**" | while read file; do replaceVersionInFile "$file"; done
}
for folder in "${folders[@]}"
do
replaceVersionInFolder $folder "**gradle.properties"
replaceVersionInFolder $folder "**README.md"
done
done

2
tutorials/HTML/Getting_Started/README.md

@ -37,7 +37,7 @@ pluginManagement {
// Add compose gradle plugin
plugins {
kotlin("multiplatform") version "1.8.20"
id("org.jetbrains.compose") version "1.4.0"
id("org.jetbrains.compose") version "1.4.1"
}
// Add maven repositories

Loading…
Cancel
Save