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 Aug 10, 2023
1 parent 01ed226 commit b055168
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
31 changes: 30 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,34 @@

## [Unreleased]

## [0.6.0] - 2023-08-10

New:
- Support for specifying custom Compose compiler versions. This will allow you to use the latest
version of Redwood with newer versions of Kotlin than it explicitly supports.

See [the README](https://github.com/cashapp/redwood/#custom-compose-compiler) for more information.
- `LazyList` can now be programmatically scrolled through its `ScrollItemIndex` parameter.
- Pull-to-refresh indicator color on `LazyList` is now customizable through
`pullRefreshContentColor` parameter.

Changes:
- Many public types have been migrated away from `data class` to regular classes with
`equals`/`hashCode`/`toString()`. If you were relying on destructuring or `copy()` for these
types you will need to migrate to doing this manually.

Fix:
- The emoji search browser sample no longer crashes on first load.
- Lots of rendering and performance fixes for UIKit version of `LazyList`
- Only measure items which are visible in the active viewport.
- Remove some default item spacing imposed by the backing `UICollectionViewFlowLayout`.
- Share most of the internal bookkeeping logic with the Android implementations for consistency
and correctness.
- Placeholders are now correctly sized along the main axis.

This version works with Kotlin 1.9.0 by default.


## [0.5.0] - 2023-07-05

This release marks Redwood's "beta" period which provides slightly more stability guarantees than
Expand Down Expand Up @@ -188,7 +216,8 @@ This version only works with Kotlin 1.7.20.
[Unreleased]: https://github.com/cashapp/redwood/compare/0.5.0...HEAD
[Unreleased]: https://github.com/cashapp/redwood/compare/0.6.0...HEAD
[0.6.0]: https://github.com/cashapp/redwood/releases/tag/0.6.0
[0.5.0]: https://github.com/cashapp/redwood/releases/tag/0.5.0
[0.4.0]: https://github.com/cashapp/redwood/releases/tag/0.4.0
[0.3.0]: https://github.com/cashapp/redwood/releases/tag/0.3.0
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ certain versions of Kotlin.

| Kotlin | Redwood |
|--------|---------------|
| 1.9.0 | 0.6.0 |
| 1.8.22 | 0.5.0 |
| 1.8.20 | 0.3.0 - 0.4.0 |
| 1.7.20 | 0.1.0 - 0.2.1 |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinTopLevelExtension
private const val redwoodGroupId = "app.cash.redwood"

// HEY! If you change the major version update release.yaml doc folder.
private const val redwoodVersion = "0.6.0-SNAPSHOT"
private const val redwoodVersion = "0.6.0"

@Suppress("unused") // Invoked reflectively by Gradle.
class RedwoodBuildPlugin : Plugin<Project> {
Expand Down

0 comments on commit b055168

Please sign in to comment.