Skip to content

Glide v4.14.0

Compare
Choose a tag to compare
@sjudd sjudd released this 28 Sep 17:52
· 243 commits to master since this release

Features

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)