Migration: v0.9 → v0.10¶
v0.10 is the Semantic Workspace release: incremental indexing, multi-root LSP workspaces, a stable strixonomy::Workspace API, semantic diff (CLI + LSP + VS Code panel), and optional disk cache.
Highlights¶
| Feature | Notes |
|---|---|
| Incremental index | LSP reindex reuses unchanged documents by content hash |
| Multi-root workspaces | All VS Code workspace folders are indexed; path jail accepts any registered root |
Stable Workspace API | open_with_options, reindex_incremental, import_graph, diff, stats |
| Semantic diff | strixonomy diff, strixonomy/semanticDiff, React Semantic Diff panel |
| Disk cache | Optional .strixonomy/cache/ via WorkspaceOptions::disk_cache or strixonomy.indexCache |
Rust library users¶
strixonomy = "0.10"
strixonomy-diff = "0.10"
use strixonomy::{Workspace, WorkspaceOptions};
use strixonomy::diff::{diff_git_refs, format_diff_markdown};
let ws = Workspace::open_with_options(
WorkspaceOptions::single("./ontologies").with_disk_cache(true),
)?;
let stats = ws.stats();
let diff = ws.diff_against_path("./other")?;
CLI¶
strixonomy diff main..feature
strixonomy diff --format markdown --breaking-only HEAD..WORKTREE
strixonomy diff --left-ref ./a --right-ref ./b
LSP¶
- New method:
strixonomy/semanticDiff(aliasstrixonomy/getSemanticDiff) strixonomy/indexWorkspaceacceptsdisk_cache: boolean- Workspace folder add/remove triggers reindex (
workspace/didChangeWorkspaceFolders)
VS Code extension¶
- Command Strixonomy: Semantic Diff…
- Setting
strixonomy.indexCacheenables persistent parse cache - Multi-root workspaces are fully supported (remove single-folder workarounds)
Breaking changes¶
strixonomy::Workspaceis stable in v0.10 (experimental banner removed); pre-1.0 policy still applies to other crates until v1.0.- Bump all
strixonomy-*dependencies to 0.10.0 together.