Skip to content

Releases: cheonjaeung/gridlayout-compose

2.1.0

19 Oct 03:32
Compare
Choose a tag to compare

Changed

  • New Modifier.span is added that has a lambda parameter to calculate span size.
    In this lambda, you can access to GridItemSpanScope to get max span and remaining span.

Dependencies

Project dependencies are updated.

  • Kotlin: 1.9.22 -> 1.9.25
  • Android Gradle Plugin: 8.2.0 -> 8.6.1
  • Compose Multiplatform: 1.6.0 -> 1.7.0
  • Compose Android: 1.6.0 -> 1.7.0
  • Compose Android Compiler Plugin: 1.5.10 -> 1.5.15

2.0.0

13 Apr 06:12
Compare
Choose a tag to compare

Since 2.0.0 version, library's group id and package name is changed from io.woong.compose.grid to com.cheonjaeung.compose.grid.

1.2.2

01 Mar 12:28
Compare
Choose a tag to compare

Dependencies

Project dependencies are updated.

  • Kotlin: 1.9.0 -> 1.9.22
  • Android Gradle Plugin: 8.1.1 -> 8.2.0
  • Compose Compiler Plugin: 1.5.2 -> 1.5.10
  • Compose Android: 1.5.0 -> 1.6.0
  • Compose Multiplatform: 1.5.1 -> 1.6.0

1.2.1

13 Feb 11:44
Compare
Choose a tag to compare

Fixed

  • Fixed incorrect layout size when grid should have smaller size than constraints max size.
  • Fixed incorrect spacing before the last item.
  • Fixed crash when measuring invisible item composable constraints.

1.2.0

06 Jan 08:57
Compare
Choose a tag to compare

Added

  • Start supporting Compose Multiplatform for iOS.
  • New align modifier is added on GridScope to set alignment of specific item composable in the cell.
    The align modifier takes an Alignement parameter like BoxScope's align.

Improved

  • Performance for item composable measuring and placing is improved.

Changed

  • Artifact names are changed. If you use library dependency for desktop platform with io.woong.compose.grid:grid-desktop, you must change artifact name to io.woong.compose.grid:grid-jvm or just io.woong.compose.grid:grid. If you already add dependency as io.woong.compose.grid:grid, you can ignore it.

Compose Dependencies

There is no dependency changes since previous version.

  • Android: Jetpack Compose 1.5.0
  • Multiplatform: Compose Multiplatform 1.5.2

1.1.0

09 Dec 10:25
Compare
Choose a tag to compare

Added

  • content lambda of grid now extends GridScope.
  • New span modifier is added. span is can applied to item composable in the GridScope.
  • New optional parameter fill is added for SimpleGridCells.Fixed and SimpleGridCells.Adaptive.

Compose Dependencies

There is no dependency changes since previous version.

  • Android: Jetpack Compose 1.5.0
  • Multiplatform: Compose Multiplatform 1.5.2

1.0.0

07 Oct 05:43
e40a442
Compare
Choose a tag to compare

GridLayout is now stable version. This update contains removing deprecated and dependency updates. Grid's features have no changes.

Removed

  • Deprecated HorizontalGrid and VerticalGrid composable functions are now removed.

Dependency Updates

Project dependencies are updated.

For Android, the compile SDK version is updated from 33 to 34.

  • Kotlin: 1.8.20 -> 1.9.0
  • Android Gradle Plugin: 7.3.0 -> 8.1.1
  • Compose Compiler Plugin: 1.4.6 -> 1.5.2
  • Compose Android: 1.4.3 -> 1.5.0
  • Compose Multiplatform: 1.4.1 -> 1.5.1

Compose Dependencies

Now 1.0.0 version depends on following compose versions.

  • Android: Jetpack Compose 1.5.0
  • Multiplatform: Compose Multiplatform 1.5.2

0.2.0

15 Aug 04:15
Compare
Choose a tag to compare

This update include a new type of cell count strategy. The new cell count strategy is for similar API to Jetpack Compose Foundation's lazy grid. Therefore, old grid layout composables is deprecated and added new composables. Please migrate layout to new API.

Added

  • New SimpleGridCells class that defines how many cells should exist.
  • New HorizontalGrid and VerticalGrid composables take SimpleGridCells parameter.

Deprecated

  • rowCount and columnCount parameter of HorizontalGrid and VerticalGrid is deprecated. These deprecated composables can be remove in the future version. Migrate to grid composable with row and columns.

Compose Dependencies

This library is built on these Compose libraries.

  • Android: Jetpack Compose 1.4.3
  • Multiplatform: Compose Multiplatform 1.4.1

0.1.0

22 Jul 04:46
Compare
Choose a tag to compare

Initial release of girdlayout-compose.