Skip to content

v1.6.2 — Audit follow-up (stability fixes)

Latest

Choose a tag to compare

@github-actions github-actions released this 20 Jun 12:18

ClearPDF Local v1.6.2 — audit follow-up (stability fixes)

A self-audit (5-dimension code review + adversarial verification) found the feature set complete and the no-INTERNET brand build-enforced, with three confirmed medium bugs and minor cleanup. This release fixes them.

Fixed

  • Stale-index race: reprocess ops (mode / dewarp / finger / glare) now re-resolve the page by a stable id before writing back, so deleting a page while another is processing can no longer change the wrong page or orphan a temp file.
  • Cache orphaning: addCapturedPhoto deletes its dewarp/processed cache files if the pipeline throws.
  • Camera guard: takePicture is wrapped so an unbound/failed camera can't crash on a shutter tap or auto-capture tick.
  • Leaks: DocumentScanProcessor releases Mats via try/finally; SearchablePdfUseCase closes its PDDocument on failure paths.
  • Cleanup: Settings shows the real version (was hardcoded 1.0.0); removed the AI-Studio template Greeting composable + its screenshot test; cleaned the Gemini placeholder from .env.example.

Audited statically + JVM unit tests pass. The best-effort CV (finger/glare) and camera flow still want the batched real-device pass.

Install

Download ClearPDFLocal-v1.6.2-vc10.apk below (built & signed by CI). Requires Android 7.0 (API 24)+, arm64.