Repository navigation
Releases
Releases · ajmalbuv/blamr
0.0.7 - 2026-11-04
Release Notes
Added
- Thousands separator formatting for line counts: Line counts in terminal tables are now formatted with commas (e.g.
1,234or1,250,000), with dynamic column auto-scaling for repositories with millions of lines. Machine-readable JSON output preserves standard numeric types. - GNU CLI flags (
--long and-short options): Full support for standard GNU-style options across all flags:- Long flags:
--help,--version,--json,--email,--ignore-blank,--committed-only,--ascii,--no-progress,--jobs,--ext. - Short flags:
-h(help),-v(version),-j(jobs),-e(email),-w(ignore whitespace/blank lines),-c(committed only),-a(ASCII output),-n(no progress),-x(extension filter). - Short option clustering (e.g.
-acn,-ew) and attached value forms (-j4,--jobs=4,-x.rs,--ext=.rs). - Seamless backward compatibility for legacy single-dash long flags (
-json,-email,-ascii,-ext, etc.).
- Long flags:
Performance
- Zero-allocation line counting and clean-file bypass: Bypassed
split_linesentirely for clean files in HEAD when not filtering blank lines, and replacedsplit_lines().len()with a zero-allocationcount_linesbyte scanner. - Zero-copy CRLF normalization: Refactored
normalize_crlfto returnCow<'_, [u8]>with a fast-path scan, eliminating full-file heap allocations on Unix and CRLF-free repositories. - Author interning and
Arc<str>caching: Cached commit authors asArc<str>across worker threads and interned authors per file intoVec<Option<u32>>, reducing HEAD tracking slot memory from 24 bytes/line to 4 bytes/line (~83% memory reduction) and eliminatingStringclones andHashMaplookups from the hot per-line loop. - Repository single-open threading: Reused the discovered
gix::Repositoryinstance from tracked file collection in worker threads instead of opening the repository twice. - Bounded event channels: Switched the blame event channel from unbounded to bounded (
workers * 4) to prevent unbounded memory growth on monorepos. - Path allocation reductions: Refactored
path_to_git_stringanddisplay_pathto build directly into pre-allocated strings without intermediateVec<String>joins.
Changed
- Domain error types (
thiserror): Introduced structured domain error enums (GitError,BlameError,BlameFileError,RunError) insrc/error.rs, preserving underlying error sources while guaranteeing exact user-facing error strings and exit codes. - Typed blame event warnings:
BlameEvent::Warningnow carries&BlameFileErrordirectly to eliminate intermediate string formatting in worker event loops. - Worker thread state bundling: Encapsulated HEAD commit and tree references into
HeadStateto reduce parameter counts and improve thread-local clarity.
Fixed
- Filter zero-line authors: Excluded authors with 0 attributed lines from table and JSON outputs so deleted or fully filtered worktree authors do not render with
0.0%bars. - Panic safety and worker resilience: Documented worker panic safety invariants and ensured per-file panics cleanly convert into structured
BlameFileError::WorkerPanicwarnings without crashing worker threads.
Install blamr 0.0.7
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ajmalbuv/blamr/releases/download/v0.0.7/blamr-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/ajmalbuv/blamr/releases/download/v0.0.7/blamr-installer.ps1 | iex"Download blamr 0.0.7
| File | Platform | Checksum |
|---|---|---|
| blamr-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| blamr-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| blamr-aarch64-pc-windows-msvc.zip | ARM64 Windows | checksum |
| blamr-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| blamr-aarch64-unknown-linux-musl.tar.gz | ARM64 MUSL Linux | checksum |
| blamr-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |
0.0.6 - 2026-10-30
Release Notes
Fixed
- Restore the
git-blamrbinary target socargo install blamr,cargo binstall blamr, and archive extractions install bothblamrandgit-blamrdirectly. - Increase libgit2 tree and commit object cache limits to prevent cache thrashing and stalls on large repositories.
Install blamr 0.0.6
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ajmalbuv/blamr/releases/download/v0.0.6/blamr-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/ajmalbuv/blamr/releases/download/v0.0.6/blamr-installer.ps1 | iex"Download blamr 0.0.6
| File | Platform | Checksum |
|---|---|---|
| blamr-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| blamr-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| blamr-aarch64-pc-windows-msvc.zip | ARM64 Windows | checksum |
| blamr-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| blamr-aarch64-unknown-linux-musl.tar.gz | ARM64 MUSL Linux | checksum |
| blamr-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |
0.0.5 - 2026-10-30
Release Notes
- Updated transitive dependecies
Install blamr 0.0.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ajmalbuv/blamr/releases/download/v0.0.5/blamr-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/ajmalbuv/blamr/releases/download/v0.0.5/blamr-installer.ps1 | iex"Download blamr 0.0.5
| File | Platform | Checksum |
|---|---|---|
| blamr-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| blamr-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| blamr-aarch64-pc-windows-msvc.zip | ARM64 Windows | checksum |
| blamr-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| blamr-aarch64-unknown-linux-musl.tar.gz | ARM64 MUSL Linux | checksum |
| blamr-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |
0.0.4 - 2026-10-30
Release Notes
Changed
- Ship a single
blamrbinary; installers create agit-blamralias forgit blamr. - Publish fully static musl archives for Linux and resolve glibc hosts to them in
cargo-binstall. - Do not ignore whitespace-only changes by default; use
-ignore-whitespaceto opt in. - Write progress to stderr, throttled and cleared before warnings, with
-no-progressto disable it. - Add
-asciiand automatic Unicode/console-encoding detection for Windows terminals. - Write help to stdout and usage errors to stderr.
- Reduce per-line work and enable fast release binaries with LTO and stripped symbols.
Fixed
- Attribute current files to
Not Committed Yetwhen the repository has an unborn HEAD instead of
warning and skipping them. - Keep table output free of a leading blank line.
Install blamr 0.0.4
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ajmalbuv/blamr/releases/download/v0.0.4/blamr-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/ajmalbuv/blamr/releases/download/v0.0.4/blamr-installer.ps1 | iex"Download blamr 0.0.4
| File | Platform | Checksum |
|---|---|---|
| blamr-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| blamr-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| blamr-aarch64-pc-windows-msvc.zip | ARM64 Windows | checksum |
| blamr-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| blamr-aarch64-unknown-linux-musl.tar.gz | ARM64 MUSL Linux | checksum |
| blamr-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |
0.0.3 - 2026-10-27
Release Notes
Changed
- Rewrote the project in Rust, replacing the Go implementation.
- Statically linked
libgit2. - Added cargo-dist release archives, shell and PowerShell installers, crates.io publishing, and
cargo-binstall metadata. v0.0.2is the final Go release.
Fixed
- Count conflicted index entries once.
- Preserve explicit symlink paths and treat symlinks as text blobs.
- Avoid spawning more workers than files.
- Correctly detect broken stdout pipes on Windows.
Install blamr 0.0.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/ajmalbuv/blamr/releases/download/v0.0.3/blamr-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/ajmalbuv/blamr/releases/download/v0.0.3/blamr-installer.ps1 | iex"Download blamr 0.0.3
| File | Platform | Checksum |
|---|---|---|
| blamr-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
| blamr-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
| blamr-aarch64-pc-windows-msvc.zip | ARM64 Windows | checksum |
| blamr-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| blamr-aarch64-unknown-linux-musl.tar.gz | ARM64 MUSL Linux | checksum |
| blamr-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |