Skip to content

0.9.1

Choose a tag to compare

@Newmannn91 Newmannn91 released this 16 Nov 09:33
· 1 commit to main since this release

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. doRefresh no longer races buildAll; the lock heartbeat no longer races releaseLock; a failed buildAll no longer leaves the index reporting ready while it is broken.
  • Sandbox and symlinks. atomicWrite no longer resolves a dangling relative symlink to a file outside the library; sandboxPath validates the path before stat and no longer swallows SandboxError; walkTextFiles blocks symlinks under archive/; 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. resolveImageRef validates 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; saveFile image names are collision-safe; read_file respects the notes budget; saveFile rejects an existing directory as its target; readFile boundary 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/96 is blocked from SSRF checks; downloadImage destroy 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; moveFile preserves symlinks; index and wizard boundary validation.
  • moveFile same-file hardening. Before unlinking the source, moveFile verifies 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, 7 resolveIndexCacheDir) 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).