Skip to content

v0.2.10

Choose a tag to compare

@GGULBAE GGULBAE released this 02 Jul 08:06

v0.2.10

Status: published to npm on July 2, 2026 at 07:52:44 UTC (16:52:44 KST), tagged as v0.2.10.

This release adds capability-gated iOS AVIF input. iOS decodes AVIF as a static image through ImageIO only when the runtime advertises AVIF source support, then routes the decoded image through the existing JPEG, PNG, or runtime-gated WebP output paths. Runtimes without ImageIO AVIF source support keep the explicit ERR_UNSUPPORTED_FORMAT path.

Included

  • package.json version bump to 0.2.10.
  • iOS getImageCompressionCapabilities() reports AVIF input=true only when CGImageSourceCopyTypeIdentifiers() advertises an AVIF source type, and always reports AVIF output=false.
  • iOS compressImage() accepts AVIF input only on runtimes with ImageIO AVIF source support.
  • Supported iOS AVIF input is decoded as a static image with CGImageSourceCreateImageAtIndex.
  • AVIF input can be re-encoded to JPEG, PNG, or runtime-available ImageIO WebP output.
  • README, RELEASE, source-level tests, Android verification doctor expectations, and registry smoke guidance are aligned to the published 0.2.10 state.

Not Included

  • Android runtime behavior changes.
  • AVIF output.
  • Animated AVIF preservation.
  • HEIC/HEIF output.
  • iOS metadata preservation.
  • Cancellation or progress support.
  • New public TypeScript API surface.

Validation

Release-ready commit before npm publish: d8d3232d74e66158d1de297783e3fc39448f1684.
Post-publish documentation commit: 0973f29.

GitHub Actions on the release-ready commit:

GitHub Actions on the post-publish commit:

Local gates completed successfully:

  • pnpm release:dry-run before publish, including packed README stale-status check, consumer smoke, and publish dry run.
  • pnpm verify
  • pnpm example:typecheck
  • git diff --check
  • pnpm pack --dry-run
  • pnpm smoke:registry -- --version 0.2.10

Completed after npm publish:

  • npm publish --tag latest published react-native-image-compression-kit@0.2.10.
  • npm view react-native-image-compression-kit version dist-tags --json confirmed latest dist-tag 0.2.10.
  • npm view react-native-image-compression-kit@0.2.10 version dist.tarball dist.integrity dist.shasum time.modified --json confirmed version 0.2.10, publish timestamp 2026-07-02T07:52:43.911Z, integrity sha512-73bAB8tcLrQ7o2iletdLYWEry1VRn3vIWyhYy+/RDGAj9MLho5aKJJtnx92eDgtQOW3s9r48qtCcJByPVwnfxw==, and shasum 1890e78917538d2e27d3274e97a0820c5597a827.
  • pnpm smoke:registry -- --version 0.2.10 passed with 49 files, 46.4 kB package size, 204.3 kB unpacked size, clean install, and public TypeScript import/typecheck success.

npm package: react-native-image-compression-kit@0.2.10
npm tarball: https://registry.npmjs.org/react-native-image-compression-kit/-/react-native-image-compression-kit-0.2.10.tgz
Git tag: v0.2.10