New Features
- general: Help and
config commandsshow all positional arguments with meaningful names and their type when not plain text, e.g.<account:Hash>,<account_id>,<path>,<source> <destination>. - general: Values of options and arguments with a schema owned by
ascli(e.g.ts,transfer,out,http_options) are validated: the error shows the path of the invalid element and the reason. New gem dependency:json_schemer. - general: Deprecation warnings, help and
config optionsshow the last version supporting a deprecated option and its replacement, e.g.deprecated after 4.27.0: use --out.level. - general: New Windows portable package
aspera-cli-<version>-windows-amd64-portable.zipin GitHub releases: includes Ruby, gems andascp, no installation nor administrator rights needed. - general: New options
--out.colorsand--out.utf8to enable or disable ANSI colors and Unicode characters in terminal output, instead of auto-detection. config:completion bash|zsh|fishdisplays the completion script of the shell, included in the gem: activate witheval "$(ascli config completion bash)"(see manual).config:optionsshows in columnallowedthe expected type of options without a list of values when not plain text, e.g.Hash,Integer,Hash|String.config:commandsaccepts an optional plugin name and command path, and shows sub-trees provided by another plugin (e.g.aoc files) as a reference unless optionexpand_mountsisyes.aoc:automationcovers the whole Automation API: newworkflows update_state|cancel_instances|delete_instances|permissions,instances cancel,steps,actions.console: New commandstransfer current submit,transfer smart pause,transfer queue <queue_id> list|move_forwards|move_back,endpoint list,ssh_key list,admin email_server_update|nodeapi_credentials_update.healthalso checkshealth/up. Help shows request body schemas.orchestrator:workflows start <workflow_id> [<parameters>] [<execution>]takes an optionalHashargumentexecution(synchronous,step,variable).
Issues Fixed
aoc,ats,cos,node,faspex5,shares: Help, shell completion andconfig commandsnow show all positional arguments and all sub-commands of commands executed on a node (e.g.aoc files permission <path> list).aoc:automationcommands were failing or misbehaving (workflows list,workflows action,instances).aoc:admin node do <id> transferandadmin workspace shared_folder <id> node <id> transferwere always failing: they now take the same arguments asfiles transfer.aoc:user contacts show|create|modify|deletewere failing.aoc:short_link create|modifywere ignoring the providedpasswordandaccess_levels.faspex5:admin account showwas failing,admin file_processing nextwas not available.shares:files spec|transportandadmin user|group all|local show|modify|delete <id>were failing.mcp: Secrets (e.g. fromconfig preset show) are now hidden in tool results.node:telemetrywithinterval0was rejected instead of sending a single measure.config: Optionsdk_folderwith valueproduct:<name>was taken as a folder path.config:transferd installwas failing when the download server sends aContent-Dispositionheader.config: On a new configuration,preset update|set|askwith a password, andpreset show|get|unset|delete GLOBAL, declared a global preset without creating it: all following commands were failing.preset deletealso removes default declarations referring to the deleted preset.config:optionsreturned empty rows with optionfieldsorselect.- general: Temporary files (e.g.
ascpfile list) could be deleted before use, causing random transfer failures:failed to open input file list(since 4.27.1). - general: Option
cert_storeswas adding to the system default locations instead of replacing them, as documented (useDEFto include the default). - general: Dot-path options:
--log.secrets=yeswas failing, indexes on anArrayoption were duplicating values,--show-configwas showing internal values for some options. - general: Help was failing when a schema enum contains
null,--query=helpwas missing parameters defined by$ref. - general: Log format
callershowed???with Ruby < 3.4. - general: The error for a missing default preset now suggests
config preset initializeinstead of obsolete commands.
Breaking Changes
- general: In dot-path values (e.g.
--ts.x=yes,config preset set),yesandnoare converted toBoolean: use@json:"yes"to get aString. In a structured value,out.table.pivotisfalse,trueorsingle. preview: Renamed optionmimemagictodetect_mime.server:ls|rm|mkdir|du|md5sum|mv|cprequire at least one path,df|infotake no argument.mv|cptake<source> <destination>pairs, or only sources with optionto_folder.console:transfer current change_rate|change_policyrequire a<data>argument instead of optionquery.transfer current move_forwards|move_backmoved totransfer queue <queue_id> move_forwards|move_back <transfer_id>.aoc:automation workflows action showreplaced byautomation actions show,automation instances modifyreplaced byautomation instances cancel.orchestrator: Optionssynchronousandresultare deprecated, use argumentexecutionofworkflows start.config:completion bash <words>renamedcompletion words <words>:completion bashnow displays the completion script. Scripts previously downloaded from folderetc/shall be replaced (see manual).