github cloudfoundry/cli v6.45.0

latest releases: v8.7.10, v7.7.10, v8.7.9...
4 years ago

Package Manager Installation

Installers

Binaries

Change Log

Known Issue with the log-cache-cli plugin

Recently changes (v6.44.0) were made to the CF CLI to no longer refresh authentication tokens in cases where we have an existing authentication token that has not yet expired.

In some circumstances users using the log-cache-cli plugin may see a temporary error when attempting to view logs for an application that has just been pushed. Log Cache maintains a one-minute cache on the server of the current applications associated with a token, and will reject requests for logs associated with an application it is not yet aware of.

As a workaround you can re-authenticate to obtain a new token or wait 60 seconds for the cache entry to be invalidated.

Using client credentials with cf oauth-token

This release adds support for using client credentials with the cf oauth-token command. This functionality was removed in cf CLI release 6.44.0; this release supports the workflow again but with changes in behavior:

  • it is no longer possible to re-authenticate and return a new token when using client credentials with cf oauth-token. See this issue for more information.
  • if your token is valid, running cf oauth-token returns the current token
  • if your token has expired, running cf oauth-token errors with a message to say that your access token has expired

For more information, please review this github issue and this tracker story.

Known issues with using client credentials

To prepare for this release, the cf CLI team did an exhaustive review of the client credential workflow:

  • we ran all our integration tests using client credentials story story
  • we checked for all the places in our codebase where we refresh the auth token story

We discovered the following issues with using client credentials:

  • ssh-code does not currently work with client credentials story
  • unrefactored commands will not print the client id in output text story

If you have any feedback about client credentials, please reach out to the UAA team (Cloud Foundry Slack #uaa), or the cf CLI team via a GitHub issue or on Cloud Foundry Slack #cli.

Bug Fixes

  • Fixes a regression for v3-push whilst viewing logs when authenticated as a client. Now you are able to see logs if you are logged in as a client and you attempt to view logs (cf logs for example).

Plugin Additions/Updates

  • Updated multiapps to 2.1.1 story
  • Updated cf-dev to 0.0.16 story

Contributors:

Will Murphy, Brendan Smith, Abby Chau, Andrew Crump, and Alexander Berezovsky

Note: The minimum version of the CC API this CF CLI release is compatible with is CC API v2.100.0 (3.35). See our minimum supported version policy for more information.

Don't miss a new cli release

NewReleases is sending notifications on new releases.