Repository navigation
0.9.1
0.9.1 — 2026-11-16
Bug-fix release. A full-package review of the 0.9.0 code found 30 issues — 6 high, 16 medium, 8 low; 22 confirmed, 8 partially confirmed, 0 false positives. All 30 are fixed here, verified against the code with the build passing and tests green on Linux (215/215) and Windows (213/213, 2 checks are POSIX-only), including 6 new regression tests.
Fixed
- Search index concurrency.
doRefreshno longer racesbuildAll; the lock heartbeat no longer racesreleaseLock; a failedbuildAllno longer leaves the index reportingreadywhile it is broken. - Sandbox and symlinks.
atomicWriteno longer resolves a dangling relative symlink to a file outside the library;sandboxPathvalidates the path before stat and no longer swallowsSandboxError;walkTextFilesblocks symlinks underarchive/; archive detection is case-insensitive; the BFS walk visits real directories before symlinked aliases. - Tags and front matter. Plain-form quoted
#tags (e.g.tags: "a #b") are no longer truncated; a leading UTF-8 BOM no longer breaks front-matter parsing; flow-list comma splitting is fixed. - Images.
resolveImageRefvalidates before stat; image URLs with a query string resolve correctly; the image scan skips fenced code blocks and preserves document order. - Save and read. Host-config backup no longer overwrites a backup made within the same millisecond and is created atomically;
saveFileimage names are collision-safe;read_filerespects the notes budget;saveFilerejects an existing directory as its target;readFileboundary checks fixed. - Search and scope. The direct-scan fallback skips cloud placeholders and dot-directories; scope matching is case-insensitive on macOS/Windows; search errors are logged instead of silently swallowed.
- Network and system. IPv6
::ffff:0:0:0/96is blocked from SSRF checks;downloadImagedestroy has an error listener; the Windows viewer quotes,,;,=in paths; clipboard reads UTF-8 correctly and reports oversize instead of "empty". - Other low-priority fixes. Stat errors are logged instead of swallowed; large downloads spool to disk, preview scaling is bounded, and the file-text cache is capped (LRU, 64 items / 8M chars);
CLAUDE_CONFIG_DIR~is expanded;moveFilepreserves symlinks; index and wizard boundary validation. - moveFile same-file hardening. Before unlinking the source,
moveFileverifies it is still the same file (device, inode, type, size, mtime); if a sync client replaced it mid-move, the new file is kept and the move still counts as done. - Test file: CI macOS realpath fixes merged. The 15 realpath spots from the CI fix (8
rootRealDir, 7resolveIndexCacheDir) are now in the test file alongside the 6 new regression tests (5 from the 0.9.0 review fixes + 1 moveFile same-file test).