-
Notifications
You must be signed in to change notification settings - Fork 1
docs: add CHANGELOG with v0.20.0 entry #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| # Changelog | ||
|
|
||
| All notable changes to the DeployHQ CLI are documented in this file. | ||
|
|
||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), | ||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
| While the CLI is pre-1.0, minor versions may carry breaking changes to the public | ||
| `pkg/sdk` surface; these are always called out under **Breaking (SDK)**. | ||
|
|
||
| ## [0.20.0] - 2026-07-14 | ||
|
|
||
| Broad expansion of API coverage (DHQ-639): account-level resources, template | ||
| sub-resources, managed hosting, and project/server actions. See #31, #32, #33. | ||
|
|
||
| ### Breaking (SDK) | ||
|
|
||
| These affect external importers of `github.com/deployhq/deployhq-cli/pkg/sdk` and | ||
| scripts that parse the JSON output of existing commands. They correct types that | ||
| never matched the live API (the old fields were populated from a response shape | ||
| the backend does not return), so end-user behaviour of `dhq launch` is fixed | ||
| rather than regressed. | ||
|
|
||
| - **`ManagedHostingSize`**: renamed `Description` → `Label` and | ||
| `PriceMonthly` → `MonthlyCost`; removed `PriceHourly`, `Memory`, `VCPUs`, | ||
| `Disk`; added `Currency`. Matches the `{ "sizes": [...] }` envelope from | ||
| `GET /managed_hosting/sizes`. | ||
| - **`ManagedHostingRegion`**: removed `Available`; added `Flag` and `Country`. | ||
| Regions are now served grouped (`{ "grouped_regions": {...} }`). | ||
| - **`Client.UpdateConfigFile`**: now takes `ConfigFileUpdateRequest` (all-pointer | ||
| fields for partial updates) instead of `ConfigFileCreateRequest`. | ||
| - **`dhq launch --dry-run --json`**: `monthly_cost` is now currency-aware | ||
| (e.g. `£12.00`, `12.00 SEK`) instead of always `$X.XX`. Update any parser that | ||
| assumes a leading `$`. | ||
|
|
||
| ### Added | ||
|
|
||
| - **Account resources**: `dhq folders`, `dhq users`, `dhq account`, | ||
| `dhq profile`, `dhq api-keys`, `dhq teams` (account-level permission groups), | ||
| and `dhq ssh-keys download` (writes with secure `0600` permissions). | ||
| - **Project actions**: `dhq projects regenerate-key`, | ||
| `dhq projects undeployed-changes`, `dhq projects ai-overview`. | ||
| - **Server actions**: `dhq servers from-global`, `dhq servers metrics` (beta). | ||
| - **Global links**: `dhq config-files link-global|unlink-global` and | ||
| `dhq ssh-commands link-global|unlink-global`. | ||
| - **Managed hosting**: `dhq hosted-resources list|show|sync|retry-provision` and | ||
| `dhq managed-hosting regions|sizes`. | ||
| - **Template sub-resources**: `dhq templates {config-files, excluded-files, | ||
| integrations, commands, build-commands, build-cache-files, build-known-hosts, | ||
| build-languages, build-configuration, servers, server-groups}`. | ||
| - **Utilities**: `dhq ip-ranges`, `dhq plans`, `dhq invoices list|download`, | ||
| `dhq detect`, `dhq beta enroll`. | ||
| - **SDK**: `NewPublic(account, …)` client path for public, no-auth endpoints | ||
| (`ip-ranges`, `plans`). | ||
|
|
||
| ### Changed | ||
|
|
||
| - `dhq config-files update` now performs partial updates — unset `--path`/`--body` | ||
| flags are no longer sent, so they are left untouched server-side instead of | ||
| being cleared. | ||
|
|
||
| [0.20.0]: https://github.com/deployhq/deployhq-cli/releases/tag/v0.20.0 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Separate the CLI breaking change from the SDK section.
dhq launch --dry-run --jsonchanges the CLI JSON contract, notpkg/sdk. Move this bullet into a dedicated Breaking (CLI) section so SDK consumers and JSON-output parsers can identify the migration they need.Suggested structure
📝 Committable suggestion
🤖 Prompt for AI Agents