Releases: IBM-Cloud/ibm-cloud-cli-sdk
Releases · IBM-Cloud/ibm-cloud-cli-sdk
v0.6.9
v0.6.8
Change Logs
Plugin API changes:
- add support for IKS compute resource IAM token exchange
Other changes:
- Support environment variables
IBMCLOUD_CR_TOKEN
andIBMCLOUD_CR_PROFILE
- Add
Profile
field in configuration file - Add configuration check settings (
IsLoggedInAsProfile
,HasTargetedProfile
,HasTargetedComputeResource
,CurrentProfile
,SetProfile
) in configuration file - Add
Authn
field toIAMTokenInfo
struct - Add new models
Authn
andProfile
- Add pre-commit hook configuration
- Update
CONTRIBUTING.md
v0.5.3
v0.5.2
Change Logs
Plug-in API changes
- update REST client to support parsing yaml response bodies
Other changes
- add unit tests to bluemix/trace
- add section to the developers guide doc on deprecation policy
- add section to the developers guide doc for targeting region/resource group
- add section to the developers guide doc for private endpoint support
- add .secrets.baseline
- correct package imports and update go vendors
Defects fixing
- address gosec findings
v0.5.1
v0.5.0
Change Logs
Plug-in API changes
- Support loading Cloud Foundry CLI config data version 4 or above
- Add
UsageStatsLastUpdate
inBXConfigData
- Add quiet mode to
UI
. The purpose is to provide capability to suppress unnecessary output so that plugin can provide a quite mode, which is particularly useful for automation.- Add
Quiet
toUI
. Also support environment variableIBMCLOUD_QUIET
. - Deprecate
UI.Say
. See below APIs for better options. - Add
UI.Verbose
which will print toStdErr
, and it will be suppressed under quiet mode. - Add
UI.Info
which will print toStdErr
, and it will be suppressed under quiet mode. This API is recommended for printing auxiliary messages. - Add
UI.Print
which will print toStdOut
. If you have meaningful data to output, prefer to use this API. - Change
UI.Failed
to printFAILED
toStdErr
, and that word will be suppressed under quiet mode.
- Add
v0.4.0
Change Logs
Plug-in API changes
- Add
LoginAt
in bothBXConfigData
andCFConfigData
- Add new error type
RefreshTokenExpiryError
Other changes
- Update plugin developer guide
- Skip dumping octet-stream data contents in tracing
Defects fixing
- JWT decoding should use base64 URL decoding, not standard encoding
- incorrect import path in code generation
v0.3.0
Change Logs
Plug-in API changes
PluginMetadata
struct addsDelegateBashCompletion
field to indicate whether bash auto-completion needs to be delegated to plug-in.Namespace
andCommand" struct add
Stagefield to annotate the stage of the command or commands in that namespace. The stage can be
experimental,
betaor deprecated
Other changes
- Adds plug-in example of bash auto-completion delegation
- Adds plug-in example of stage annotation
Defects fixing
- % in table text causing %(!MISSING)
- incorrect import path in code generation
v0.2.0
Change Logs
Plugin API changes:
- Update PluginMetadata to support multiple aliases of plugin, namespace and command.
- Update
PluginContext.IsLoggedIn()
to return true no matter user has logged in to IAM token service or UAA token service
Other changes:
- Support new configuration directory
~/.ibmcloud
(to replace~/.bluemix
in future) - Support environment variable prefix
IBMCLOUD_
(to replaceBLUEMIX_
in future) - Add
CFEETargeted
field in configuration file - Add plugin update check settings (
UpdateCheckInterval
,UpdateRetryCheckInterval
,UpdateNotificationInterval
) in configuration file UAARepository
returnsInvalidGrantTypeError
if error response ofinvalid_grant
code is received.
v0.1.1
Change Logs
PluginContext API changes
- New APIs
-HasTargetedCF()
to indicate whether the user has targeted Cloud Foundry
-CF()
returns the CFContext which has the following methods:- APIVersion(): returns the CF api version
- APIEndpoint(): returns the CF api endpoint
- HasAPIEndpoint(): indicates whether the CF has api endpoint set
- DopplerEndpoint(): returns the CF doppler api endpoint
- UAAEndpoint(): returns the CF UAA token service endpoint
- IsLoggedIn(): indicates whether user has logged into CF
- Username(): returns the user name of the CF UAA user
- UserEmail(): returns the email of the CF UAA user
- UserGUID(): returns the user guid of the CFF UAA user
- UAAToken(): returns the UAA access token
- UAARefreshToken(): returns the UAA refresh token
- CurrentOrganization(): returns the current organization the user has targeted
- HasTargetedOrganization(): indicates whether the user has targeted an organization
- CurrentSpace(): returns the current space the user has targeted
- HasTargetedSpace(): indicates whether the user has targeted a space
- Updated APIs
IsLoggedIn()
only checks whether the user has logged in IBM Cloud.Use CF().IsLoggedIn()
to check whether the user has logged in CFRegion()
changed toCurrentRegion()
Account()
changed toCurrentAccount()
ResourceGroup()
changed toCurrentResourceGroup()
Organization()
changed toCF().CurrentOrganization()
HasOrganization()
changed toCF().HasTargetedOrganization()
Space()
changed toCF().CurrentSpace()
HasSpace()
changed toCF().HasTargetedSpace()
- Deleted APIs
-Username()
, given username is not retrievable from IAM token
-UserGUID()
, given userGUID is not retrievable from IAM token
Other changes
- Command meta data adds
Hidden
field to hide the command when showing help message - Developer guide adds API doc link
- trace logger sanitizes X-Auth* header and token in request body
- SDK version is now stored in config file of the plugin
Defect fixing
- incorrect padding for cells with unicode
- terminal issue for ssh on ppc64le
ui.Failed()
prints message to trace logger- skip-ssl-validation setting not picked by cf config