aritra-tech / Notify

📝 Notify is a simple note application build to demonstrate the use of clean MVVM Architecture with Jetpack Compose and Material-3 guidelines along with some Modern Android development tools.
MIT License
316 stars 64 forks source link

Update dependency me.saket.telephoto:zoomable to v0.13.0 #510

Open renovate[bot] opened 2 months ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
me.saket.telephoto:zoomable 0.6.2 -> 0.13.0 age adoption passing confidence

Release Notes

saket/telephoto (me.saket.telephoto:zoomable) ### [`v0.13.0`](https://togithub.com/saket/telephoto/releases/tag/0.13.0) [Compare Source](https://togithub.com/saket/telephoto/compare/0.12.1...0.13.0) Bug fixes - [https://github.com/saket/telephoto/issues/94](https://togithub.com/saket/telephoto/issues/94): Sub-sampling does not work for images smaller than the minimum tile size in height - [https://github.com/saket/telephoto/issues/95](https://togithub.com/saket/telephoto/issues/95): `IllegalStateException`: getWidth called on recycled region decoder - [https://github.com/saket/telephoto/issues/96](https://togithub.com/saket/telephoto/issues/96): `IllegalStateException`: another transformation is already in progress ### [`v0.12.1`](https://togithub.com/saket/telephoto/releases/tag/0.12.1) [Compare Source](https://togithub.com/saket/telephoto/compare/0.12.0...0.12.1) New changes - Added [`DoubleClickToZoomListener.cycle()`](https://togithub.com/saket/telephoto/blob/trunk/zoomable/src/commonMain/kotlin/me/saket/telephoto/zoomable/DoubleClickToZoomListener.kt#L16-L23), which allows setting a custom max zoom factor for double clicks. Bug fixes - Fixed a bug that prevented back buttons from working when `ZoomableImage()` was focused. ### [`v0.12.0`](https://togithub.com/saket/telephoto/releases/tag/0.12.0) [Compare Source](https://togithub.com/saket/telephoto/compare/0.11.2...0.12.0) New changes - [https://github.com/saket/telephoto/issues/78](https://togithub.com/saket/telephoto/issues/78): Support for [keyboard and mouse shortcuts](https://saket.github.io/telephoto/zoomableimage/#keyboard-shortcuts) (by [@​evant](https://togithub.com/evant)) - [https://github.com/saket/telephoto/issues/67](https://togithub.com/saket/telephoto/issues/67): New APIs in `ZoomableState` for controlling zoom from code: `panBy`, `zoomBy`, and `zoomTo` - [https://github.com/saket/telephoto/issues/32](https://togithub.com/saket/telephoto/issues/32): New `onDoubleClick` parameters in `ZoomableImage()` and `Modifier.zoomable()` for customizing double-click behavior - [https://github.com/saket/telephoto/issues/91](https://togithub.com/saket/telephoto/issues/91): Reduced `minSdk` to 21 (by [@​iwb-florien-flament](https://togithub.com/iwb-florien-flament)) - Significantly reduced the amount of work required by a `ZoomableImageSource` by offloading the detection of bad content URIs to `SubSamplingImageSource.contentUriOrNull()` Bug fixes - [https://github.com/saket/telephoto/issues/93](https://togithub.com/saket/telephoto/issues/93): `NullPointerException` when an image is zoomed before it is initialized - [https://github.com/saket/telephoto/issues/50](https://togithub.com/saket/telephoto/issues/50): `FileNotFoundException: No content provider` when disk caching of an image is disabled using `Cache-Control` HTTP headers. - Fixed infinite reloading of images when unstable image request listener are used in `ZoomableAsyncImage()`. This removes the need for using `remember` with `ImageRequest.listener` and `ImageRequest.placeholder` values. ### [`v0.11.2`](https://togithub.com/saket/telephoto/releases/tag/0.11.2) Bug fixes - [https://github.com/saket/telephoto/pull/84](https://togithub.com/saket/telephoto/pull/84): Fixed an issue causing placeholders to sometimes take up the full screen (by [@​rharter](https://togithub.com/rharter)) - [https://github.com/saket/telephoto/issues/37](https://togithub.com/saket/telephoto/issues/37): Prevent a crash in `ZoomableAsyncImage()` after the app's disk cache is cleared - [https://github.com/saket/telephoto/issues/83](https://togithub.com/saket/telephoto/issues/83): Correctly display single-frame GIFs New changes - Increase memory cache hit rate with Coil by using `Precision.INEXACT` ### [`v0.10.0`](https://togithub.com/saket/telephoto/releases/tag/0.10.0) [Compare Source](https://togithub.com/saket/telephoto/compare/0.9.0...0.10.0) Bug fixes - [https://github.com/saket/telephoto/issues/70](https://togithub.com/saket/telephoto/issues/70), [https://github.com/saket/telephoto/issues/72](https://togithub.com/saket/telephoto/issues/72): Correctly update `ZoomableState` when `Modifier.zoomable()` is reused - [https://github.com/saket/telephoto/issues/71](https://togithub.com/saket/telephoto/issues/71): Make sure velocity tracker tracks the same pointer - [https://github.com/saket/telephoto/issues/81](https://togithub.com/saket/telephoto/issues/81): Read maximum fling velocity from composition locals Dependency updates - Compose compiler: 1.5.11 - Compose UI: 1.6.4 - Compose multiplatform: 1.6.4 ### [`v0.9.0`](https://togithub.com/saket/telephoto/releases/tag/0.9.0) [Compare Source](https://togithub.com/saket/telephoto/compare/0.8.0...0.9.0) Bug fixes - [https://github.com/saket/telephoto/issues/70](https://togithub.com/saket/telephoto/issues/70), [https://github.com/saket/telephoto/issues/72](https://togithub.com/saket/telephoto/issues/72): Zoomable modifier loses state after ZoomableState gets disposed and recreated Dependency updates - Compose compiler: 1.5.10 - Compose UI: 1.6.3 - Compose multiplatform: 1.6.1 ### [`v0.8.0`](https://togithub.com/saket/telephoto/releases/tag/0.8.0) [Compare Source](https://togithub.com/saket/telephoto/compare/0.7.1...0.8.0) Breaking changes - Reordered `SubSamplingImage()`'s parameters to move `Modifier` below all required parameters. New changes - Update Compose UI to `1.6.1` and Compose Multiplatform to `1.6.0-rc02` - Introduced [ZoomableState#transformedContentBounds](https://togithub.com/saket/telephoto/blob/706cf08cb976c0d9d9c6d0f95e4e64fc4efbf4ef/zoomable/src/commonMain/kotlin/me/saket/telephoto/zoomable/ZoomableState.kt#L88-L96) for observing transformed content bounds. This can be used for drawing decorations around the content or performing hit tests. - Placeholder images now respond to click listeners. Additionally, they will swallow all other zoom gestures instead of ignoring them. - [https://github.com/saket/telephoto/issues/3](https://togithub.com/saket/telephoto/issues/3): Read color space of bitmaps from Coil and Glide. Bug fixes - [https://github.com/saket/telephoto/issues/60](https://togithub.com/saket/telephoto/issues/60), [https://github.com/saket/telephoto/issues/65](https://togithub.com/saket/telephoto/issues/65): Improved detection of pinch-to-zoom gestures. - [https://github.com/saket/telephoto/issues/8](https://togithub.com/saket/telephoto/issues/8): Composables with `Modifier.zoomable()` are now drawn on the first frame. This fixes their broken layout preview. - [https://github.com/saket/telephoto/issues/58](https://togithub.com/saket/telephoto/issues/58): Fixed a resource leak when an image's EXIF metadata is read. - `ZoomableState#resetZoom()` now calculates the content's position on the same UI frame. - Images no longer flicker on start when they can't zoom-in any further. ### [`v0.7.1`](https://togithub.com/saket/telephoto/releases/tag/0.7.1) - Migrated all usages of `Modifier.composed()` to the new [`Modifier.Node` architecture](https://www.youtube.com/watch?v=BjGX2RftXsU). This should help with performance, especially if your app uses multiple zoomable content on the same screen. - [https://github.com/saket/telephoto/issues/54](https://togithub.com/saket/telephoto/issues/54): `ZoomableContentTransformation` now includes additional information about the content's scale: [`ScaleMetadata`](https://togithub.com/saket/telephoto/blob/9bf0937333e240832d5ecaad57bf31825f0d76b7/zoomable/src/commonMain/kotlin/me/saket/telephoto/zoomable/ZoomableContentTransformation.kt#L78-L90). Breaking changes - Reduced the public API surface by replacing all `data` classes with plain classes. These classes still implement `equals` and `hashCode` (thanks to [poko](https://togithub.com/drewhamilton/poko/)), but they no longer offer any `componentN()` or `copy()` functions. Bug fixes - [https://github.com/saket/telephoto/issues/53](https://togithub.com/saket/telephoto/issues/53): Prevent crashes when Compose UI reports the velocity of a gesture to be infinite. - [https://github.com/saket/telephoto/issues/41](https://togithub.com/saket/telephoto/issues/41): Fixed a crash where touch events received after the UI was restored would cause a division by zero error if the layout wasn't measured yet.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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 this update again.



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