Skip to content

Migration: v0.10 → v0.11

v0.11 is the Editor depth & distribution release: LSP completion and diagnostic code actions, documentation export, Turtle imports management, OBO fastobo read path, and Open VSX publishing for Cursor.

Highlights

Feature Notes
Open VSX OntoCode installable from Cursor Extensions search (ontocode.ontocode)
LSP completion textDocument/completion for Turtle prefix / QName / IRI contexts
Code actions Quick fixes for undefined prefix, missing label, broken import
ontocore docs Export Markdown or HTML from indexed workspace
Import patches add_import / remove_import ops + Manage Imports UI
OBO indexing fastobo read path; write-back still Turtle-only

Rust library users

ontocore = "0.11"
ontocore-docs = "0.11"
use ontocore::{Workspace, docs::{export_workspace, ExportOptions, ExportFormat}};

let ws = Workspace::open("./fixtures")?;
export_workspace(ws.catalog(), ExportOptions::markdown("/tmp/onto-docs"))?;

CLI

ontocore docs ./fixtures --format markdown --output /tmp/onto-docs
ontocore docs ./fixtures --format html --output /tmp/onto-docs --ontology-id http://example.org/people

LSP

  • Advertises completionProvider (triggers :, <, @) and codeActionProvider
  • Standard textDocument/completion and textDocument/codeAction (no new OntoCore RPCs)
  • Patch ops add_import / remove_import accepted by ontocore/applyAxiomPatch

VS Code / Cursor extension

  • Install from Open VSX (Cursor) or VS Code Marketplace
  • Ontologies tree → right-click .ttl file → Manage Imports
  • Lightbulb quick fixes on diagnostic codes above

Breaking changes

  • Bump all ontocore-* dependencies to 0.11.0 together.
  • OBO golden snapshots may differ slightly after fastobo migration (semantic equivalence preserved).

Still Turtle-only for write-back

OBO inspector editing and OBO patch apply are not in v0.11. See ADR-0019.