v3.5.1
v3.5.1
Date: 2026-07-28
Previous release: v3.5.0
Summary
Adds --filter-multi flag to deployments create for targeting multiple
devices via inventory filters.
Highlights
--filter-multiflag: Target all devices matching inventory filters
instead of requiring exactly one match. Useful for deploying to device
classes (e.g.--filter-multi "device_type=gateway").- Confirmation dialog: Shows matched device count before creating
deployment. Use--yesto skip for automation.
Example Usage
# Deploy to all gateways
mender-cli deployments create --release v2.0 --filter-multi "device_type=gateway"
# Combine multiple filters (AND logic)
mender-cli deployments create --release v2.0 \
--filter-multi "device_type=gateway" \
--filter-multi "tags/environment=production"
# Skip confirmation for automation
mender-cli deployments create --release v2.0 --filter-multi "device_type=gateway" --yesNotes
- Existing
--filterunchanged: The-f/--filterflag still requires
exactly one matching device, showing matched IDs in the error message when
multiple devices match. - Mutually exclusive:
--filter-multicannot be combined with--device,
-f/--filter,--group, or--all.
Upgrading
- No breaking changes. The new
--filter-multiflag is purely additive.