Skip to content
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

Api v7 #2833

Merged
merged 34 commits into from
Oct 25, 2024
Merged

Api v7 #2833

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
2bf7b81
Bump balena-sdk to 20.3.0
myarmolinsky Sep 16, 2024
2b656c2
Update `@balena/compose` to 5.0.0
myarmolinsky Sep 17, 2024
19be0fe
Replace device `should_be_running__release` with `is_pinned_on__release`
myarmolinsky Sep 16, 2024
61af57a
Update `release.contract` type from `string` to `JsonType`
myarmolinsky Sep 17, 2024
37e08e4
Update `actor` to use `PineDeferred` type
myarmolinsky Sep 17, 2024
afd1479
git mv v6 test-data api-responses to v7
myarmolinsky Sep 17, 2024
f0e0c0d
Update all API queries to use the v7 model
myarmolinsky Sep 17, 2024
56e5daf
Drop the `device.is_managed_by__device` property from test-data
myarmolinsky Sep 17, 2024
1ee9a68
Update device.overall_status comments with their respective replacements
myarmolinsky Sep 17, 2024
5adc43b
Update `image_size` type from number to string
myarmolinsky Sep 17, 2024
ec92f21
Drop the no longer needed __metadata property handling
myarmolinsky Sep 17, 2024
593233a
Tests: Drop unused `my_application` resource mock
myarmolinsky Oct 24, 2024
1275c11
Update `balena-preload` to 16.0.0
myarmolinsky Sep 17, 2024
d4b554d
Docs: Show whether an alias is deprecated
myarmolinsky Oct 23, 2024
13110cc
Deprecate `devices` command in favor of `device list`
myarmolinsky Sep 24, 2024
b6f8be2
Deprecate `api-keys` command in favor of `api-key list`
myarmolinsky Sep 24, 2024
71ef005
Deprecate `fleets` command in favor of `fleet list`
myarmolinsky Sep 24, 2024
35dce45
Deprecate `releases` command in favor of `release list`
myarmolinsky Sep 24, 2024
3251f04
Deprecate `keys` command in favor of `key list`
myarmolinsky Sep 24, 2024
3dee7bd
Deprecate `key` commands in favor of `ssh-key`
myarmolinsky Sep 25, 2024
bb80311
Deprecate `envs` command in favor of `env list`
myarmolinsky Sep 24, 2024
bc66feb
Deprecate `tags` command in favor of `tag list`
myarmolinsky Sep 25, 2024
c7a06f7
Deprecate `orgs` command in favor of `organization list`
myarmolinsky Sep 26, 2024
5db0c71
Deprecate `scan` command in favor of `device detect`
myarmolinsky Sep 26, 2024
c5d8f73
Deprecate `logs` command in favor of `device logs`
myarmolinsky Sep 26, 2024
8498502
Deprecate `ssh` command in favor of `device ssh`
myarmolinsky Sep 26, 2024
61ebf9e
Deprecate `env add` in favor of `env set`
myarmolinsky Sep 26, 2024
9d3f912
Deprecate `tunnel` command in favor of `device tunnel`
myarmolinsky Sep 26, 2024
8be069d
Deprecate `notes` command in favor of `device note`
myarmolinsky Sep 26, 2024
12923c9
Deprecate `devices supported` command in favor of `device-type list`
myarmolinsky Sep 26, 2024
de1821d
Stop checking for very old, long-removed commands
myarmolinsky Sep 26, 2024
d023d0a
Drop `-h` flag for help and stop manually adding `help` per command i…
myarmolinsky Sep 30, 2024
4b3fdcf
`device update`: Use detached HUP for os updates
Oct 21, 2024
07a7bd7
Deduplicate dependencies
myarmolinsky Oct 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion automation/capitanodoc/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,14 @@ function renderOclifCommand(command: Category['commands'][0]): string[] {
const result = [`## ${ent.encode(command.name || '')}`];
if (command.aliases?.length) {
result.push('### Aliases');
result.push(command.aliases.map((alias) => `- \`${alias}\``).join('\n'));
result.push(
command.aliases
.map(
(alias) =>
`- \`${alias}\`${command.deprecateAliases ? ' *(deprecated)*' : ''}`,
)
.join('\n'),
);
result.push(
`\nTo use one of the aliases, replace \`${command.name}\` with the alias.`,
);
Expand Down
2 changes: 1 addition & 1 deletion completion/_balena
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ _balena() {

_arguments -C \
'(- 1 *)--version[show version and exit]' \
'(- 1 *)'{-h,--help}'[show help options and exit]' \
'(- 1 *)--help[show help options and exit]' \
'1:first command:_balena_main_cmds' \
'2:second command:_balena_sec_cmds' \
&& ret=0
Expand Down
2 changes: 1 addition & 1 deletion completion/templates/zsh.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $sub_cmds$

_arguments -C \
'(- 1 *)--version[show version and exit]' \
'(- 1 *)'{-h,--help}'[show help options and exit]' \
'(- 1 *)--help[show help options and exit]' \
'1:first command:_balena_main_cmds' \
'2:second command:_balena_sec_cmds' \
&& ret=0
Expand Down
Loading
Loading