Repository navigation
v0.18.1
Pre-release
Pre-release
A patch release: three fixes adopters reported against v0.18.0, on Go 1.27 projects and composed git hooks.
Fixed
- When a pre-push hook is installed,
fathom doctorjudges that hook, including in linked worktrees and submodules, instead of an unusedlefthook.yml. Thelefthook_gatesrow follows.tools/bin/task validate, fails withlefthook installas the remedy when the installed hook reaches neither gate, and isunknownwhen the strict verify step sits in a non-shell script such as Python, the read budget runs out first, or the installed hook exists but cannot be read. A hook that hands off withlefthook runstill countslefthook.yml. fathom init --dry-runwith--no-user-writes(or--harness none) no longer lists user files such as~/.fathom/config.tomlaswould-create. Each shows asskipped-user-scope, in text and in--jsonwrites[], and the "would write or change N files" count leaves them out.- Typed Go loads no longer fail on a Go 1.27 standard library ("method must have no type parameters" in
math/rand/v2). fathom is now built with Go 1.27.3 (toolchain go1.27.3in go.mod; thego 1.26.2minimum for source builders is unchanged), so its type checker matches thegoit drives. Build fathom with Go 1.27 or newer to load Go 1.27 sources. - Analyses that read compiled package data instead of source also handle Go 1.27 (golang.org/x/tools moves to v0.52.0).
Building from source needs Go 1.27 or newer to load Go 1.27 sources.