Skip to content

Commit

Permalink
Prepare version 0.11.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Feb 27, 2024
1 parent 0db876c commit 2bfdf47
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 6 deletions.
26 changes: 25 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@
## [Unreleased]


## [0.11.0] - 2023-02-27

New:
- Support Kotlin 1.9.22 via JetBrains Compose compiler 1.5.10.
- `Filler` composable
- `Box` without content
- `Modifier.aspectRatio` attempts to constrain a composable to an aspect ratio in either the vertical or horizontal direction.
- `Modifier.offset` offsets the composable in its parent by the given coordinates.
- `Modifier.fillMaxWidth`, `Modifier.fillMaxHeight`, `Modifier.fillMaxSize`, `Modifier.wrapContentWidth`, `Modifier.wrapContentHeight`, `Modifier.wrapContentSize`, and `Modifier.defaultMinSize` help size composable measurement in relation to their parent.
- `Modifier.weight` allows sizing a composable proportionally to others within the same parent.
- `Row` and `Column` each feature an arrangement parameter which controls the placement of children on the main axis of the container.

Changed:
- `Modifier` parameter is now universally called `modifier` in the API.
- 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.

Fix:
- Ensure ANSI control sequences are written properly to Windows terminals.
- Robot sample now correctly moves on Windows.

This version works with Kotlin 1.9.22 by default.


## [0.10.0] - 2023-11-13

New:
Expand Down Expand Up @@ -157,7 +180,8 @@ Breaking:
Initial release!


[Unreleased]: https://github.com/JakeWharton/mosaic/compare/0.10.0...HEAD
[Unreleased]: https://github.com/JakeWharton/mosaic/compare/0.11.0...HEAD
[0.11.0]: https://github.com/JakeWharton/mosaic/releases/tag/0.11.0
[0.10.0]: https://github.com/JakeWharton/mosaic/releases/tag/0.10.0
[0.9.1]: https://github.com/JakeWharton/mosaic/releases/tag/0.9.1
[0.9.0]: https://github.com/JakeWharton/mosaic/releases/tag/0.9.0
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.10.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.11.0'
}
}
Expand All @@ -111,6 +111,7 @@ certain versions of Kotlin.

| Kotlin | Mosaic |
|--------|---------------|
| 1.9.22 | 0.11.0 |
| 1.9.20 | 0.10.0 |
| 1.9.10 | 0.9.1 |
| 1.9.0 | 0.8.0 - 0.9.0 |
Expand All @@ -137,8 +138,8 @@ buildscript {
}
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.20'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.11.0-SNAPSHOT'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.12.0-SNAPSHOT'
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GROUP=com.jakewharton.mosaic
VERSION_NAME=0.11.0-SNAPSHOT
VERSION_NAME=0.11.0

SONATYPE_HOST=DEFAULT
SONATYPE_AUTOMATIC_RELEASE=true
Expand Down

0 comments on commit 2bfdf47

Please sign in to comment.