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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump accompanist-coil from 0.1.6 to 0.3.0 #8

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Oct 1, 2020

Bumps accompanist-coil from 0.1.6 to 0.3.0.

Release notes

Sourced from accompanist-coil's releases.

v0.3.0

Built to work with Jetpack Compose v1.0.0-alpha04

What鈥檚 Changed

A big release for Accompanist! 馃槄

New Picasso (and Image Loading Core) library

We now have a new Picasso integration library 馃枌 (#98)

dependencies {
    implementation "dev.chrisbanes.accompanist:accompanist-picasso:0.3.0"
}

All of the common/utility code from the Coil integration library has been extracted to a new Image Loading Core library (which both depend on) (#96).

The new @Composable fun PicassoImage() provides (mostly) the same functionality as CoilImage.

This is primarily for apps which are already using Picasso and don't want to switch to Coil. We plan on also adding an integration for Glide too but ran out of time for this release (PRs welcome if anyone wants to take this on).

GIF support in Coil

We now have a new way to display Android Drawables in Compose, which also supports animated drawables. This means that we can now properly support Coil鈥檚 GIF support.

API updates

We've been busy refining the API for both the Coil and Picasso libraries:

API: Function overloads

Each library now provides two different types of 'image loading' function. If we use the CoilImage functions as examples:

1: Simple option

This is what most developers will use (I think). We provide a number of content slots parameters, where you can provide different content whilst the image is loading/failed. We also provide a simple fadeIn parameter allowing you to turn on the default animation.

CoilImage(
  data = "https://www.image.url",
  fadeIn = true,
  loading = {
    Stack(Modifier.fillMaxSize()) {
      CircularProgressIndicator(Modifier.align(Alignment.Center))
    }
  },
  error = { /* TODO */ },
)

2: Manual, with more control

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [accompanist-coil](https://github.com/chrisbanes/accompanist) from 0.1.6 to 0.3.0.
- [Release notes](https://github.com/chrisbanes/accompanist/releases)
- [Commits](https://github.com/chrisbanes/accompanist/compare/v0.1.6...v0.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 1, 2020
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Oct 14, 2020

Superseded by #9.

@dependabot dependabot bot closed this Oct 14, 2020
@dependabot dependabot bot deleted the dependabot/gradle/dev.chrisbanes.accompanist-accompanist-coil-0.3.0 branch October 14, 2020 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants