Skip to content

Releases: moduloTech/danger-claude

v0.5.9

15 May 11:07

Choose a tag to compare

Fixed

  • glab persistence was broken in 0.5.8: the volume was mounted at /home/claude/.config/glab but glab actually writes to /home/claude/.config/glab-cli per its upstream ConfigDir() which joins xdg.ConfigHome with the hardcoded "glab-cli" directory name (verified in internal/config/config_file.go). Mount point and pre-created dir both corrected to .config/glab-cli. Anyone who already ran glab auth login in 0.5.8 must redo it after upgrade. The Docker volume name (danger-claude-glab) is unchanged — only its mount target moved.

Requires a rebuild: danger-claude --build after upgrade.

v0.5.8

15 May 10:31

Choose a tag to compare

Added

  • Install glab (GitLab CLI) in the Docker image, mirroring the existing gh setup. No Debian package is published for arm64, so the upstream tarball is used for both amd64 and arm64 — same pattern as typst — installed to /usr/local/bin/glab. Pinned to v1.97.0 to keep the build reproducible.
  • Persist glab config across danger-claude invocations via a new named Docker volume danger-claude-glab mounted at /home/claude/.config/glab (parallel to danger-claude-gh for gh). The volume is auto-created on first run via ensure_volume, and the mount point is pre-created with claude:claude ownership in the image so Docker copies the correct permissions into the volume on first attach. After running glab auth login once inside the container, subsequent sessions skip the prompt — same UX as gh.

Requires a rebuild of the image: danger-claude --build after upgrade.

v0.5.7

13 May 12:56

Choose a tag to compare

Added

  • Forward --resume SESSION_ID and --output-format to claude in commit mode (-c), so a commit can continue a session that was started by an earlier -p invocation. Previously only the print mode branch (-p) wired these flags through; the commit branch built its own stripped-down claude command that ignored them, breaking any caller that tried to chain implement (-p -r X)commit (-c -r X). The --resume propagation lets a wrapper like autodev keep the cache warm across the implement → commit boundary; the --output-format propagation lets the caller parse session_id out of the commit's response too. No flag added — both options already existed at the OptionParser layer, only the commit-mode dispatch ignored them.

v0.5.6

12 May 13:16

Choose a tag to compare

Added

  • Install imagemagick (image manipulation, provides convert/magick) and ripgrep (fast recursive grep, provides rg) in the Docker image.

v0.5.5

27 Apr 10:25

Choose a tag to compare

Fixed

  • SSH host key verification (Host key verification failed) when pushing/pulling from git remotes inside the container. The host's ~/.ssh/known_hosts is now bind-mounted read-only at /home/claude/.ssh/known_hosts, so any host the user trusts on their machine (github.com, gitlab.com, internal forges like source.modulotech.fr) is also trusted in the container. The Dockerfile pre-creates /home/claude/.ssh with mode 700 so SSH accepts the mounted file. Requires an image rebuild (danger-claude --build).

v0.5.4

27 Apr 10:08

Choose a tag to compare

Fixed

  • Git worktrees (including wtclone-style bare-repo layouts) now work inside the container. When .git is a file pointing to an external gitdir (e.g. /Users/.../.bare/worktrees/<name>), that host path is unreachable in the container and git fails with fatal: not a git repository. The launcher now detects worktrees and bind-mounts the worktree's gitdir and common gitdir at the same paths inside the container so the .git pointer resolves. Read-only / read-write follows the existing .git mount policy (-c / -g for rw).

v0.5.3

27 Apr 09:40

Choose a tag to compare

Added

  • Install pandoc (universal document converter) in the Docker image.
  • Install typst (modern typesetting system) in the Docker image via the upstream static musl binary (Typst is not packaged in Debian bookworm). Architecture-aware: amd64 and arm64 supported.

v0.5.2

23 Apr 05:25

Choose a tag to compare

Added

  • Install database client CLIs in the Docker image: postgresql-client (provides psql, pg_dump), default-mysql-client (provides mysql, mysqldump), and sqlite3.

v0.5.1

21 Apr 20:37

Choose a tag to compare

Added

  • Install wkhtmltopdf in the Docker image.

v0.5.0

21 Apr 15:24

Choose a tag to compare

Added

  • Automatically append a container-awareness system prompt to every claude invocation (interactive, -p, -c, -r). Informs Claude that it runs in a Docker container, that host services (databases, Redis, etc. from docker-compose) are reachable via host.docker.internal, and that non-interactive Ruby/Node commands should be prefixed with mise x ruby -- / mise x node -- since mise shims are not on PATH outside login shells.
  • --append-system-prompt TEXT CLI option that overrides the default container-awareness prompt with a custom text, forwarded as-is to claude --append-system-prompt.