Repository navigation
v0.24.0
What's in this release
Everything here comes from #67. It smooths the last rough edges an AI agent hit while setting up DeployHQ for someone, with and without an existing account.
- No account? The CLI says so. When nobody is signed in, the hints,
dhq doctorand the--jsonrecovery actions now also say that a person with no DeployHQ account runsdhq signupthemselves, in a separate terminal. A wrong API key or "access denied" still points atdhq auth loginonly. dhq signupswitches the CLI to the new account, asdhq auth logindoes. IfDEPLOYHQ_ACCOUNTor a.deployhq.toml(in the folder or a parent folder) still names another account, it warns, says which one wins and how to change it.- A mistyped branch is an error, not a silent switch. DeployHQ replaces a branch that isn't in the repository with another one.
repos create/repos update --branchnow fail when that happens, list the branches (up to 20) and give therepos update --branchcommand. A repository with no commits yet says to push one first. - Clearer errors:
repos updateon a project with no repository points atrepos createinstead of showing a 500.servers createfor Static Hosting or a Managed VPS before beta enrolment points atdhq beta enroll --protocol <type>. - Small fixes:
auth loginasks again for an empty account name. After signing up, the next steps are for once the email is verified. Without a terminal,signupsays the person has to run it themselves, instead of asking for--password. - For agents:
dhq --helppoints atdhq skills install. The skill now says only a Managed VPS needs a payment method; Static Hosting doesn't. - Help text:
templates commands --timinglists the accepted values (all,first,after_first), anddeployment-checks --fail-on-unfixed-onlydescribes what it really does (it fails only on findings that have a fix).
Worth knowing when upgrading
repos create/repos update --branch <name>now exit 1 when DeployHQ saved a different branch. Before, they reported success. The repository is still connected; fix the branch withdhq repos update --branch.dhq signupnow setsaccountin~/.deployhq/config.tomlto the new account.
Full detail is in CHANGELOG.md → 0.24.0.
Full Changelog: v0.23.0...v0.24.0