Skip to content

新墨润纸,版本初发 · Release 0.3.2 with N1 CLI, EXIF, ROI, detect, and Electron fix - #31

Merged
eric8810 merged 1 commit into
mainfrom
release/0.3.2
Jul 22, 2026
Merged

新墨润纸,版本初发 · Release 0.3.2 with N1 CLI, EXIF, ROI, detect, and Electron fix#31
eric8810 merged 1 commit into
mainfrom
release/0.3.2

Conversation

@eric8810

Copy link
Copy Markdown
Contributor

Summary

Patch release adding the N1 CLI entry point and Windows Electron delay-load fix.

Version bump

  • �indings/node/package.json: 0.3.1 → 0.3.2
  • CMakeLists.txt: project version 0.3.1 → 0.3.2

pm-release.yml default version → 0.3.2

  • CLI CORE_VERSION constant → 0.3.2

What's new (from N1 + PR #28)

  • CLI: light-ocr bin with
    ecognize/detect/info subcommands, envelope schema, exit codes
  • EXIF: JPEG orientation 1–8 correction, --no-exif flag, �ppliedTransforms reporting
  • ROI: --region x,y,w,h pageSpace crop, adapter-layer pixel crop, box offset
  • detect: Engine::detect() in Core,
    ative_detect binding, detect subcommand with --crop
  • Envelope: schemaVersion: 1 DocumentResult, stable line/detection IDs
  • Electron: Windows delay-load hook for renamed Node-API hosts
  • README: Rewritten for npm users (CLI, Node API, capabilities, scenarios)
  • CHANGELOG: 0.3.2 entry with full Added/Changed sections

Release plan

  1. Merge this PR to main
  2. Trigger
    pm release workflow with �ersion=0.3.2, publish_to_registry=false (dry run)
  3. If all gates pass, re-trigger with publish_to_registry=true
  4. After registry verification, re-trigger with promote_latest=true

CI status

N1 changes (PR #29) passed all 10 CI jobs on the feat/n1-cli branch. This PR rebases those changes onto main with version bump and README.

- Restructure around user journey: install → CLI → Node API → capabilities
- Add CLI subcommand reference with scenarios (screenshot, receipt, batch, stdin)
- Add output schema and exit code table
- Add Node API quick start with recognize, detect, and options examples
- Add capabilities table (formats, EXIF, ROI, providers, platforms)
- Add acceleration provider table with auto candidates per platform
- Keep build-from-source but condense to essential steps
- Remove verbose internal implementation details (sanitizer notes, worker lifecycle internals)
@eric8810
eric8810 merged commit 029ca38 into main Jul 22, 2026
10 checks passed
@eric8810
eric8810 deleted the release/0.3.2 branch July 22, 2026 04:32
birhantprkc pushed a commit to birhantprkc/light-ocr that referenced this pull request Jul 29, 2026
- Restructure around user journey: install → CLI → Node API → capabilities
- Add CLI subcommand reference with scenarios (screenshot, receipt, batch, stdin)
- Add output schema and exit code table
- Add Node API quick start with recognize, detect, and options examples
- Add capabilities table (formats, EXIF, ROI, providers, platforms)
- Add acceleration provider table with auto candidates per platform
- Keep build-from-source but condense to essential steps
- Remove verbose internal implementation details (sanitizer notes, worker lifecycle internals)

Co-authored-by: chenghan <chenghan@fazhitech.cn>
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