Skip to content

Commit bf4130c

Browse files
authoredJun 26, 2023
Compose 1.4.1 docs, examples (JetBrains#3287)
* Compose 1.4.1 * Remove compose-integration from replaceVersion.sh
1 parent b038d0d commit bf4130c

File tree

26 files changed

+69
-36
lines changed

26 files changed

+69
-36
lines changed
 

‎CHANGELOG.md

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
# 1.4.1 (June 2023)
2+
3+
## Common
4+
5+
### Fixes
6+
- [Fix perspective transform usage](https://github.com/JetBrains/compose-multiplatform-core/pull/598)
7+
- [After each ComposeScene.render phase, send apply notifications and perform the corresponding changes](https://github.com/JetBrains/compose-multiplatform-core/pull/563)
8+
- [Fix awaitDragStartOnSlop to detect slop-passing on both axes](https://github.com/JetBrains/compose-multiplatform-core/pull/534)
9+
10+
## Desktop
11+
12+
### Fixes
13+
- [Fix `DesktopDropdownMenuPositionProvider` to align with the correct horizontal side of the window](https://github.com/JetBrains/compose-multiplatform-core/pull/555)
14+
- [Propagate LocalLayoutDirection into PopupLayout](https://github.com/JetBrains/compose-multiplatform-core/pull/562)
15+
- [Fix missing scrolling events](https://github.com/JetBrains/compose-multiplatform-core/pull/527)
16+
- [Make popups accessible on desktop](https://github.com/JetBrains/compose-multiplatform-core/pull/439)
17+
18+
## Dependencies
19+
20+
This version of Compose Multiplatform is based on the next Jetpack Compose libraries:
21+
22+
- [Compiler 1.4.4](https://developer.android.com/jetpack/androidx/releases/compose-compiler#1.4.4)
23+
- [Runtime 1.4.3](https://developer.android.com/jetpack/androidx/releases/compose-runtime#1.4.3)
24+
- [UI 1.4.3](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.4.3)
25+
- [Foundation 1.4.3](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.4.3)
26+
- [Material 1.4.3](https://developer.android.com/jetpack/androidx/releases/compose-material#1.4.3)
27+
- [Material3 1.0.1](https://developer.android.com/jetpack/androidx/releases/compose-material3#1.0.1)
28+
129
# 1.4.0 (April 2023)
230

331
## Common

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
compose.version=1.3.1
1+
compose.version=1.4.1
22
kotlin.code.style=official
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
22
kotlin.code.style=official
33
kotlin.version=1.8.20
4-
compose.version=1.4.0
4+
compose.version=1.4.1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
22
kotlin.code.style=official
33
kotlin.version=1.8.20
4-
compose.version=1.4.0
4+
compose.version=1.4.1

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ android.enableJetifier=true
44
kotlin.code.style=official
55
kotlin.version=1.8.20
66
agp.version=7.1.3
7-
compose.version=1.4.0
7+
compose.version=1.4.1

‎components/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ kotlin.code.style=official
55
# __KOTLIN_COMPOSE_VERSION__
66
kotlin.version=1.8.20
77
# __LATEST_COMPOSE_RELEASE_VERSION__
8-
compose.version=1.4.0
8+
compose.version=1.4.1
99
agp.version=7.3.1
1010
org.jetbrains.compose.experimental.jscanvas.enabled=true
1111
org.jetbrains.compose.experimental.macos.enabled=true

‎examples/chat/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
1313
kotlin.native.binary.memoryModel=experimental
1414
kotlin.version=1.8.20
1515
agp.version=7.1.3
16-
compose.version=1.4.0
16+
compose.version=1.4.1

‎examples/codeviewer/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
1313
kotlin.native.binary.memoryModel=experimental
1414
kotlin.version=1.8.20
1515
agp.version=7.1.3
16-
compose.version=1.4.0
16+
compose.version=1.4.1

‎examples/falling-balls/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
1313
kotlin.native.binary.memoryModel=experimental
1414
kotlin.version=1.8.20
1515
agp.version=7.1.3
16-
compose.version=1.4.0
16+
compose.version=1.4.1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
kotlin.code.style=official
22
kotlin.version=1.8.20
3-
compose.version=1.4.0
3+
compose.version=1.4.1

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ kotlin.mpp.enableGranularSourceSetsMetadata=true
33
kotlin.native.enableDependencyPropagation=false
44
kotlin.js.webpack.major.version=4
55
kotlin.version=1.8.20
6-
compose.version=1.4.0
6+
compose.version=1.4.1
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
kotlin.code.style=official
22
kotlin.version=1.8.20
3-
compose.version=1.4.0
3+
compose.version=1.4.1
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
kotlin.code.style=official
22
kotlin.version=1.8.20
3-
compose.version=1.4.0
3+
compose.version=1.4.1

‎examples/imageviewer/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kotlin.native.useEmbeddableCompilerJar=true
1313
kotlin.native.binary.memoryModel=experimental
1414
kotlin.version=1.8.20
1515
agp.version=7.1.3
16-
compose.version=1.4.0
16+
compose.version=1.4.1
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
kotlin.code.style=official
22
kotlin.version=1.8.20
3-
compose.version=1.4.0
3+
compose.version=1.4.1

‎examples/issues/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ android.useAndroidX=true
2121
android.enableJetifier=true
2222
kotlin.version=1.8.20
2323
agp.version=7.1.3
24-
compose.version=1.4.0
24+
compose.version=1.4.1

‎examples/minesweeper/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
1313
kotlin.native.binary.memoryModel=experimental
1414
kotlin.version=1.8.20
1515
agp.version=7.1.3
16-
compose.version=1.4.0
16+
compose.version=1.4.1

‎examples/notepad/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
22
kotlin.code.style=official
33
kotlin.version=1.8.20
4-
compose.version=1.4.0
4+
compose.version=1.4.1

‎examples/todoapp-lite/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
1313
kotlin.native.binary.memoryModel=experimental
1414
kotlin.version=1.8.20
1515
agp.version=7.1.3
16-
compose.version=1.4.0
16+
compose.version=1.4.1

‎examples/todoapp/gradle.properties

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

‎examples/visual-effects/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kotlin.native.useEmbeddableCompilerJar=true
1313
kotlin.native.binary.memoryModel=experimental
1414
kotlin.version=1.8.20
1515
agp.version=7.1.3
16-
compose.version=1.4.0
16+
compose.version=1.4.1

‎examples/widgets-gallery/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
1313
kotlin.native.binary.memoryModel=experimental
1414
kotlin.version=1.8.20
1515
agp.version=7.1.3
16-
compose.version=1.4.0
16+
compose.version=1.4.1

‎gradle-plugins/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ org.gradle.parallel=true
22
kotlin.code.style=official
33

44
# Default version of Compose Libraries used by Gradle plugin
5-
compose.version=1.4.0
5+
compose.version=1.4.1
66
# The latest version of Compose Compiler used by Gradle plugin. Used only in tests/CI.
77
compose.tests.compiler.version=1.4.5
88
# The latest version of Kotlin compatible with compose.tests.compiler.version. Used only in tests/CI.

‎html/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
compose.version=1.4.0-rc03
1+
compose.version=1.4.1
22
compose.web.buildSamples=false
33
compose.web.tests.integration.withFirefox
44
compose.web.tests.skip.benchmarks=false

‎tools/replaceVersion.sh

+17-12
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,23 @@ ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"/..
66

77
# Add folders which should contain up-to-date versions
88
declare -a folders=(
9-
"templates"
10-
"examples"
11-
#"experimental/examples"
12-
"gradle-plugins"
13-
"components"
14-
"ci"
15-
"web"
16-
"tutorials"
17-
"compose/integrations/composable-test-cases"
18-
"compose/integrations/compose-with-ktx-serialization"
9+
"$ROOT/examples"
10+
"$ROOT/gradle-plugins"
11+
"$ROOT/components"
12+
"$ROOT/ci"
13+
"$ROOT/html"
14+
"$ROOT/tutorials"
1915
)
2016

17+
if [ ! -z "$COMPOSE_TEMPLATES_FOLDER" ]; then
18+
folders+=(
19+
"$COMPOSE_TEMPLATES_FOLDER/compose-multiplatform-desktop-template"
20+
"$COMPOSE_TEMPLATES_FOLDER/compose-multiplatform-html-library-template"
21+
"$COMPOSE_TEMPLATES_FOLDER/compose-multiplatform-ios-android-template"
22+
"$COMPOSE_TEMPLATES_FOLDER/compose-multiplatform-template"
23+
)
24+
fi
25+
2126
if [ -z "$1" ]; then
2227
echo "Specify Compose version. For example: ./replace.sh 1.2.0-beta02 1.7.10"
2328
exit 1
@@ -56,11 +61,11 @@ replaceVersionInFile() {
5661
}
5762

5863
replaceVersionInFolder() {
59-
find $ROOT/$1 -wholename $2 -not -path "**/build**" -not -path "**/.gradle**" | while read file; do replaceVersionInFile "$file"; done
64+
find $1 -wholename $2 -not -path "**/build**" -not -path "**/.gradle**" | while read file; do replaceVersionInFile "$file"; done
6065
}
6166

6267
for folder in "${folders[@]}"
6368
do
6469
replaceVersionInFolder $folder "**gradle.properties"
6570
replaceVersionInFolder $folder "**README.md"
66-
done
71+
done

‎tutorials/HTML/Getting_Started/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pluginManagement {
3737
// Add compose gradle plugin
3838
plugins {
3939
kotlin("multiplatform") version "1.8.20"
40-
id("org.jetbrains.compose") version "1.4.0"
40+
id("org.jetbrains.compose") version "1.4.1"
4141
}
4242

4343
// Add maven repositories

0 commit comments

Comments
 (0)