Skip to content

Releases

v0.4.12

Choose a tag to compare

@github-actions github-actions released this 29 Nov 02:50

Prebuilt bitefoundry-obsidian binary with terminal UI, knowledge graph, CLI, HTTP API, and MCP server.

What's Changed

Vaultless Headless MCP Fix, MCP 2025 Annotations, HTTP Contract Tests & Zero-Node Installers

  • Vaultless Headless MCP Startup Fix: bitefoundry-obsidian mcp now starts cleanly even before any Obsidian vault is configured (initialize, tools/list, list_vaults, and explicit vault tool calls succeed instead of exiting at startup).
  • MCP 2025 Tool Definitions (20/20 tools): Added full MCP 2025 annotations (openWorldHint: false for local vaults, destructiveHint: true on delete_note) and strict additionalProperties: false across all 20 tools.
  • HTTP Contract Tests & Hygiene: Added 8 live-loopback HTTP contract tests in src/serve.rs (including path-traversal rejection, Bearer auth, and Origin/Host guards) and pruned 9 zero-caller legacy methods from src/ui/composer.rs (288 passing tests).
  • Zero-Node Distribution: Documented Homebrew (brew install bitefoundry/tap/obsidian), SHA256-verified shell (curl -fsSL https://bitefoundry.dev/i | sh -s obsidian), and PowerShell (bitefoundry.dev/w) install methods.

Full Changelog: v0.4.11...v0.4.12

v0.4.11

Choose a tag to compare

@github-actions github-actions released this 27 Nov 10:16

Prebuilt bitefoundry-obsidian binary with terminal UI, knowledge graph, CLI, HTTP API, and MCP server.

What's Changed

Performance Optimization Suite (SQLite/Trigram, SoA Graph, Parallel Vault Scan & Pixel Pipeline)

  • SQLite/FTS5 & Async Server: Added a 4-reader WAL pool + tuned PRAGMAs + prepare_cached, migrated notes_fts to trigram + rowid-indexed deletes (O(N²) → O(log N)), pushed SQL filtering/pagination into list_notes_page, streamed vault_index_fingerprint directly into SHA-256, and offloaded serve.rs storage/sync onto spawn_blocking with per-vault singleflight coalescing.
  • Parallel Vault Scan & Parser: Parallelized read + SHA-256 + Markdown parse via std::thread::scope, reused entry.metadata() and zero-alloc sorting in vault/fs.rs, and added Cow::Borrowed / byte-scan fast paths in vault/parser.rs.
  • TUI, Graph & Pixel Engine: Replaced O(N²) HashMap<String> graph layout with flat SoA Vec<f64> + uniform spatial grid, removed duplicate per-frame inline-editor layout, added sidebar/note/editor caches, fixed 2-pass html_preview cache thrashing, coalesced mouse moves and deferred pixel payloads in tui.rs, fixed double CLI SVG rasterization, upgraded Sixel to flat 32K histogram + 5-5-5 LUT + 2-row i16 dithering + Fast PNG, and enabled opt-level = 3 for codec/parser crates.

Full Changelog: v0.4.10...v0.4.11

v0.4.10

Choose a tag to compare

@github-actions github-actions released this 27 Nov 09:05

Prebuilt bitefoundry-obsidian binary with terminal UI, knowledge graph, CLI, HTTP API, and MCP server.

What's Changed

Modular Architecture & Terminal Safety

  • Terminal & Agent Safe-Output (src/safe_text.rs): Sanitized untrusted vault note titles, paths, tags, tasks, and snippets rendered to CLI terminal output against ANSI/VT100 escape sequences (CSI/OSC/DCS/C1), C0/C1 control characters, Unicode Bidi overrides, and invisible Unicode Tag characters (U+E0000..=U+E007F), while preserving raw --json output.
  • Supply Chain & Packaging: Added [package.metadata.binstall] for cargo-binstall, deny.toml + .github/workflows/audit.yml (cargo-deny CI), and refs/tags/v tag guards on publish/release jobs.
  • Codebase Modularization: Decomposed src/cli.rs, src/storage/db.rs, src/ui/app.rs (dispatch_core 1,095L → 88L), and tests/vault_e2e.rs (8,628L → 10 domain submodules) into cohesive modules.

Full Changelog: v0.4.9...v0.4.10

v0.4.9

Choose a tag to compare

@github-actions github-actions released this 27 Nov 02:03

Prebuilt bitefoundry-obsidian binary with terminal UI, knowledge graph, CLI, HTTP API, and MCP server.

What's Changed

Binary Size Diet, Dead-Code Cleanup & MCP/Parser Hardening

  • ~43% Smaller Release Binaries: Enabled opt-level = "s" and panic = "abort" in [profile.release] (bitefoundry-obsidian.exe reduced from ~17.6 MiB to ~10.1 MiB; zip archive ~7.7 MiB to ~5.0 MiB) with zero feature loss.
  • Dependency & Dead-Code Diet: Removed 36 crates from Cargo.lock (unused futures, uuid, notify-rust, rustls, hex, urlencoding, dead src/ui/notification.rs, unused crossterm/event-stream and reqwest/stream), moved tempfile to dev-dependencies, upgraded ratatui to 0.29 and dirs to 6, trimmed bitefoundry-html resvg features, and added optional Cargo feature gates (html-js, svg-graphics) for lightweight headless builds.
  • Safety & Docs: Hardened projected-read unwrap() sites in src/mcp.rs and parser state transitions in src/vault/parser.rs, synchronized docs/openapi.yaml version via scripts/sync-version.mjs, resolved all Clippy warnings (-D warnings clean), and externalized assets/demo.gif to bitefoundry.dev.

Full Changelog: v0.4.8...v0.4.9

v0.4.8

Choose a tag to compare

@github-actions github-actions released this 26 Nov 07:29

Prebuilt bitefoundry-obsidian binary with terminal UI, knowledge graph, CLI, HTTP API, and MCP server.

What's Changed

Sidebar Tree Navigation, Tag Hierarchy & P0 Safety Fix

  • P0 Fix: Scoped ToggleSelectedTask (Space/x) strictly by focus/tab so pressing Space on a folder in the Files sidebar toggles the folder instead of silently mutating checkboxes inside the open note file (and blocked task writes when focused on Inspector or Graph mode).
  • Added standard → / ← Files tree navigation (expand/enter first child/open note, collapse/jump to parent folder) alongside help hints.
  • Updated Files folder counts to recursive subtree counts (.md + .html) and clamped tree indentation to stay readable in narrow sidebars.
  • Built nested tag prefix aggregation in the Tags tab (de-duplicated per note) and synchronized Inspector Outline visibility with selection clamping.

Full Changelog: v0.4.7...v0.4.8

v0.4.7

Choose a tag to compare

@Shinick-Han Shinick-Han released this 25 Nov 16:18

Prebuilt bitefoundry-obsidian binary with terminal UI, knowledge graph, CLI, HTTP API, and MCP server.

Full Changelog: v0.4.6...v0.4.7

v0.4.6

Choose a tag to compare

@github-actions github-actions released this 25 Nov 14:14

Prebuilt bitefoundry-obsidian binary with terminal UI, knowledge graph, CLI, HTTP API, and MCP server.

What's Changed

Obsidian Live Preview Direct Canvas Editing

  • Upgraded InlineNoteEditor to Live Preview mode by default (EditorMode::LivePreview, toggleable with Ctrl+M or the [Live]/[Src] header pill): inactive lines render styled Markdown (headings, bold/italic/code/strike/highlight, [[wikilinks]], #tags, ☐/☑ tasks, callout bars, code fences, and frontmatter) while the active cursor line reveals raw syntax-highlighted Markdown with exact ASCII + Korean/CJK hardware cursor tracking.
  • Clicking any rendered note line or empty canvas row opens Live Preview directly at the clicked position without needing to press e first (preserving direct clicks on checkboxes, wikilinks, image previews, HTML cards, and header pills).

Native-Terminal Lock-Free TUI Input

  • Replaced crossterm::event::EventStream with a dedicated lock-free TerminalEventReader (OS reader thread + Tokio mpsc::unbounded_channel) and wrapped terminal output in a 64 KiB BufWriter<Stdout> with queued synchronized updates and clean reader pause/resume around $EDITOR and Windows Resize VT probing.

Full Changelog: v0.4.5...v0.4.6

v0.4.5

Choose a tag to compare

@github-actions github-actions released this 25 Nov 12:08

Prebuilt bitefoundry-obsidian binary with terminal UI, knowledge graph, CLI, HTTP API, and MCP server.

What's Changed

Startup & Incremental Vault Indexing

  • Eliminated blocking startup scans and duplicate double-scans in both TUI (run_tui) and daemon (run_daemon_foreground) by hydrating frame 1 immediately from SQLite and running a single background reconciliation scan via the live watcher.
  • Added VaultLinkIndex to replace O(links × notes) linear link/alias scans with indexed resolution across sync, detail loading, outgoing links, and Knowledge Graph construction.
  • Released the SQLite Mutex<Connection> during disk reads, SHA-256 hashing, and Markdown parsing in sync_vault_with_options, added a zero-change fast path, and switched note upserts/deletes to prepare_cached.

Single-Note Write & UI Thread Responsiveness

  • Replaced redundant full-vault sync_vault rescans with path-scoped sync_paths across 15+ single-note write paths in storage, tui, ui/app, cli, mcp, and serve.
  • Deferred Knowledge Graph rebuilds until CanvasMode::Graph is active, eliminated unnecessary HTML directory walks on Markdown-only saves and bookmark toggles, delegated RefreshAll/SwitchVault asynchronously to the live watcher, and suppressed self-write watcher echo reloads while preserving cross-process detection.

Test Hardening

  • Guarded unit-test config and draft persistence from mutating the host user config directory (#[cfg(test)]).

Full Changelog: v0.4.4...v0.4.5

v0.4.4

Choose a tag to compare

@github-actions github-actions released this 25 Nov 08:40

Prebuilt bitefoundry-obsidian binary with terminal UI, knowledge graph, CLI, HTTP API, and MCP server.

What's Changed

Centered ↔ Full Layout Parity & Width-Aware Text Wrapping

  • Fixed text clipping across Centered and Full reading widths in note_view, inspector, and sidebar by migrating notes, tables, callouts, code blocks, and frontmatter to display-width-aware styled span wrapping (wrap_styled_spans / render_wrapped_table).

Unified pulldown-cmark Vault Markdown Parser

  • Replaced the ad-hoc line-based Markdown parser in src/vault/parser.rs with pulldown-cmark 0.13 (preserving Obsidian wikilinks, embeds, tags, callouts, frontmatter, and math/task blocks) and unified .md preview rendering on bitefoundry-html::markdown.

Terminal Image Preview Quality & Protocol Detection

  • Replaced fixed low-resolution downsampling and distorted aspect-ratio math with terminal cell-geometry sizing and unified protocol detection across Kitty, iTerm2, Sixel, and half-block renderers.

Native HTML/SVG/Canvas & Embedded Graphics Rendering

  • Eliminated raw HTML/SVG/script source leaks in HTML/canvas previews via pure-Rust bitefoundry-html (resvg 0.50 + tiny-skia + base64) for inline <svg>, <canvas>, and data:image/* graphics, with an explicit [o: Browser] banner for external <script src> content.

TUI Modal Isolation, Mouse Scroll & Alias Sync

  • Isolated modal backdrops and key routing, fixed right-click and inspector scroll interactions, and hardened alias/sync state handling.

Full Changelog: v0.4.3...v0.4.4

v0.4.3

Choose a tag to compare

@github-actions github-actions released this 24 Nov 12:32

Prebuilt bitefoundry-obsidian binary with terminal UI, knowledge graph, CLI, HTTP API, and MCP server.

What's Changed

Shell Alias Support (tcsh, csh, POSIX sh) & Safe Shell Detection

  • Added tcsh, csh, and sh (dash/ash/ksh) to bitefoundry-obsidian alias (install, uninstall, status, snippet/init).
  • Normalized $SHELL detection by basename (stripping login - prefixes and .exe) with explicit errors on unsupported shells instead of silently modifying ~/.bashrc.
  • Preserved existing ~/.cshrc for tcsh users when ~/.tcshrc is absent, and preserved symlinked RC files.

Compact Read Frontmatter Surfacing & Selective fields Projection

  • read_note (compact: true) now lists actual sorted omitted.frontmatter_keys alongside omitted counts instead of a bare "frontmatter" string.
  • read_note (compact: false) now includes is_bookmarked, size_bytes, images, and md_links.
  • Added selective fields: [...] projection to read_note (supporting frontmatter, frontmatter.<key>, tasks, backlinks, outgoing_links, images, md_links, is_bookmarked, size_bytes, body, raw_markdown, plus missing_fields) without reading full note bodies when only metadata is requested.

Symlinked $HOME & npm Postinstall Hardening

  • Fixed scripts/postinstall.mjs main-module detection via fs.realpathSync so native binary linking runs reliably when $HOME or the npm prefix is a symlink.
  • Watched canonical_root in register_native_watcher so vaults under a symlinked $HOME watch reliably while inner vault symlinks remain blocked.
  • Preserved dotfile symlinks in write_atomic (while refusing 0600 secret symlinks), expanded ~/ on OBSIDIAN_CONFIG_DIR/OBSIDIAN_DATA_DIR/$EDITOR, and resolved symlinked binaries in updater.rs.

Full Changelog: v0.4.2...v0.4.3