Skip to content

v2.2.0

Latest

Choose a tag to compare

@leggetter leggetter released this 03 Jun 21:32
· 3 commits to main since this release
b42ee9c

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 (writing hookdeck-completion.bash/.zsh to the current directory and printing setup instructions) was non-standard.
    • Affected users: anyone running hookdeck completion manually 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:
      # 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"
      See hookdeck completion --help for full guidance.

Fixes

  • Auth recovery for stale keys, clearer 401 UX (#286): clearer error messages when stored credentials become invalid; hookdeck login and hookdeck whoami provide better recovery guidance; quieter logging for expected validate-401s; the MCP hookdeck_login tool returns consistent recovery copy.

Internal

  • CGO disabled for macOS builds in GoReleaser config — the codebase is pure Go; the flag was vestigial (#296).
  • REFERENCE.md regenerated to document the gateway connection pause/unpause argument as ID or name (#296).
  • Preparation for hookdeck homebrew-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