Skip to content

Commit 2bfdf47

Browse files
committed
Prepare version 0.11.0
1 parent 0db876c commit 2bfdf47

File tree

3 files changed

+31
-6
lines changed

3 files changed

+31
-6
lines changed

CHANGELOG.md

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,29 @@
33
## [Unreleased]
44

55

6+
## [0.11.0] - 2023-02-27
7+
8+
New:
9+
- Support Kotlin 1.9.22 via JetBrains Compose compiler 1.5.10.
10+
- `Filler` composable
11+
- `Box` without content
12+
- `Modifier.aspectRatio` attempts to constrain a composable to an aspect ratio in either the vertical or horizontal direction.
13+
- `Modifier.offset` offsets the composable in its parent by the given coordinates.
14+
- `Modifier.fillMaxWidth`, `Modifier.fillMaxHeight`, `Modifier.fillMaxSize`, `Modifier.wrapContentWidth`, `Modifier.wrapContentHeight`, `Modifier.wrapContentSize`, and `Modifier.defaultMinSize` help size composable measurement in relation to their parent.
15+
- `Modifier.weight` allows sizing a composable proportionally to others within the same parent.
16+
- `Row` and `Column` each feature an arrangement parameter which controls the placement of children on the main axis of the container.
17+
18+
Changed:
19+
- `Modifier` parameter is now universally called `modifier` in the API.
20+
- Disable decoy generation for JS target to make compatible with JetBrains Compose 1.6. This is an ABI-breaking change, so all Compose-based libraries targeting JS will also need to have been recompiled.
21+
22+
Fix:
23+
- Ensure ANSI control sequences are written properly to Windows terminals.
24+
- Robot sample now correctly moves on Windows.
25+
26+
This version works with Kotlin 1.9.22 by default.
27+
28+
629
## [0.10.0] - 2023-11-13
730

831
New:
@@ -157,7 +180,8 @@ Breaking:
157180
Initial release!
158181

159182

160-
[Unreleased]: https://github.com/JakeWharton/mosaic/compare/0.10.0...HEAD
183+
[Unreleased]: https://github.com/JakeWharton/mosaic/compare/0.11.0...HEAD
184+
[0.11.0]: https://github.com/JakeWharton/mosaic/releases/tag/0.11.0
161185
[0.10.0]: https://github.com/JakeWharton/mosaic/releases/tag/0.10.0
162186
[0.9.1]: https://github.com/JakeWharton/mosaic/releases/tag/0.9.1
163187
[0.9.0]: https://github.com/JakeWharton/mosaic/releases/tag/0.9.0

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ buildscript {
9090
mavenCentral()
9191
}
9292
dependencies {
93-
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20'
94-
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.10.0'
93+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22'
94+
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.11.0'
9595
}
9696
}
9797
@@ -111,6 +111,7 @@ certain versions of Kotlin.
111111

112112
| Kotlin | Mosaic |
113113
|--------|---------------|
114+
| 1.9.22 | 0.11.0 |
114115
| 1.9.20 | 0.10.0 |
115116
| 1.9.10 | 0.9.1 |
116117
| 1.9.0 | 0.8.0 - 0.9.0 |
@@ -137,8 +138,8 @@ buildscript {
137138
}
138139
}
139140
dependencies {
140-
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20'
141-
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.11.0-SNAPSHOT'
141+
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22'
142+
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.12.0-SNAPSHOT'
142143
}
143144
}
144145

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=com.jakewharton.mosaic
2-
VERSION_NAME=0.11.0-SNAPSHOT
2+
VERSION_NAME=0.11.0
33

44
SONATYPE_HOST=DEFAULT
55
SONATYPE_AUTOMATIC_RELEASE=true

0 commit comments

Comments
 (0)