mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-09 20:32:06 +00:00
Merge branch 'master' into nvmrc
This commit is contained in:
commit
caae15ea96
@ -1,3 +1,392 @@
|
||||
- commits:
|
||||
- subject: "balena os initialize: Clarify that the process includes flashing"
|
||||
hash: e46902e6839eeb2f59f445aeef94500bd34b8c14
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Heath Raftery
|
||||
nested: []
|
||||
version: 14.4.1
|
||||
title: "'Add to description that command is device specific'"
|
||||
date: 2022-10-12T13:55:50.416Z
|
||||
- commits:
|
||||
- subject: "device register: Add support for the `--deviceType` option"
|
||||
hash: 34b4ac2d9f4a759a1e9c1f313bd2e6691f8f8c12
|
||||
body: ""
|
||||
footer:
|
||||
Resolves: "#2531"
|
||||
resolves: "#2531"
|
||||
Change-type: minor
|
||||
change-type: minor
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
- subject: Update balena-sdk to 16.28.0
|
||||
hash: f99244603a22abb27e37d8df7a2d6ebf3711ab9f
|
||||
body: |
|
||||
Update balena-sdk from 16.22.0 to 16.28.0
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested:
|
||||
- commits:
|
||||
- subject: "device.register: Allow providing a device type for the registered
|
||||
device"
|
||||
hash: 93c69c7dd734618220dddedf1acbbd764b337ff7
|
||||
body: ""
|
||||
footer:
|
||||
Resolves: "#1270"
|
||||
resolves: "#1270"
|
||||
Change-type: minor
|
||||
change-type: minor
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.28.0
|
||||
title: ""
|
||||
date: 2022-10-12T06:43:28.586Z
|
||||
- commits:
|
||||
- subject: Add support for batch operations for more device modifying methods
|
||||
hash: 4c506a79bab2e3ec7203db0d1a672f1c5056b729
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: minor
|
||||
change-type: minor
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.27.0
|
||||
title: ""
|
||||
date: 2022-10-07T18:42:53.725Z
|
||||
- commits:
|
||||
- subject: Fix request batching chunking when there is no grouping navigation prop
|
||||
hash: 41df48a6304f12979e4f1df77227eec41362904c
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
- subject: "request-batching: Increase the batch size to 200 items"
|
||||
hash: 1f72425be70cffa9a236a491e273ddcb0ffc090e
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.26.7
|
||||
title: ""
|
||||
date: 2022-10-07T15:44:16.819Z
|
||||
- commits:
|
||||
- subject: Fix request batching not chunking the items of the operation
|
||||
hash: a496304b655a83bd4ccdc1a90de1ad9132f478c0
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
See: "#1257"
|
||||
see: "#1257"
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.26.6
|
||||
title: ""
|
||||
date: 2022-10-06T23:54:12.408Z
|
||||
- commits:
|
||||
- subject: Delete redundant .resinci.yml
|
||||
hash: 0157a7b278b3b18316eef83cc65f0c6aeaafed9a
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Pagan Gazzard
|
||||
nested: []
|
||||
version: balena-sdk-16.26.5
|
||||
title: ""
|
||||
date: 2022-09-26T12:55:45.316Z
|
||||
- commits:
|
||||
- subject: Remove moment in favor of date-fns
|
||||
hash: eeb54985a14acd5b8500edf90bd0a0cd60237008
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Matthew Yarmolinsky <matthew-timothy@balena.io>
|
||||
signed-off-by: Matthew Yarmolinsky <matthew-timothy@balena.io>
|
||||
author: Matthew Yarmolinsky
|
||||
nested: []
|
||||
version: balena-sdk-16.26.4
|
||||
title: ""
|
||||
date: 2022-09-23T17:04:35.961Z
|
||||
- commits:
|
||||
- subject: Skip running tests in flowzone till we can inject env vars
|
||||
hash: d1cbd35bbab56ca806abb2e12b2959106d98d54d
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
- subject: Switch from balenaCI to flowzone
|
||||
hash: 93c029e00dccef2401cfa8db36cc6b77cd14bf6b
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Pagan Gazzard
|
||||
nested: []
|
||||
version: balena-sdk-16.26.3
|
||||
title: ""
|
||||
date: 2022-09-21T12:49:23.400Z
|
||||
- commits:
|
||||
- subject: Update balena-register-device to 8.0.0
|
||||
hash: 1eb28196a8e773a1ba3f1bfbeb455c8abac0b432
|
||||
body: |
|
||||
Update balena-register-device from 7.1.0 to 8.0.0
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested:
|
||||
- commits:
|
||||
- subject: Remove the travis & appveyor configurations
|
||||
hash: 32c19504ca79ec134b34e30a4e6a52157a7b0bd6
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Thodoris Greasidis
|
||||
- subject: "tsconfig: Enable strict type checking"
|
||||
hash: 77b5211af6f87c364302342f24f9f95bc6c8ba35
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Thodoris Greasidis
|
||||
- subject: Update devDependencies
|
||||
hash: 32a482be80c978b3c8f83a2335a17c70a224cb52
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Thodoris Greasidis
|
||||
- subject: Update the uuid package to v9
|
||||
hash: 4567f824d6f45c825594fda3ec7c4b8e5f3ea561
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Thodoris Greasidis
|
||||
- subject: Prevent creating a package-lock.json
|
||||
hash: 3c0e432980a30a1fb0678acd8d0459bd53d69565
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Thodoris Greasidis
|
||||
- subject: Drop support for node 10 in favor of 14 & 16
|
||||
hash: ea7c5670950918363380cff9576a082abad6dbb9
|
||||
body: |
|
||||
That's required in order to update uuid to v9.
|
||||
footer:
|
||||
Change-type: major
|
||||
change-type: major
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
version: balena-register-device-8.0.0
|
||||
title: "'Drop node 10 in favor of 14 & 16 & update the uuid package to v9'"
|
||||
date: 2022-09-06T12:49:29.202Z
|
||||
- commits:
|
||||
- subject: Support `supervisorVersion`/`osVersion`/`osVariant`/`macAddress` fields
|
||||
hash: 6f10fe77ba11ec57bb012777975423dda498a8bd
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: minor
|
||||
change-type: minor
|
||||
author: Pagan Gazzard
|
||||
version: balena-register-device-7.2.0
|
||||
date: 2021-04-29T12:35:30.543Z
|
||||
- commits:
|
||||
- subject: Update dependencies
|
||||
hash: 8d78459d6cf6e0dcaa4721c38898eeb2d25c5674
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
author: Pagan Gazzard
|
||||
version: balena-register-device-7.1.1
|
||||
date: 2021-04-29T12:23:50.655Z
|
||||
version: balena-sdk-16.26.2
|
||||
title: "'Update balena-register-device to 8.0.0'"
|
||||
date: 2022-09-06T14:13:05.260Z
|
||||
- commits:
|
||||
- subject: Update TypeScript to v4.8
|
||||
hash: b1e463143d532718b525481c0098431c20353300
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.26.1
|
||||
title: "'Update TypeScript to v4.8'"
|
||||
date: 2022-08-29T07:13:05.100Z
|
||||
- commits:
|
||||
- subject: Pin TypeScript to 4.7 until upstream dependencies are updated
|
||||
hash: 979b2a6c29734da792fc2d4fbd1644637c34c66c
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
- subject: "types: Add the InvitationTokenDecodedPayload type"
|
||||
hash: c0877db26efbde5907d6b322e58c21570c6adc35
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: minor
|
||||
change-type: minor
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.26.0
|
||||
title: "'types: Add the InvitationTokenDecodedPayload type'"
|
||||
date: 2022-08-26T08:34:23.591Z
|
||||
- commits:
|
||||
- subject: Deprecate the public_key from the user JWT
|
||||
hash: 51f0d62d9e71aaa99565b3ffd03637f201422b08
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.25.1
|
||||
title: "'Deprecate the public_key from the user JWT'"
|
||||
date: 2022-08-05T11:58:08.709Z
|
||||
- commits:
|
||||
- subject: "application.remove: Support batch deletions by providing multiple IDs"
|
||||
hash: 8238a338e95f773e4ff439dcb93b275ff0250d64
|
||||
body: ""
|
||||
footer:
|
||||
Resolves: "#1255"
|
||||
resolves: "#1255"
|
||||
Change-type: minor
|
||||
change-type: minor
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
- subject: Refactor the request batching implementation to be generic
|
||||
hash: c3eeda42c2924d1d84beeca7077fd3aa7c6a8d1b
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
- subject: Change pine options merging to extend the default `$select`ed
|
||||
properties
|
||||
hash: 47dd4bd69f49589717e635f5dc8903b056f449be
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: minor
|
||||
change-type: minor
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.25.0
|
||||
title: "'application.remove: Support batch deletions by providing multiple IDs'"
|
||||
date: 2022-08-04T14:10:56.891Z
|
||||
- commits:
|
||||
- subject: Refactor the internal mergePineOptions utility
|
||||
hash: 5a0fb3952dfd79aa73be3c4dec5cf75ca7c7810a
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.24.2
|
||||
title: "'Refactor the internal mergePineOptions utility'"
|
||||
date: 2022-08-02T16:55:58.822Z
|
||||
- commits:
|
||||
- subject: Update Husky to v7
|
||||
hash: 9aab4c042d26b23838bf6faeb7b5ebae9b382e04
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: patch
|
||||
change-type: patch
|
||||
See: https://typicode.github.io/husky/#/?id=migrate-from-v4-to-v8
|
||||
see: https://typicode.github.io/husky/#/?id=migrate-from-v4-to-v8
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.24.1
|
||||
title: "'Update Husky to v7'"
|
||||
date: 2022-07-21T14:04:26.953Z
|
||||
- commits:
|
||||
- subject: "types: Add missing Application to Service relation"
|
||||
hash: a38ced5f200903d96ab3e6e13c3efb3f3761414e
|
||||
body: ""
|
||||
footer:
|
||||
Change-type: minor
|
||||
change-type: minor
|
||||
Signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
signed-off-by: Thodoris Greasidis <thodoris@balena.io>
|
||||
author: Thodoris Greasidis
|
||||
nested: []
|
||||
version: balena-sdk-16.24.0
|
||||
title: "'types: Add missing Application to Service relation'"
|
||||
date: 2022-07-08T17:43:16.397Z
|
||||
- commits:
|
||||
- subject: Add expiry-date for generation of user and device keys
|
||||
hash: 9ed3643ed9e2180ee9b4aef3c32a1d5a745d554a
|
||||
body: ""
|
||||
footer:
|
||||
Change-Type: minor
|
||||
change-type: minor
|
||||
Signed-off-by: Nitish Agarwal <1592163+nitishagar@users.noreply.github.com>
|
||||
signed-off-by: Nitish Agarwal <1592163+nitishagar@users.noreply.github.com>
|
||||
author: Nitish Agarwal
|
||||
nested: []
|
||||
version: balena-sdk-16.23.0
|
||||
title: "'Add expiryDate for generation of user and device keys'"
|
||||
date: 2022-07-07T12:22:14.983Z
|
||||
version: 14.4.0
|
||||
title: "'device register: Add support for the option'"
|
||||
date: 2022-10-12T12:30:20.793Z
|
||||
- commits:
|
||||
- subject: Add unified OS versions in the examples of the device & os commands
|
||||
hash: a117dc0382c7644b23b00940229e0794d7249b59
|
||||
|
104
CHANGELOG.md
104
CHANGELOG.md
@ -4,6 +4,110 @@ All notable changes to this project will be documented in this file
|
||||
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
## 14.4.1 - 2022-10-12
|
||||
|
||||
* balena os initialize: Clarify that the process includes flashing [Heath Raftery]
|
||||
|
||||
## 14.4.0 - 2022-10-12
|
||||
|
||||
* device register: Add support for the `--deviceType` option [Thodoris Greasidis]
|
||||
|
||||
<details>
|
||||
<summary> Update balena-sdk to 16.28.0 [Thodoris Greasidis] </summary>
|
||||
|
||||
> ### balena-sdk-16.28.0 - 2022-10-12
|
||||
>
|
||||
> * device.register: Allow providing a device type for the registered device [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.27.0 - 2022-10-07
|
||||
>
|
||||
> * Add support for batch operations for more device modifying methods [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.26.7 - 2022-10-07
|
||||
>
|
||||
> * Fix request batching chunking when there is no grouping navigation prop [Thodoris Greasidis]
|
||||
> * request-batching: Increase the batch size to 200 items [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.26.6 - 2022-10-06
|
||||
>
|
||||
> * Fix request batching not chunking the items of the operation [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.26.5 - 2022-09-26
|
||||
>
|
||||
> * Delete redundant .resinci.yml [Pagan Gazzard]
|
||||
>
|
||||
> ### balena-sdk-16.26.4 - 2022-09-23
|
||||
>
|
||||
> * Remove moment in favor of date-fns [Matthew Yarmolinsky]
|
||||
>
|
||||
> ### balena-sdk-16.26.3 - 2022-09-21
|
||||
>
|
||||
> * Skip running tests in flowzone till we can inject env vars [Thodoris Greasidis]
|
||||
> * Switch from balenaCI to flowzone [Pagan Gazzard]
|
||||
>
|
||||
> ### balena-sdk-16.26.2 - 2022-09-06
|
||||
>
|
||||
>
|
||||
> <details>
|
||||
> <summary> Update balena-register-device to 8.0.0 [Thodoris Greasidis] </summary>
|
||||
>
|
||||
>> #### balena-register-device-8.0.0 - 2022-09-06
|
||||
>>
|
||||
>> * Remove the travis & appveyor configurations [Thodoris Greasidis]
|
||||
>> * tsconfig: Enable strict type checking [Thodoris Greasidis]
|
||||
>> * Update devDependencies [Thodoris Greasidis]
|
||||
>> * Update the uuid package to v9 [Thodoris Greasidis]
|
||||
>> * Prevent creating a package-lock.json [Thodoris Greasidis]
|
||||
>> * Drop support for node 10 in favor of 14 & 16 [Thodoris Greasidis]
|
||||
>>
|
||||
>> #### balena-register-device-7.2.0 - 2021-04-29
|
||||
>>
|
||||
>> * Support `supervisorVersion`/`osVersion`/`osVariant`/`macAddress` fields [Pagan Gazzard]
|
||||
>>
|
||||
>> #### balena-register-device-7.1.1 - 2021-04-29
|
||||
>>
|
||||
>> * Update dependencies [Pagan Gazzard]
|
||||
>>
|
||||
> </details>
|
||||
>
|
||||
>
|
||||
> ### balena-sdk-16.26.1 - 2022-08-29
|
||||
>
|
||||
> * Update TypeScript to v4.8 [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.26.0 - 2022-08-26
|
||||
>
|
||||
> * Pin TypeScript to 4.7 until upstream dependencies are updated [Thodoris Greasidis]
|
||||
> * types: Add the InvitationTokenDecodedPayload type [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.25.1 - 2022-08-05
|
||||
>
|
||||
> * Deprecate the public_key from the user JWT [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.25.0 - 2022-08-04
|
||||
>
|
||||
> * application.remove: Support batch deletions by providing multiple IDs [Thodoris Greasidis]
|
||||
> * Refactor the request batching implementation to be generic [Thodoris Greasidis]
|
||||
> * Change pine options merging to extend the default `$select`ed properties [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.24.2 - 2022-08-02
|
||||
>
|
||||
> * Refactor the internal mergePineOptions utility [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.24.1 - 2022-07-21
|
||||
>
|
||||
> * Update Husky to v7 [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.24.0 - 2022-07-08
|
||||
>
|
||||
> * types: Add missing Application to Service relation [Thodoris Greasidis]
|
||||
>
|
||||
> ### balena-sdk-16.23.0 - 2022-07-07
|
||||
>
|
||||
> * Add expiry-date for generation of user and device keys [Nitish Agarwal]
|
||||
>
|
||||
</details>
|
||||
|
||||
## 14.3.1 - 2022-09-06
|
||||
|
||||
* Add unified OS versions in the examples of the device & os commands [Thodoris Greasidis]
|
||||
|
@ -1037,6 +1037,7 @@ Examples:
|
||||
$ balena device register MyFleet
|
||||
$ balena device register MyFleet --uuid <uuid>
|
||||
$ balena device register myorg/myfleet --uuid <uuid>
|
||||
$ balena device register myorg/myfleet --uuid <uuid> --deviceType <deviceTypeSlug>
|
||||
|
||||
### Arguments
|
||||
|
||||
@ -1050,6 +1051,10 @@ fleet name or slug (preferred)
|
||||
|
||||
custom uuid
|
||||
|
||||
#### --deviceType DEVICETYPE
|
||||
|
||||
device type slug (run 'balena devices supported' for possible values)
|
||||
|
||||
## device rename <uuid> [newName]
|
||||
|
||||
Rename a device.
|
||||
@ -2256,7 +2261,9 @@ expiry date assigned to generated provisioning api key (format: YYYY-MM-DD)
|
||||
## os initialize <image>
|
||||
|
||||
Initialize an os image for a device with a previously
|
||||
configured operating system image.
|
||||
configured operating system image and flash the
|
||||
an external storage drive or the device's storage
|
||||
medium depending on the device type.
|
||||
|
||||
|
||||
Note: Initializing the device may ask for administrative permissions
|
||||
|
@ -25,6 +25,7 @@ import { applicationIdInfo } from '../../utils/messages';
|
||||
|
||||
interface FlagsDef {
|
||||
uuid?: string;
|
||||
deviceType?: string;
|
||||
help: void;
|
||||
}
|
||||
|
||||
@ -47,6 +48,7 @@ export default class DeviceRegisterCmd extends Command {
|
||||
'$ balena device register MyFleet',
|
||||
'$ balena device register MyFleet --uuid <uuid>',
|
||||
'$ balena device register myorg/myfleet --uuid <uuid>',
|
||||
'$ balena device register myorg/myfleet --uuid <uuid> --deviceType <deviceTypeSlug>',
|
||||
];
|
||||
|
||||
public static args: Array<IArg<any>> = [ca.fleetRequired];
|
||||
@ -58,6 +60,10 @@ export default class DeviceRegisterCmd extends Command {
|
||||
description: 'custom uuid',
|
||||
char: 'u',
|
||||
}),
|
||||
deviceType: flags.string({
|
||||
description:
|
||||
"device type slug (run 'balena devices supported' for possible values)",
|
||||
}),
|
||||
help: cf.help,
|
||||
};
|
||||
|
||||
@ -77,7 +83,11 @@ export default class DeviceRegisterCmd extends Command {
|
||||
|
||||
console.info(`Registering to ${application.slug}: ${uuid}`);
|
||||
|
||||
const result = await balena.models.device.register(application.id, uuid);
|
||||
const result = await balena.models.device.register(
|
||||
application.id,
|
||||
uuid,
|
||||
options.deviceType,
|
||||
);
|
||||
|
||||
return result && result.uuid;
|
||||
}
|
||||
|
@ -42,7 +42,9 @@ export default class OsInitializeCmd extends Command {
|
||||
Initialize an os image for a device.
|
||||
|
||||
Initialize an os image for a device with a previously
|
||||
configured operating system image.
|
||||
configured operating system image and flash the
|
||||
an external storage drive or the device's storage
|
||||
medium depending on the device type.
|
||||
${INIT_WARNING_MESSAGE}
|
||||
`;
|
||||
|
||||
|
49
npm-shrinkwrap.json
generated
49
npm-shrinkwrap.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "balena-cli",
|
||||
"version": "14.3.1",
|
||||
"version": "14.4.1",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
@ -4000,9 +4000,9 @@
|
||||
}
|
||||
},
|
||||
"balena-sdk": {
|
||||
"version": "16.22.0",
|
||||
"resolved": "https://registry.npmjs.org/balena-sdk/-/balena-sdk-16.22.0.tgz",
|
||||
"integrity": "sha512-HTEC8fYD0SZDlqgn0gcQ7EWliL9XIiGQ/P3f6xxvs4Nj0mG5wYtFrqK8dC6NAR0VQQxzWJtvM6iDFhshLIes7A==",
|
||||
"version": "16.28.0",
|
||||
"resolved": "https://registry.npmjs.org/balena-sdk/-/balena-sdk-16.28.0.tgz",
|
||||
"integrity": "sha512-pbpFavnCRxhWuXazKiJd9nKXi+ZbCEx87zbvCtgOxcSxf9ZkV1ypDUNSWsIjwjfp7Svyl/67OWYoQDwpMve1tg==",
|
||||
"requires": {
|
||||
"@balena/es-version": "^1.0.0",
|
||||
"@types/json-schema": "^7.0.9",
|
||||
@ -4011,13 +4011,13 @@
|
||||
"balena-auth": "^4.1.0",
|
||||
"balena-errors": "^4.7.1",
|
||||
"balena-hup-action-utils": "~4.1.0",
|
||||
"balena-register-device": "^7.1.0",
|
||||
"balena-register-device": "^8.0.0",
|
||||
"balena-request": "^11.5.5",
|
||||
"balena-semver": "^2.3.0",
|
||||
"balena-settings-client": "^4.0.6",
|
||||
"date-fns": "^2.29.3",
|
||||
"lodash": "^4.17.21",
|
||||
"memoizee": "^0.4.15",
|
||||
"moment": "^2.29.1",
|
||||
"ndjson": "^2.0.0",
|
||||
"pinejs-client-core": "^6.9.6",
|
||||
"tslib": "^2.1.0"
|
||||
@ -4029,18 +4029,29 @@
|
||||
"integrity": "sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ=="
|
||||
},
|
||||
"balena-hup-action-utils": {
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/balena-hup-action-utils/-/balena-hup-action-utils-4.1.1.tgz",
|
||||
"integrity": "sha512-VpyH3py5NPMBJe1fwj5NFUeq58i2V5VaXU1EMa0ja/kUCUwTM1HL5nfNNOU3bd66V+VGqCw49iO7Wppccg3pPg==",
|
||||
"version": "4.1.3",
|
||||
"resolved": "https://registry.npmjs.org/balena-hup-action-utils/-/balena-hup-action-utils-4.1.3.tgz",
|
||||
"integrity": "sha512-98SK5oTPgTKWsbEmPk0juI/ivT5qADsj/y+/B39I47lbDfPuhF/kHpgMI+xQCtT/GS+Dy3omkgY4nEcRI4CeoQ==",
|
||||
"requires": {
|
||||
"balena-semver": "^2.0.0",
|
||||
"tslib": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"balena-register-device": {
|
||||
"version": "8.0.4",
|
||||
"resolved": "https://registry.npmjs.org/balena-register-device/-/balena-register-device-8.0.4.tgz",
|
||||
"integrity": "sha512-4ziyefKEkdrzerwrrdEGq3hvY8wbzm+0iH3F+ZJAIVgxpYELfudNXQj8GJXHWzclUNbdBun7G5yiYpmdLs5G+g==",
|
||||
"requires": {
|
||||
"@types/uuid": "^8.3.0",
|
||||
"tslib": "^2.2.0",
|
||||
"typed-error": "^3.2.1",
|
||||
"uuid": "^9.0.0"
|
||||
}
|
||||
},
|
||||
"balena-request": {
|
||||
"version": "11.5.5",
|
||||
"resolved": "https://registry.npmjs.org/balena-request/-/balena-request-11.5.5.tgz",
|
||||
"integrity": "sha512-sQG+OBAUKOW4KENPRGqit/34l3kWZqoT+aUdpitIG8QdKUrRjKQkjkCmDzprDEDJuXfWoCToKdleN9tYwRCXEw==",
|
||||
"version": "11.5.9",
|
||||
"resolved": "https://registry.npmjs.org/balena-request/-/balena-request-11.5.9.tgz",
|
||||
"integrity": "sha512-SOnqpdySUdFNO6MLv187Q64EgJjytLxfkpst8amiPYt6EA591U0DQiZwwkUwNl+cg+YvkytEBWRYcWOhoTFcrg==",
|
||||
"requires": {
|
||||
"@balena/node-web-streams": "^0.2.3",
|
||||
"balena-errors": "^4.7.1",
|
||||
@ -4051,10 +4062,20 @@
|
||||
"tslib": "^2.0.0"
|
||||
}
|
||||
},
|
||||
"date-fns": {
|
||||
"version": "2.29.3",
|
||||
"resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.29.3.tgz",
|
||||
"integrity": "sha512-dDCnyH2WnnKusqvZZ6+jA1O51Ibt8ZMRNkDZdyAyK4YfbDwa/cEmuztzG5pk6hqlp9aSBPYcjOlktquahGwGeA=="
|
||||
},
|
||||
"tslib": {
|
||||
"version": "2.4.0",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz",
|
||||
"integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ=="
|
||||
},
|
||||
"uuid": {
|
||||
"version": "9.0.0",
|
||||
"resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.0.tgz",
|
||||
"integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg=="
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -4595,7 +4616,7 @@
|
||||
"buffer-shims": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/buffer-shims/-/buffer-shims-1.0.0.tgz",
|
||||
"integrity": "sha1-mXjOMXOIxkmth5MCjDR37wRKi1E="
|
||||
"integrity": "sha512-Zy8ZXMyxIT6RMTeY7OP/bDndfj6bwCan7SS98CEndS6deHwWPpseeHlwarNcBim+etXnF9HBc1non5JgDaJU1g=="
|
||||
},
|
||||
"buffers": {
|
||||
"version": "0.1.1",
|
||||
@ -16888,7 +16909,7 @@
|
||||
"bluebird": {
|
||||
"version": "3.4.7",
|
||||
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.4.7.tgz",
|
||||
"integrity": "sha1-9y12C+Cbf3bQjtj66Ysomo0F+rM="
|
||||
"integrity": "sha512-iD3898SR7sWVRHbiQv+sHUtHnMvC1o3nW5rAcqnq3uOn07DSAppZYUkIGslDz6gXC7HfunPe7YVBgoEJASPcHA=="
|
||||
},
|
||||
"process-nextick-args": {
|
||||
"version": "1.0.7",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "balena-cli",
|
||||
"version": "14.3.1",
|
||||
"version": "14.4.1",
|
||||
"description": "The official balena Command Line Interface",
|
||||
"main": "./build/app.js",
|
||||
"homepage": "https://github.com/balena-io/balena-cli",
|
||||
@ -209,7 +209,7 @@
|
||||
"balena-image-fs": "^7.0.6",
|
||||
"balena-image-manager": "^8.0.0",
|
||||
"balena-preload": "^12.1.0",
|
||||
"balena-sdk": "^16.22.0",
|
||||
"balena-sdk": "^16.28.0",
|
||||
"balena-semver": "^2.3.0",
|
||||
"balena-settings-client": "^4.0.7",
|
||||
"balena-settings-storage": "^7.0.0",
|
||||
@ -285,6 +285,6 @@
|
||||
"windosu": "^0.3.0"
|
||||
},
|
||||
"versionist": {
|
||||
"publishedAt": "2022-09-06T10:29:10.499Z"
|
||||
"publishedAt": "2022-10-12T13:55:51.707Z"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user