Skip to content

Update glide to v5.0.10 - #18100

Merged
renovate[bot] merged 1 commit into
masterfrom
renovate/glide
Nov 21, 2026
Merged

renovate[bot] merged 1 commit into
masterfrom
renovate/glide

Conversation

@renovate

@renovate renovate Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
com.github.bumptech.glide:ksp 5.0.9 → 5.0.10 age confidence
com.github.bumptech.glide:glide 5.0.9 → 5.0.10 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

bumptech/glide (com.github.bumptech.glide:ksp)

v5.0.10: Glide 5.0.10

Glide 5.0.10 & Compose / KTX 1.0.0-beta11 Release Notes

Includes all public changes since v5.0.9 (PR #​5721, 2026-07-10).

Security

  • HttpUrlFetcher: Strip sensitive request headers (Authorization, Proxy-Authorization, Cookie, Cookie2) on cross-origin HTTP redirects by default when handling redirects manually. Can be configured via GlideBuilder.experimentalSetStripSensitiveHeadersOnCrossOriginRedirects(boolean).

Bug Fixes

  • GlideException: Prevent a NullPointerException (rethrown as CallbackException) in GlideException.printStackTrace() when logging a failed load whose cause list contains null.
  • UriBitmapImageDecoderResourceDecoder MIME & OS guards:
    • Reject non-image URIs (such as videos and GIFs) in UriBitmapImageDecoderResourceDecoder.handles() via a positive image/* MIME type check so non-image content URIs are not passed to ImageDecoder.
    • Restrict UriBitmapImageDecoderResourceDecoder to Android 15+ (API 35+) to avoid native container descriptor race conditions on older OS versions.
  • ImageDecoder decode fallback: Catch DecodeException and IOException in BitmapImageDecoderResourceDecoder.decode() and return null so DecodePath falls back cleanly to Downsampler and other registered decoders instead of failing the load.
  • Active resource release race (#​5782): Add GlideBuilder.experimentalSetEnableActiveResourceReleaseRaceFix(boolean) so Engine.load() skips active resources whose reference count has already dropped to zero, preventing IllegalStateException: Cannot recycle a resource while it is still acquired.
  • RGB_565 allocation size (#​4490, #​4461): Add GlideBuilder.experimentalSetEnableRgb565DownsamplerFix(boolean) to fix allocating twice the required memory when downsampling RGB_565 bitmaps.
  • In-memory models passed via load(Object): Add GlideBuilder.experimentalSetUseTypedLoadForInMemoryObjects(boolean) so RequestBuilder.load(Object) delegates to the typed load(Bitmap), load(Drawable), and load(byte[]) overloads when the runtime model is one of those types, applying the expected default disk/memory cache strategies (e.g. from Compose GlideImage).

Features & Performance

  • Direct file-descriptor ImageDecoder support (Android 10+): Add ParcelFileDescriptorBitmapImageDecoderResourceDecoder and AssetFileDescriptorBitmapImageDecoderResourceDecoder behind GlideBuilder.setPrioritizeFileDescriptorOverInputStream(boolean) (used alongside setImageDecoderEnabledForBitmaps(true)), prioritizing ParcelFileDescriptor and AssetFileDescriptor ModelLoaders over InputStream ModelLoaders and decoding directly from file descriptors without buffering streams on the Java heap. Also allows frame(0) requests on still images to use ImageDecoder.
  • Stream fallback when ImageDecoder is enabled: Add GlideBuilder.setUseBitmapFactoryForInputStreamsWithImageDecoder(boolean) so InputStream sources decode incrementally via BitmapFactory (StreamBitmapDecoder) instead of buffering the entire stream into a contiguous ByteBuffer, avoiding OutOfMemoryError on large images while keeping ImageDecoder for in-place sources (File, ParcelFileDescriptor, AssetFileDescriptor, Uri, ByteBuffer).
  • EXIF orientation & minimum target size in ImageDecoder: Add GlideBuilder.setRespectExifOrientationInImageDecoder(boolean) to inspect EXIF orientation ahead of decode and select ALLOCATOR_SOFTWARE when rotation is required (avoiding hardware bitmap GPU readbacks), while clamping ImageDecoder.setTargetSize dimensions to at least 1px on extreme aspect ratios.
  • Fast-path URI extension check: Check file extensions from URI path segments in UriBitmapImageDecoderResourceDecoder.handles() before falling back to ContentResolver.getType(uri), avoiding synchronous Binder IPC for standard image URIs.
  • Bypass transformations for HARDWARE bitmaps: Add Downsampler.BYPASS_TRANSFORMATIONS_FOR_HARDWARE_BITMAPS (effective when Downsampler.ALLOW_HARDWARE_CONFIG is enabled) so display-only layouts where the target ImageView handles scaling/cropping can skip software-canvas bitmap transformations when the decoded resource is Bitmap.Config.HARDWARE.
  • Bypass resource disk cache for HARDWARE bitmaps: Add GlideBuilder.setBypassResourceDiskCacheForHardwareBitmaps(boolean) to skip compressing Bitmap.Config.HARDWARE resources into the resource disk cache, avoiding RenderThread GPU readbacks and transient software bitmap copies on decode threads.
  • Disk cache path-name memoization disabled by default: Disable eager File path-name memoization by default in DiskLruCacheWrapper / DiskLruCache to reduce retained heap memory for large disk caches.
  • Background memory trimming on TRIM_MEMORY_UI_HIDDEN: Add GlideBuilder.experimentalSetEnableTrimMemoryOnUiHidden(boolean) so setMemoryCategoryInBackground(MemoryCategory) also applies when the app transitions to ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN.
  • Unlimited source executor configuration: Add GlideBuilder.setSourceUnlimitedExecutor(GlideExecutor) and GlideExecutor.newUnlimitedSourceBuilder() to allow customizing UncaughtThrowableStrategy and thread pool parameters for unlimited source loads.

Integrations & Submodules

  • Compose (1.0.0-beta11):
    • Add GlideBuilder.experimentalSetClearGlidePainterOnStop(boolean) so GlidePainter clears active requests and releases Bitmap/Drawable references when the host LifecycleOwner moves below STARTED (ON_STOP), automatically restarting on ON_START.
    • Update required Java/JVM target version for :integration:compose to Java 11.
  • KTX (1.0.0-beta11):
    • Bump version to 1.0.0-beta11 alongside :integration:compose.
  • Cronet:
    • Add opt-in ChromiumUrlLoader.Options.Builder#setGuardActiveJobEviction(boolean) to verify job identity before evicting an active URL entry on asynchronous cancellation/completion callbacks.
    • Downgrade expected Cronet network request failure logs in ChromiumRequestSerializer from ERROR to WARN.
  • Concurrent (futures):
    • Replace restricted CallbackToFutureAdapter / AbstractResolvableFuture usage in GlideFutures with a custom AbstractFuture implementation, propagate synchronous submit() exceptions through the returned ListenableFuture, and drop the unused androidx.concurrent:concurrent-futures dependency.
  • DiskLruCache:
    • Add single-value convenience overloads DiskLruCache.open(directory, appVersion, maxSize) and Value.getFile(), and remove legacy multi-value entry complexity.

Internal Cleanup & Build / Dependency Updates

  • Narrow internal Engine, ActiveResources, Jobs, EngineJob, and EngineResource tracking keys from Key to EngineKey, standardize engine field ordering, remove unreachable pre-API 23 branches (minSdkVersion is 23), remove Util.setSdkVersionInt, fix Javadoc compilation warnings, clean up redundant @SuppressWarnings, and annotate builder/registry mutators with @CanIgnoreReturnValue.
  • Configure Renovate automergeType to pr and rebaseWhen to conflicted.
  • Dependency updates: Kotlin 2.4.20, KSP 2.3.14, Compose 1.12.1, androidx.appcompat 1.8.0, androidx.fragment 1.9.1, androidx.lifecycle 2.11.0, androidx.annotation 1.11.0, dagger 2.60.1, androidx.test:core 1.7.0, androidx.junit 1.3.0, androidx.espresso 3.7.0, androidx.benchmark 1.5.0-rc01, and com.google.truth 1.4.5.

Full Changelog: bumptech/glide@v5.0.9...v5.0.10


Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate Bot added 3. to review dependencies Pull requests that update a dependency file labels Nov 21, 2026
@renovate
renovate Bot enabled auto-merge (squash) November 21, 2026 03:28
@renovate

renovate Bot commented Nov 21, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: gradle/libs.versions.toml
Command failed: ./gradlew -Dorg.gradle.jvmargs=-Xms512m -Xmx512m --console=plain --dependency-verification lenient -q --write-verification-metadata sha256,pgp dependencies

FAILURE: Build completed with 3 failures.

1: Task failed with an exception.
-----------
* Where:
Build file '/tmp/renovate/repos/github/nextcloud/android/build.gradle.kts' line: 7

* What went wrong:
Error resolving plugin [id: 'com.android.application', version: '9.5.1', apply: false]
> A problem occurred configuring project ':build-logic'.
   > Could not resolve all artifacts for configuration 'classpath'.
      > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:2.4.21.
        Required by:
            buildscript of project ':build-logic'
            buildscript of project ':build-logic' > org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:6.7.13 > org.gradle.kotlin:gradle-kotlin-dsl-plugins:6.7.13
         > Repository Gradle Central Plugin Repository is disabled due to earlier error below:
            > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-annotations:2.4.21.
               > Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin-annotations/2.4.21/kotlin-gradle-plugin-annotations-2.4.21.pom'.
                  > Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin-annotations/2.4.21/kotlin-gradle-plugin-annotations-2.4.21.pom'.
                     > Received status code 429 from server: Too Many Requests
> There are 5 more failures with identical causes.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
==============================================================================

2: Task failed with an exception.
-----------
* Where:
Build file '/tmp/renovate/repos/github/nextcloud/android/build.gradle.kts' line: 7

* What went wrong:
Error resolving plugin [id: 'com.android.application', version: '9.5.1', apply: false]
> A problem occurred configuring project ':build-logic'.
   > Could not resolve all artifacts for configuration 'classpath'.
      > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:2.4.21.
        Required by:
            buildscript of project ':build-logic'
            buildscript of project ':build-logic' > org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:6.7.13 > org.gradle.kotlin:gradle-kotlin-dsl-plugins:6.7.13
         > Repository Gradle Central Plugin Repository is disabled due to earlier error below:
            > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-annotations:2.4.21.
               > Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin-annotations/2.4.21/kotlin-gradle-plugin-annotations-2.4.21.pom'.
                  > Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin-annotations/2.4.21/kotlin-gradle-plugin-annotations-2.4.21.pom'.
                     > Received status code 429 from server: Too Many Requests
> There are 5 more failures with identical causes.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
==============================================================================

3: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':build-logic'.
> Could not resolve all artifacts for configuration 'classpath'.
   > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:2.4.21.
     Required by:
         buildscript of project ':build-logic'
         buildscript of project ':build-logic' > org.gradle.kotlin.kotlin-dsl:org.gradle.kotlin.kotlin-dsl.gradle.plugin:6.7.13 > org.gradle.kotlin:gradle-kotlin-dsl-plugins:6.7.13
      > Repository Gradle Central Plugin Repository is disabled due to earlier error below:
         > Could not resolve org.jetbrains.kotlin:kotlin-gradle-plugin-annotations:2.4.21.
            > Could not get resource 'https://plugins.gradle.org/m2/org/jetbrains/kotlin/kotlin-gradle-plugin-annotations/2.4.21/kotlin-gradle-plugin-annotations-2.4.21.pom'.
               > Could not GET 'https://repo.maven.apache.org/maven2/org/jetbrains/kotlin/kotlin-gradle-plugin-annotations/2.4.21/kotlin-gradle-plugin-annotations-2.4.21.pom'.
                  > Received status code 429 from server: Too Many Requests
> There are 5 more failures with identical causes.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
==============================================================================

BUILD FAILED in 43s

@codecov

codecov Bot commented Nov 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown

SpotBugs

CategoryBaseNew
Bad practice2424
Correctness4545
Dodgy code117117
Experimental11
Malicious code vulnerability11
Multithreaded correctness1313
Performance2525
Security1515
Total241241

@github-actions

Copy link
Copy Markdown

📱 QA build

Download app-qa-debug.apk
QR code Open the QR code for this download
Commit c4e4fa6
Version 18100
Available until 7 days after this build

The QA build installs alongside a released Nextcloud app, so you can keep
using your existing install while testing.

Downloading the file requires a GitHub account, so open this link on the
device you want to test on, or transfer the APK to it.

@renovate
renovate Bot merged commit fb03de3 into master Nov 21, 2026
28 of 29 checks passed
@renovate
renovate Bot deleted the renovate/glide branch November 21, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants