v7.0.0 (2026-08-22)
Release Notes
Breaking changes
- Rebuilt HawkEye as one
hawkeyecrate that provides both the Rust library and command-line application; thehawkeye-fmtcrate and its v6 APIs are not preserved. - Replaced the v6 camel-case config with a strict snake-case schema organized around
header,files,props,git,styles, and orderedrules. - Removed v6 compatibility switches, default exclude lists, configurable detection regexes, and the repository-specific GitHub Action.
- Changed edit commands to succeed after making changes by default. Use
checkin CI or pass--fail-on-changetoformatandremove. - Replaced command-specific JSON files with one report schema written to stdout by
--output-format json; logs and errors are written to stderr. - Defined Git creation as the latest addition in the current exact-path lifetime. Delete-and-recreate and rename-to-a-new-path start new histories.
New features
- Added a public
Config,Engine,Scope, report, and pending-edit API. - Added safe header replacement with explicit conflict reporting, literal line and block styles, and distinct accepted-input and canonical-output styles.
- Added positional file and directory selection for
check,format, andremove, including staged-file support in pre-commit hooks. - Added in-process Git discovery and file attributes through
gix, including merge-aware history traversal without requiring agitexecutable. - Added human and JSON reports, stable exit-code categories, debug logging, and deterministic preservation of common file preambles and line endings.
- Added cargo-binstall archives, a distroless multi-architecture container image, and Python and Docker pre-commit hooks.
See MIGRATE.md for the v6-to-v7 procedure and semantic differences.
Install hawkeye 7.0.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/fast/hawkeye/releases/download/v7.0.0/hawkeye-installer.sh | shDownload hawkeye 7.0.0
| File | Platform | Checksum |
|---|---|---|
| hawkeye-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| hawkeye-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| hawkeye-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| hawkeye-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| hawkeye-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |
| hawkeye-aarch64-unknown-linux-musl.tar.xz | ARM64 MUSL Linux | checksum |
| hawkeye-x86_64-unknown-linux-musl.tar.xz | x64 MUSL Linux | checksum |