Skip to content

v3.3.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 09:45
· 5 commits to master since this release

v3.3.0

Date: 2026-07-27
Previous release: v3.2.2

Summary

Adds comprehensive inventory group management commands: list devices in a group,
delete groups, bulk add/remove devices from groups, and per-device group
management (get/set/clear).

Highlights

  • mender-cli inventory groups get --name <name>: List all device IDs
    belonging to a static group (auto-paginated). Supports -r/--raw for JSON
    output.
  • mender-cli inventory groups delete --name <name>: Delete a static group
    by removing all devices from it. Requires interactive confirmation unless
    --yes is provided.
  • mender-cli inventory groups add-devices --name <name> DEVICE_ID...: Add
    one or more devices to a static group. Creates the group implicitly if it
    does not exist.
  • mender-cli inventory groups remove-devices --name <name> DEVICE_ID...:
    Remove one or more devices from a static group.
  • mender-cli inventory device-group get: Show which group a single device
    belongs to. Target with --id or -f/--filter.
  • mender-cli inventory device-group set --name <group>: Assign a device to
    a group. If the device is already in another group, it is moved. Target with
    --id or -f/--filter.
  • mender-cli inventory device-group clear: Remove a device from its
    current group. Target with --id or -f/--filter.

Notes

  • No explicit "create group" command: Groups are created implicitly when
    devices are added via add-devices or device-group set. This matches the
    Mender API behavior.
  • No "rename group" command: The API does not support group renaming. To
    rename, delete the old group and recreate with the new name.
  • Single group per device: A device can belong to at most one static group.
    Assigning to a new group automatically removes from the previous one.

Upgrading

  • No breaking changes. Existing commands and flags are unchanged; the new
    device-group subcommand tree and expanded groups subcommands are purely
    additive.