Skip to content

Releases: PatilShreyas/Capturable

Capturable v3.0.0

22 Sep 09:13
Compare
Choose a tag to compare

What's new 🆕

  • [#194] Using Compose's latest Graphics API to capture the content.

Fixes 🐞

  • [#170]: Fix issue of edges getting cut off and there is a white background when capturing in devices below API 29.
  • [#193]: Fix a issue of capturing with inverted colors
  • [#202]: Fix issue of CaptureRequest is no getting handled in case when user captures before the request flow starts collection.

Breaking changes 🔥

  • Composable method Capturable() (which was already deprecated) removed in the favour of Modifier-based API.
  • Removed method CaptureRequest#capture.
  • Removed method for passing BitmapConfig to captureAsync method.

Dependent Targets

  • Jetpack Compose: 1.7.x (BoM: 2024.09.02)
  • Kotlin: 2.0.22

Full Changelog: v2.1.0...v3.0.0

Capturable v2.1.0

25 Feb 12:26
9e83492
Compare
Choose a tag to compare

Changes

  • [#140] Fix: Stateful UI not updating when Modifier.capturable() is used.
  • [#145] Exposed default public constructor of class CaptureController.
  • [#146] Fix: Update the instance of CaptureController properly without losing capture requests inside Modifier updates via ModifierNodeElement#update.

Dependent Targets

  • Jetpack Compose: 1.6.x (BoM: 2024.02.01)
  • Kotlin: 1.9.22

Full Changelog: v2.0.0...v2.1.0

Capturable v2.0.0

25 Jan 15:48
Compare
Choose a tag to compare

Changes

  • [#40] [#59] Fixes the issue of capturing the scrollable content
  • [#100] Added new Modifier API for capturing the content and deprecated old @Composable method.
  • [#101] Removed the usage of PixelCopy API fixing that fixes the issue of capturing unwanted content

Dependent Targets

  • Jetpack Compose: 1.6.0
  • Kotlin: 1.9.22

Full Changelog: v1.0.3...v2.0.0

Capturable v1.0.3

20 Mar 12:52
5d2ef5b
Compare
Choose a tag to compare

Changes

Fixed the following issues

  • [#13] Fixed capturing composable clipped inside Window / Screen.
  • [#22] Fixed crash while capturing composable inside Fragment.

Dependent Targets

  • Jetpack Compose: 1.1.0
  • Kotlin: 1.6.10

Full Changelog: v1.0.2...v1.0.3

Capturable v1.0.2

23 Jan 14:23
f75509d
Compare
Choose a tag to compare

Changes

[#7] Fix issue: Can't get the Bitmap when Capturable includes Network image

Fixed the issue IllegalArgumentException: Software rendering doesn't support hardware bitmaps on capturing Composable which includes network image (i.e. Picasso, Glide, coil, etc). This issue was occurring on devices above Android Oreo (API 26+) in which drawing Bitmap from Canvas causes such issues while drawing hardware-generated Bitmap (i.e. image loaded from the network).

Dependent Targets

  • Jetpack Compose: 1.0.5
  • Kotlin: 1.5.31

Full Changelog: v1.0.1...v1.0.2

Capturable v1.0.1

03 Jan 05:11
Compare
Choose a tag to compare

Changes

Provide Throwable in callback onCaptured of Capturable composable function so that if any issue occurs, it can be handled.

Dependent Targets

  • Jetpack Compose: 1.0.5
  • Kotlin: 1.5.31

Capturable v1.0.0

03 Jan 04:50
46b86a4
Compare
Choose a tag to compare
  • Initial release

Dependent Targets

  • Jetpack Compose: 1.0.5
  • Kotlin: 1.5.31