Skip to content

Releases: IBM-Cloud/ibm-cloud-cli-sdk

v0.8.1

06 Dec 21:40
d2042cb
Compare
Choose a tag to compare

Defects fixing

  • PluginContext.IsLoggedIn() now correctly checks if a user is logged in to the CLI. See #276 for more details.

Other changes:

  • Expose method DecodeAccessToken in core_config package.
  • Address gosec false positives

v0.8.0

18 Nov 21:57
212f07e
Compare
Choose a tag to compare

Change Logs

Plugin API changes:

  • Update PluginContext.RefreshIAMToken() to support fetching a new token when logged in to the CLI as a VPC VSI compute resource.
  • Add CRIType() to PluginContext
  • Add VPCCRITokenURL() to PluginContext
  • Add IsLoggedInAsCRI() to PluginContext

Defects fixing

  • Handled session inactive error when fetching IAM token.
  • Allow empty response body for responses with 204 status code.

Other changes:

  • Add CRTokenRequestWithCRN to bluemix/authentication/iam/iam.go.
  • Add support for VPC instance metadata service token exchange.
  • Add configuration check setting IsLoggedInAsCRI in configuration file.
  • Define github CODEOWNERS file
  • Enable Travis CI

v0.7.0

28 Oct 20:52
292584a
Compare
Choose a tag to compare

Change Logs

Plugin API changes:

  • PluginMetadata struct adds IsAccessFromVPC field to indicate if the plugin supports private endpoint access via VPC.
  • Update PluginContext.IAMEndpoint() to return the corresponding VPC private service endpoint if access is from a VPC.
  • Update PluginContext.ConsoleEndpoint() to return the corresponding VPC private service endpoint if access is from a VPC.
  • Update PluginContext.GetEndpoint() to return VPE endpoint of the core platform services when access is from a VPC.

Other changes:

  • Address gosec false positive
  • Add IsAccessFromVPC, ConsolePrivateVPCEndpoint, and IAMPrivateVPCEndpoint to configuration file.
  • Add configuration check setting IsAccessFromVPC()

v0.6.9

20 Sep 15:14
4e35a5b
Compare
Choose a tag to compare

Changes:

  • Add SessionID field to IAMTokenInfo struct
  • Address gosec false positive

v0.6.8

16 Sep 18:33
aeb0b24
Compare
Choose a tag to compare

Change Logs

Plugin API changes:

  • add support for IKS compute resource IAM token exchange

Other changes:

  • Support environment variables IBMCLOUD_CR_TOKEN and IBMCLOUD_CR_PROFILE
  • Add Profile field in configuration file
  • Add configuration check settings (IsLoggedInAsProfile, HasTargetedProfile, HasTargetedComputeResource, CurrentProfile, SetProfile) in configuration file
  • Add Authn field to IAMTokenInfo struct
  • Add new models Authn and Profile
  • Add pre-commit hook configuration
  • Update CONTRIBUTING.md

v0.5.3

02 Jun 19:55
9b63e2d
Compare
Choose a tag to compare

Change Logs

Other Changes

  • update private endpoint instructions

Defects fixing

  • use os.Chmod instead of file.Chmod for Windows compatibility in common/file_helpers/file.go

v0.5.2

21 May 14:47
c004bab
Compare
Choose a tag to compare

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

18 Jan 09:55
Compare
Choose a tag to compare

This version adds support for private endpoint.

  • Add PluginContext.GetEndpoint()
  • Add PluginContext.IsPrivateEndpointEnabled()

v0.5.0

25 Sep 10:33
Compare
Choose a tag to compare

Change Logs

Plug-in API changes

  • Support loading Cloud Foundry CLI config data version 4 or above
  • Add UsageStatsLastUpdate in BXConfigData
  • 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 to UI. Also support environment variable IBMCLOUD_QUIET.
    • Deprecate UI.Say. See below APIs for better options.
    • Add UI.Verbose which will print to StdErr, and it will be suppressed under quiet mode.
    • Add UI.Info which will print to StdErr, and it will be suppressed under quiet mode. This API is recommended for printing auxiliary messages.
    • Add UI.Print which will print to StdOut. If you have meaningful data to output, prefer to use this API.
    • Change UI.Failed to print FAILED to StdErr, and that word will be suppressed under quiet mode.

v0.4.0

25 Sep 10:18
Compare
Choose a tag to compare

Change Logs

Plug-in API changes

  • Add LoginAt in both BXConfigData and CFConfigData
  • 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