Migration: v0.8 → v0.9¶
v0.9 completes the OntoCore platform identity: all Rust crates, binaries, and LSP wire methods use ontocore naming. There is no ontoindex compatibility layer.
Breaking renames¶
| Area | v0.8 | v0.9 |
|---|---|---|
| Platform brand | OntoIndex | OntoCore |
| Implementation crates | ontoindex-* |
ontocore-* |
| Public façade | — | ontocore on crates.io |
| Core error type | OntoIndexError |
OntoCoreError |
| CLI crate / binary | ontoindex-cli / ontoindex |
ontocore-cli / ontocore |
| LSP crate / binary | ontoindex-lsp |
ontocore-lsp |
| LSP custom methods | ontoindex/* |
ontocore/* |
Rust library users¶
Replace every ontoindex-* dependency and import:
# v0.8
ontoindex-catalog = "0.8"
ontoindex-core = "0.8"
# v0.9
ontocore-catalog = "0.9"
ontocore-core = "0.9"
# or the façade:
ontocore = "0.9"
// v0.8
use ontoindex_core::OntoIndexError;
// v0.9
use ontocore_core::OntoCoreError;
// or
use ontocore::OntoCoreError;
Experimental high-level API:
use ontocore::workspace::Workspace;
let ws = Workspace::open("./ontology")?;
Workspace remains experimental until v0.10.
CLI and CI¶
# v0.8
cargo install ontoindex-cli --locked --version 0.8.0
ontoindex validate .
# v0.9
cargo install ontocore-cli --locked --version 0.9.0
ontocore validate .
Update scripts, Makefiles, and GitHub Actions that invoke ontoindex or install ontoindex-cli / ontoindex-lsp.
LSP integrators¶
- Bundle
ontocore-lsp(notontoindex-lsp). - Rename every custom method from
ontoindex/…toontocore/…(e.g.ontocore/indexWorkspace,ontocore/query). - VS Code: set
ontocode.lspPathto yourontocore-lspbinary if not using the bundled server.
Extension (VS Code)¶
- Update to OntoCode 0.9.0 (Marketplace or release VSIX).
- No command palette changes; the extension speaks
ontocore/*to the server. - User docs live under
docs/ontocode/on Read the Docs.
Next release (v0.10)¶
- Stabilized
ontocore::WorkspaceAPI - Semantic diff and incremental indexing
See OntoCore roadmap.