Skip to content

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 15 Mar 11:00
· 190 commits to main since this release

This release tightens vecgrep’s CLI and indexing behavior, improves visibility into index health, and makes cache handling safer and more predictable.

Highlights

  • CLI searches now wait for indexing to finish before returning results.
    This fixes the old behavior where first-run/default CLI searches could return incomplete, unlabeled results.
  • CLI indexing progress output is much clearer.
    First-run indexing now reports compact progress with walked files and indexed chunks, and quiet mode is covered properly.
  • --stats now reports index holes.
    Failed remote embeddings that fall back to zero vectors are counted as Holes, so hidden index gaps are visible without enabling
    debug logs.
  • Index write paths are now atomic.
    Multi-step cache mutations are wrapped in transactions, which makes vecgrep more robust when interrupted mid-run.
  • Schema changes now rebuild the cache instead of attempting in-place migration.
    .vecgrep/index.db is treated as disposable cache state, which simplifies correctness and reduces migration edge cases.
  • Path semantics are stricter and safer.
    vecgrep now enforces one selected project root per invocation.
    Paths outside that root fail by default, and --skip-outside-root lets you ignore them explicitly.
  • Explicit file-list runs no longer prune unrelated cached files.
    This fixes cases like rg ... -l | xargs vecgrep ..., where partial path lists could previously cause unnecessary cache rebuilds
    later.
  • Global config now follows XDG-style lookup consistently.
    vecgrep respects $XDG_CONFIG_HOME and otherwise falls back to ~/.config/vecgrep/config.toml, matching the documented config path.
  • Added a flake.nix build environment.

Contributors

Thanks to everyone who contributed to this release: