Releases: saket/telephoto
Releases · saket/telephoto
0.11.2
Bug fixes
- #84: Fixed an issue causing placeholders to sometimes take up the full screen (by @rharter)
- #37: Prevent a crash in
ZoomableAsyncImage()
after the app's disk cache is cleared - #83: Correctly display single-frame GIFs
New changes
- Increase memory cache hit rate with Coil by using
Precision.INEXACT
0.10.0
0.9.0
0.8.0
Breaking changes
- Reordered
SubSamplingImage()
's parameters to moveModifier
below all required parameters.
New changes
- Update Compose UI to
1.6.1
and Compose Multiplatform to1.6.0-rc02
- Introduced ZoomableState#transformedContentBounds 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.
- #3: Read color space of bitmaps from Coil and Glide.
Bug fixes
- #60, #65: Improved detection of pinch-to-zoom gestures.
- #8: Composables with
Modifier.zoomable()
are now drawn on the first frame. This fixes their broken layout preview. - #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.
0.7.1
- Migrated all usages of
Modifier.composed()
to the newModifier.Node
architecture. This should help with performance, especially if your app uses multiple zoomable content on the same screen. - #54:
ZoomableContentTransformation
now includes additional information about the content's scale:ScaleMetadata
,
Breaking changes
- Reduced the public API surface by replacing all
data
classes with plain classes. These classes still implementequals
andhashCode
(thanks to poko), but they no longer offer anycomponentN()
orcopy()
functions.
Bug fixes
0.6.2
0.6.1
- #39: Significant improvement in performance for large images by,
- Throttling decoding of tiles when image is animating its pan or zoom.
- Reducing parallel decoding of tiles, especially for large images.
- #43: Improved detection of double taps.
- When zooming in a tiled image, prioritize loading of the tile under the finger(s).
- Hide placeholder after state restoration if the image was previously zoomed in.
Bug fixes
0.5.0
- #30: Read EXIF orientation for displaying images in their correct orientation.
- #31: Support for SVGs.
- #29: Added SubSamplingImageSource.rawSource() for displaying images directly from an
okio.Source
.
Bug fixes
0.4.0
- #17 Port
Modifier.zoomable()
to Compose Multiplatform by @DSteve595 - #16 Lower min SDK version to API 23 (Android 6.0 Marshmallow)
- #27 Support loading of file URIs without
file:///
scheme through Coil
Bug fixes
- #20 Fix Image becoming unclickable after using double tap zoom by @K1rakishou
- #25 Prevent leaking of Coil's cache entries