glide v4.10.0 Release Notes
Release Date: 2019-09-18 // over 5 years ago-
๐ 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)