Skip to content

Releases: cloudfoundry/cli

v6.1.2

08 May 23:25
Compare
Choose a tag to compare

CF version v6.1.2

Installers

Binaries

Change Log

Document build process

[Finishes #70608194]

Always flush message queue when tailing logs

Downsides: there is now a global variable for how long we buffer
messages. This seems nicer than having to pass it along, because we
need to construct a priority queue when the log repo is initialized (or
at least, we felt that we needed to).

[Finishes #70788884]

Update README instructions for checking out the repo

My hope is that explaining how to get started with the repo will make it easier for
other contributors. These steps assume some basic knowledge of git and GO, but the
only way we will improve this documentation is to start improving it today and continue
to be sympathetic to pain the community feels in the future.

[Finishes #70686778]

Always zero-out the size of directories for resource matching

If you don't, then cloud controller gives you a nasty crash.

ALSO apparently you can never rely on the size of a directory being zero
if you're using the windows syscall GetFileAttributesEx.

(and golang's stdlib does use this syscall)

[Finishes #70470232] #157

Make requests to UAA about users more intelligently

This very simple change prevents us from making a request with an empty
filter that might return all of the users in the space.

[Finishes #70051880, 70130480]

Always zero-out the size of directories for resource matching

If you don't, then cloud controller gives you a nasty crash.

ALSO apparently you can never rely on the size of a directory being zero
if you're using the windows syscall GetFileAttributesEx.

(and golang's stdlib does use this syscall)

[Finishes #70470232] #157

Start removing more global state

It's been more than a little disappointing that we've had assertions in
our tests that rely on a global bool in a testhelper package. Changing
this for one test now so that we have a pattern to abide by later. My
hope is that we can root out the rest of these one by one.

[Finishes #68922816]

Make requests to UAA about users more intelligently

This very simple change prevents us from making a request with an empty
filter that might return all of the users in the space.

[Finishes #70051880, 70130480]

Merge pull request #159 from fraenkel/org_quota

Display the entire org quota information

[Finishes #70490234]

Refresh auth token for 'cf logs' when it expires.

[Finishes #66242222]

v6.1.1

24 Apr 17:17
Compare
Choose a tag to compare

CF version v6.1.1

Installers

Binaries

Change Log

  • New quota CRUD commands for admins
  • Only ignore manifest.yml at the app root directory [#70044992]
  • Updating loggregator library experimental support for proxies [#70022322]
  • Provide a --sso flag to cf login for SAML [#69963402, #69963432]
  • Do not use deprecated domain endpoints in cf push [#69827262]
  • Display X-Cf-Warnings at the end of all commands [#69300730]
  • Add an actor column to the cf events table [#68771710]

v6.1.0

24 Apr 17:11
Compare
Choose a tag to compare

CF version v6.1.0

Installers

Binaries

Change Log

Major changes and fixes in v6.1.0:

  • Refresh auth token at the beginning of 'cf push' [#69034628]
  • 'cf routes' should have an org and space requirement [#68917070]
  • Fix a bug with binding services in manifests [#68768046]
  • Make delete confirmation messages more consistent [#62852994]
  • Don't upload manifest.yml by default [#68952284]
  • Ignore mercurial metadata from app upload [#68952326]
  • Make delete commands output more consistent [#62283088]
  • Make create user command idempotent [#67241604]
  • Allow 'cf unset-env' to remove the last env var an app has [#68879028]
  • Add a datetime for when the binary was built [#68515588]
  • Omit application files when CC reports all files are staged [#68290696]
  • Show actual error message from server on async job failure [#65222140]
  • Use new domains endpoints based on API version [#64525814]
  • Use different events APIs based on API version [#64525814]
  • Updated help text and messaging
  • Events commands only shows last 50 events in reverse chronological order [#67248400, #63488318, #66900178]
  • Add -r flag to delete command for deleting all the routes mapped to the app [#65781990]
  • Scope route listed to the current space [#59926924]
  • Include empty directories when pushing apps [#63163454]
  • Fetch UAA endpoint in auth command [#68035332]
  • Improve error message when memory/disk is given w/o unit [#64359068]
  • Only allow positive instances, memory or disk in the push and scale commands [#66799710]
  • Allow passing "null" as a buildpack url for "cf push" [#67054262]
  • Add disk quota flag to push cmd [#65444560]
  • Add a script for updating links to stable release [#67993678]
  • Suggest using random-route when route is already taken [#66791058]
  • Prompt user for all password-type credentials in login [#67864534]
  • Add random-route property to manifests (push treats this the same as the --random-hostname flag) [#62086514]
  • Add --random-route flag to push command [#62086514]
  • Fix create-user when UAA is being directly used as auth server (if the authorization server doesn't return an UAA endpoint link, assume that the auth server is the UAA, and use it for user management) [#67477014]
  • 'cf create-user' hides private data in CF_TRACE [#67055200]
  • Persist SSLDisabled flag on config [#66528632]
  • Respect --skip-ssl-validation flag [#66528632]
  • Hide passwords in CF_TRACE [#67055218]
  • Improve 'cf api' and 'cf login' error message around SSL validation errors [#67048868]
  • In api command, fail if protocol not specified and ssl cert invalid [#67048868]
  • Clear session at beginning of auth command [#66638776]
  • When renaming targetted org, update org name in config file [#63087464]
  • Make target command clear org and space when necessary [#66713898]
  • Add a -f flag to scale to force [#64067896]
  • Add a confirmation prompt to scale command [#64067896]
  • Verify SSL certs when fetching buildpacks [#66365558]
  • OS X installer errors out when attempting to install on pre 10.7 [#66547206]
  • Add ability to scale app's disk limit [#65444078]
  • Switch out Gamble for candied yaml [#66181944]

v6.0.2

05 Mar 00:19
Compare
Choose a tag to compare
  • Fixed cf push -p path/to/app.zip on windows with zip files (eg: .zip, .war, .jar)

cf v6.0.1

25 Feb 01:26
Compare
Choose a tag to compare

Here's a list of features and fixes in v6.0.1 maintenance release:

  • Added purge-service-offering and migrate-service-instances commands
  • Added -a flag to org-users command that makes the command display all users, rather than only privileged users (#46)
  • Fixed a bug when manifest.yml was zero bytes
  • Improved error messages for commands that reference users (#79)
  • Fixed crash when a manifest didn't contain environment variables but there were environment variables set for the app previously
  • Improved error messages for commands that require an API endpoint to be set
  • Added timeout to all asynchronous requests
  • Fixed 'bad file descriptor' crash when API token expired before file upload
  • Added timestamps and version information to request logs when CF_TRACE is enabled
  • Added fallback to default log server endpoint for compatibility with older CF deployments
  • Improved error messages for services and target commands
  • Added support for URLs as arguments to create-buildpack command
  • Added a homebrew recipe for cf -- usage: brew install cloudfoundry-cli

cf v6.0.0

02 Feb 04:24
Compare
Choose a tag to compare

cf v6 is the next version of the Cloud Foundry command line client.

If you've been using the beta releases, the final release of v6 includes three of the most requested features: native installers on all major platforms (links below), cf curl (at last), and support for manifests. cf push with a manifest has two notable caveats:

  1. cf v6 no longer creates services from the manifest, however it will bind to existing services. Update your manifest like so:
---
services:
- service_1
- service_2
  1. Symbols such as $random-word and $target-base, as well as any other custom DSLs, are not currently supported.

Documentation is the final stages of completion -- links to come. In the meantime, use cf help to see a list of commands or append -h to any individual command to see its help.

cf v6 beta2

20 Dec 01:39
Compare
Choose a tag to compare
cf v6 beta2 Pre-release
Pre-release

This updated beta is for Cloud Foundry release 152 and up.

Changes:

  • many bug fixes and general flushing out of command options.
  • list commands such as gcf orgs now handle paginated api responses
  • Manifests: setting basic fields on a single application is now supported via a feature flag. Set the env var CF_MANIFEST=true to enable manifests. Once support for manifests is complete, this will no longer be necessary.

cf v6 beta

06 Nov 21:45
Compare
Choose a tag to compare
cf v6 beta Pre-release
Pre-release

The public beta of cf v6 is ready to download. During the beta period, the executable will be named gcf instead of cf. If you would prefer to completely switch to gcf now, you can use an alias to cf.

After an estimated four to six week beta period for community feedback, and once the application manifest work in cf v6 is complete, we will deprecate the Ruby cf v5 cli. At that point, cf v6 commands will be changed to use cf.

Installation instructions
Getting started overview

Run gcf help to view documentation all commands.

We're always looking for feedback (so please open issues) or fixes (so please open pull requests).

Preview release

07 Sep 00:25
Compare
Choose a tag to compare
Preview release Pre-release
Pre-release

This is a preview release of the new go-based cli tool. One of the big benefits of go is that it produces statically linked binaries that don't depend on any shared libraries - so installation is just downloading a file.

This is an early work in progress which you're welcome to try out, but realize that it's not yet a replacement for the cf gem.