Skip to content

Glide 4.12.0

Compare
Choose a tag to compare
@sjudd sjudd released this 29 Jan 23:54
· 403 commits to master since this release

Features

  • Add a Cronet integration library (ba99582, ff29849, 114251e, 1dd0576, 3d54ef5)
  • Add support for width/height to the SvgDecoder in the sample app (@chggr, 5a814a1)
  • Add a thumbnail method that takes a list of RequestBuilders so that you don't have to nest a long series of requests (67b01f6)
  • Add a .error() method that takes a model to more easily start a fallback request. There's a bit of nuance with how this is treated, so if you use it, please read the javadoc carefully (d1aacb5, e442557)

Bugs

  • Hardcode disallowed device models for hardware Bitmaps (0647c41, 90a657b, ddb3934)
  • Fix flickr sample by allowing non-https urls (@landicefu, b2a361a)
  • Fix a verificatio nerror in ParcelFileDescriptorRewinder on API levels < 21 (@mkj-gram , 5b117b3)
  • Fix never returning larger size keys in Flickr sample (@valentinilk, 78ecfd2)
  • Fix bugs caused by items changing sizes while in Glide's LruCache (5090b6d)
  • Fix annotation processor with more than 5 library modules on some platforms (#4106, 7cc865a)
  • Fix ConcurrentModificationException due to race in Glide's trimMemory method (#4162, cce9375)
  • Note that RequestListener.onLoadFailed's model is Nullable (@opayen, 621e2d5)
  • Fix an IllegalArgumentException in GifFrameLoader if the GIF is started before it's visible (@dalinaum, 1ae9a2a)
  • Avoid adding both support and non-support RequestManagers when Glide is used with a FragmentActivity as both a FragmentActivity and a regular Activity (8f354dc)
  • Avoid a memory leak when starting RequestManagers in some cases (14a0e1a)
  • Workaround a JDK bug triggered sometimes by Registry (6aa7ad2)
  • Progress on some workarounds to avoid obscure Hardware Bitmap issues on versions of Android< P (edd96d8, 8584b45, a3a3a65, b0a7efe, 7d7042c, b451065)
  • Avoid claiming annotations in Glide's processor (@cushon, e9e5a2e)
  • Fix issues with clone/autoclone in RequestBuilder (332807a, 11530fd)
  • Fix a bug where we could decode partial images for large PNG files where obtaining the metadata caused us to skip past the limit of our buffer (danfang@, 2b61482)
  • Make sure to rethrow in our exception handling streams to workaround an infinite loop in ExifInterface (59ec98c)
  • Reduce the number of stat() syscalls in Glide's startup (5acc99f)

Deprecations

Behavior Changes

  • Better http status codes in HttpUrlFetcher failures (efe8023)

Breaking Changes

Build Changes

  • Add a Gradle Wrapper Validation Github Action (@JLLeitschuh, d75bb30)
  • Removed Monkeyrunner (5aa0b4f)
  • Update ExifInterface version to 1.2.0 (85868bd)
  • Switch from travis-ci to Github actions for presubmits (dbdb62c)