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