All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
21.1.0 (2024-07-12)
- Mark Bento as deprecated (b8bd812)
21.0.0 (2023-09-14)
- Bump AGP 8.0.2, Gradle 8.3.0, Kotlin 1.8.21, Prod & Test Libs to latest
- Bump AGP 8.0.2, Gradle 8.3.0, Kotlin 1.8.21, Prod & Test Libs to latest (47adaeb)
- install java 17 (ea8563a)
- Compose view holder fails to update correctly when the component state changes (ba47ad0)
- Fix crash in ToggleScrollInRecyclerViewActivity.kt (5028b14)
20.0.0 (2023-04-04)
- compileSdkVersion and targetSdkVersion to 33, AGP 7.4.2, Gradle 7.5.1, Kotlin 1.8.10, Compose 1.4.0, Compose Kotlin Compiler 1.4.4, Kotlin 1.8.10, RecyclerView 1.3.0; No need to set ViewCompositionStrategy any more
- bump libs for Compose/XML interop performance win since RecyclerView 1.3.0; move composeView.setContent to bind; (08d1ada)
19.1.0 (2022-12-08)
- Add ViewPager2ComponentController and tests (679ae82)
- publishing: Fixing publishing to Maven Central (ae96b38)
19.0.0 (2022-04-27)
- Increasing the minSDK and targetSDK may mean this version is no longer compatible with some apps.
- Added jetpack compose support and updated build tools and libraries. (7c8f6d6)
- Added jetpack compose support and updated build tools and libraries. (ef34192)
- Added smarter async inflation and limited the max number of inflated views in some cases. (4bd193c)
- Fixed a few bugs in the smart async implementation. (eead220)
18.2.1 (2021-10-06)
- Fixed a few bugs in the smart async implementation. (eead220)
18.2.0 (2021-09-23)
- Added smarter async inflation and limited the max number of inflated views in some cases. (4bd193c)
18.1.2 (2021-08-19)
- Disabled async bento for the CarouselComponent. (ed2faa2)
18.1.1 (2021-08-12)
- Fixed a memory leak in the async inflation feature. (5bd8020)
18.1.0 (2021-07-20)
- Inflate views on a background thread. (7e8e908)
18.0.2 (2021-05-27)
- Upgrade Guava to 28.1 (92f74b5)
18.0.1 (2021-02-10)
- Fix crash in ComponentVisibilityListener (6133a75)
18.0.0 (2020-10-26)
17.0.1 (2021-02-10)
- Fix crash in ComponentVisibilityListener (df54e68)
17.0.0 (2020-12-14)
-
projects need to be fully migrated to AndroidX to use Bento
-
drop jetifier (a90291b)
16.0.0 (2020-05-07)
- deps: Bump kotlin and java
-
carousel: Fix CarouselComponent recycling behavior (ee38d72), closes #62
-
deps: Bump kotlin and java (4a846ff)
15.8.0 (2020-03-31)
- nested scrolling in view pager controller (99765d2)
2020-02-05
- New: Add a registerItemVisibilityListener to Component, to avoid needing to override components simply for that. (Comes bundled with an unregister method)
- Fix: Change CarouselComponent behavior so that it notifies it's nested Components when it becomes visible or invisible because of scrolling.
2020-01-27
- Fix: Change NestedComponent to have separate presenter from its inner Component.
2020-01-16
- New: Add remove() and clear() functions to CarouselComponent.
- New: Add a unit test for testing CarouselComponent's add(), addAll(), remove(), and clear() functions.
2019-12-18
- New: Add a NestedComponent that can be used for nesting a given inner Component inside a given outer ViewHolder.
2019-10-08
- Fix: Fixed bug in ListItemTouchCallback causing crash when viewHolder.adapterPosition is -1
- Fix: Add detailed exception thrown when AccordionList.rangedValueAt is called with an incorrect value.
2019-08-29
- Fix: Fixed appending data to ListComponent.
- Fix: Fixed issue where we were no longer sharing the RecyclePool in CarouselComponent.
- Fix: Fixed unit and espresso tests. No more PowerMock.
2019-08-13
- Behavior change: CarouselComponent now remembers its scroll position when it's scrolled offscreen.
2019-08-07
- New: Added TabViewPagerComponent to use both TabLayout and ViewPager in one view.
2019-07-11
- Fix: Add check for gap in ComponentGroup (#20)
2019-07-11
- New: Add support for drag and drop for RecyclerViews.
2019-05-20
- Behavior change: ListComponent callback for onItemVisible will only be called on items, not on separators.
2019-05-03
- Behavior change: when inserting a component or item at index 0, the RecyclerViewComponentController will keep the RecyclerView scrolled on top if it was currently showing the item at index 0.
2019-04-18
- First official Bento public release.