chore(deps): update dependency com.github.bumptech.glide:glide to v4.16.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| com.github.bumptech.glide:glide | 4.12.0 -> 4.16.0 |
Release Notes
bumptech/glide (com.github.bumptech.glide:glide)
v4.16.0: Glide 4.16.0
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.
Features
- Allow passing an executor into ChromiumRequestSerializer in https://github.com/bumptech/glide/pull/5077
- Allow host app to provide a way to clear all resources onStop() by @osamaaftab in https://github.com/bumptech/glide/pull/5145
Compose
-
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
Bugs
- Read library glide module names from Java indexes by @sjudd in https://github.com/bumptech/glide/pull/5052
- Fix typo. anay -> any in GlideSymbolProcessor.kt. by @trevorhackman in https://github.com/bumptech/glide/pull/5029
- Include URL in error log by @paulsowden in https://github.com/bumptech/glide/pull/5164
- Add
isInitializedvisible for testing method by @paulsowden in https://github.com/bumptech/glide/pull/5163 - Use onIdle to avoid a race in FlowTests by @sjudd in https://github.com/bumptech/glide/pull/5202
- Add a isEquivalentTo method to correctly check equality by @mori-atsushi in https://github.com/bumptech/glide/pull/5232
- Add @RequiresPermission to NotificationTarget by @TWiStErRob in https://github.com/bumptech/glide/pull/5220
Deprecations
-
placeholderOf(@​Composable)inGlideImageis deprecated, useGlideSubcompositioninstead. 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.
Behavior Changes
- Hard code disabling hardware bitmaps on O/OMR1. by @sjudd in https://github.com/bumptech/glide/pull/5115
- Do not set requireOriginal on Android photo picker uris. by @phoenixli in https://github.com/bumptech/glide/pull/5162
Breaking Changes
Build Changes
- Add integration tests for ksp library modules. by @sjudd in https://github.com/bumptech/glide/pull/5054
- Update README.md to use https by @simoarpe in https://github.com/bumptech/glide/pull/5058
- Use dokka to build scripts/update_javadocs.sh by @sjudd in https://github.com/bumptech/glide/pull/5104
- avif integration: Update libavif dependency by @vigneshvg in https://github.com/bumptech/glide/pull/5128
- Disable java 7 source obsolete warning. by @sjudd in https://github.com/bumptech/glide/pull/5168
- Update mockito version to fix j16 compilation. by @sjudd in https://github.com/bumptech/glide/pull/5169
- Switch Glide's dependencies to a version catalog. by @sjudd in https://github.com/bumptech/glide/pull/5183
- Remove jetifier by @sjudd in https://github.com/bumptech/glide/pull/5184
- Add an updated proguard plugin to compile on Java 17. by @sjudd in https://github.com/bumptech/glide/pull/5185
- Configure Renovate in https://github.com/bumptech/glide/pull/5186
- Increment ROBOLECTRIC_SDK to 19 from 18. by @brettchabot in https://github.com/bumptech/glide/pull/5208 and https://github.com/bumptech/glide/pull/5207
- AGP: Upgrade AndroidManifest.xml's package to build.gradle's namespace. by @TWiStErRob in https://github.com/bumptech/glide/pull/5221
New Contributors
- @trevorhackman made their first contribution in https://github.com/bumptech/glide/pull/5029
- @simoarpe made their first contribution in https://github.com/bumptech/glide/pull/5058
- @paulsowden made their first contribution in https://github.com/bumptech/glide/pull/5164
- @phoenixli made their first contribution in https://github.com/bumptech/glide/pull/5162
- @osamaaftab made their first contribution in https://github.com/bumptech/glide/pull/5145
- @brettchabot made their first contribution in https://github.com/bumptech/glide/pull/5207
- @mori-atsushi made their first contribution in https://github.com/bumptech/glide/pull/5232
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
v4.15.1: Glide v4.15.1
Features
Compose
Bugs
- Fix a bug in the KSP processor preventing it from recognizing or including any of Glide's library modules, or any other library module compiled with Glide's java annotation processor (com.github.bumptech.glide:compiler:X.XX.X). (#5043,
16306e8)
Deprecations
Behavior Changes
Breaking Changes
Build Changes
v4.15.0: Glide v4.15.0
Features
- Improved support for dark mode, RTL and other theme attributes on resources loaded with Glide (
eab4c37,04f198e,e6f5eec,a912e0f,9668157,31821f5,f73f003) - Robolectric shadow and legacy cleanup (
4298bb7,26a393b,330b9a8,e247bb7,c283043, thanks @hoisie) - Add support for okhttp4 (
464002b) - Add support for animated AVIF (
895e2f7,d704c89,62654be,e58802e, thanks @vigneshvg) - Add support for RGB_565 in Avif (
098c1a4, thanks @vigneshvg)
Compose
- Add loading and failure composable parameters so you can set a custom composable while Glide is loading or after an image load fails (
d5fc241) - Make automatic transformations based on ContentScale optional (
89472a3, #4943) - Avoid throwing exceptions when Composables have unexpected sizes (
6cb9486) - Simplify the preloading API by providing a data wrapper that triggers preloading based on access (
e63c5d2) - Show placeholder resources in Compose previews (
01ed966,0f9aea2)
Bugs
- Workaround VP8 decoding issues on ARC devices (
4bfda58) - Improve error messages when Glide is recursively initialized or application code throws during Glide's initialization (
00e8c23) - Fix a race that can result in RequestManagers leaking (
4affb8d)
Deprecations
Behavior Changes
- Use Android's Lifecycle for androidx Fragments / Activities instead of adding a hidden Fragment (
18bba92)
Breaking Changes
Build Changes
v4.14.2: Glide v4.14.2
Bugs
- Allow LibraryGlideModules to be processed in separate code modules when using KSP (#4911,
5245e82) - Fix recomposition when properties of RequestBuilder change (#4916,
f3d6ff7)
Behavior Changes
- Proper implementation of equals/hashcode for BaseRequestOptions and TransitionOptions subclasses. Previously comparing these objects was either not symmetric or certain properties were not included in
equals()andhashCode(). Code that relied on the equals/hashcode methods may break if it accidentally relies on the old bad behavior. (f3d6ff7)
v4.14.1: Glide v4.14.1
Bugs
- Fixes an incorrect dependency in the ksp modules POM file (https://github.com/bumptech/glide/issues/4908,
4d4f3eb)
v4.14.0: Glide v4.14.0
Features
- Add support for KSP (See Download and Setup and Generated API Deprecation for details on how to use the KSP processor and the features it does and does not support,
2a787b9,8bef56e,272c6c3,9f04fd0,4016448,c35ad13). - Add an alpha version of a Compose integration (Docs)
- To support the Compose integration, add an alpha version of general Kotlin support, starting with utilities to convert a Glide request into a Flow (Docs,
7d9e1a3) - Enable animated WebP Decoding on P+ using framework APIs (
ad35f5e) - Allow Drawables to be loaded with specific themes (
17cae33)
Bugs
- Register connectivity listeners on API < 24 on background threads (
96596ae) - Disable ParcelFileDescriptor rewinding in Robolectric (
9840c91) - Rewind ByteBuffers in between each image header parser to avoid spurious failures when multiple parsers read data (
4f29ada) - Avoid duplicate notifications of Targets when an error request builder is set (
5c232dd) - Use the correct run reason in DecodeJob (
1a2cfe3)
Deprecations
- Deprecate Glide's Extensions, GlideApp, GlideRequest and GlideRequests. Extensions seem to be rarely used and add a lot of complexity to the otherwise fairly simple annotation processor. They're also trivially replicated with Kotlin's extension functions for people who're already using Kotlin. Without Extensions, GlideApp, GlideRequest and GlideRequests serve no additional purpose. Prior to Glide 4.9.0 they were used to merge RequestBuilder and RequestOptions, but now that's done in the library without codegen. See Generated API Deprecation for details.
- Deprecate Android framework Fragment support. Applications should use androidx Fragments instead, which we'll continue to support (
e802964)
Behavior Changes
- Initialize Glide's registry on a background thread to avoid some work on the main thread (
6ba4b54) - Update the state of a Request before calling Targets or RequestListeners. Request is generally treated as an internal API but it's possible this could result in some changes to the behavior of custom Targets or RequestListeners that try to use Request to introspect state (
c38ce36)
Breaking Changes
Build Changes
- Removed Spotless (
edf9d32) - gradle.properties versioning cleanup (
3633e95,8875d30,fd5e7df,b8fb588, thanks @TacoTheDank) - Update to Gradle 7+ (
fdbb694) - Fix some deprecation warnings in Gradle (
31e7ce3,2895b35, thanks @TacoTheDank) - Use a version of jarjar from maven rather than embedding a jar (
faf85ec) - Removed the exif orientation example dependency in favor of our own custom images (
6640376) - Target API 32 and make Glide's tests target Java 11 (
839899d) - Build both the release and debug flavors again since they're each required by different gradle plugins we use (
f86db6f) - CI optimization (
c30aee9, thanks @Goooler) - Integrate Dokka to build Glide's javadocs for our documentation page (
e5a29be)
v4.13.2: Glide v4.13.2
Bugs
- Update AVIF dependency to fix proguard stripping code erroneously (https://github.com/bumptech/glide/issues/4761,
e2b488c)
v4.13.1: Glide v4.13.1
Bugs
- Fix a missing dependency in the AVIF integration library (#4751, thanks @vigneshvg, @msisuzney, @wangxuyang518)
v4.13.0: Glide 4.13.0
Features
Bugs
- Improve performance of canceling pending requests (https://github.com/bumptech/glide/commit/627d04af1ec5d81c23908c27e1a646806dce7b30, thanks @yorickhenning)
- Improve memory overhead when decoding byte[] and ByteBuffer (https://github.com/bumptech/glide/commit/042f6b57d511c9d1652d280f5d385d5fef071647)
- Avoid returning duplicate transcode classes in the registry (https://github.com/bumptech/glide/commit/ce8b5e31d7c8ee8e98725142b9c22c478f78cefd, thanks @fightyz)
- Avoid cancelling higher tier (usually higher resolution) preload requests when a lower tier completes (https://github.com/bumptech/glide/commit/4733d1d3309e0f9af1e751f266c5fb0f9fd3a9ce)
- Decrease the maximum FD size limit for certain devices to avoid native crashes (
808a685) - Fix memory leak caused by unusual activity/fragment lifecycle interactions (
8bebf71) - Fix decoding videos from assets (
52a8cf8)
Deprecations
- Deprecate .thumbnail(float) to simplify the thumbnail logic, particularly around request listeners. The same behavior can be easily reproduced by using .thumbnail() with a RequestBuilder on which you set size multiplier. (https://github.com/bumptech/glide/commit/aa23eedb79196c29c61b366d8c9b93c34564fe09)
Behavior Changes
- Set the default color space to null instead of SRGB (https://github.com/bumptech/glide/commit/ce6852d372b2b6fe6d52fe039b7003b1891a8435, https://github.com/bumptech/glide/commit/9dc1f608540039c29931c22e7c7512caa842fe90, thanks @skyinu)
- Fallback to decoding data from source if possible when writing the source to the disk cache fails (https://github.com/bumptech/glide/commit/755c39fb1ff49895ada9f13d808fa46153112980)
- Avoid using deprecated APIs for detecting connectivity state on API 24+ (
dbdae56,833ef21) - Added support for detecting animated webp's to Glide's ImageHeaderParser (
42654b2)
Breaking Changes
Build Changes
- Bump Gradle version once, then replace gradle version with a checked internal one (https://github.com/bumptech/glide/pull/4484, https://github.com/bumptech/glide/commit/9f813390646d2cdaecece8fd96fa7fd8b8605217, https://github.com/bumptech/glide/commit/15d96483d36099a1d088cef4a5bccc234fc66ec4, thanks @EwoutH)
- Replace Jcenter with Maven Central (https://github.com/bumptech/glide/commit/0d3204907f09c713e9dcf104e879b4dea8c2f5f6, https://github.com/bumptech/glide/commit/87a77cea15a0eed253fabc57ff36a1f9b3556fff)
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.
🔕 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.