Features
- Added a Mocks library to mock GlideExecutor in unit/emulator tests (e021f6b)
- Added an integration library to integrate with Guava's ListenableFuture class (9fb1036)
- Add granular options for rounded corners (f36a9fa, thanks to dlos@)
- Include day/night mode in resource id cache keys (1b391c4)
- Add an API that can be called on Glide manually to clear memory, especially when apps are backgrounded (8a094e9, thanks to mikewallstedt@)
- Add simple support for wide gamut color spaces (15a21b1, 7910f68)
- Release more memory in the background on M+ (525e7ba)
- Support Fragments not hosted by Acitivities (71359c7, thanks to Daniel Tomasiewicz)
- Handle contexts with null application contexts (31b501d, thanks to Daniel Tomasiewicz)
Bugs
- Fixed incorrect downsampling for rotated images when using Target.SIZE_ORIGINAL (79dac0d, thanks to sonyamollinger@)
- Fixed returning negative byte values converting ByteBuffers to InputStreams (24f9c28, thanks to sonyamollinger@)
- Make sure to cancel all preload requests in
cancelAll()
(047c22d, thanks @paynemiller92) - Fixed a series of concurrency bugs introduced by allowing requests to start on background threads (bee6348, 5cccdfb, 01ea6a5, b2a46ef, 6dc03d8, 4de2cda, b96b000, 8907122, 53438b9)
- Make sure the specified numbers of threads are actually used in the animation executor (#3575, ac4aa53, thanks to @yuriy-budiyev)
- Avoid blinking when calling
RequestManager#pause
when the thumbnail portion of a request is complete the full portion is still running (2f56153) - Make it less likely to mix support and non-support fragments (2193306, thanks to @limuyang2)
- Avoid downsampling incorrectly in FitCenter and CenterInside when there was
an exact power of 2 match in one dimension but not the other (3df5445) - Always use orientation corrected sizes in
Downsampler
(#3673, ebdf8be) - Fix transparency in GifDecoder when using RGB_565 (29c553d, thanks to @lihongyu)
- Handle security exceptions trying to open MediaStore Uris when applications are given access to a MediaStore Uri via an Intent (#3504, 9c48b48)
- Fix an unused AnimationExecutor (7bb6f11, thanks to @phxnirvana)
Deprecations
- Deprecate method to set custom tags in
CustomViewTarget
(c8d646e)
Behavior Changes
- Custom tags in
CustomViewTarget
are now ignored because they cause Glide to ignore calls toclear()
(c8d646e)
Breaking Changes
Build Changes
- Updated target SDK to 28 (#3880, thanks to @prempalsingh)
- Disable BuildConfig generation (4039981, thanks to @technoir42)
- Update Truth (5bb4691, cd37a54, thanks to @cpovirk)
- Migrated Glide to androidx (d8278f4)
- Update OkHttp to 3.12.1 (f3fafcd)