Skip to content

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 31 May 18:37
· 259 commits to main since this release

馃殌 Key Features & Enhancements

1. Unified Native Embedding Engine (Rust/Candle)

  • Integrated a native Rust/Candle-based embedding backend alongside Ollama/OpenAI, enabling high-performance local vector computations.
  • The build system is unified via Makefile targets to automatically compile the Rust shared library (libgleann_core_rs) on supported platforms.

2. Hierarchical Path-Style Memory & Graph Extraction

  • Ancestor-Visibility Scopes: Implemented hierarchical path-style scopes (e.g., /project/submodule/file) for memory blocks. Child paths inherit facts from their parent boundaries, enabling context-aware memory querying and retrieval.
  • VectorSyncer Bridge: Automated the extraction and synchronization of IMPLEMENTS and REFERENCES code relationship edges directly into the knowledge graphs.

3. CLI Diagnostics & Token Tools

  • gleann config validate: Diagnostic command that runs connectivity checks on configured LLM/embedding providers, detects active capabilities, and prints a structured health report.
  • gleann tokens: Token estimation command to calculate local token counts for text blocks and files.
  • git-diff Read Mode: Added support for indexing only changes within git diffs or specific commits.

4. Schema v2 Multimodal Plugin Protocol

  • Upgraded third-party plugin integration to the Schema v2 protocol supporting live /info capability lookups.
  • Enhanced multimodal media processing with robust fallbacks for ffmpeg scene-change frame extraction, audio transcribing, and visual model heuristics.
  • Added automatic plugin autowiring based on capabilities registry.

5. Architectural Hardening

  • Integrated modern package primitives (failsafe-go for retry resilience, otter for high-throughput caching, watermill for messaging, and stateless for server state transitions).
  • Configurable task auto-eviction age via task_eviction_age_hours (and GLEANN_TASK_EVICTION_AGE_H) to automatically prune finished background tasks from memory history.

馃悰 Bug Fixes & Stability

  • Multimodal Tests Fix: Set both HOME and USERPROFILE in the plugin integration tests to ensure reliable home directory resolution on Windows CI runners.
  • DiskANN Dim Panic: Resolved a cryptic panic in the DiskANN vector backend when handling zero-dimension embeddings.
  • OpenAPI / Swagger Spec Audit: Aligned server endpoints and schemas for /api/packs/reload and search result types to match runtime JSON outputs.
  • Concurrency & Deadlocks: Hardened read/write locking across the hierarchical memory tiers.
  • Kuzu DB Corruption: Prevented potential corruption in graphs under concurrent operations.