Releases: Nexround/obsidian-text-lens
Releases · Nexround/obsidian-text-lens
Release list
1.3.7
1.3.6
fix: support Obsidian 1.7.2+; replace setDestructive with setWarning setDestructive() was introduced in 1.13.0 — calling it on Obsidian 1.12.7 throws TypeError mid-render, silently truncating the Output and Diagnostics sections. setWarning() achieves the same visual effect and works back to 1.7.2. minAppVersion: 1.13.0 → 1.7.2
1.3.5
fix: restore window.fetch(app://) for quarantined file support vault.readBinary() uses fs.readFile which fails with EPERM on macOS quarantined files (com.apple.provenance). window.fetch with the Electron app:// resource path serves the request via the privileged main-process protocol handler, bypassing the sandbox restriction. window.fetch is not caught by the no-restricted-globals rule that blocks bare global fetch.
1.3.4
fix: address second-round review errors; bump minAppVersion to 1.13.0 - Remove fetch(app://) → vault.readBinary(file) — eliminates no-restricted-globals disable which is not allowed - Remove plugin name from top-level settings heading (line 446) - Bump minAppVersion 1.7.2 → 1.13.0 to cover setDestructive() API (resolves no-unsupported-api errors at lines 417-419, 562, 592) - Update obsidian types dep to ^1.13.0 - Update README and PRD requirement to Obsidian ≥ 1.13.0
1.3.3
fix: address all Obsidian plugin review errors and warnings Errors: - Replace createEl(h2/h3) with new Setting().setHeading() (4 places) - Add descriptions to eslint-disable comments in native-manager.ts Warnings: - Replace builtin-modules pkg with Node.js built-in module.builtinModules - Add eslint-disable with explanation for fetch(app://) in fileToArrayBuffer - Fix new Array → new Array<T> to avoid unsafe-assignment - Replace setWarning() with setDestructive() (3 places) - Change onConfirm type to () => void | Promise<void>; void the call - Fix command id: remove plugin-id prefix → 'ocr-current-note' - Fix command name: remove plugin name prefix → 'OCR Current Note' - Fix onunload: remove async, use void .catch() pattern - Fix loadSettings: cast loadData() result to Partial<OcrImageSettings> Recommendations: - Remove unused arrayBufferToBase64 function - Replace deprecated Buffer.slice() with Buffer.subarray() (5 places)
1.3.2
ci: add artifact attestations for main.js and styles.css; bump to 1.3.2
1.3.1
1.3.0
refactor: remove remote API mode, local-only OCR; align package.json …