Releases: IBM-Cloud/ibm-cloud-cli-release
v0.19.0
This version is deprecated. Install the latest release.
Change logs
Support custom attributes in IAM access policy
This release adds --attributes option to access policy commands. This allows user to specify custom attributes in the IAM policy other than the pre-defined ones.
Support authorization policy roles
Now roles specific to authorization policies can be specified in iam authorization-policy-create. iam roles command is also updated to query these roles by specifying the source service.
Support transparent roles
This release supports the query of actions that each IAM role can perform. iam roles command does not show the actions by default, use --roles option instead to specify the roles that you want to see the detailed actions.
Updated Commands
iam access-group-delete: adds-aoption to delete all groups with the same name without confirmation--attributesoption is added to the following commands to specify custom attributes in IAM policyiam user-policy-create,iam user-policy-updateiam service-policy-create,iam service-policy-updateiam access-group-policy-create,iam access-group-policy-update
iam roles: adds--resource-type,--source-serviceand--rolesoptionslogin: show deprecation message if-oor-sis specified
Bug Fixes
authorization-policy-create: CRN is displayed for some service instances instead of their GUID- legacy CLI app name
bxis printed in the help message ofslcommands
v0.18.2
This version is deprecated. Install the latest release.
Change logs
This release contains a few changes.
Updated Commands
plugin install: support semantic versioning for-voption. For details, see the command help.
Bug Fixes
- resolve multiple nil pointer exceptions in commands under
slnamespace
Other Changes
- upgrade to Go 1.12.9
v0.18.1
This version is deprecated. Install the latest release.
Change logs
This release contains a few bug fixes and minor changes.
Updated Commands
plugin list: when there is any error during retrieving plugin information, the command exit code will still be0(i.e. success). This change is to make it easier to write automation scripts.billing enterprise-usage: numbers are rounded off to 2 decimal places
Defect Fixes
billing enterprise-usage: JSON unmarshal error regarding number typessl securitygroup interface-list: nil pointer error
v0.18.0
This version is deprecated. Install the latest release.
Change logs
This release adds a set of new command lines to manage IBM Cloud enterprise account, account groups and accounts in an enterprise, as well as usage/billing of an enterprise.
IBM Cloud enterprises provide a way to centrally manage billing and resource usage across multiple accounts. Within an enterprise, you create a multitiered hierarchy of accounts, with billing and payments for all accounts managed at the enterprise level.
New Commands
enterprise create: create an enterpriseenterprise update: update the name of an enterpriseenterprise show: show the details of an enterpriseenterprise account-group-create: create an account group under an enterprise or account groupenterprise account-group-update: update the name of an account groupenterprise account-group: show the details of an account groupenterprise account-groups: list the account groups under an enterprise account or account groupenterprise account-create: create an account under an enterprise or account groupenterprise account-move: move an account to a different account group or directly under enterprise accountenterprise account-show: show the details of an account in an account group or enterpriseenterprise account-import: import a stand-alone account into an account group or enterprisebilling enterprise-usage: retrieve usage report of an enterprise
v0.17.0
This version is deprecated. Install the latest release.
Change logs
Updated Commands
account audit-logs: if both--start-dateand--end-dateare specified, all logs in-between will be printed.account update: improves prompt message of how to enable CSE.catalog search --output JSONandcatalog service --output JSON: only i18n strings of current locale are returned in the json outputcatalog template: adds--outputoptionhelp: updates layout of the help messageresource service-instance: shows the name of who created the service instance instead of UUID- improves prompt messages when refresh token expires
- add
--outputoptions to the following commands underaccountnamespaceaudit-logslistorg-accountorg-rolesspace-roles
Defect Fixing
iam access-group-user-addreturns zero when command partially succeedslogininaccurate error message when logging using API key into an account which the current user doesn't belong to anymoreloginfails when deprecated Bluemix API endpoint is targeted and-ois specified[y/n]in prompt is translated
Other Changes
- Upgrade to Go
1.12.7
Breaking Changes
- Default resource group will NOT be targeted if
-gis not specified inloginandtargetcommands. This will have impact on the some commands underresourcenamespace, because if you don't target a resource group, then they will assume to target at all resource groups. Besides, the following commands will fail if no resource group is targeted.cf-service-instance-migrateservice-instance-create
v0.16.3
This version is deprecated. Install the latest release.
Change logs
Removed Commands
- remove all commands under
sl cdnnamespace, given Softlayer CDN service is sunset
Defect Fixing
iam access-group-user-add: user ID email should be treated as case insensitive- commands under
slnamespace do not honor language setting billing account-usage: non-chargeable costs should haveNo chargeindication
v0.16.2
This version is deprecated. Install the latest release.
Change logs
Updated Commands
sl order place: support more order types
Defect Fixing
login,target: failed with 403 when targeting a resource group with name if the user doesn't have admin permission. This is a regression of version0.16.1.sl snapshot list: columnnameshould beuser_nameresource tag-attach,resource tag-detach: incorrect processing of--resource-idvalue
v0.16.1
This version is deprecated. Install the latest release.
Change logs
Use account owner user ID to target an account
Now account owner user ID (normally an email ) can be used as the value of -c flag of login and target commands. Note that a user can be the owner of multiple accounts. In this case, user will be be prompted for selection. GUID is still recommended in automation script to avoid suspending of the script execution.
Use resource group GUID to target resource group
Resource group GUID now can be used as the value of -g flag of login and target commands. This will help avoid error when the account has multiple resource groups with same name.
Fallback to default auto-completion
If no specific auto-completion is available, the CLI will fallback to default auto-completion logic of the current shell. With his feature, the user will be able to select a local file when specifying the input value of flags.
SoftLayer Infrastructure Rebranding
SoftLayer CLI description is changed from Gen1 Infrastructure to Classic Infrastructure
Updated commands
sl cdn options: refines message when response is emptyhelp: updates help doc link to https://ibm.biz/cli-docsresource service-instance-create,resource service-instance-update: adds description of possible values for--service-endpointsflagresource service-key-create,resource service-binding-create: adds description of possible values for--service-endpointflagplugin list,plugin show: shows stage informationcfee:create:NAME LOCATIONarguments are changed into-n, --nameand--location- adds
--virtual-dedicated-hardwareand--private-accessflags
create-location: adds--outputflagcreate-permission-get,create-permission-set: changes one target permission fromdeveloper role to the current space in the current org for provisioning Compose for PostgreSQLtoeditor role to the Databases for PostgreSQL serviceenvironments: addsZonesoutput
Defect Fixing
service-instance-create: erroneous search logic which may result in false errors riam service-key-create,iam service-key: output order is randomaccess-group-user-add: fail to add a user to access group ifteamDirectoryisfalse
v0.16.0
This version is deprecated. Install the latest release.
Change logs
Automatically change *.bluemix.net API endpoint to cloud.ibm.com for IBM Cloud public
If *.bluemix.net API endpoint is used for public cloud, they will be changed automatically to https://cloud.ibm.com
Customize the installation of bundled Cloud Foundry CLI
Starting from this release, ibmcloud cf install can be used to install a different version of Cloud Foundry CLI than the default bundled one. To restore the originally version, run ibmcloud cf install --restore.
Add "stage" support for namespaces and commands
A stage attribute is added to namespaces and commands, which will be highlighted in the description of the namespace and command. The stage can be "Experimental", "Beta" or "Deprecated".
Support auto-completion delegation to plug-ins
This release supports delegating auto-completion to plug-ins. Refer to plugin example for how to use it.
New commands
cf install: install a different version of CF CLI to replace the default bundled one.
Updated commands
iam authorization-poicy-createadds--source-service-accountflag to specify a different account than the current account.--output JSONflag is added to the following commands underiamnamespace:oauth-tokensrolesaccess-groupsaccess-groupaccess-group-createaccess-group-updateaccess-group-usersaccess-group-service-idsaccess-group-policiesaccess-group-policyaccess-group-policy-createaccess-group-policy-updateapi-keysapi-key-createapi-key-updateservice-api-keysservice-api-keyservice-api-key-createservice-api-key-updateservice-idsservice-idservice-id-createservice-id-updateservice-policiesservice-policyservice-policy-createservice-policy-updateuser-policiesuser-policyuser-policy-createuser-policy-update
Other Change
- Upgrade bundled Cloud Foundry CLI to
6.41.0 - Upgrade Go lang to
1.12.4
v0.15.1
This version is deprecated. Install the latest release.
Change logs
Updated commands
- Change flag name "columns" to "column" in the following commands ("columns" can still be used but will not show up in command help):
sl block access-listsl block volume-listsl file access-listsl file volume-listsl hardware listsl user listsl vs list
Defect Fixing
cfee create: wrong org id when requesting to create a new CFEE instanceresource service-instance-create: failed to create service instance due to incorrect parameter checkresource service-bindings: missing some bindingslogin:- arbitrary number of arguments are accepted
- no explicit error message when API key is not found
Other Change
- Update license