-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release: 1.7.4 #364
Merged
Merged
Release: 1.7.4 #364
Conversation
This file contains 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
Finish release 1.7.3
**Description:** Just updated all the lines of Russian localization that were missing.
Bumps the dependencies group with 9 updates: | Package | From | To | | --- | --- | --- | | com.android.tools.build:gradle | `8.5.0` | `8.5.1` | | androidx.lifecycle:lifecycle-viewmodel-ktx | `2.8.2` | `2.8.4` | | androidx.lifecycle:lifecycle-runtime-ktx | `2.8.2` | `2.8.4` | | androidx.paging:paging-runtime-ktx | `3.3.0` | `3.3.1` | | androidx.activity:activity-ktx | `1.9.0` | `1.9.1` | | [me.saket.telephoto:zoomable-image-coil](https://github.com/saket/telephoto) | `0.11.2` | `0.12.1` | | [io.coil-kt:coil-compose](https://github.com/coil-kt/coil) | `2.6.0` | `2.7.0` | | [io.coil-kt:coil-gif](https://github.com/coil-kt/coil) | `2.6.0` | `2.7.0` | | androidx.activity:activity | `1.9.0` | `1.9.1` | Updates `com.android.tools.build:gradle` from 8.5.0 to 8.5.1 Updates `androidx.lifecycle:lifecycle-viewmodel-ktx` from 2.8.2 to 2.8.4 Updates `androidx.lifecycle:lifecycle-runtime-ktx` from 2.8.2 to 2.8.4 Updates `androidx.paging:paging-runtime-ktx` from 3.3.0 to 3.3.1 Updates `androidx.activity:activity-ktx` from 1.9.0 to 1.9.1 Updates `me.saket.telephoto:zoomable-image-coil` from 0.11.2 to 0.12.1 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/saket/telephoto/releases">me.saket.telephoto:zoomable-image-coil's releases</a>.</em></p> <blockquote> <h2>0.12.1</h2> <p>New changes</p> <ul> <li>Added <a href="https://github.com/saket/telephoto/blob/trunk/zoomable/src/commonMain/kotlin/me/saket/telephoto/zoomable/DoubleClickToZoomListener.kt#L16-L23"><code>DoubleClickToZoomListener.cycle()</code></a>, which allows setting a custom max zoom factor for double clicks.</li> </ul> <p>Bug fixes</p> <ul> <li>Fixed a bug that prevented back buttons from working when <code>ZoomableImage()</code> was focused.</li> </ul> <h2>0.12.0</h2> <p>New changes</p> <ul> <li><a href="https://redirect.github.com/saket/telephoto/issues/78">saket/telephoto#78</a>: Support for <a href="https://saket.github.io/telephoto/zoomableimage/#keyboard-shortcuts">keyboard and mouse shortcuts</a> (by <a href="https://github.com/evant"><code>@evant</code></a>)</li> <li><a href="https://redirect.github.com/saket/telephoto/issues/67">saket/telephoto#67</a>: New APIs in <code>ZoomableState</code> for controlling zoom from code: <code>panBy</code>, <code>zoomBy</code>, and <code>zoomTo</code></li> <li><a href="https://redirect.github.com/saket/telephoto/issues/32">saket/telephoto#32</a>: New <code>onDoubleClick</code> parameters in <code>ZoomableImage()</code> and <code>Modifier.zoomable()</code> for customizing double-click behavior</li> <li><a href="https://redirect.github.com/saket/telephoto/issues/91">saket/telephoto#91</a>: Reduced <code>minSdk</code> to 21 (by <a href="https://github.com/iwb-florien-flament"><code>@iwb-florien-flament</code></a>)</li> <li>Significantly reduced the amount of work required by a <code>ZoomableImageSource</code> by offloading the detection of bad content URIs to <code>SubSamplingImageSource.contentUriOrNull()</code></li> </ul> <p>Bug fixes</p> <ul> <li><a href="https://redirect.github.com/saket/telephoto/issues/93">saket/telephoto#93</a>: <code>NullPointerException</code> when an image is zoomed before it is initialized</li> <li><a href="https://redirect.github.com/saket/telephoto/issues/50">saket/telephoto#50</a>: <code>FileNotFoundException: No content provider</code> when disk caching of an image is disabled using <code>Cache-Control</code> HTTP headers.</li> <li>Fixed infinite reloading of images when unstable image request listener are used in <code>ZoomableAsyncImage()</code>. This removes the need for using <code>remember</code> with <code>ImageRequest.listener</code> and <code>ImageRequest.placeholder</code> values.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/saket/telephoto/commit/bb07f8faa26dedd2df49a6e7a47649c1af8e5b23"><code>bb07f8f</code></a> Prepare to release v0.12.1</li> <li><a href="https://github.com/saket/telephoto/commit/cdb6e6cf96c1a6d54b545a5976e60be6cf14fc4a"><code>cdb6e6c</code></a> Add a link to <a href="https://issuetracker.google.com/issues/354162583">https://issuetracker.google.com/issues/354162583</a></li> <li><a href="https://github.com/saket/telephoto/commit/bdbe251aed9e46f16aadbd3d9621b8c44338bb47"><code>bdbe251</code></a> Explain the back button bug workaround in more detail</li> <li><a href="https://github.com/saket/telephoto/commit/eda8ae259ae5c4938d6f361d75588c9c7f508562"><code>eda8ae2</code></a> Extract Modifier.onAttached() into its own file</li> <li><a href="https://github.com/saket/telephoto/commit/039c8c3345658cb5c76be6d0e191b7a6ec8be5ec"><code>039c8c3</code></a> Rename FocusForwarder modifiers</li> <li><a href="https://github.com/saket/telephoto/commit/95a0ba64161afdcc9fb13f4adc4a62f30be076b6"><code>95a0ba6</code></a> Fix: back button does not work when ZoomableImage() is focused</li> <li><a href="https://github.com/saket/telephoto/commit/8e66fc8e62fd460c2968fdac990ca60b25aefea5"><code>8e66fc8</code></a> sample: Extract StrictMode's setup into its own function</li> <li><a href="https://github.com/saket/telephoto/commit/934e5f51a5a6d5616268fd9d365ea4125700516a"><code>934e5f5</code></a> Add missing inspectable properties</li> <li><a href="https://github.com/saket/telephoto/commit/fbbdf9fef5ab0338f5918b5dbd81af1220b752c7"><code>fbbdf9f</code></a> Add DoubleClickToZoomListener.cycle()</li> <li><a href="https://github.com/saket/telephoto/commit/4dd0b05bf3d206d67b0e7376ff55662410babd8e"><code>4dd0b05</code></a> Prepare next development version</li> <li>Additional commits viewable in <a href="https://github.com/saket/telephoto/compare/0.11.2...0.12.1">compare view</a></li> </ul> </details> <br /> Updates `io.coil-kt:coil-compose` from 2.6.0 to 2.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/coil-kt/coil/releases">io.coil-kt:coil-compose's releases</a>.</em></p> <blockquote> <h2>2.7.0</h2> <p>See <a href="https://github.com/coil-kt/coil/blob/main/CHANGELOG.md#270---july-17-2024">CHANGELOG.md</a>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/coil-kt/coil/blob/main/CHANGELOG.md">io.coil-kt:coil-compose's changelog</a>.</em></p> <blockquote> <h2>[2.7.0] - July 17, 2024</h2> <ul> <li>Slightly optimize internal coroutines usage to improve the performance of <code>ImageLoader.execute</code>, <code>AsyncImage</code>, <code>SubcomposeAsyncImage</code>, and <code>rememberAsyncImagePainter</code>. (<a href="https://redirect.github.com/coil-kt/coil/pull/2205">#2205</a>)</li> <li>Fix duplicate network calls for chunked responses. (<a href="https://redirect.github.com/coil-kt/coil/pull/2363">#2363</a>)</li> <li>Update Kotlin to 2.0.0.</li> <li>Update Compose UI to 1.6.8.</li> <li>Update Okio to 3.9.0.</li> </ul> <h2>[3.0.0-alpha08] - July 8, 2024</h2> <ul> <li><strong>BREAKING</strong>: Rename <code>ImageRequest</code> and <code>ImageLoader</code> <code>dispatcher</code> methods to <code>coroutineContext</code>. For instance, <code>ImageRequest.Builder.dispatcher</code> is now <code>ImageRequest.Builder.coroutineContext</code>. This was renamed as the method now accepts any <code>CoroutineContext</code> and no longer requires a <code>Dispatcher</code>.</li> <li>Fix: Fix <code>IllegalStateException: Reading a state that was created after the snapshot was taken or in a snapshot that has not yet been applied</code> which could occur due to a race condition. <ul> <li>NOTE: This reintroduces a soft dependency on <code>Dispatchers.Main.immediate</code>. As a result you should re-add a dependency on <a href="https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-swing/"><code>kotlinx-coroutines-swing</code></a> on JVM. If it's not imported then <code>ImageRequest</code>s won't be dispatched immediately and will have one frame of delay before setting the <code>ImageRequest.placeholder</code> or resolving from the memory cache.</li> </ul> </li> </ul> <h2>[3.0.0-alpha07] - June 26, 2024</h2> <ul> <li><strong>BREAKING</strong>: <code>AsyncImagePainter</code> no longer waits for <code>onDraw</code> by default and instead uses <code>Size.ORIGINAL</code>. <ul> <li>This fixes <a href="https://redirect.github.com/coil-kt/coil/issues/1910">compatibility issues with Roborazzi/Paparazzi</a> and overall improves test reliability.</li> <li>To revert back to waiting for <code>onDraw</code>, set <code>DrawScopeSizeResolver</code> as your <code>ImageRequest.sizeResolver</code>.</li> </ul> </li> <li><strong>BREAKING</strong>: Refactor the multiplatform <code>Image</code> API. Notably, <code>asCoilImage</code> has been renamed to <code>asImage</code>.</li> <li><strong>BREAKING</strong>: <code>AsyncImagePainter.state</code> has been changed to <code>StateFlow<AsyncImagePainter.State></code>. Use <code>collectAsState</code> to observe its value. This improves performance.</li> <li><strong>BREAKING</strong>: <code>AsyncImagePainter.imageLoader</code> and <code>AsyncImagePainter.request</code> have been combined into <code>StateFlow<AsyncImagePainter.Inputs></code>. Use <code>collectAsState</code> to observe its value. This improves performance.</li> <li><strong>BREAKING</strong>: Remove support for <code>android.resource://example.package.name/drawable/image</code> URIs as it prevents resource shrinking optimizations. <ul> <li>If you still needs its functionality you can <a href="https://github.com/coil-kt/coil/blob/main/coil-core/src/androidInstrumentedTest/kotlin/coil3/map/ResourceUriMapper.kt">manually include <code>ResourceUriMapper</code> in your component registry</a>.</li> </ul> </li> <li><strong>New</strong>: Introduce <code>AsyncImagePreviewHandler</code> to support controlling <code>AsyncImagePainter</code>'s preview rendering behavior. <ul> <li>Use <code>LocalAsyncImagePreviewHandler</code> to override the preview behavior.</li> <li>As part of this change and other <code>coil-compose</code> improvements, <code>AsyncImagePainter</code> now attempts to execute execute the <code>ImageRequest</code> by default instead of defaulting to displaying <code>ImageRequest.placeholder</code>. <a href="https://developer.android.com/develop/ui/compose/tooling/previews#preview-limitations">Requests that use the network or files are expected to fail</a> in the preview environment, however Android resources should work.</li> </ul> </li> <li><strong>New</strong>: Support extracting video image by frame index. (<a href="https://redirect.github.com/coil-kt/coil/pull/2183">#2183</a>)</li> <li><strong>New</strong>: Support passing <code>CoroutineContext</code> to any <code>CoroutineDispatcher</code> methods. (<a href="https://redirect.github.com/coil-kt/coil/pull/2241">#2241</a>).</li> <li><strong>New</strong>: Support the weak reference memory cache on JS and WASM JS.</li> <li>Don't dispatch to <code>Dispatchers.Main.immediate</code> in Compose. As a side-effect, <a href="https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-swing/"><code>kotlinx-coroutines-swing</code></a> no longer needs to be imported on JVM.</li> <li>Don't call <code>async</code> and create a disposable in Compose to improve performance (thanks <a href="https://github.com/mlykotom"><code>@mlykotom</code></a>!). (<a href="https://redirect.github.com/coil-kt/coil/pull/2205">#2205</a>)</li> <li>Fix passing global <code>ImageLoader</code> extras to <code>Options</code>. (<a href="https://redirect.github.com/coil-kt/coil/pull/2223">#2223</a>)</li> <li>Fix <code>crossfade(false)</code> not working on non-Android targets.</li> <li>Fix VP8X feature flags byte offset (<a href="https://redirect.github.com/coil-kt/coil/pull/2199">#2199</a>).</li> <li>Convert <code>SvgDecoder</code> on non-Android targets to render to a bitmap instead of render the image at draw-time. This improves performance. <ul> <li>This behavior can be controlled using <code>SvgDecoder(renderToBitmap)</code>.</li> </ul> </li> <li>Move <code>ScaleDrawable</code> from <code>coil-gif</code> to <code>coil-core</code>.</li> <li>Update Kotlin to 2.0.0.</li> <li>Update Compose to 1.6.11.</li> <li>Update Okio to 3.9.0.</li> <li>Update Skiko to 0.8.4.</li> <li><a href="https://coil-kt.github.io/coil/upgrading_to_coil3/">For the full list of important changes in 3.x, check out the upgrade guide.</a></li> </ul> <h2>[3.0.0-alpha06] - February 29, 2024</h2> <ul> <li>Downgrade Skiko to 0.7.93.</li> <li><a href="https://coil-kt.github.io/coil/upgrading_to_coil3/">For the full list of important changes in 3.x, check out the upgrade guide.</a></li> </ul> <h2>[3.0.0-alpha05] - February 28, 2024</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/coil-kt/coil/commit/ce14e14bc9a25c6952e26e248aad75fbd2e9f9d0"><code>ce14e14</code></a> Prepare 2.7.0.</li> <li><a href="https://github.com/coil-kt/coil/commit/f34b98fcc92ffd291565c7d6980b708cdee142a1"><code>f34b98f</code></a> Update baseline profiles.</li> <li><a href="https://github.com/coil-kt/coil/commit/9135616d00ba10fd016d41c88ef69823a5dfa81b"><code>9135616</code></a> Fix duplicate network call for chunked responses (<a href="https://redirect.github.com/coil-kt/coil/issues/2363">#2363</a>)</li> <li><a href="https://github.com/coil-kt/coil/commit/2f64ffd74b20c6d84ceb4d50884efbd6a1e97f8c"><code>2f64ffd</code></a> Update to Kotlin 2.0.</li> <li><a href="https://github.com/coil-kt/coil/commit/b53f530e70de75cb9bd4cd6b8bc9e4ce80301529"><code>b53f530</code></a> Fix spotlessCheck.</li> <li><a href="https://github.com/coil-kt/coil/commit/bacaba0628579cd02908fca5eff851ed42749e04"><code>bacaba0</code></a> Improve RealImageLoader.execute to properly call async request (<a href="https://redirect.github.com/coil-kt/coil/issues/2205">#2205</a>)</li> <li><a href="https://github.com/coil-kt/coil/commit/95edaae25d6648de32efadd0e9687a8c6f5b35b0"><code>95edaae</code></a> Prepare next development iteration.</li> <li>See full diff in <a href="https://github.com/coil-kt/coil/compare/2.6.0...2.7.0">compare view</a></li> </ul> </details> <br /> Updates `io.coil-kt:coil-gif` from 2.6.0 to 2.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/coil-kt/coil/releases">io.coil-kt:coil-gif's releases</a>.</em></p> <blockquote> <h2>2.7.0</h2> <p>See <a href="https://github.com/coil-kt/coil/blob/main/CHANGELOG.md#270---july-17-2024">CHANGELOG.md</a>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/coil-kt/coil/blob/main/CHANGELOG.md">io.coil-kt:coil-gif's changelog</a>.</em></p> <blockquote> <h2>[2.7.0] - July 17, 2024</h2> <ul> <li>Slightly optimize internal coroutines usage to improve the performance of <code>ImageLoader.execute</code>, <code>AsyncImage</code>, <code>SubcomposeAsyncImage</code>, and <code>rememberAsyncImagePainter</code>. (<a href="https://redirect.github.com/coil-kt/coil/pull/2205">#2205</a>)</li> <li>Fix duplicate network calls for chunked responses. (<a href="https://redirect.github.com/coil-kt/coil/pull/2363">#2363</a>)</li> <li>Update Kotlin to 2.0.0.</li> <li>Update Compose UI to 1.6.8.</li> <li>Update Okio to 3.9.0.</li> </ul> <h2>[3.0.0-alpha08] - July 8, 2024</h2> <ul> <li><strong>BREAKING</strong>: Rename <code>ImageRequest</code> and <code>ImageLoader</code> <code>dispatcher</code> methods to <code>coroutineContext</code>. For instance, <code>ImageRequest.Builder.dispatcher</code> is now <code>ImageRequest.Builder.coroutineContext</code>. This was renamed as the method now accepts any <code>CoroutineContext</code> and no longer requires a <code>Dispatcher</code>.</li> <li>Fix: Fix <code>IllegalStateException: Reading a state that was created after the snapshot was taken or in a snapshot that has not yet been applied</code> which could occur due to a race condition. <ul> <li>NOTE: This reintroduces a soft dependency on <code>Dispatchers.Main.immediate</code>. As a result you should re-add a dependency on <a href="https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-swing/"><code>kotlinx-coroutines-swing</code></a> on JVM. If it's not imported then <code>ImageRequest</code>s won't be dispatched immediately and will have one frame of delay before setting the <code>ImageRequest.placeholder</code> or resolving from the memory cache.</li> </ul> </li> </ul> <h2>[3.0.0-alpha07] - June 26, 2024</h2> <ul> <li><strong>BREAKING</strong>: <code>AsyncImagePainter</code> no longer waits for <code>onDraw</code> by default and instead uses <code>Size.ORIGINAL</code>. <ul> <li>This fixes <a href="https://redirect.github.com/coil-kt/coil/issues/1910">compatibility issues with Roborazzi/Paparazzi</a> and overall improves test reliability.</li> <li>To revert back to waiting for <code>onDraw</code>, set <code>DrawScopeSizeResolver</code> as your <code>ImageRequest.sizeResolver</code>.</li> </ul> </li> <li><strong>BREAKING</strong>: Refactor the multiplatform <code>Image</code> API. Notably, <code>asCoilImage</code> has been renamed to <code>asImage</code>.</li> <li><strong>BREAKING</strong>: <code>AsyncImagePainter.state</code> has been changed to <code>StateFlow<AsyncImagePainter.State></code>. Use <code>collectAsState</code> to observe its value. This improves performance.</li> <li><strong>BREAKING</strong>: <code>AsyncImagePainter.imageLoader</code> and <code>AsyncImagePainter.request</code> have been combined into <code>StateFlow<AsyncImagePainter.Inputs></code>. Use <code>collectAsState</code> to observe its value. This improves performance.</li> <li><strong>BREAKING</strong>: Remove support for <code>android.resource://example.package.name/drawable/image</code> URIs as it prevents resource shrinking optimizations. <ul> <li>If you still needs its functionality you can <a href="https://github.com/coil-kt/coil/blob/main/coil-core/src/androidInstrumentedTest/kotlin/coil3/map/ResourceUriMapper.kt">manually include <code>ResourceUriMapper</code> in your component registry</a>.</li> </ul> </li> <li><strong>New</strong>: Introduce <code>AsyncImagePreviewHandler</code> to support controlling <code>AsyncImagePainter</code>'s preview rendering behavior. <ul> <li>Use <code>LocalAsyncImagePreviewHandler</code> to override the preview behavior.</li> <li>As part of this change and other <code>coil-compose</code> improvements, <code>AsyncImagePainter</code> now attempts to execute execute the <code>ImageRequest</code> by default instead of defaulting to displaying <code>ImageRequest.placeholder</code>. <a href="https://developer.android.com/develop/ui/compose/tooling/previews#preview-limitations">Requests that use the network or files are expected to fail</a> in the preview environment, however Android resources should work.</li> </ul> </li> <li><strong>New</strong>: Support extracting video image by frame index. (<a href="https://redirect.github.com/coil-kt/coil/pull/2183">#2183</a>)</li> <li><strong>New</strong>: Support passing <code>CoroutineContext</code> to any <code>CoroutineDispatcher</code> methods. (<a href="https://redirect.github.com/coil-kt/coil/pull/2241">#2241</a>).</li> <li><strong>New</strong>: Support the weak reference memory cache on JS and WASM JS.</li> <li>Don't dispatch to <code>Dispatchers.Main.immediate</code> in Compose. As a side-effect, <a href="https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-swing/"><code>kotlinx-coroutines-swing</code></a> no longer needs to be imported on JVM.</li> <li>Don't call <code>async</code> and create a disposable in Compose to improve performance (thanks <a href="https://github.com/mlykotom"><code>@mlykotom</code></a>!). (<a href="https://redirect.github.com/coil-kt/coil/pull/2205">#2205</a>)</li> <li>Fix passing global <code>ImageLoader</code> extras to <code>Options</code>. (<a href="https://redirect.github.com/coil-kt/coil/pull/2223">#2223</a>)</li> <li>Fix <code>crossfade(false)</code> not working on non-Android targets.</li> <li>Fix VP8X feature flags byte offset (<a href="https://redirect.github.com/coil-kt/coil/pull/2199">#2199</a>).</li> <li>Convert <code>SvgDecoder</code> on non-Android targets to render to a bitmap instead of render the image at draw-time. This improves performance. <ul> <li>This behavior can be controlled using <code>SvgDecoder(renderToBitmap)</code>.</li> </ul> </li> <li>Move <code>ScaleDrawable</code> from <code>coil-gif</code> to <code>coil-core</code>.</li> <li>Update Kotlin to 2.0.0.</li> <li>Update Compose to 1.6.11.</li> <li>Update Okio to 3.9.0.</li> <li>Update Skiko to 0.8.4.</li> <li><a href="https://coil-kt.github.io/coil/upgrading_to_coil3/">For the full list of important changes in 3.x, check out the upgrade guide.</a></li> </ul> <h2>[3.0.0-alpha06] - February 29, 2024</h2> <ul> <li>Downgrade Skiko to 0.7.93.</li> <li><a href="https://coil-kt.github.io/coil/upgrading_to_coil3/">For the full list of important changes in 3.x, check out the upgrade guide.</a></li> </ul> <h2>[3.0.0-alpha05] - February 28, 2024</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/coil-kt/coil/commit/ce14e14bc9a25c6952e26e248aad75fbd2e9f9d0"><code>ce14e14</code></a> Prepare 2.7.0.</li> <li><a href="https://github.com/coil-kt/coil/commit/f34b98fcc92ffd291565c7d6980b708cdee142a1"><code>f34b98f</code></a> Update baseline profiles.</li> <li><a href="https://github.com/coil-kt/coil/commit/9135616d00ba10fd016d41c88ef69823a5dfa81b"><code>9135616</code></a> Fix duplicate network call for chunked responses (<a href="https://redirect.github.com/coil-kt/coil/issues/2363">#2363</a>)</li> <li><a href="https://github.com/coil-kt/coil/commit/2f64ffd74b20c6d84ceb4d50884efbd6a1e97f8c"><code>2f64ffd</code></a> Update to Kotlin 2.0.</li> <li><a href="https://github.com/coil-kt/coil/commit/b53f530e70de75cb9bd4cd6b8bc9e4ce80301529"><code>b53f530</code></a> Fix spotlessCheck.</li> <li><a href="https://github.com/coil-kt/coil/commit/bacaba0628579cd02908fca5eff851ed42749e04"><code>bacaba0</code></a> Improve RealImageLoader.execute to properly call async request (<a href="https://redirect.github.com/coil-kt/coil/issues/2205">#2205</a>)</li> <li><a href="https://github.com/coil-kt/coil/commit/95edaae25d6648de32efadd0e9687a8c6f5b35b0"><code>95edaae</code></a> Prepare next development iteration.</li> <li>See full diff in <a href="https://github.com/coil-kt/coil/compare/2.6.0...2.7.0">compare view</a></li> </ul> </details> <br /> Updates `io.coil-kt:coil-gif` from 2.6.0 to 2.7.0 <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/coil-kt/coil/releases">io.coil-kt:coil-gif's releases</a>.</em></p> <blockquote> <h2>2.7.0</h2> <p>See <a href="https://github.com/coil-kt/coil/blob/main/CHANGELOG.md#270---july-17-2024">CHANGELOG.md</a>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/coil-kt/coil/blob/main/CHANGELOG.md">io.coil-kt:coil-gif's changelog</a>.</em></p> <blockquote> <h2>[2.7.0] - July 17, 2024</h2> <ul> <li>Slightly optimize internal coroutines usage to improve the performance of <code>ImageLoader.execute</code>, <code>AsyncImage</code>, <code>SubcomposeAsyncImage</code>, and <code>rememberAsyncImagePainter</code>. (<a href="https://redirect.github.com/coil-kt/coil/pull/2205">#2205</a>)</li> <li>Fix duplicate network calls for chunked responses. (<a href="https://redirect.github.com/coil-kt/coil/pull/2363">#2363</a>)</li> <li>Update Kotlin to 2.0.0.</li> <li>Update Compose UI to 1.6.8.</li> <li>Update Okio to 3.9.0.</li> </ul> <h2>[3.0.0-alpha08] - July 8, 2024</h2> <ul> <li><strong>BREAKING</strong>: Rename <code>ImageRequest</code> and <code>ImageLoader</code> <code>dispatcher</code> methods to <code>coroutineContext</code>. For instance, <code>ImageRequest.Builder.dispatcher</code> is now <code>ImageRequest.Builder.coroutineContext</code>. This was renamed as the method now accepts any <code>CoroutineContext</code> and no longer requires a <code>Dispatcher</code>.</li> <li>Fix: Fix <code>IllegalStateException: Reading a state that was created after the snapshot was taken or in a snapshot that has not yet been applied</code> which could occur due to a race condition. <ul> <li>NOTE: This reintroduces a soft dependency on <code>Dispatchers.Main.immediate</code>. As a result you should re-add a dependency on <a href="https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-swing/"><code>kotlinx-coroutines-swing</code></a> on JVM. If it's not imported then <code>ImageRequest</code>s won't be dispatched immediately and will have one frame of delay before setting the <code>ImageRequest.placeholder</code> or resolving from the memory cache.</li> </ul> </li> </ul> <h2>[3.0.0-alpha07] - June 26, 2024</h2> <ul> <li><strong>BREAKING</strong>: <code>AsyncImagePainter</code> no longer waits for <code>onDraw</code> by default and instead uses <code>Size.ORIGINAL</code>. <ul> <li>This fixes <a href="https://redirect.github.com/coil-kt/coil/issues/1910">compatibility issues with Roborazzi/Paparazzi</a> and overall improves test reliability.</li> <li>To revert back to waiting for <code>onDraw</code>, set <code>DrawScopeSizeResolver</code> as your <code>ImageRequest.sizeResolver</code>.</li> </ul> </li> <li><strong>BREAKING</strong>: Refactor the multiplatform <code>Image</code> API. Notably, <code>asCoilImage</code> has been renamed to <code>asImage</code>.</li> <li><strong>BREAKING</strong>: <code>AsyncImagePainter.state</code> has been changed to <code>StateFlow<AsyncImagePainter.State></code>. Use <code>collectAsState</code> to observe its value. This improves performance.</li> <li><strong>BREAKING</strong>: <code>AsyncImagePainter.imageLoader</code> and <code>AsyncImagePainter.request</code> have been combined into <code>StateFlow<AsyncImagePainter.Inputs></code>. Use <code>collectAsState</code> to observe its value. This improves performance.</li> <li><strong>BREAKING</strong>: Remove support for <code>android.resource://example.package.name/drawable/image</code> URIs as it prevents resource shrinking optimizations. <ul> <li>If you still needs its functionality you can <a href="https://github.com/coil-kt/coil/blob/main/coil-core/src/androidInstrumentedTest/kotlin/coil3/map/ResourceUriMapper.kt">manually include <code>ResourceUriMapper</code> in your component registry</a>.</li> </ul> </li> <li><strong>New</strong>: Introduce <code>AsyncImagePreviewHandler</code> to support controlling <code>AsyncImagePainter</code>'s preview rendering behavior. <ul> <li>Use <code>LocalAsyncImagePreviewHandler</code> to override the preview behavior.</li> <li>As part of this change and other <code>coil-compose</code> improvements, <code>AsyncImagePainter</code> now attempts to execute execute the <code>ImageRequest</code> by default instead of defaulting to displaying <code>ImageRequest.placeholder</code>. <a href="https://developer.android.com/develop/ui/compose/tooling/previews#preview-limitations">Requests that use the network or files are expected to fail</a> in the preview environment, however Android resources should work.</li> </ul> </li> <li><strong>New</strong>: Support extracting video image by frame index. (<a href="https://redirect.github.com/coil-kt/coil/pull/2183">#2183</a>)</li> <li><strong>New</strong>: Support passing <code>CoroutineContext</code> to any <code>CoroutineDispatcher</code> methods. (<a href="https://redirect.github.com/coil-kt/coil/pull/2241">#2241</a>).</li> <li><strong>New</strong>: Support the weak reference memory cache on JS and WASM JS.</li> <li>Don't dispatch to <code>Dispatchers.Main.immediate</code> in Compose. As a side-effect, <a href="https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-swing/"><code>kotlinx-coroutines-swing</code></a> no longer needs to be imported on JVM.</li> <li>Don't call <code>async</code> and create a disposable in Compose to improve performance (thanks <a href="https://github.com/mlykotom"><code>@mlykotom</code></a>!). (<a href="https://redirect.github.com/coil-kt/coil/pull/2205">#2205</a>)</li> <li>Fix passing global <code>ImageLoader</code> extras to <code>Options</code>. (<a href="https://redirect.github.com/coil-kt/coil/pull/2223">#2223</a>)</li> <li>Fix <code>crossfade(false)</code> not working on non-Android targets.</li> <li>Fix VP8X feature flags byte offset (<a href="https://redirect.github.com/coil-kt/coil/pull/2199">#2199</a>).</li> <li>Convert <code>SvgDecoder</code> on non-Android targets to render to a bitmap instead of render the image at draw-time. This improves performance. <ul> <li>This behavior can be controlled using <code>SvgDecoder(renderToBitmap)</code>.</li> </ul> </li> <li>Move <code>ScaleDrawable</code> from <code>coil-gif</code> to <code>coil-core</code>.</li> <li>Update Kotlin to 2.0.0.</li> <li>Update Compose to 1.6.11.</li> <li>Update Okio to 3.9.0.</li> <li>Update Skiko to 0.8.4.</li> <li><a href="https://coil-kt.github.io/coil/upgrading_to_coil3/">For the full list of important changes in 3.x, check out the upgrade guide.</a></li> </ul> <h2>[3.0.0-alpha06] - February 29, 2024</h2> <ul> <li>Downgrade Skiko to 0.7.93.</li> <li><a href="https://coil-kt.github.io/coil/upgrading_to_coil3/">For the full list of important changes in 3.x, check out the upgrade guide.</a></li> </ul> <h2>[3.0.0-alpha05] - February 28, 2024</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/coil-kt/coil/commit/ce14e14bc9a25c6952e26e248aad75fbd2e9f9d0"><code>ce14e14</code></a> Prepare 2.7.0.</li> <li><a href="https://github.com/coil-kt/coil/commit/f34b98fcc92ffd291565c7d6980b708cdee142a1"><code>f34b98f</code></a> Update baseline profiles.</li> <li><a href="https://github.com/coil-kt/coil/commit/9135616d00ba10fd016d41c88ef69823a5dfa81b"><code>9135616</code></a> Fix duplicate network call for chunked responses (<a href="https://redirect.github.com/coil-kt/coil/issues/2363">#2363</a>)</li> <li><a href="https://github.com/coil-kt/coil/commit/2f64ffd74b20c6d84ceb4d50884efbd6a1e97f8c"><code>2f64ffd</code></a> Update to Kotlin 2.0.</li> <li><a href="https://github.com/coil-kt/coil/commit/b53f530e70de75cb9bd4cd6b8bc9e4ce80301529"><code>b53f530</code></a> Fix spotlessCheck.</li> <li><a href="https://github.com/coil-kt/coil/commit/bacaba0628579cd02908fca5eff851ed42749e04"><code>bacaba0</code></a> Improve RealImageLoader.execute to properly call async request (<a href="https://redirect.github.com/coil-kt/coil/issues/2205">#2205</a>)</li> <li><a href="https://github.com/coil-kt/coil/commit/95edaae25d6648de32efadd0e9687a8c6f5b35b0"><code>95edaae</code></a> Prepare next development iteration.</li> <li>See full diff in <a href="https://github.com/coil-kt/coil/compare/2.6.0...2.7.0">compare view</a></li> </ul> </details> <br /> Updates `androidx.activity:activity` from 1.9.0 to 1.9.1 Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
**Description:** Allow install on external SD card. This is important as the library database can be massive.
**Description:** - Remove Glide and rewrite the thumbnail creation logic in Coil. - Move the thumbnail-related functionalities to a dedicated `ThumbnailManager` class as discussed in the linked issue. Closes #318 --------- Signed-off-by: starry-shivam <starry@krsh.dev>
**Description:** - Refactores the changes done in #329 - Changes thumbnail size to 256
**Description:** I have tested on my phone and both the video and audio of webm files already work, this PR just allows importing them. Fixes #206
**Description:** Fixes the size and aspect ratio of video previews. Fixes #359 **Tasks:** - [x] Use 2 different image requests - [x] Move some IO code to a data layer - [x] Cleanup use case
leonlatsch
approved these changes
Aug 22, 2024
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.
Release PR 1.7.4
Release Version 1.7.4
Checklist BEFOORE release:
DO NOT SQUASH THE COMMITS!