Skip to content

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 (not ontoindex-lsp).
  • Rename every custom method from ontoindex/… to ontocore/… (e.g. ontocore/indexWorkspace, ontocore/query).
  • VS Code: set ontocode.lspPath to your ontocore-lsp binary if not using the bundled server.

Extension (VS Code)

  1. Update to OntoCode 0.9.0 (Marketplace or release VSIX).
  2. No command palette changes; the extension speaks ontocore/* to the server.
  3. User docs live under docs/ontocode/ on Read the Docs.

Next release (v0.10)

  • Stabilized ontocore::Workspace API
  • Semantic diff and incremental indexing

See OntoCore roadmap.