Skip to content

Commit

Permalink
Prepare version 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeWharton committed Apr 17, 2023
1 parent 39ea3ea commit fd9ec16
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 5 deletions.
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,23 @@
## [Unreleased]


## [0.6.0] - 2023-04-17

New:
- Support Kotlin 1.8.20 via JetBrains Compose compiler 1.4.5.

Changed:
- Upgrade JetBrains Compose runtime to 1.4.0.
- Reduce string copies and string allocation required to perform a single frame render.
- Only split text strings on newline when its value changes by caching layout information across recomposition.
- Canvas is no longer clipped for each node. If you notice any overlapping drawing, please report a bug.

Breaking:
- Composables were moved into `ui` subpackage.
- `Layout` and related interfaces were moved into `layout` subpackage.
- `Static` content is now based on `SnapshotStateList` instead of `Flow`.


## [0.5.0] - 2023-03-09

- Support Kotlin 1.8.10 via JetBrains Compose compiler 1.4.2.
Expand All @@ -12,7 +29,6 @@
- Each `Static` content is no longer wrapped in a `Row`. Multiple children in a single `Static` composable will draw on top of each other. Choose a `Row` or `Column` if you have multiple items. Multiple `Static` composables will still render in `Column`-like behavior



## [0.4.0] - 2023-02-19

- Mosaic is now multiplatform!
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.5.0'
}
}
Expand All @@ -111,6 +111,7 @@ certain versions of Kotlin.

| Kotlin | Mosaic |
|--------|---------------|
| 1.8.20 | 0.6.0 |
| 1.8.10 | 0.5.0 |
| 1.8.0 | 0.3.0 - 0.4.0 |
| 1.7.10 | 0.2.0 |
Expand All @@ -131,8 +132,8 @@ buildscript {
}
}
dependencies {
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.6.0-SNAPSHOT'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.20'
classpath 'com.jakewharton.mosaic:mosaic-gradle-plugin:0.7.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.6.0-SNAPSHOT
VERSION_NAME=0.6.0

SONATYPE_HOST=DEFAULT
RELEASE_SIGNING_ENABLED=true
Expand Down

0 comments on commit fd9ec16

Please sign in to comment.