Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency io.github.qdsfdhvh:image-loader to v1.6.0 #1378

Merged
merged 2 commits into from
Jul 9, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 8, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
io.github.qdsfdhvh:image-loader 1.5.3 -> 1.6.0 age adoption passing confidence

Release Notes

qdsfdhvh/compose-imageLoader (io.github.qdsfdhvh:image-loader)

v1.6.0

Compare Source

What's Changed

components {
+    setupDefaultComponents()
-    setupDefaultComponents(imageScope)
}

+  val painter = rememberImagePainter(request)
-  val painter = rememberAsyncImagePainter(request)

+ val action by rememberImageAction(request)
+ val painter = rememberImageActionPainter(action)
+ Image(painter) // option.1
+ when (action) {
+     is ImageEvent.Start -> { LoadingUI() }
+     is ImageResult.Source
+     is ImageResult.Error -> { ErrorUI() }
+     is ImageResult -> { Image(painter) /* option.2 */ }
+     else -> Unit
+ }
- val painter = rememberAsyncImagePainter(request)
- when (val requestState = painter.requestState) {
-     is ImageRequestState.Loading -> { LoadingUI() }
-     is ImageRequestState.Failure -> { Error() }
-     ImageRequestState.Success -> { Image(painter) }
- }

🚀 Features

💬 Other

📦 Dependencies

Full Changelog: 1.5.3...1.6.0

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (rebase) July 8, 2023 09:50
@chrisbanes chrisbanes disabled auto-merge July 8, 2023 18:03
@chrisbanes chrisbanes enabled auto-merge (squash) July 8, 2023 18:03
@renovate
Copy link
Contributor Author

renovate bot commented Jul 8, 2023

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@chrisbanes chrisbanes force-pushed the renovate/io.github.qdsfdhvh branch from c3fe616 to b5de3bb Compare July 9, 2023 09:50
@chrisbanes chrisbanes merged commit 0dd6253 into main Jul 9, 2023
6 checks passed
@chrisbanes chrisbanes deleted the renovate/io.github.qdsfdhvh branch July 9, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant