add landscape offset support
This release corresponds to the AndroidX Media3 1.0.0 release.
There are no changes since 2.18.4.
fix https://github.com/LuckSiege/PictureSelector/issues/2567 fix https://github.com/LuckSiege/PictureSelector/issues/2562 fix https://github.com/LuckSiege/PictureSelector/issues/2560 fix https://github.com/LuckSiege/PictureSelector/issues/2551 fix https://github.com/LuckSiege/PictureSelector/issues/2576 fix https://github.com/LuckSiege/PictureSelector/issues/2550 fix https://github.com/LuckSiege/PictureSelector/issues/2597 fix https://github.com/LuckSiege/PictureSelector/issues/2617
Features
Compose
Bugs
- Fix a bug in the KSP processor preventing it from recognizing or including any of Glide's library modules, or any other library module compiled with Glide's java annotation processor (com.github.bumptech.glide:compiler:X.XX.X). (#5043, 16306e89dece9908e9ada2382f4b94b591120ea5)
Deprecations
Behavior Changes
Breaking Changes
Build Changes
This release corresponds to the AndroidX Media3 1.0.0-rc02 release.
- Core library:
- Downloads:
- Make the maximum difference of the start time of two segments to be merged configurable in
SegmentDownloader
and subclasses (#248).
- Make the maximum difference of the start time of two segments to be merged configurable in
- Audio:
- Video:
- Map HEVC HDR10 format to
HEVCProfileMain10HDR10
instead ofHEVCProfileMain10
. - Add workaround for a device issue on Chromecast with Google TV and Lenovo M10 FHD Plus that causes 60fps AVC streams to be marked as unsupported (#10898).
- Fix frame release performance issues when playing media with a frame rate far higher than the screen refresh rate.
- Map HEVC HDR10 format to
- Cast:
- Fix transient
STATE_IDLE
when transitioning between media items (#245).
- Fix transient
- RTSP:
- Catch the IllegalArgumentException thrown in parsing of invalid RTSP Describe response messages (#10971).
- IMA extension:
- Fix a bug which prevented DAI streams without any ads from starting because the first (and in the case without ads the only)
LOADED
event wasn't received.
- Fix a bug which prevented DAI streams without any ads from starting because the first (and in the case without ads the only)
Features
- Improved support for dark mode, RTL and other theme attributes on resources loaded with Glide (eab4c3742d02ad9f173773007ffc0077b8ace98d, 04f198eb186bf7bc800f056a5fc104eff88b59f1, e6f5eec4ff0d70be28e17c040ee0177edafd8da7, a912e0fba1142da4f939c12852d79bdf6192666e, 966815704feedc6d524a9724c74b88a28ba8b40e, 31821f5ee0556560f5ee85552f6bfe92e52a178d, f73f00344b31bdad87ea90c722174895389904e5)
- Robolectric shadow and legacy cleanup (4298bb7609eb97094406919189c5b147ab6af822, 26a393bb3745977ea4e75fde7dbf06d2b7fbb5b4, 330b9a888e762dac3b2a0d7ec321a088fa90be8b, e247bb7f486a9c36a0f8dec2e3441195b26be727, c283043e722466142d026609ab2599ece6eac247, thanks @hoisie)
- Add support for okhttp4 (464002b62496fc7b4c913563ae9496ee2f7764c1)
- Add support for animated AVIF (895e2f7bb2b060cb88d460d0660a68ca0d9dec6c, d704c8954ae667483afa9a8efdb8b0059e1e979e, 62654be8ba337afa24e235d23902129f787e87d8, e58802e60b36ba76ece309a2c00fb66226498655, thanks @vigneshvg)
- Add support for RGB_565 in Avif (098c1a40d9e85398f9a16d4683c510c665664d4b, thanks @vigneshvg)
Compose
- Add loading and failure composable parameters so you can set a custom composable while Glide is loading or after an image load fails (d5fc241c21bfbf5c162e5109e48a4af113aa39cb)
- Make automatic transformations based on ContentScale optional (89472a35df81ca8924ad31870ccd17a5a800674e, #4943)
- Avoid throwing exceptions when Composables have unexpected sizes (6cb9486abc77d2fd37eda7de3f5a01c88725682d)
- Simplify the preloading API by providing a data wrapper that triggers preloading based on access (e63c5d216520baecaaad9273699765b8c02b28be)
- Show placeholder resources in Compose previews (01ed966e24ae26fac1dff9ef46b509e6d607b621, 0f9aea2979fbb5ea2cf763182fe13c9785a227d7)
Bugs
- Workaround VP8 decoding issues on ARC devices (4bfda588b628389134c7a1269cc8202bb69510bf)
- Improve error messages when Glide is recursively initialized or application code throws during Glide's initialization (00e8c233a1ddf65092d840e96e94a11ff9d8b26f)
- Fix a race that can result in RequestManagers leaking (4affb8d2d9f4ca15c7953ca7322c52fb1e2dab1b)
Deprecations
Behavior Changes
- Use Android's Lifecycle for androidx Fragments / Activities instead of adding a hidden Fragment (18bba927a5e5fe7d07ada9667e9e503b9f0596a2)