Skip to content

Releases

v0.4.1

Choose a tag to compare

@sagawrr sagawrr released this 25 Oct 04:31
v0.4.1
5e08371

Fixed

  • Android: numeric options reject NaN / Infinity. Clamp out-of-range values. Non-finite JPEG quality saves at 90.
  • Android: analyzeImage copies the bitmap before classify and OCR run together.
  • analyzeImage: removeBackground.maxPixels caps segmentation when labels or OCR need a larger decode.
  • iOS: out-of-range minConfidence clamps to 0…1.

v0.4.0

Choose a tag to compare

@sagawrr sagawrr released this 05 Aug 15:59
v0.4.0
8e1bf8a

Breaking

  • Rename ImageFormat → VisionImageFormat and Rect → VisionRect (same shapes). Avoids iOS header name clashes with other Nitro libraries.

Fixed

  • Android: removeBackground works on first use. Wait for the model with areModulesAvailable, then rebuild the segmenter if it was created too early.
  • Require react-native-nitro-modules >=0.36.0 (tested with 0.36.5).
  • Validate numeric options (maxPixels, maxResults, minConfidence, and related). Reject NaN / Infinity. Clamp out-of-range values.

v0.3.0

Choose a tag to compare

@sagawrr sagawrr released this 25 Jul 10:45

Features

  • OCR: readText + analyzeImage.readText
  • iOS 18+: Vision RecognizeTextRequest (no legacy path)
  • Android: ML Kit v2 Latin / Chinese / Japanese / Korean / Devanagari (Play Services)
  • Android: languages → script models; non-Latin models also read Latin; multi-script parallel merge
  • Capabilities: supportsTextRecognition, supportedTextLanguages

Fixes

  • Android: recycle intermediate bitmaps in ImageDecoder / ML Kit input path
  • iOS: prefetch OCR languages off the JS thread; fill sync if first capabilities read races warm-up
  • Compose: run classify + OCR in parallel after segment
  • Android: ModuleInstallClient for Lift/OCR download; friendly errors; offline first-use fails fast
  • Android: Lift/OCR model prefetch off the JS thread; await subject-segmentation getInitTask
  • HybridObject results: reject/throw after dispose() on export / blockAt
  • Android: cap image-labeler cache (LRU); drop redundant image_labeling Play Services meta-data

v0.2.2

Choose a tag to compare

@sagawrr sagawrr released this 12 Jul 06:24

0.2.2 (2026-07-12)

Photos and cutouts stay upright.

  • Bake EXIF orientation when loading images (iOS + Android)
  • Stop flipping cutout pixels after Vision renders on iOS
  • Fix invalid dispose() override on iOS segmentation results

v0.2.1

Choose a tag to compare

@sagawrr sagawrr released this 04 Jul 18:04
v0.2.1
89a4151

0.2.1 (2026-07-04)

Features

  • add analyzeImage pipeline and reorganize native helpers (bf19b2a)
  • expand segmentation result metadata and async buffer exports (e38957a)

Bug Fixes

  • android: stabilize ML Kit segmentation and trim edge cases (d3234cc)
  • android: use internal constructor for HybridSegmentationResult (4459811)

v0.1.1

Choose a tag to compare

@sagawrr sagawrr released this 01 Jul 11:54
v0.1.1
3ae1104

0.1.1 (2026-07-01)

Bug Fixes

  • ci: repair release workflow + add supply-chain gates (#3) (6268993)
  • ci: scorecard publish + SECURITY.md (#10) (ee58d42)
  • release: drop --frozen-lockfile from release-it before:init hook (4f837fe)

v0.1.0

Choose a tag to compare

@sagawrr sagawrr released this 01 Jul 06:29
2f08f88

What's Changed

  • Bump the react-native group with 3 updates by @dependabot[bot] in #1

New Contributors

Full Changelog: https://github.com/sagawrr/react-native-nitro-vision-kit/commits/v0.1.0