CF CLI v6.22.0 and v6.22.1 Released
Koper, Dies <diesk@...>
The CF CLI team just cut 6.22.1. Ignore 6.22.0.
Binaries and link to release notes are available at:
Improved help pages
The cf help page now lists commands in columns and no longer lists commands that app developers rarely use, or cannot use (such as admin-only commands).
This reduces the length of the output greatly, making it easier to discover commands.
The help page listing all commands and their descriptions is now available under cf help -a.
Also, the individual help pages for most commands have an added SEE ALSO section listing commands you would likely use together with the current command, or even consider instead.
Debian package repository
You can now use apt-get to install & update the cf CLI on Debian systems. On Ubuntu you'd:
# ...first add the Cloud Foundry Foundation public key and package repository to your system
$ wget -q -O - https://packages.cloudfoundry.org/debian/cli.cloudfoundry.org.key | sudo apt-key add -
$ echo "deb http://packages.cloudfoundry.org/debian stable main" | sudo tee /etc/apt/sources.list.d/cloudfoundry-cli.list
# ...then, update your local package index, then finally install the cf CLI
$ sudo apt-get update
$ sudo apt-get install cf-cli
RPM package repository
You can now use yum to install & update the cf CLI on Fedora systems (RHEL6/CentOS6 and up):
# ...first configure the Cloud Foundry Foundation package repository
$ sudo wget -O /etc/yum.repos.d/cloudfoundry-cli.repo https://packages.cloudfoundry.org/fedora/cloudfoundry-cli.repo
# ...then, install the cf CLI (which will also download and add the public key to your system)
$ sudo yum install cf-cli
Windows installation without administrator permissions
The Windows installer will now ask you whether you want to install the cf CLI for all users or only the current user.
The latter does not require administrator permissions, so should make the installation process easier on restricted systems. (#935<https://github.com/cloudfoundry/cli/issues/935>)
Note that to install the cf CLI for all users, the installer needs to be run as administrator (e.g. right-click on it and select "Run as administrator"), or else this option is disabled.
IBM has contributed updated translations of CLI messages again.
As the update came in mid-release and a number of message strings changed since, you may find some untranslated messages (in particular in the help pages). (#940<https://github.com/cloudfoundry/cli/pull/940>)
Mac OS Sierra
The cf CLI is now built with Golang 1.7.1, adding support for Mac OS Sierra as well as showing a reduction in filesize of binaries and installers for all platforms.
Bumped loggregator library
The bundled loggregator library (used to retrieve log files) was updated to the latest version, incorporating support for HTTP proxies with basic authentication. (#949<https://github.com/cloudfoundry/cli/issues/949>)
* A bug fix to the push command caused the uploaded archive with application files to no longer be compressed. This is now fixed. (#898<https://github.com/cloudfoundry/cli/issues/898>)
* A change in DNS resolution in Golang 1.5 caused resolution of domains to fail on Linux when the primary DNS server responded that the domain was not registered, instead of querying the next DNS server. There was a work-around that stopped working in CF CLI v6.17.1 when we started to statically link the Linux binaries. This issue is now fixed due to improvements in Golang 1.7.1. (#763<https://github.com/cloudfoundry/cli/issues/763>)
* install-plugin's -f option was not accepted as a stand-alone option in cf CLI 6.22.0. (#964<https://github.com/cloudfoundry/cli/issues/964>)
* bind-route-service's deprecated -f option was not accepted in cf CLI 6.22.0.
* plugins now lists the plugins in stable order. (#923<https://github.com/cloudfoundry/cli/issues/923>)
* help now lists the plugin commands in stable order.
* push now displays a better error message when omitting both application name and manifest filepath. (#920<https://github.com/cloudfoundry/cli/issues/920>)
* start no longer waits and polls for started application instances if the application has 0 instances. (#917<https://github.com/cloudfoundry/cli/issues/917>)
* Application start-up and staging related environment variables CF_STARTUP_TIMEOUT and CF_STAGING_TIMEOUT are now described in the relevant commands' help pages (push, start, restart, restage, copy-source) instead of the main help page.
* Standard error output from plugin commands is now propagated to the terminal. (#928<https://github.com/cloudfoundry/cli/issues/928>)
* The scope of keys in JSON output in CF trace that is redacted to prevent sensitive information to be logged is widened to cover any key that includes "password" and "token" (regardless of case). (#926<https://github.com/cloudfoundry/cli/pull/926>)
Cloud Foundry Product Manager - CLI