Repository navigation
Update glideVersion to v5.0.10 - #3451
Merged
Merged
Conversation
nextcloud-android-bot
enabled auto-merge
November 17, 2026 03:31
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Contributor
📱 QA build
The QA build installs alongside a released Nextcloud app, so you can keep Downloading the file requires a GitHub account, so open this link on the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.0.9→5.0.105.0.9→5.0.10Release Notes
bumptech/glide (com.github.bumptech.glide:ksp)
v5.0.10: Glide 5.0.10Glide 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 viaGlideBuilder.experimentalSetStripSensitiveHeadersOnCrossOriginRedirects(boolean).Bug Fixes
GlideException: Prevent aNullPointerException(rethrown asCallbackException) inGlideException.printStackTrace()when logging a failed load whose cause list containsnull.UriBitmapImageDecoderResourceDecoderMIME & OS guards:UriBitmapImageDecoderResourceDecoder.handles()via a positiveimage/*MIME type check so non-image content URIs are not passed toImageDecoder.UriBitmapImageDecoderResourceDecoderto Android 15+ (API 35+) to avoid native container descriptor race conditions on older OS versions.ImageDecoderdecode fallback: CatchDecodeExceptionandIOExceptioninBitmapImageDecoderResourceDecoder.decode()and returnnullsoDecodePathfalls back cleanly toDownsamplerand other registered decoders instead of failing the load.GlideBuilder.experimentalSetEnableActiveResourceReleaseRaceFix(boolean)soEngine.load()skips active resources whose reference count has already dropped to zero, preventingIllegalStateException: Cannot recycle a resource while it is still acquired.RGB_565allocation size (#4490, #4461): AddGlideBuilder.experimentalSetEnableRgb565DownsamplerFix(boolean)to fix allocating twice the required memory when downsamplingRGB_565bitmaps.load(Object): AddGlideBuilder.experimentalSetUseTypedLoadForInMemoryObjects(boolean)soRequestBuilder.load(Object)delegates to the typedload(Bitmap),load(Drawable), andload(byte[])overloads when the runtime model is one of those types, applying the expected default disk/memory cache strategies (e.g. from ComposeGlideImage).Features & Performance
ImageDecodersupport (Android 10+): AddParcelFileDescriptorBitmapImageDecoderResourceDecoderandAssetFileDescriptorBitmapImageDecoderResourceDecoderbehindGlideBuilder.setPrioritizeFileDescriptorOverInputStream(boolean)(used alongsidesetImageDecoderEnabledForBitmaps(true)), prioritizingParcelFileDescriptorandAssetFileDescriptorModelLoaders overInputStreamModelLoaders and decoding directly from file descriptors without buffering streams on the Java heap. Also allowsframe(0)requests on still images to useImageDecoder.ImageDecoderis enabled: AddGlideBuilder.setUseBitmapFactoryForInputStreamsWithImageDecoder(boolean)soInputStreamsources decode incrementally viaBitmapFactory(StreamBitmapDecoder) instead of buffering the entire stream into a contiguousByteBuffer, avoidingOutOfMemoryErroron large images while keepingImageDecoderfor in-place sources (File,ParcelFileDescriptor,AssetFileDescriptor,Uri,ByteBuffer).ImageDecoder: AddGlideBuilder.setRespectExifOrientationInImageDecoder(boolean)to inspect EXIF orientation ahead of decode and selectALLOCATOR_SOFTWAREwhen rotation is required (avoiding hardware bitmap GPU readbacks), while clampingImageDecoder.setTargetSizedimensions to at least1pxon extreme aspect ratios.UriBitmapImageDecoderResourceDecoder.handles()before falling back toContentResolver.getType(uri), avoiding synchronous Binder IPC for standard image URIs.HARDWAREbitmaps: AddDownsampler.BYPASS_TRANSFORMATIONS_FOR_HARDWARE_BITMAPS(effective whenDownsampler.ALLOW_HARDWARE_CONFIGis enabled) so display-only layouts where the targetImageViewhandles scaling/cropping can skip software-canvas bitmap transformations when the decoded resource isBitmap.Config.HARDWARE.HARDWAREbitmaps: AddGlideBuilder.setBypassResourceDiskCacheForHardwareBitmaps(boolean)to skip compressingBitmap.Config.HARDWAREresources into the resource disk cache, avoidingRenderThreadGPU readbacks and transient software bitmap copies on decode threads.Filepath-name memoization by default inDiskLruCacheWrapper/DiskLruCacheto reduce retained heap memory for large disk caches.TRIM_MEMORY_UI_HIDDEN: AddGlideBuilder.experimentalSetEnableTrimMemoryOnUiHidden(boolean)sosetMemoryCategoryInBackground(MemoryCategory)also applies when the app transitions toComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN.GlideBuilder.setSourceUnlimitedExecutor(GlideExecutor)andGlideExecutor.newUnlimitedSourceBuilder()to allow customizingUncaughtThrowableStrategyand thread pool parameters for unlimited source loads.Integrations & Submodules
1.0.0-beta11):GlideBuilder.experimentalSetClearGlidePainterOnStop(boolean)soGlidePainterclears active requests and releasesBitmap/Drawablereferences when the hostLifecycleOwnermoves belowSTARTED(ON_STOP), automatically restarting onON_START.:integration:composeto Java 11.1.0.0-beta11):1.0.0-beta11alongside:integration:compose.ChromiumUrlLoader.Options.Builder#setGuardActiveJobEviction(boolean)to verify job identity before evicting an active URL entry on asynchronous cancellation/completion callbacks.ChromiumRequestSerializerfromERRORtoWARN.futures):CallbackToFutureAdapter/AbstractResolvableFutureusage inGlideFutureswith a customAbstractFutureimplementation, propagate synchronoussubmit()exceptions through the returnedListenableFuture, and drop the unusedandroidx.concurrent:concurrent-futuresdependency.DiskLruCache:DiskLruCache.open(directory, appVersion, maxSize)andValue.getFile(), and remove legacy multi-value entry complexity.Internal Cleanup & Build / Dependency Updates
Engine,ActiveResources,Jobs,EngineJob, andEngineResourcetracking keys fromKeytoEngineKey, standardize engine field ordering, remove unreachable pre-API 23 branches (minSdkVersionis 23), removeUtil.setSdkVersionInt, fix Javadoc compilation warnings, clean up redundant@SuppressWarnings, and annotate builder/registry mutators with@CanIgnoreReturnValue.automergeTypetoprandrebaseWhentoconflicted.2.4.20, KSP2.3.14, Compose1.12.1,androidx.appcompat1.8.0,androidx.fragment1.9.1,androidx.lifecycle2.11.0,androidx.annotation1.11.0,dagger2.60.1,androidx.test:core1.7.0,androidx.junit1.3.0,androidx.espresso3.7.0,androidx.benchmark1.5.0-rc01, andcom.google.truth1.4.5.Full Changelog: bumptech/glide@v5.0.9...v5.0.10
Configuration
📅 Schedule: (in timezone Europe/Berlin)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR was generated by Mend Renovate. View the repository job log.