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:
4.8.0
->4.16.0
4.8.0
->4.16.0
Release Notes
bumptech/glide (com.github.bumptech.glide:compiler)
v4.16.0
: Glide 4.16.0This release focuses on some build improvements and Compose. The two major Compose improvements are adding support for Compose specific transitions (e.g. cross fade) and supporting recomposition based on request state using
GlideSubcomposition
. There's also been a bunch of internal refactoring to move away from Painters to Modifier nodes based on feedback from the Compose team. This is still an alpha release of Compose, but barring unexpectedly negative feedback, the next release should be beta.This should be the last release of Glide that targets Java 7. That probably means our next release will be a major version change.
Features
Compose
Add a Transition API and a CrossFade Transition for Compose by @sjudd in https://github.com/bumptech/glide/pull/5235
Influence layout using intrinsics in GlideNode by @sjudd in https://github.com/bumptech/glide/pull/5240 * Log instead of throwing parsing manifests to fix compose previews by @sjudd in https://github.com/bumptech/glide/pull/5167
Launch no more than one request per onRemembered by @sjudd in https://github.com/bumptech/glide/pull/5062
Remove GlidePainter in favor of Modifier nodes / Flows by @sjudd in https://github.com/bumptech/glide/pull/5230
Replace flows in GlideSubcomposition with a listener on GlideNode by @sjudd in https://github.com/bumptech/glide/pull/5238
Bugs
isInitialized
visible for testing method by @paulsowden in https://github.com/bumptech/glide/pull/5163Deprecations
placeholderOf(@​Composable)
inGlideImage
is deprecated, useGlideSubcomposition
instead. Keep in mind that using either forces a recomposition each time the state of the image load changes. Recomposition will have a significant performance penalty in scrolling lists and should be avoided.Behavior Changes
Breaking Changes
Build Changes
New Contributors
Full Changelog: bumptech/glide@v4.15.0...v4.16.0
Note - there's been a change in the gpg key used to sign these releases. The new public key is attached
v4.15.1
: Glide v4.15.1Features
Compose
Bugs
16306e8
)Deprecations
Behavior Changes
Breaking Changes
Build Changes
v4.15.0
: Glide v4.15.0Features
eab4c37
,04f198e
,e6f5eec
,a912e0f
,9668157
,31821f5
,f73f003
)4298bb7
,26a393b
,330b9a8
,e247bb7
,c283043
, thanks @hoisie)464002b
)895e2f7
,d704c89
,62654be
,e58802e
, thanks @vigneshvg)098c1a4
, thanks @vigneshvg)Compose
d5fc241
)89472a3
, #4943)6cb9486
)e63c5d2
)01ed966
,0f9aea2
)Bugs
4bfda58
)00e8c23
)4affb8d
)Deprecations
Behavior Changes
18bba92
)Breaking Changes
Build Changes
v4.14.2
: Glide v4.14.2Bugs
5245e82
)f3d6ff7
)Behavior Changes
equals()
andhashCode()
. Code that relied on the equals/hashcode methods may break if it accidentally relies on the old bad behavior. (f3d6ff7
)v4.14.1
: Glide v4.14.1Bugs
4d4f3eb
)v4.14.0
: Glide v4.14.0Features
2a787b9
,8bef56e
,272c6c3
,9f04fd0
,4016448
,c35ad13
).7d9e1a3
)ad35f5e
)17cae33
)Bugs
96596ae
)9840c91
)4f29ada
)5c232dd
)1a2cfe3
)Deprecations
e802964
)Behavior Changes
6ba4b54
)c38ce36
)Breaking Changes
Build Changes
edf9d32
)3633e95
,8875d30
,fd5e7df
,b8fb588
, thanks @TacoTheDank)fdbb694
)31e7ce3
,2895b35
, thanks @TacoTheDank)faf85ec
)6640376
)839899d
)f86db6f
)c30aee9
, thanks @Goooler)e5a29be
)v4.13.2
: Glide v4.13.2Bugs
e2b488c
)v4.13.1
: Glide v4.13.1Bugs
v4.13.0
: Glide 4.13.0Features
3fd8e77
,f5e78ed
,2b52437
)Bugs
808a685
)8bebf71
)52a8cf8
)Deprecations
Behavior Changes
dbdae56
,833ef21
)42654b2
)Breaking Changes
Build Changes
v4.12.0
: Glide 4.12.0Features
ba99582
,ff29849
,114251e
,1dd0576
,3d54ef5
)5a814a1
)67b01f6
)d1aacb5
,e442557
)Bugs
0647c41
,90a657b
,ddb3934
)b2a361a
)5b117b3
)78ecfd2
)5090b6d
)7cc865a
)cce9375
)621e2d5
)1ae9a2a
)8f354dc
)14a0e1a
)6aa7ad2
)edd96d8
,8584b45
,a3a3a65
,b0a7efe
,7d7042c
,b451065
)e9e5a2e
)332807a
,11530fd
)2b61482
)59ec98c
)5acc99f
)Deprecations
Behavior Changes
efe8023
)Breaking Changes
Build Changes
d75bb30
)5aa0b4f
)85868bd
)dbdb62c
)v4.11.0
: Glide 4.11.0Features
db3acef
)1382e56
, thanks to vtsuei@)2777657
)9190698
, #4021)Bugs
83ba102
)690f815
)42d3f07
)1c51b24
)e8c841c
)0acd87c
)7e750ca
)bd6f894
, #3851)100ac4a
)Deprecations
Behavior Changes
9281d8e
, thanks to timurrrr@)Breaking Changes
Build Changes
v4.10.0
: Glide 4.10.0Features
e021f6b
)9fb1036
)f36a9fa
, thanks to dlos@)1b391c4
)8a094e9
, thanks to mikewallstedt@)15a21b1
,7910f68
)525e7ba
)71359c7
, thanks to Daniel Tomasiewicz)31b501d
, thanks to Daniel Tomasiewicz)Bugs
79dac0d
, thanks to sonyamollinger@)24f9c28
, thanks to sonyamollinger@)cancelAll()
(047c22d
, thanks @paynemiller92)bee6348
,5cccdfb
,01ea6a5
,b2a46ef
,6dc03d8
,4de2cda
,b96b000
,8907122
,53438b9
)ac4aa53
, thanks to @yuriy-budiyev)RequestManager#pause
when the thumbnail portion of a request is complete the full portion is still running (2f56153
)2193306
, thanks to @limuyang2)an exact power of 2 match in one dimension but not the other (
3df5445
)Downsampler
(#3673,ebdf8be
)29c553d
, thanks to @lihongyu)9c48b48
)7bb6f11
, thanks to @phxnirvana)Deprecations
CustomViewTarget
(c8d646e
)Behavior Changes
CustomViewTarget
are now ignored because they cause Glide to ignore calls toclear()
(c8d646e
)Breaking Changes
Build Changes
4039981
, thanks to @technoir42)5bb4691
,cd37a54
, thanks to @cpovirk)d8278f4
)f3fafcd
)v4.9.0
: Glide 4.9.0Features
ed20643
)For example previously to apply centerCrop you'd have use a static method and
apply()
:Or use the generated API and the annotation processor:
After this change, even without the generated API/annotation processor you can access standard RequestOptions methods directly:
The generated API is still required for API extensions and to include integration libraries. Hopefully this makes it easier for users who do not include integration libraries and for developers of libraries that are currently unable to use the generated API to use Glide.
37127f0
)Target
s. onLoadCleared still must be implemented by subclasses of CustomTarget (b3b2d7a
)b57ef34
, thanks to @SUPERCILEX).transform()
method to replace the equivalent.transforms()
method (#2875, #3365,8a26a6b
, thanks to @aleien)f7d8604
, thanks to @rehlma)8f1ea5c
)a150301
, thanks to @AnwarShahriar)Bugs
cad83d2
)ArrayList
s from other collections on some devices/versions of Android (#3296,2ca790a
)d6345fb
, thanks to @r-ralph)1878585
, thanks to @Gnzlt)3c9f92f
)be51b4e
)e515f47
)114b885
)e2df4d0
)Deprecations
.transforms()
, it's replaced with the identical.transform()
method (8a26a6b
)Behavior Changes
8f1ea5c
)Breaking Changes
ed20643
. Typically the breakage is relatively simple to fix, but the exact methods that need to be called or that are exposed may have changed for subclasses.Build Changes
a16a1ba
, thanks to @technoir42)Configuration
📅 Schedule: 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.
This PR has been generated by Mend Renovate. View repository job log here.