Skip to content

v1.5.0

Choose a tag to compare

@iamvirul iamvirul released this 28 Feb 08:03
· 24 commits to main since this release
b2bac1f

What's new in 1.5.0

Breaking change

The SQLite + numpy vector store has been replaced with LanceDB. Existing indexes at ~/.vecgrep/ need to be rebuilt — just run index_codebase on your project again.


5x faster MCP server startup

Metric 1.0.0 1.5.0
MCP server startup ~6.6s ~1.25s
Model load (first embed) ~2–3s ~100ms
Change detection O(chunks) SHA-256 O(files) mtime+size

The default embedding backend switches from sentence-transformers (PyTorch) to fastembed (ONNX Runtime) — no PyTorch required for the default path.


New: user-selectable backend and model

# Use PyTorch backend with any HuggingFace model
VECGREP_BACKEND=torch VECGREP_MODEL=sentence-transformers/all-MiniLM-L6-v2 vecgrep

# Use a custom ONNX model
VECGREP_MODEL=my-org/my-onnx-model vecgrep
Variable Default Description
VECGREP_BACKEND onnx onnx (fastembed) or torch (sentence-transformers)
VECGREP_MODEL isuruwijesiri/all-MiniLM-L6-v2-code-search-512 HuggingFace model ID

New: fine-tuned code search model

Default model switched to isuruwijesiri/all-MiniLM-L6-v2-code-search-512 — fine-tuned specifically for semantic code search.


Other improvements

  • IVF-PQ ANN index for sub-linear search on large codebases
  • file_stats table — O(files) incremental re-indexing
  • stop_watching MCP tool — stop watching a path explicitly
  • Watch state persistence — watchers survive MCP server restarts
  • Auto device detection — Metal / CUDA / CPU selected automatically
  • .githooks/pre-commit — local lint check for contributors (git config core.hooksPath .githooks)

Full changelog

See CHANGELOG.md for the complete list of changes.

Installation

uv tool install --python 3.12 vecgrep
claude mcp add --scope user vecgrep -- vecgrep