Skip to content

v3.0.0

Latest

Choose a tag to compare

@noahbaculi noahbaculi released this 10 Jun 22:50
· 5 commits to main since this release
00c5e82

Major release: ubiquitous-language cleanup across the public API, a scriptable CLI, bounded-memory top-N search, and a dependency and MSRV refresh.

Breaking changes

  • Public Rust and Python surfaces renamed: FileMatch -> FileComparison, percent_match -> similarity_ratio, --max-lines -> --max-file-lines, search_for_lines -> search, and more. See the migration table in CHANGELOG.md.
  • CLI exit codes follow grep: 0 match, 1 none, 2 error.
  • Args is #[non_exhaustive]; construct via Args::new.

Highlights

  • --min-similarity-ratio, --format <human|json> (with --with-content), and --no-interactive.
  • --count searches skip the full diff for files that cannot place. Output is byte-identical; on the Django 5.2.15 tree top-1 runs in about 43% of unbounded time, top-10 about 82%, top-20 about 94%.
  • All deps updated (similar 2 -> 3, pyo3 0.27 -> 0.28). Dropped atty for std::io::IsTerminal (clears RUSTSEC-2021-0145). MSRV Rust 1.85, Python 3.11.

Full notes in CHANGELOG.md.

Install

Homebrew:

brew install noahbaculi/busca/busca

Python:

pip install busca_py