StateFlow-MVVM-MVI-demo
StateFlow-MVVM-MVI-demo copied to clipboard
chore(deps): update all dependencies
This PR contains the following updates:
Package | Type | Update | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|---|---|
gradle (source) | patch | 7.6 -> 7.6.4 |
|||||
androidx.test.espresso:espresso-core | dependencies | minor | 3.5.1 -> 3.6.1 |
||||
androidx.test.ext:junit | dependencies | minor | 1.1.5 -> 1.2.1 |
||||
androidx.lifecycle:lifecycle-runtime-ktx (source) | dependencies | minor | 2.5.1 -> 2.8.3 |
||||
androidx.lifecycle:lifecycle-viewmodel-ktx (source) | dependencies | minor | 2.5.1 -> 2.8.3 |
||||
io.github.hoc081098:FlowExt | dependencies | minor | 0.5.0 -> 0.8.1 |
||||
androidx.fragment:fragment-ktx (source) | dependencies | minor | 1.5.5 -> 1.8.1 |
||||
com.google.android.material:material | dependencies | minor | 1.8.0 -> 1.12.0 |
||||
androidx.core:core-ktx (source) | dependencies | minor | 1.9.0 -> 1.13.1 |
||||
androidx.appcompat:appcompat (source) | dependencies | minor | 1.6.0 -> 1.7.0 |
||||
org.jetbrains.kotlinx:kotlinx-coroutines-android | dependencies | minor | 1.6.4 -> 1.8.1 |
||||
org.jetbrains.kotlinx:kotlinx-coroutines-core | dependencies | minor | 1.6.4 -> 1.8.1 |
||||
org.jmailen.kotlinter | plugin | minor | 3.13.0 -> 3.16.0 |
||||
org.jetbrains.kotlin.android (source) | plugin | minor | 1.8.0 -> 1.9.24 |
||||
org.jetbrains.kotlin.jvm (source) | plugin | minor | 1.8.0 -> 1.9.24 |
||||
org.jetbrains.kotlin:kotlin-stdlib-jdk8 (source) | dependencies | minor | 1.8.0 -> 1.9.24 |
||||
com.android.library (source) | plugin | patch | 7.4.1 -> 7.4.2 |
||||
com.android.application (source) | plugin | patch | 7.4.1 -> 7.4.2 |
Release Notes
gradle/gradle (gradle)
v7.6.4
: 7.6.4
This is a patch release for 7.6. We recommend using 7.6.4 instead of 7.6.
Upgrade instructions
Switch your build to use Gradle 7.6.4 by updating your wrapper:
./gradlew wrapper --gradle-version=7.6.4
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.
Reporting problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.
v7.6.3
: 7.6.3
This is a patch release for 7.6. We recommend using 7.6.3 instead of 7.6.
This release addresses two security vulnerabilities:
- Incorrect permission assignment for symlinked files used in copy or archiving operations
- Possible local text file exfiltration by XML External entity injection
It also fixes the following issues:
Upgrade Instructions
Switch your build to use Gradle 7.6.3 by updating your wrapper:
./gradlew wrapper --gradle-version=7.6.3
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.6.3.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
v7.6.2
: 7.6.2
This is a patch release for 7.6. We recommend using 7.6.2 instead of 7.6.
This release addresses two security vulnerabilities:
It also fixes the following issues:
- #23201 Backport dependency upgrades to 7.x
- #23202 Backport Scala incremental compilation fixes
- #23325 Backport JSoup update to resolve CVE-2022-36033
- #23458 Backport JUnit5 dynamic test logging bug fix
- #23681 Dependency graph resolution: Equivalent excludes can cause un-necessary graph mutations [backport 7.x]
- #23922 Backport "Use Compiler API data for incremental compilation after a failure" to 7.x
- #23951 Exclude rule merging: missing optimization [Backport 7.x]
- #24132 Extending an already resolved configuration no longer works correctly [backport 7.x]
- #24234 7.6.1 breaks gradle-consistent-versions
- #24390 Gradle 7.4 fails on multi release jar's with JDK 19 code
- #24439 Gradle complains about invalid tool chain - picking up the source package location - it should just ignore them [Backport]
- #24443 Maven artifact referenced only in dependency constraints raises IllegalStateException: Corrupt serialized resolution result [backport]
- #24901 Backport fix for test exception that cannot be deserialized to 7.x
Upgrade Instructions
Switch your build to use Gradle 7.6.2 by updating your wrapper:
./gradlew wrapper --gradle-version=7.6.2
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.6.2.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
v7.6.1
: 7.6.1
This is a patch release for 7.6. We recommend using 7.6.1 instead of 7.6.
It fixes the following issues:
- #19065 Platform dependencies not possible in dependency block of test suite plugin
- #22688 Increased memory usage (with -p option)
-
#22796 Building gradle itself fails during toolchain download: permission denied copying a file within
.gradle/jdks
- #22875 Regression with 7.6: @pom artifact in JVM library project is no longer found
- #22937 Remove safe credentials reference
- #22973 Kotlin MPP plugin broken with Gradle 7.6 due to signature change in TestResultProcessor
- #23016 toolchainManagement.jvm.javaRepositories should not expose the full surface of NamedDomainObjectList
- #23025 Back-port toolchain related fixes to 7.6.1
- #23053 Auto-provisioning/auto-detection of IBM Semeru toolchains is broken with Gradle 7.6
- #23074 Docs: Build Lifecycle starts halfway through a point
- #23096 Classifiers of version catalog are discarded while copied to anothor dependency
- #23111 Ant closures are broken with Gradle 7.6
- #23178 Mention the Foojay Toolchain Resolver plugin in the Gradle manual
- #23215 Gradle 7.6: high memory usage (android project)
- #23224 Backport to 7.6.1 "Fix for Incremental compilation with modules"
- #23294 "Unable to make progress running work" together with --continue and failing tasks (Backport to 7.6.1)
- #23555 Improve Toolchain related deprecation nagging in 7.6
- #23894 Update EOL policy
- #23910 Backport trusting only full GPG keys in dependency verification [Backport 7.6.1]
- #23941 Typo in v7.6 docs about disabling_the_daemon
- #23985 Resolving of manually created configuration creates a ResolveException
Upgrade Instructions
Switch your build to use Gradle 7.6.1 by updating your wrapper:
./gradlew wrapper --gradle-version=7.6.1
See the Gradle 7.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading to Gradle 7.6.1.
Reporting Problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines. If you're not sure you're encountering a bug, please use the forum.
hoc081098/FlowExt (io.github.hoc081098:FlowExt)
v0.8.1
Changed
- Update dependencies:
-
Kotlin
1.9.24
. -
KotlinX Coroutines
1.8.1
. -
Gradle
to8.7
.
-
Kotlin
Added
- Add
Flow.catchAndReturn
,Flow.catchAndResume
operators. - Add
Flow.mapToResult
,Flow.mapResultCatching
,Flow.throwFailure
operators.
Changed
-
Flow.chunked(bufferSize: Int)
/Flow.bufferCount(bufferSize: Int)
: reduce unnecessary allocations.
Changelog relative to version [0.8.1-Beta]
-
Flow.mapResultCatching
now does not catchCancellationException
thrown from thetransform
lambda.
v0.8.0
Changed
- Update dependencies:
Added
-
New: Add support for Kotlin/Wasm (
wasmJs
target) 🎉.
Fixed
-
withLatestFrom
: fix a bug where the otherFlow
is not cancelled after the mainFlow
is completed.
v0.7.5
Changed
-
Update dependencies
-
Kotlin
to1.9.22
.
-
-
Optimize the implementation of
flowFromSuspend
andflowFromNonSuspend
, it is just an internal change, it does not affect the public API and behavior.
v0.7.4
Changed
- Update dependencies
-
Kotlin
to1.9.20
.
-
Removed
- Remove now-unsupported targets:
iosArm32
,watchosX86
.
Added
-
Add
Flow.plus
operator, it is an alias toconcatWith
operator (thanks to @hoangchungk53qx1). -
Add
flowFromNonSuspend
, the non-suspend version offlowFromSuspend
.
v0.7.3
Changed
-
Update dependencies
-
Kotlin
to1.9.10
. -
Gradle
to8.4
.
-
-
Annotate
Symbol
andNULL_VALUE
with@DelicateFlowExtApi
.
Added
-
Add
Flow.chunked
operator, it is an alias toFlow.bufferCount
operator. -
Add
Flow.pairwise(transform)
operator - a variant ofFlow.pairwise()
operator, which allows the transformation of the pair of values via thetransform
lambda parameter. -
Add
Flow.zipWithNext()
operator, it is an alias toFlow.pairwise()
operator. -
Add
Flow.zipWithNext(transform)
operator, it is an alias toFlow.pairwise(transform)
operator.
v0.7.2
Changed
- Update dependencies
-
Gradle
to8.3
.
-
Added
- Add
Flow.ignoreElements
operator. - Add
Flow.scanWith
operator. - Add
Flow.safeCast
operator (thanks to @hoangchungk53qx1).
Fixed
-
Flow.select
: avoid calling sub-selectors when the previous state is the same as the current state (aka.distinctUntilChanged
).
v0.7.1
Changed
- Update dependencies
-
Kotlin
to1.9.0
. -
KotlinX Coroutines
to1.7.3
. -
Gradle
to8.2
.
-
Added
- Add
Flow.repeat
operator.
v0.6.1
Changed
- Update dependencies
-
Kotlin
to1.8.21
. -
KotlinX Coroutines
to1.7.1
. -
Gradle
to8.1.1
.
-
v0.6.0
Changed
-
Update dependencies
-
Kotlin
to1.8.10
. -
KotlinX Coroutines
to1.7.0-Beta
. -
Gradle
to8.0.2
.
-
-
Only support JS IR.
-
Supports more targets:
-
linuxArm64
-
watchosDeviceArm64
-
androidNativeArm32
-
androidNativeArm64
-
androidNativeX86
-
androidNativeX64
-
Added
-
Flow.groupBy
operator. See Readme#groupBy for more details.
material-components/material-components-android (com.google.android.material:material)
v1.12.0
What's new since 1.11.0
-
Slider
andProgress Indicator
have been updated to better support Non-Text Contrast Accessibility requirements. - Predictive Back Fragment/View support added to Material motion transitions (
MaterialSharedAxis
,MaterialFadeThrough
,MaterialFade
,MaterialElevationScale
).
Important
Required minSdkVersion
is now 19 or higher, for Material and AndroidX (blog post).
Dependency Updates
Dependency | Previous version | New version |
---|---|---|
androidx.transition | 1.2.0 | 1.5.0 |
Library Updates
-
Gradle
-
Carousel
- Shifted keylines in contained strategies when there exists padding, and clipToPadding=false (
1ef42e2
) - Fixed Javadoc formatting error in
FullScreenCarouselStrategy
class documentation. (a0a1c6e
) - Added support for cross axis wrap_content RecyclerViews (
e88a1b9
) - Added documentation recommending snapping for multi-browse strategy (
9e64a1f
) - Add attributes to change small item size (
92a5444
)
- Shifted keylines in contained strategies when there exists padding, and clipToPadding=false (
-
CollapsingToolbarLayout
- Fix text shadow fading when transitioning between expanded and collapsed states (
7674e12
)
- Fix text shadow fading when transitioning between expanded and collapsed states (
-
Checkbox
- Updated string translations (
198e08c
)
- Updated string translations (
-
Dialog
- Unified scrim opacity in Material themes/theme overlays. (
f3e4439
)
- Unified scrim opacity in Material themes/theme overlays. (
-
Divider
- Fixed divider instantly appearing or disappearing on insertion or removal (
ef4a0c5
)
- Fixed divider instantly appearing or disappearing on insertion or removal (
-
i18n
- Update translated strings (
a8307ef
)
- Update translated strings (
-
MaterialDatePicker
- Fix date validation on Samsung devices (
5aa6edf
)
- Fix date validation on Samsung devices (
-
MaterialAutoCompleteTextView
- Enabled switch access in MaterialAutoCompleteTextView. (
14a7b40
)
- Enabled switch access in MaterialAutoCompleteTextView. (
-
NavigationDrawer
- Fixed wrong item selected after click (
a3af20a
)
- Fixed wrong item selected after click (
-
NavigationRail
-
Predictive Back
- Animated corners during predictive back when no drawerLayoutCornerSize is set (
c8b9b1c
)
- Animated corners during predictive back when no drawerLayoutCornerSize is set (
-
ProgressIndicator
- Updated inactive track color from primary container to secondary container. (
c8cb0c6
) - Updated the setter of track thickness to not update track corner radius. (
540f5ee
) - Added the limit to not have stop indicator size bigger than track thickness. (
689e04f
) - Fixed the rounded ends overlapping bug with semi-transparent track/indicator color in Circular default style. (
8167c11
) - Removed the call to draw a transparent full track. (
3f80fdb
) - Flipped the canvas for different circular directions. (
bcc27a3
) - Split stop indicator drawing from indicator drawing. (
76207cb
) - Added ActiveIndicator to improve readability. (
6fd920a
) - Fixed ESCAPE animation in linear and added ESCAPE animation in circular. (
98284e7
) - Updated to use the same drawing delegate object between determinate drawable and indeterminate drawable to prevent inconsistent drawings when specs update. (
52b4845
) - Added missing graphics updates when spec changes. (
93b3010
) - Update styles for new Accessibility updates (
15b533f
) - Added static drawable for Circular type when system animator is disabled. (
22e054b
)
- Updated inactive track color from primary container to secondary container. (
-
Search
-
SideSheet
- Moved the modal side sheet default width/height into style so they can be customized
- Updated string translations (
198e08c
)
-
Slider
- Made tick size defaults to the stop indicator size if set (
92bc02c
) - Fixed incorrect style of stop indicators near handles (
d61cffd
) - Resolved issues that crash when assigning a large value to
valueTo
(4d1b9e5
) - Updated the track drawing for some corner cases. (
10484df
) - Fixed ripple not transparent on API 33 (
cd4f618
) - Updated documentation (
a641e18
) - Updated styles (
c218b3c
)(3b278d7
) - Fixed slider label not moving while scrolling (
144b515
)
- Made tick size defaults to the stop indicator size if set (
-
Tabs
- Fixed title being announced twice when there's a badge in TalkBack mode. (
aaa7034
)
- Fixed title being announced twice when there's a badge in TalkBack mode. (
-
Theming
-
Tokens
-
TopAppBar
-
TextInputLayout
-
Transitions / Motion
- Updated androidx transition dep to version 1.5.0-beta01 (
8c63848
) - Added predictive fade through fragment transition demo to Catalog. (
6092a7d
) - Added titles to fade through demo fragments in Catalog. (
104043c
) - Added predictive transition support for fragments and views to the Material motion library, and enabled it in shared axis fragment transition demo. (
8ccec33
)
- Updated androidx transition dep to version 1.5.0-beta01 (
Full list of release notes
Full list of changes
v1.11.0
Important
Elevation Overlays within default component styles have been replaced by the new Tonal Surface Color system. Instead of blending the Primary color with the Surface color based on an elevation value, components now use a specific Surface color role that can be more easily understood and customized.
Documentation for the affected components and which Surface color roles they use has been updated in https://github.com/material-components/material-components-android/commit/2114a11378fd801b32cd7431bb8a2c94de4f462c.
What's new since 1.10.0
- New Tonal Surface Color system! Check out the design guidance and the commit with documentation updates for more details.
- New Carousel variants! 1.11.0 introduces three new Carousel variants: center-aligned hero, uncontained, and fullscreen. Check out the Carousel documentation for more details.
Dependency Updates
None.
Note: Earlier versions of 1.11.0 used other versions of the androidx.activity
1.8.0 library dependency, but there is no change in the dependency from 1.10.0, the last stable MDC library version.
Library Updates
-
Badging
- Adjusted badge vertical offset for certain components to fit design requirements (
78cc54b
) - Added note in attachBadgeDrawable method docs about menu item views being re-used when there is a structural change in the menu. Since badges are attached to the views, this may change the menu item that the badge is intended for (
5e6ea58
)
- Adjusted badge vertical offset for certain components to fit design requirements (
-
BottomNavigationView
- Set badges to be null instead of removing them from the sparse array so that removing badges before restoring badge states will not override the current state (
9f2e686
)
- Set badges to be null instead of removing them from the sparse array so that removing badges before restoring badge states will not override the current state (
-
BottomSheet
- Fix sheet corners animation (
de27132
)
- Fix sheet corners animation (
-
Carousel
- Ensure that extra small size is not larger than the large size (
17baf71
) - Fixed crash when recyclerview has a size of zero. (
26c3129
) - When navigating with keyboard, scroll focused item to nearest focal keyline, not the first focal keyline (
fb9c1c6
) - Force hero strategy to be start-aligned if there are not enough items to make it center-aligned (
9a2347b
) - Add logic for multibrowse strategy to change strategy when number of items is less than the number of keylines (
cbb380d
) - Fixed focus order when using keyboard navigation for hero carousels. (
0356f24
) - Cleaning up multi-browse strategy and removing compact arrangement (
ed4647d
) - Disallowing center aligned hero strategy with only 2 items since it does not make any sense. With only 2 items there can only be a start state and end state with the hero strategy. (
d5d604d
) - Fix issue with uncontained carousel not having a proper end scroll value due to assumption made in end scroll calculation (
8cb444b
) - Added tests for hero and multibrowse strategies when the carousel container is very small. (
8312162
) - Update scroll offset to scroll to the estimated position that it was at upon an initial load (
4a6ae4d
) - Fixed strategies crashing when there is not enough available space for a large and a small item (
c418063
) - Tweak uncontained strategy logic to adjust medium size items to improve motion (
93660d4
) - Fixed formatted for KeylineState and KeylineStateList (
b80d9a5
) - Fixed keyline shifting in RTL for uncontained carousels (
7151714
) - Reduce the number of truncations in intermediate calculations (
4ce7e4c
) - Update vertical scroll speed to be faster (
c6ea2d4
) - Fix some a11y bugs in Carousel (
3d84841
) - Center aligned uncontained carousel (
b6f6eb5
) - Add left-aligned uncontained strategy (
9d81cac
) - Fix orientation not correct in item decoration calculations (
966f7da
) - Update mask size on size change if mask x percentage has been set (
dc91b39
) - Fix issue with next carousel item not being masked properly (
a16f180
) - Add a layout listener to recyclerview to refresh keyline state upon size change (
ff52862
) - Remove default list from Carousel catalog demos as it is not an example of a carousel (
0171624
) - Add carousel alignment attribute (
547156e
) - Fix issue with not refreshing keylines (
674ec44
) - Fixed MaskableFrameLayout not updating mask after size change when setting the mask using setMaskXPercentage. (
14023d2
) - Adding docs for fullscreen carousel strategy (
7c40359
) - Add fullscreen demo to catalog (
ad6afbf
) - Add full screen strategy (
bc54f2e
)
- Ensure that extra small size is not larger than the large size (
-
Catalog
- Use BottomSheetDialogFragment (
2c53952
) - Update navigation drawer state handling to be more accurate in demo (
74ac87c
) - Update navigation drawer state handling to be more accurate in custom drawer demo (
1252d4f
) - When bottom sheet is collapsed, back callback is enabled (
98439df
) - Update side sheet state handling to be more accurate in demos (
357cf2d
) - Update bottom sheet state handling to be more accurate in demos (
f9102c7
) - Fixed demos in RTL (
4e1b130
) - Make side sheet demo icon easier to see in dark mode (
79a1953
) - Remove explicit Catalog dependency on androidx.activity now that library depends on it (
3bb69f5
) - buid.gradle update. (
4847799
) - Remove edge-to-edge to top app bar demos due to glitches in ActionBar demo (
c40e468
) - Update slider position when carousel is scrolled in uncontained carousel demo (
480bbc6
) - Applied edge-to-edge to top app bar demos (
aa5b5bc
) - Add uncontained carousel demo to catalog (
ef9f918
) - Update slider position when carousel is scrolled in catalog demos (
3652fde
) - Applied edge-to-edge to bottom sheet in Carousel demo (
6c2dd5d
) - Fix fullscreen vertical carousel to use vertical dividers (
af7d09a
) - Add alignment option to hero carousel (
7cfd30f
)
- Use BottomSheetDialogFragment (
-
Chip
- Fix a typo in attributes table in documentation (
7289aa6
)
- Fix a typo in attributes table in documentation (
-
CollapsingToolbarLayout
-
Color
- Delete unused contrast resources (
541df07
) - Updated focused and pressed state from 0.12 to 0.10 to increase the contrast ratio with tonal surface color. (
bc824b4
) - Updated colors of container transform demo (
d16f223
) - Add ColorStateListDrawable support (
0663019
) - Removed layered drawable for the background after tonal surface color. (
b5d6f1a
) - Upgraded to v0.170 for tonal surface colors. (
8204856
) - Update constructor comments ([
ba465a2
](https://togithub.com/material-compo
- Delete unused contrast resources (
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.