Releases: google/accompanist
v0.11.0
Features
New Insets-UI library
You no longer need to copy InsetsAwareTopAppBar()
into your projects. We now provide some commonly used layouts which support a contentPadding
parameter. We also provide a copy of Scaffold
which draws the content behind both the top and bottom bars, to be better support edge-to-edge use-cases.
See here for more info.
New properties for controlling the system ui
We now provide new properties for controlling the visibility of the status, navigation and system bars. See here for more information.
All changes
- [SystemUiController] Add properties to control system bar visibility (#460) @rinorz
- Try and improve the test flakiness (#459) @chrisbanes
- Check API files via
check
task (#454) @chrisbanes - [DrawablePainter] Stop pre-scaling the Canvas (#458) @chrisbanes
- [Pager] Consume post flings and scrolls from nested scrolling content (#455) @chrisbanes
- [ImageLoad] Fallback to parent view size as default maximum request size (#447) @chrisbanes
- [Insets UI] New UI library (#409) @chrisbanes
- Update to Compose SNAPSHOT 7410176 (#453) @JoseAlcerreca
- Fix wrong Coil API usage in Glide sample (#452) @fornewid
- Update Pager document (#451) @nthily
- Fix incorrect URL for document editing (#450) @nthily
- Enable default methods in interfaces (#445) @chrisbanes
- [SwipeRefresh] Update indicator to fade-in during drag (#444) @ricknout
- [Pager] Fix backward animateScrollToPage when skipping pages (#443) @mxalbert1996
- [Pager] Supports infinite loop (#436) @fornewid
- Update various dependencies (#438) @chrisbanes
- Update to Compose SNAPSHOT 7392605 (#437) @chrisbanes
- Update to AGP 7.0.0-beta01 (#425) @chrisbanes
v0.10.0
Built to work with Jetpack Compose v1.0.0-beta07. Happy #googleio day! 🎉
What’s Changed
- [Glide] Stop clearing Glide requests (#422) @chrisbanes
- [Glide] Highlight Coil on Glide guide (#423) @chrisbanes
- [Pager] Fix PagerState restoration (#418) @chrisbanes
- Fix previewPlaceholder declaration in coil docs (#410) @pawegio
- [SwipeRefresh] Make scrollable requirements clearer in docs (#407) @chrisbanes
- [Image][Insets][Pager] Remove most unnecessary Android specific API usages (#402) @chrisbanes
- Update to Compose SNAPSHOT 7352378 (#403) @chrisbanes
- [Pager] Fix flings not being cancelled early (#400) @chrisbanes
- [WindowInsets] Refactor inset values (#346) @chrisbanes
- Remove deprecated functions (#399) @chrisbanes
v0.9.1
Small bug fix release. Built to work with Jetpack Compose v1.0.0-beta06
What’s Changed
- [Pager] Fix scrolling last item snapping back to previous item (#396) @chrisbanes
- [ImageLoad] Use height when requesting size (#391) @chrisbanes
v0.9.0
Built to work with Jetpack Compose v1.0.0-beta06
What’s Changed
- [Pager] Skip intermediate pages during long scroll (#372) @chrisbanes
- [Image loading] Support placeholder drawables (#380) @chrisbanes
- [SwipeRefresh] Add clipIndicatorToPadding parameter (#379) @chrisbanes
- Migrate to Metalava for API file generation (#378) @chrisbanes
- Update to Compose SNAPSHOT 7321851 (#376) @chrisbanes
- [Pager] Re-enable animateScrollToPage() test (#373) @chrisbanes
- [Insets] Doc fixes (#370) @chrisbanes
- [Insets] Fix attach state change listener not being removed (#365) @chrisbanes
v0.8.1
Small bug fix release. Built to work with Jetpack Compose v1.0.0-beta05
What’s Changed
- [Coil] Fix lazycolumn_nosize on CI (#362) @chrisbanes
- Update README.md to include swipe-to-refresh link (#357) @mr3y-the-programmer
- Fix LoadPainter not fetching image with no explicit size (#354) @chrisbanes
- Allow nullable parameters to rememberDrawablePainter() (#359) @chrisbanes
- [SwipeRefresh] Increase SwipeRefreshIndicator elevation (#360) @chrisbanes
v0.8.0
Built to work with Jetpack Compose v1.0.0-beta05
New features
Swipe Refresh
We have a new library: Swipe Refresh. This library provides a composable which behaves almost identically to Android's SwipeRefreshLayout
. Check out the docs for more information.
Coil and Glide refactoring
Both the Coil and Glide integration libraries have had a huge refactoring over the past month or so. The old CoilImage()
and GlideImage()
are now deprecated, replaced with a painter function for each:
Image(
painter = rememberCoilPainter("https://picsum.photos/300/300"),
contentDescription = stringResource(R.string.image_content_desc),
previewPlaceholder = R.drawable.placeholder,
)
Check out the updated documentation guide (Coil, Glide), as well as the migration guides (Coil, Glide). This should bring many performance improvements to the composables (more on how to come in a future blog post).
All changes
- Migrate ShouldRefetchOnSizeChange to fun interface (#356) @chrisbanes
- [SwipeRefresh] Simplify drag handling for now (#355) @chrisbanes
- Add link to System UI Controller (#352) @chrisbanes
- [Coil][Glide] Update docs for recent changes (#351) @chrisbanes
- [SwipeRefresh] Make indicator more flexible (#350) @chrisbanes
- Try out Gradle 7.0's Version catalogs (#345) @chrisbanes
- Update to Compose SNAPSHOT 7285231 (#341) @chrisbanes
- [Image] LoadPainter (#321) @chrisbanes
- Update test runs on CI (#339) @chrisbanes
- Fix Modifier Url (#340) @volkansahin45
- Update currentPager after calling scrollToPage() (#338) @chrisbanes
- [SwipeRefresh] Update doc page (#334) @chrisbanes
- Tidy up Pager samples (#332) @chrisbanes
- Fix docs build actions (#331) @chrisbanes
- New SwipeRefresh composable (#264) @chrisbanes
- Fix misspelling: supercedes -> supersedes (#323) @LouisCAD
- Add SwipeRefresh custom sample (#320) @ricknout
- [SystemUiController] API fixes (#319) @chrisbanes
- [SystemUiController] Add Window.isNavigationBarContrastEnforced APIs (#318) @joharei
- New Image composable (#220) @chrisbanes
🙌 Big thanks for our contributors, as well as @nickbutcher, @ricknout, @manuelvicnt, @andkulikov & @matvei-g for the reviews.
v0.7.1
What’s Changed
- Update to snapshot 7262094. (#311) @nickbutcher
- Expose animation spec in animateScrollToPage() (#312) @ln-12
- [Pager] Update currentPage to act as the selected page (#299) @chrisbanes
- [Pager] Fix reverseLayout = true (#303) @chrisbanes
- [All] Disable window animations during tests (#304) @chrisbanes
- Update to snapshot 7249939. (#305) @nickbutcher
- [Pager] Handle infinite constraints (#302) @chrisbanes
- [Pager] Use passed in width for active indicator (#301) @brandonrisell
- Fix async flakiness in pageChangesSample test (#293) @chrisbanes
- [Sample]Fixed NestedPagersSample title (#292) @NUmeroAndDev
- [Pager] Add itemSpacing parameter (#289) @chrisbanes
- [Coil][Glide] Add previewPlaceholder to CoilImage and GlideImage (#290) @chrisbanes
- Add nested pagers demo (#288) @chrisbanes
- Pager parameter to disable scrolling by hand (#287) @ln-12
v0.7.0
📢 BIG RELEASE 🚀
This is a big release for Accompanist, with not 1, but 4 new libraries:
📖 Pager & Pager Indicators
Provides paging layouts for Jetpack Compose, similar to Android's ViewPager
. We have also released a sibling library which provides some simple indicators.
🍫 System UI Controller
A library which provides easy-to-use utilities for updating the System UI (status and navigation bars) colors from Jetpack Compose.
🌊 Flow layouts
A library that adds a 'flexbox'-like layout to Jetpack Compose.
New home, package and group id: com.google.accompanist
You may have also noticed that we have a new GitHub location. As part of this move, we've also updated the package name and Maven group IDs for the libraries. If you we're using the older libraries, see the Migration from dev.chrisbanes.accompanist page for more information.
What’s Changed
- [Docs] Lots of docs improvements for next release (#282) @chrisbanes
- [Pager] Move indicators to pager-indicators module (#279) @chrisbanes
- [Pager] Add PagerState.pageChanges (#278) @chrisbanes
- [Pager] Add PagerState.calculateCurrentOffsetForPage() ext-fun (#277) @chrisbanes
- [New library] System UI Controller (#270) @chrisbanes
- [Pager] Added a PagerIndicator composable (#272) @CaptnBlubber
- Update AndroidX Core to 1.5.0-beta03 (#268) @chrisbanes
- Update to Compose SNAPSHOT 7217131 (#260) @chrisbanes
- [Pager] Add alignment support (#258) @chrisbanes
- [Sample] Add sample for HorizontalPager + TabRow (#259) @chrisbanes
- [Picasso] Remove Picasso integration library (#253) @chrisbanes
- [Pager] Add VerticalPager (#254) @chrisbanes
- [Pager] Migrate to Modifier.scrollable (#236) @chrisbanes
- Provide default empty value to LocalWindowInsets (#252) @chrisbanes
- Upgrade to Dokka 1.4.30 (#246) @chrisbanes
- Expose progress of animated insets (#242) @chrisbanes
- Fix crash when one constraint is set before the other (#243) @troyhen
- Pager composable (#209) @chrisbanes
- Make coerceEachDimensionAtLeast() public API (#240) @chrisbanes
- Migrate to new package name (#237) @chrisbanes
- Add FlowRow and FlowColumn extracted from Compose alpha (#229) @arkon
🙌 Big thanks to @arkon, @troyhen, @CaptnBlubber for their contributions!
v0.6.2
Built to work with Jetpack Compose v1.0.0-beta02
What’s Changed
- Update to AGP 7.0.0-alpha09 (#234) @chrisbanes
- Tweak wording on README (#233) @chrisbanes
- Update to Compose SNAPSHOT 7184376 (#232) @chrisbanes
- Add dropdown popup to sample list items (#226) @chrisbanes
- [AppCompat] Set LocalContentColor (#223) @chrisbanes
- Update AndroidX dependencies (#219) @chrisbanes
- Handle CancellationException in produceState (#218) @chrisbanes
v0.6.1
Built to work with Jetpack Compose v1.0.0-beta01
What’s Changed
- Fixed ColorMatrix brightness adjustment (#213) @kosyak
- Add contentDescription argument to readme (#211) @hitherejoe