Skip to content

Releases: cloudfoundry/cli

v6.6.2

17 Oct 21:20
Compare
Choose a tag to compare

CF version v6.6.2

Installers

Binaries

Change Log

  • Bump version to 6.6.2
  • Update usage text for install/uninstall-plugin [finishes #80770062][finishes #80701742]
  • Move test setup into beforeEach of plan_builder_test
  • Fix install_plugin usage text [finshes #80701742]
  • security group commands show tip about changes requiring restart [Finishes #75375696]
  • Remove unused scripts (moved for gocd) [#78508732]
  • update correct fixture path in test code
  • update transaltions for uninstall plugin description text
  • stop translating commands, add missed translated strings
  • Tar exectutables before uploading artifacts from gocd
  • Update build-and-release-gocd tooling
  • Potential fix for windows gocd timeout.
  • Fix for flakey tests in rpc package.
  • Use 32 bit binary to get version when building installers
  • Revert "Get version from 32bit binary, since the agent is 32bit" This reverts commit 8f7ff83.
  • Implemented plugins advertising their own name. - Name space with plugin name instead of binary name.
  • Expose plugins directory as part of plugin configuration object
  • Cli and plugins ping each other for availability. If the ping fails,
    they will stop the servers after 1 second. [Finishes #79964866]
  • Refacto plugin/rpc to setup bidirectional communication [#79964866]
  • Refactor install plugin to use counterfeiter fake. [#79964866]
  • Plugin pings cf when it is ready to accept commands. - removes sleep from cf. [#79964866]
  • refactor ServeCommand calls
  • Change fake_word_generator to a counterfeiter fake [#74259334]
  • add gi18n-checkup to bin/test [Finishes #80173376]
  • Improve spacing for help output in create/update-space-quota [finishes #80052722]
  • Add scripts for build-and-release for gocd
  • Sync words.go with the word list [#80335818]
  • Update error text on invalid json format. [Finishes #77391788]
  • Improve help text for create-security-group command [Finishes #77391788]
  • help will run as a core command instead of calling plugin commands [Finishes #78234942]
  • plugin server runs on randomly chosen port
  • consolodate plugin port configuration
  • cf help includes plugin commands
  • attempt to fix install paths for windows
  • fix windows test failures by naming binaries with .exe extension
  • close test file before deleting
  • Fix error message for login w/ -a when ssl-cert invalid [#69644266]
  • Finished refactor of configuration repository. [#78234942]
  • Refactor plugin commands into rpc package -Also increase locales_test timeout
    -Add empty_plugin executable to gitignore [#78234942]
  • Refactoring plugins to include common code for rpc model. - plugins/rpc contains everything main used to contain.
  • new interface for listing commands through rpc.
  • Implement 'plugins' to list all installed plugin methods and the executable they belong to. [Finishes #78235118]
  • go get godep before tests
  • Revert "Use filepath instead of path where possible" This reverts commit 49beccf.
  • Failed on CI
  • Use filepath instead of path where possible -Path does not always work well with windows [#79748230]
  • Append .exe to config.json for plugin-config
  • Name test binaries w/ .exe so windows WORKS
  • Use filepath instead of path in main_suite_test -Add more debugging as well
  • Add debugging statements to building plugin in main_suite_test
  • Revert "Update GOPATH var in windows bat scripts" This reverts commit d311d8d.
  • Update GOPATH var in windows bat scripts
  • Add debugging info to the main test
  • Add ginkgo defer to allow us to see error message -This is when the main_suite_test fails before running
    the main_test
  • Skip checking filemode for instal-plugin on windows
  • Retry request on tcp connection error. [Finishes #79151504]
  • Added tests for the package main on windows during ci
  • Added defaults for create-space-quota's help [Finishes #77394232]
  • Improve testing with plugins and fix install-plugin bug -Chmod plugin binary after copying to the CF_HOME directory
    -Test that all plugins work when multiple are successfully installed [finishes #78399080] [finishes #79487120]
  • Refactor app instances to use a counterfeiter fake
  • Fix tests relating to plugins and polution caused by them -Reduce sleep time when waiting for plugin to start
    -Have main_test use plugin config the whole time in case of
    invalid config in the home directory (the real home dir) [finishes #79305568]
  • Wip commit for plugins with multiple commands
  • Wip commit for plugins with multiple commands
  • Add missing fixtures plugin command file.
  • Compile test plugin every run. -This gives us a cross-platform test suite.
    -Refactoring stuff out of main will make the test suite faster..
  • Update changelog
  • First pass at rpc model - have hardcoded port 20001
  • sleep for 3 seconds waiting for rpc server [Finishes #78397654]

v6.6.1

24 Sep 01:05
Compare
Choose a tag to compare

CF version v6.6.1

Installers

Binaries

Change Log

  • Bump version to 6.6.1
  • fix argument in callCoreCommand()
  • Fix http_test.go to be OS independent [#79151902]
  • Update flag descriptions for enable/disable service access [#79151902]
  • show help when cf is input [#78233706]
  • Up tcp timeout to 10 seconds and log errors more effectively -Upping the timeout to deal with possible architecture issues, but
    this should not be increased any more than 10 seconds

[#79151504]

  • User can specify go program as a plugin in config.json [#78233706]
  • Bump Goderps
  • Dont pull from a locked SHA
  • Lock CATS to a known good SHA (for now)
  • Brought app_files repo into alignment with our new patterns. [#74259334]
  • Revert "Update herd-cats-linux64 script to dynamically generate config" This reverts commit 7a74e5a.
  • Update herd-cats-linux64 script to dynamically generate config
  • Move integration tests into main_test suite -Go 1.3 changes the way tests are built
  • Move app_events repo into its own package. [#74259334]
  • Upgrade to Go 1.3.1 - Go 1.3.x no longer orders maps, so we had to compensate in some of our
    tests.
  • The fake server is a little smarter about "q" params now.

[Finishes #73583562]

  • Bump Godeps for jibber-jabber. - Pull in Windows XP fix.

[Finishes #78489056]

  • Remove -u option and clean up symlink in the build script.
  • Bump Goderps
  • Another attempt to fix unit tests on Windows
  • Attempt to fix unit tests on Windows
  • Change fake and refactor app_bits repo. - App bits repo is much more tightly scoped
  • The App Bits repo has a counterfeiter fake, and lives in its own
    package
  • Some callbacks met their demise
  • We now have a push actor
  • Former responsibilities of the App Bits repo have been divided between
    the App Bits repo, the push command, and the push actor.
  • All this should make the future implementation of an "upload bits"
    command much easier/possible.

[#74259334]

  • Change "-1" to "unlimited" in space-quotas. [#77830744]
  • Change '-1' to 'unlimited' in space-quota. [#77830744]
  • Display "unlimited" instead of "-1" in quota. [#77830744]
  • Display "unlimited" instead of "-1" in quotas. [#77830744]
  • Make Windows recognize PATH update and don't append on reinstall. [#78348074]
  • Chmod the Inno Setup script. [#78348074]
  • Change Windows installer build process to use Inno Setup. [#78348074]
  • Update changelog for v6.6.0

v6.6.0

05 Sep 22:37
Compare
Choose a tag to compare

CF version v6.6.0

Installers

Binaries

Change Log

  • Removed sending up empty quota_definition_guid on create org.
    [Finishes #78239318]
  • Modify srevg command usage to show example.
    [Finishes #77830856]
  • Modify usage to show example of JSON.
    [Finishes #77837402]
  • Add -i parameter for create-quota in usage.
    [Finishes #78111444]
  • Can set locale using cf config --locale LOCALE
  • can clear locale providing CLEAR as flag argument.

[Finishes #74651616]

  • Implement set-running-environment-variable-group command.
    [Finishes #77830856]
  • Implement "set-staging-environment-variable-group" command.
    [Finishes #77837402]
  • Implement staging-environment-variable-group command.
    [Finishes #77829608]
  • Point our CATS back to master.
    [Finishes #77165374]
  • Implement running-environment-variable-group command.
    [Finishes #76840940]
  • Make help for start timeouts on push more explicit.
    [Finishes #75071698]
  • Implement disable-feature-flag command
  • Also clean up enable-feature-flag tests.

[Finishes #77676754]

  • Accept a bare -1 as instance memory on updating quotas.
  • Also make help more helpful.

[#77765852]

  • Implement enable-feature-flag command.
    [Finishes #77665980]
  • Implement "feature-flag" command
  • Also rename the api/feature_flag package to api/feature_flags for
    consistency with other api packages.

[Finishes #77222224]

  • Can create organization with specified quota.
    [Finishes #75915142]
  • Implement feature-flags command.
    [Finishes #77665936]
  • All tests have been updated with organization counterfeiter.
    [#75915142]
  • Finishes refactor for the login command.
    [#75915142]
  • Finished refactor of target for the new orgs repository
    [#75915142]
  • Correctly accept a -1 value for creating quotas.
    [Fixes #77765852]
  • Correctly display instance memory limit field.
    [Fixes #77765166]

v6.5.1

28 Aug 16:52
Compare
Choose a tag to compare

v6.5.0

25 Aug 18:56
Compare
Choose a tag to compare

CF version v6.5.0

Installers

Binaries

Change Log

  • Implement Space Quota commands (create, update, delete, list, assignment)
  • Change cf space command to show information on the quota associated with the space. [#77389658]
  • Tweak help text for "push" [#76417956]
  • Remove default async timeout. [#76995182]
  • Change update-service-broker to take in optional flags. [#63480754]
  • Update plan visibility search to take advantage of API queries [#76753494]
  • Add instance memory to quota, quotas, and update-quota. [#76292608]

v6.4.0

14 Aug 00:56
Compare
Choose a tag to compare

CF version v6.4.0

Installers

Installers

Binaries

Change Log

  • Implement service-access command.
  • Implement enable-service-access command.
  • Implement disable-service-access command.
  • Merge pull request #237 from sykesm/hm-unknown-instances Use '?' instead of '-1' when running instances is unknown [#76461268]
  • Merge pull request #239 from johannespetzold/loggregator-debug-printer CF_TRACE option for cf logs
  • Stop using deprecated endpoints for domains. [#76723550]
  • Refresh auth token on all service-access commands. [#76831670]
  • Stop CLI from hanging when Loggregator keeps returning errors. [#76545800]
  • Merge pull request #234 from fraenkel/cfignoreIgnored Copy cfignore to upload directory to properly ignore files
  • Pass in ProxyFromEnvironment function to loggregator_consumer. [#75343416]
  • Merge pull request #227 from XenoPhex/master By Grabthar hammer, by the sons of Worvan, you shall be avenged. Also, sorting.
  • Add cli version to the "aww shucks" messsage. [#75131050]
  • Merge pull request #223 from fraenkel:connectTimeout Use a connect timeout whenever making connections
  • Merge pull request #225 from cloudfoundry/flush-log-messages Fix inter-woven output during start
  • Merge pull request #222 from fraenkel/closeBody Close the response body
  • Merge pull request #221 from jpalermo/master Fix base64 padding

v6.3.2

24 Jul 17:17
Compare
Choose a tag to compare

CF version v6.3.2

Installers

Binaries

Change Log

  • Provides "pretty printed" output of config JSON. [#74664516]
  • Undo recursive copy of files [#75530934]
  • Merge all translations into monolithic files. [#74408246]
  • Edited random-word source/seed data [#75469600]
  • Merge pull request #210 from wdneto/pt_br Initial pt-br translation [#75083626]

Now, cleaner than before!

v6.3.1

22 Jul 20:53
Compare
Choose a tag to compare

CF version v6.3.1

Installers

Binaries

Change Log

  • Remove Korean as a supported language. - goi18n does not currently support it, so it's in the same boat as Russian.
  • Forcing default domain to be the first shared domain. Closes #209 [#75067850]
  • The ru_RU locale is not supported. The go-i18n tool that we use does not support this locale at the moment and thus we should not be offering translation until such time as that changes. Closes #208 [#75021420]
  • Adding in tool to fix json formatting
  • Fixes spacing and file permissions for all JSON files. Spacing i/s now a standard 3 spaces. Permissions are now 0644
  • Merges Spanish Translations. Thanks, @bonzofenix! Closes #207 [#74857552]
  • Merge Chinese Translations. Thanks, @tsjsdbd, @isuperbb, @shenyefeng, @hujie5592427, @haojun, @wsxiaozhang and @Kaixiang! Closes #205 [#74772500]
  • Travis-CI builds should run i18n tests Also, fail if any of those other commands fail

v6.3.0

14 Jul 23:06
Compare
Choose a tag to compare

CF version v6.3.0

Installers

Binaries

Change Log

  • Add commands for security groups (creating, editing, assignment to spaces)
  • push no longer uses deprecated endpoint for domains. [#74737286]
  • cf always returns exit code 1 on error [#74565136]
  • Json is interpreted properly for create/update user-provided-service. Fixes issue #193 [#73971288]
  • Made '--help' flag match the help text from the 'help' command [Finishes #73655496]

CF version v6.2.0

19 Jun 22:28
Compare
Choose a tag to compare

CF version v6.2.0

Installers

Binaries

Change Log
##########

Internationalize the CLI

The Cloud Foundry CLI added support for translating CLI output into other languages. While the support has been added, many of these languages have not been translated. Please refer to the i18n ReadMe located under the cf/i18n directory for more information and how to help with the translation process.

[Finishes #70551274, #71441196, #72633034, #72633034, #72633036, #72633038, #72633042, #72633044, #72633056, #72633062, #72633064, #72633066, #72633068, #72633070, #72633074, #72633080, #72633084, #72633086, #72633088, #72633090, #72633090, #72633096, #72633100, #72633102, #72633112, #72633116, #72633118, #72633126, #72633128, #72633130]
Additional tickets needed for supporting internationalization:
[Finishes #70551274, #71347218, #71441196, #71594662, #71801388, #72250906, #72543282, #72543404, #72543994, #72548944, #72633064, #72633108, #72663452, #73216920, #73351056, #73351056]

'purge-service-offering' should fail if the request fails

[Finishes #73009140]

Pretty print JSON for cf curl

[Finishes #71425006]

CURL output can be directed to file via parameter --output.

[Finishes #72659362]

Fix a source of flakiness in start

The problem here was that we made it possible for the error returned by the api to be ignored if the staging timeout is set to an incredibly short duration.

Moving the error check outside of the for loop is just crazy enough to work.
[Finishes #71778246]

Add build date time to the --version message, cf --version now reports ISO 8601 date

This is the date-time that the binary was built in our CI environment
[Finishes #71446932]

Show system environment variables with cf env

The biggest change here is that we are also expecting to return the VCAP_SERVICES hash. Realistically we'll only ever get this if the change that the services team recently made to CloudController is actually present.

We believe that returning these two objects separately is the best bet for now. The VCAP_SERVICES hash will be pretty printed, but the user hash will not be (for the time being).

[Finishes #71250896]

Fix double confirm prompt bug

[Finishes #70960378]

Fix create-buildpack from local directory

[Finishes #70766292]

Gateway respects user-defined Async timeout

[Finishes #71039042]

Bump async timeout to 10 minutes

[Finishes #70242130]

Trace should also respect the user config setting

[Finishes #71045364]

Add a 'cf config' command

Currently only allows setting the timeout for async requests to Cloud Controller, but we anticipate adding more soon.
[Finishes #70242276]

Add a hook for setting color from the config

Uses --color value to enable/disable/ignore coloring
[Finishes #71045474, #68903282]

Add config --trace flag

[Finishes #68903318]

Pivotal Tap for Homebrew installs (Experimental)

Previously, the CLI could be installed via the central homebrew repository. Recently the restrictions placed on the formula in that became too onerous to continue hosting it there. The formula is now hosted in the Pivotal Tap. This change updates the documentation with instructions on how to add the Pivotal Tap and install the CLI from it.

This method for installing CLI is experimental and subject to change in the future.