Skip to content

chore(release): version packages - #10

Merged
woladi merged 1 commit into
mainfrom
changeset-release/main
Aug 23, 2026
Merged

woladi merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

macos-vision@1.6.0

Minor Changes

  • 2b576bf: feat: ui-helper (windows / displays / permissions / captureScreen) and extended Vision API
    • New native ui-helper (third prebuilt binary): listWindows, listDisplays, checkPermissions, captureScreen (returns path + geometry + sha256, never bytes). checkPermissions also reports screenLocked; capture failures consult it so a locked Mac is diagnosed outright rather than guessed at.
    • OCR tuning: languages, autoDetectLanguage, languageCorrection, customWords, fast, regionOfInterest, minTextHeight; opt-in content-hash cache; onProgress for PDFs.
    • recognizeDocument (macOS 26+): native paragraphs, tables, lists, title, barcodes and detected data with positions.
    • extractEntities (links, e-mails, phones, addresses, dates), detectTextRegions, compareImages, imageInfo, visionCapabilities, supportedOcrLanguages.
    • People & scenes: detectFaceLandmarks, detectHumans, detectBodyPose, detectHandPose, detectAnimals, detectAnimalPose, detectHorizon, detectSaliency, detectContours, imageAesthetics, detectLensSmudge.
    • Pixel ops that return paths: cropImage, cropDocument (perspective-corrected), extractForeground, personMask.
    • Native helpers still target macOS 12. Modern features are gated twice — at compile time on the SDK (-DSDK_14/15/26, set automatically by the build scripts) and at runtime on #available — so the swiftc fallback also builds on older macOS, with unavailable features reported as false by visionCapabilities() and raising UnsupportedOnThisMacOSError. Release builds refuse to run on an SDK too old to compile in every gated feature.
    • Helper failures now surface their own message (Cannot open file: …) instead of Node's Command failed: /path/to/vision-helper ….
    • Opt-in OCR cache is keyed on helper and macOS version, so results never survive an upgrade that changes them.

@woladi
woladi merged commit 2d57c7b into main Aug 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant