An image loading and caching library for Android focused on smooth scrolling
Glide 5.0 contains no major changes from Glide 4.16 except that we now compile against Java 8 and Kotlin 1.8.
@Nullable
and @NonNull
annotations to RequestListener
via 60b567e5feec70ba810a663e56a10d837f26c56c. This was not mentioned in the 4.16 release notes, but it will break Kotlin implementations that make different assumptions about nullability.Full Changelog: https://github.com/bumptech/glide/compare/v4.16.0...v5.0.0-rc01
We're trying something new - releasing just a dot release of the compose integration library without any changes to the rest of Glide. The new version of the compose library should continue to depend on Glide 4.16.0.
GlideImage
(59c2d9b00510f6c66100bbe4e637b0bd3627d930, #5273, thanks @ag2s20150909 )Full Changelog: https://github.com/bumptech/glide/compare/v4.16.0...compose-alpha6
This release focuses on some build improvements and Compose. The two major Compose improvements are adding support for Compose specific transitions (e.g. cross fade) and supporting recomposition based on request state using GlideSubcomposition
. There's also been a bunch of internal refactoring to move away from Painters to Modifier nodes based on feedback from the Compose team. This is still an alpha release of Compose, but barring unexpectedly negative feedback, the next release should be beta.
This should be the last release of Glide that targets Java 7. That probably means our next release will be a major version change.
Add a Transition API and a CrossFade Transition for Compose by @sjudd in https://github.com/bumptech/glide/pull/5235
Influence layout using intrinsics in GlideNode by @sjudd in https://github.com/bumptech/glide/pull/5240 * Log instead of throwing parsing manifests to fix compose previews by @sjudd in https://github.com/bumptech/glide/pull/5167
Launch no more than one request per onRemembered by @sjudd in https://github.com/bumptech/glide/pull/5062
Remove GlidePainter in favor of Modifier nodes / Flows by @sjudd in https://github.com/bumptech/glide/pull/5230
Replace flows in GlideSubcomposition with a listener on GlideNode by @sjudd in https://github.com/bumptech/glide/pull/5238
isInitialized
visible for testing method by @paulsowden in https://github.com/bumptech/glide/pull/5163
placeholderOf(@Composable)
in GlideImage
is deprecated, use GlideSubcomposition
instead. Keep in mind that using either forces a recomposition each time the state of the image load changes. Recomposition will have a significant performance penalty in scrolling lists and should be avoided.@Nullable
and @NonNull
annotations to RequestListener
via 60b567e5feec70ba810a663e56a10d837f26c56c. This will break Kotlin implementations that make different assumptions about nullability.Full Changelog: https://github.com/bumptech/glide/compare/v4.15.0...v4.16.0
Note - there's been a change in the gpg key used to sign these releases. The new public key is attached
equals()
and hashCode()
. Code that relied on the equals/hashcode methods may break if it accidentally relies on the old bad behavior. (f3d6ff7603e4759a89ba7bd9a8b1a77281e3a4b0)