Summary
GA release that promotes the v2.1.2-beta.1 auth-recovery work to stable, standardises shell-completion output to align with other Cobra CLIs (small breaking change), and lands homebrew-core submission prep.
Breaking Changes / Migration
hookdeck completion --shell <shell>now writes the completion script to standard output- Reason: aligns with every other major Cobra-based CLI (
gh,goreleaser,kubectl,helm,terraform) and enables idiomatic Homebrew/Scoop install patterns. The previous behaviour (writinghookdeck-completion.bash/.zshto the current directory and printing setup instructions) was non-standard. - Affected users: anyone running
hookdeck completionmanually and relying on the generated file or the printed instructions. Users installing via Homebrew or Scoop are unaffected — completions install automatically. - Update scripts: redirect the output instead of expecting a file. For example:
See
# Source for the current session source <(hookdeck completion --shell bash) source <(hookdeck completion --shell zsh) # Install permanently hookdeck completion --shell bash > /usr/local/etc/bash_completion.d/hookdeck hookdeck completion --shell zsh > "${fpath[1]}/_hookdeck"
hookdeck completion --helpfor full guidance.
- Reason: aligns with every other major Cobra-based CLI (
Fixes
- Auth recovery for stale keys, clearer 401 UX (#286): clearer error messages when stored credentials become invalid;
hookdeck loginandhookdeck whoamiprovide better recovery guidance; quieter logging for expected validate-401s; the MCPhookdeck_logintool returns consistent recovery copy.
Internal
- CGO disabled for macOS builds in GoReleaser config — the codebase is pure Go; the flag was vestigial (#296).
REFERENCE.mdregenerated to document thegateway connection pause/unpauseargument as ID or name (#296).- Preparation for
hookdeckhomebrew-core submission (#295, #296). - Dependency bumps:
golang.org/x/sys,golang.org/x/term,github.com/modelcontextprotocol/go-sdk(#284, #285, #287, #291, #292, #293).
Full Changelog: v2.1.1...v2.2.0