Skip to content

Releases: cloudfoundry/cli

CF version v6.12.3

03 Sep 20:39
Compare
Choose a tag to compare

Installers

Binaries

Change Log

  • Merge pull request #544 from cloudfoundry/code-tidy Code tidy
  • Merge pull request #523 from zachgersh/master Unmarshal the extra field, get documentation url
  • add Diego to application model
  • update GATS new repo path [#98861144]
  • update jibber_jabber repo path [#98861144]
  • use go 1.4 to detect symlink file in windows [#75245040]
  • do not call GetContainerMetrics() when a diego app is stopped [#98672332]
  • Merge pull request #540 from cloudfoundry/use_go_yaml Support yaml '<<' merge type
  • complete removal of codegangsta related tests/packages [finishes #97061610 #97061532]
  • remove orphaned SetApplicationName() in requirements factory
    • func was there to partially support concourrent command calls from plugin. Currently we don't support concurrent calls.
  • improve main package's readability [#97061610]
  • remove codegangsta from plugin/rpc package - remove deprecated SetTheApp() [#97061610]
  • Merge pull request #534 from cloudfoundry/feature/commands-restart-and-create Move commands to new command pattern.
  • correct usage text in command space [finishes ##100470938]
  • update command_registry test to pass windows
  • show executable name instead of CF_NAME in usage help [finishes #100453848]
  • handles -v for cf version
  • handles usage help without codegangsta
  • help command for cmd usage
  • handle help menu printing without codegangsta - move cf/app/help into cf/help
    • handles cf help / cf --help / cf -h
  • new func Metadatas() in command_registry for returning all metas
  • commands_loader package
  • BrokerBuilder and PlanBuilder in command_registry.Dependency
  • update install-plugin to check conflicts with non-codegangsta commands
  • command_registry.CommandExists() returns false for empty string command name
  • add plugin_repo.PluginRepo to command_registry dependency
  • add StringSlice flag feature
  • add MaxCommandNameLength() to command_registry
  • Merge pull request #505 from zhang-hua/bug-93578300 Reduce API calls when CRU operations of service keys
  • Merge branch 'story-87481016' of https://github.com/zhang-hua/cli into zhang-hua-story-87481016
  • handles 'cf help ' for non-codegangsta command
  • Merge pull request #514 from HuaweiTech/hwcf-issue-34 Fix create-app-manifest only includes one host [92530254]
  • both godep and travis should use golang v.1.4.2
  • make reference to domain test suite for commands to self registered
    • Godep golang 1.4
  • use go v1.4.2 in travis
  • Fix create-app-manifest only includes one host [92530254]
  • SpaceManager and SpaceAuditor should receive 403 [#87481016]
  • Reduce API calls when CRU operations of service keys [#93578300]

CF version v6.12.2

15 Jul 23:31
Compare
Choose a tag to compare

CF version v6.12.2

Installers

Binaries

Change Log

  • implement skipFlagParsing in flags package [#97061558]
  • add tip to curl command for api doc url [#98862944]
  • improve RunCliCommand in testhelper for non-CG command [#97061558]
  • rpc server version check uses new version package [#98664206]
  • move version checking methods into utils package [#98664206]
  • move NotifyUpdateIfNeeded() into UI package [#98664206]
  • Fixed GetMinCliVersion and GetMinApiVersion to work with arbitrary version numbers. [#98664206]

CF version v6.12.1

07 Jul 00:45
Compare
Choose a tag to compare

Installers

Binaries

Change Log

  • improve method to compare domains of local and redirecting target [98132086]
  • only copy Authorization header when redirecting to same base domain [98132086]
  • security-groups to not use inline-relation-depth to populate spaces model [96033766]
  • add spaces_url field to SecurityGroup model [96033766]

CF version v6.12.0

30 Jun 04:59
Compare
Choose a tag to compare

CF version v6.12.0

Installers

Binaries

Change Log

  • Merge pull request #487 from cloudfoundry/96912324-disable-service-access-performance
    • Improve performance of disable-service-access
  • Create plugin_examples/DOC.md
  • Merge pull request #490 from zhang-hua/story-93578300
    • Reduce API calls when creating,listing and getting details of service…
  • Merge pull request #478 from cloudfoundry/update-empty-tags
    • Allow update service instances with empty tags
  • fix bug in uninstall-plugin - ensure the removal of plugin binary
  • plugin API GetService() [#90442132]
  • Merge pull request #484 from zhang-hua/list_key_endpoint
    • Change api endpoint for listing service keys
  • Reduce API calls when creating,listing and getting details of service keys [#93578300]
    • Leveraging existing API calls in ServiceInstanceRequirement to find service
      instance info by name so that no need to send the same request twice.
  • added GetSpaces to api test plugin
  • Merge branch 'improved-service-broker-no-permissions-message'
  • Merge branch 'master' into improved-service-broker-no-permissions-message
  • Merge pull request #483 from cloudfoundry/service_access_performance
    • improve cf service-access performance
  • Merge pull request #470 from cloudfoundry/go14_flake
    • Fix flaky test for go 1.4 where map iteration order is randomized.
  • Improve performance of disable-service-access - It was making an async=true delete request for each
    service_plan_visibility. This meant each delete would take at least 5 seconds due to polling.
    • Deleting service plan visibilities does not interact with the broker and can be completed synchronously in ~.5s
    • Add new http test matcher for testing empty query strings. [#96912324]
  • Add GetSpace API [#97159474]
  • Change api endpoint for listing service keys [#87481016]
    • CLI should use the endpoint /v2/service_instances/:fake-guid/service_keys
      to list service keys instead of using /v2/service_keys?q=service_instance_guid:fake-guid
  • Make delete service instance as Warn vs. regular Say. make consistent with delete service key
  • Merge pull request #480 from cloudfoundry/missing_service_key_delete
    • Missing service key coloring message from dsk now matches the coloring from ds
  • Reduce service_access API requests: orgs - To map org guids to org names, we make individual requests for each org instead of requesting all orgs. [#96912380]
    • This is optimized for the case where there are fewer orgs associated
      with service_plan_visibilities than the total number of org pages.
      This seemed to be the case on all environments we checked.
    • /v2/organizations does not support filtering on a list of org or
      service_plan_visiblility guids, so we have to make separate GETs
    • In plan_builder, there are package variables that are used to memorize maps. This causes pollution plan_builder tests, so we nil them in test setup
  • Reduce service_access API requests: service plans [#96912380]
    • Get all service plans in one request instead of a request per service offering
  • Reduce service_access API requests: service offerings - Get all service offerings in one request instead of a request per broker [#96912380]
  • godeps newest noaa package - implement new noaa.Close() method
  • remove windows incompatible language test
  • enable yes for confirmation when lang is not en_US
  • ❄️ Deflakey-ify the org and space user tests.
    • Tests were failing in go1.4 due to random org in map.. fixed test to be less brittle
  • update vet tool url for travis build
  • Added Services Plugin API [#90441956]
  • Fix up Incorrect Usage i18n in new Plugin APIs [#90440496, #90062486]
  • Implemented the GetSpaceUsers plugin API [#90441958]
  • Add GetOrgUsers Plugin API [#97030456]
  • Missing service key coloring message from dsk now matches the coloring from ds. - ui type is now Warn instead of Say
    • Keyword highlight is now switched off [#94220156]
  • New plugin api GetSpaces() [#90442002]
  • Allow update service instances with empty tags [#96329216]
  • Fix logic to handle graceful timeout if we cannot talk to log server.
    • Also make log server connection timeout internally configurable. [#96626036]
  • Merge pull request #453 from cloudfoundry/last-operation-timestamps
    • Last operation timestamps
  • Updated cf service-access and cf service-brokers so that they only pass through the 403 error,
    rather than giving specific lookup information. [#91452714]
  • Refactor created_at test fixtures [#91240396]
  • Updated the CLI to not return a Started date if the service/operation does not have a CreatedAt in it's JSON. [#91240396]
  • Add started and updated timestamps to service instance operations [#91240396]
  • Merge pull request #465 from cloudfoundry/94892746-service-brokers-403
    • Expose api errors for service broker commands
  • Merge pull request #469 from cloudfoundry/missing_service_key_delete
    • Display correct error when deleting nonexistent service key
  • Merge pull request #472 from cloudfoundry/service_access_performance
    • Improve performance of enable/disable service access
  • Made command_factory_test.go ignore .coverprofile files from running ginkgo in code-coverage mode. [#89585004]
  • Update help text for update-service [#72117050]
  • Allow cf app to display buildpack [#96147958]
  • Fixed passing in nil error handler to command_registry [#90652456]
  • Merge pull request #463 from cloudfoundry/cli_user_can_provide_tags
    • Add optional tags to create-service command
  • Fix indentation in create-service help text - And rearrange translation files to appease i18n4go
  • Add fields to cli msi to show app/publisher name in windows. [#93634720]
  • Merge pull request #366 from HuaweiTech/hwcf-issue-15
    • Fixed error message when there is a mismatch in the order of arguments for create-buildpack
  • plugin Api GetOrgs() [#90442006]
  • Highlight restage command in uups tip [#96470272]
  • plugin api GetApps() [#90062486]
  • Add Buildpack to cf create-app-manifest [#96041780,91458856]
  • Merge pull request #474 from cloudfoundry/cli_update_service_tags Update user-provided service tags
  • Merge pull request #473 from cloudfoundry/i18n-readme-update Update readme with i18n info
  • Update error message when plugin file does not exist. [#96267092]
  • convert command apps to non-codegangsta structure [#90062486]
  • add alias support to command_registry [#90062486]
  • Update arbitrary params error message [#96313592]
  • Update tip for updating UPSIs - UPSIs now propogate their credentials on update, so it is no longer
    necessary to unbind and rebind them. [#96470272]
  • Update readme with i18n info
  • Split bind-service usage for easier translation - Improve params example to resemble a bind [#96320118, #72117050]
  • Split long usage for update-service [#72117050]
  • Update service can pass instance tags - Add ui_helpers/tags_parser.go [#72117050]
  • Update service without changing plan works - Fixing a bug where passing arbitrary params without a plan change
    would result in making no changess [#96250704]
  • Refactor update service - Plan validation in separate function [#72117050]
  • Add optional tags to create-service [#61861194]
  • Improve performance of enable/disable service access - Service access commands were embedding org names in service plans, but not using them. This resulted in calls to /v2/organizations, which would take a long time on environments with many orgs. [#95214984]
  • Update help text for update-service [#96313962]
  • Merge pull request #440 from xingzhou/service_key_cascade implement the story of delete service instance that has keys
  • implement the story of delete service instance that has keys [#92185380]
    https://www.pivotaltracker.com/story/show/92185380
  • Fix flaky test for go 1.4 where map iteration order is randomized. [#96235836]
  • Display correct error when deleting nonexistent service key [#94220156]
  • Merge pull request #452 from cloudfoundry/arbitrary-params-final
    • Arbitrary params for create-service, update-service, bind-service, create-service-key
  • Expose api errors for service broker commands - Unless it is a specific case where there was no error but there were also no existing service brokers [#94892746]
  • Update arbitrary parameter error message - Sometimes it is unclear if the user is intending to provide a file
    path or JSON. Showing the underlying error in these cases can be confusing. [#89843658]
  • Merge branch 'cmdOutputCapture'
  • Added the changes suggested in the pull request. - Errors no longer overwrite, they bubble up
    • Files are now checked for existance before reading [#89843658]
  • Surface error when json from file is invalid - When parsing arbitrary...
Read more

CF version v6.11.3

20 May 21:31
Compare
Choose a tag to compare

CF version v6.11.3

Installers

Binaries

Change Log

  • Improve Tip for bind-service command [#94153632]
  • using /apps instead /instances to poll for staging [finishes #93382608]
  • user can reference a file containing JSON when creating a service instance [#88670540]
  • Translate failure message for invalid JSON in arbitrary params arg for create-service [#88670540]
  • new GetApp() method in ApplicationRepository package [#93382608]
  • do not create zip when no file to upload during cf push [#94014700]
  • updated and resolves conflicts in language files [#94014700]
  • Add -c flag to pass arbitrary params during create-service [#89843658]
  • Remove async from request body during create-service [#92396108]
    Two problems here:
    1. Async is a query parameter flag, not a post body paramter
    2. POST /v2/service_instances does not respect async flag anyway
  • cf start uses old loggregator to tail logs, instead of noaa [#93554176]
  • use old loggregator consumer to retrieve logs [#93554176]
  • godeps [#93554176]
  • add delete service key command [#87062548]

CF version v6.11.2

27 Apr 23:34
Compare
Choose a tag to compare

CF version v6.11.2

Installers

Binaries

Change Log

  • not renewing noaa consumer on every push
  • Merge pull request #415 from HuaweiTech/hwcf-issue-30 - Fix for stack and stacks command
  • hardcode doppler endpoints into config getter [#93208696]
  • add show service key detail [#87061876]
  • minor fixes for max's comments on service key list PR [#87057920]

CF version v6.11.1

20 Apr 23:21
Compare
Choose a tag to compare

CF version v6.11.1

Installers

Binaries

Change Log

  • close channel properly during re-auth when connecting with noaa [#92716720]
  • 20 second timeout for connecting to logging server while pushing [#92702342]
  • mutex to avoid race condition [#92702342]
  • renew the noaa obj when pushing mutilple apps to avoid stalling bug [#92716720]
  • enable re-instantiating noaa obj in app starter [#92716720]
  • func to renew noaa obj [#92716720]
  • added service keys command [#87057920]
  • no git alias in scripts [#92398336]
  • fix panicing when slice contains invalid values [#92135482]

CF Version v6.11.0

14 Apr 17:37
Compare
Choose a tag to compare

CF version v6.11.0

Installers

Binaries

Change Log

  • Added version checking to login.
  • cf target now checks for minimum CLI version.
  • auth command prompts user to update cli version
  • associate stack with an app in cf app
  • Added Min CLI and Reecommended CLI version numbers to config.
  • Print out the "not authorized" error returned from CC when creating service keys
  • Merge pull request #385 from xingzhou/service_key - Add 'create-service-key' command in cli
  • godeps - remove loggregator_consumer
  • use noaa to tail logs/get recent logs
  • use noaa instead of loggregator_consumer when getting recent logs
  • Add 'create-service-key' command in cli
  • populate Args() and accept form in '-flag=value'
  • flag parsing: int, bool, string
  • allows multiple domains in app manifest
  • add domains field to manifest
  • update help text: buildpack 'null/default' usage
  • language files for command cups help
  • Show blank last operation if the CC returns null last_operation in API response
  • windows help example for command cups
  • return correct error when unable to create config
  • manifest.yml now supports no-hostname field
  • bump candiedyaml version
  • improve help text examples for cf login
  • Added way to put user in org's space with 'cf target -o ORG' command if there is only one space
    cf target with [-o] flag will internally target org's space if there is only one space .
  • better error message when tmp dir does not exist while not load language files
  • --guid flag for command stack
  • new command stack
  • Make OrgReq and SpaceReq creation concurrency-safe for plugins.
  • closes client rpc connection
  • app command gets metric directly from loggregator for diego app
  • noaa api library for diego app metric and fakes
  • wrapper for noaa and fakes for tests
  • add diego flag to app model
  • read doppler endpoint from manifest
  • populate doppler endpoint from loggreator endpoint
  • fixes problem with plugin calling CLI concurrently
  • fixes ApplicationRequirement 404 error
  • uses app.guid within route object to unmap routes
  • Prevent updating service plans when the CC is less than v191.
  • Plugin can call CoreCliCommands upon uninstalling
  • send CLI-MESSAGE-UNINSTALL to plugin upon uninstalling
  • Fixed OK message formatting in enable-service-access.
  • Changed service instance commands to yellow (CommandColor).
  • bubble up any error when zipping up files during push
  • Added accepts_incomplete=true param to delete service instance.
  • Updated text output when deleting services instances asynchronously.
  • Updated text output when updating services instances asynchronously.
  • Updated text output of cf create-service.
  • Fix 'cf routes'output should be scoped to org and grouped by space

v6.10.0

11 Feb 23:49
Compare
Choose a tag to compare

CF version v6.10.0

Installers

Binaries

Change Log

  • Merge pull request #349
  • Added accepts_incomplete parameter to update and rename service. [#86584082]
  • changed the async provisioning messages [#86668046]
  • Update service instance last operation state => status
  • Formatting for services and service command matching new fashion [#86585678]
  • changes commands for last_operation 'fashion' * create-service
  • install-plugin only tries downloading with internet prefixes
  • validate sha1 when installing plugin from repo [#86072988]
  • utils for sha1 computing, comparing [#86072988]
  • --checksum flag for command plugins [#87856234]
  • repo name case insensitive when installing plugins
  • Plugin Repo default - plugins.cloudfoundry.org
  • not locating plugin binary locally if path prefix with internet address
  • list-plugin-repos command [#86071226]
  • improve help text for command repo-plugins [#86071226]
  • install-plugin can install from a repository [#86073134]
  • fix bug where args is overwritten itself before flags in testhelpers
  • Repo name comparisons in add-plugin-repo are case-insensitive. [#87467254]
  • Merge pull request #343 from fraenkel/instance_details
  • repo-plugins can list a plugins from a single repo with -r [#86071226]
  • Added remove-plugin-repo command to remove plugin repos. [#86141272]
  • new command repo-plugins - list plugins from all repos [#86071636]
  • cf service-brokers output sorted by name [#86663258]
  • CLI knows about 'CRASHED' in addition to 'FLAPPING' [#87141282]
  • new add-plugin-repo commnad [#86452004]
  • improved plugin topics for help [#86452004]
  • Removed help references to specific companies. [#87059156]
  • non admin can see other users with space-users [#86963130]
  • new func to list space users w/o hitting UAA with api version >v2.21.0 [#86963130]
  • non-privileged users can list users with org-users [#82059018]
  • new func to list org users w/o hitting UAA with api version >v2.21.0 [#82059018]
  • Merge pull request #339 from cloudfoundry/async Async Service Provisioning
  • Notify user manifest is not found on cf push [#86561070]
  • create-app-manifest now named the file _manifest.yml [#86561764]

v6.9.0

20 Jan 20:11
Compare
Choose a tag to compare

CF version v6.9.0

Installers

Binaries

Change Log

  • CLI sends async request for service instance provisioning
  • Correct help text for files command [#85754150]
  • Improve cf usage instructions [#85818652]
  • Merge PR #328 from Fix cups attempts to create service when no space is targeted
  • append source index to all source in cf logs [#85484012]
  • Update README.md and improve development guide for cli plugins
  • Merge PR #322: Updating go vet location in install-dev-tools target.
  • Merge PR #323: Fixes go vet errors:
  • Merge PR #321: Copy original request's headers when handling redirect
  • Improvement to marketplace cost messaging [#85571986]
  • Enable '-h' and '--help' flags in plugin commands [#82051134]
  • Copy original request's headers when handling redirect (fixes #318 on github)
  • cf plugins shows plugin versions [#84630868]
  • Allow versioning in plugins [#82911038]
  • Merge PR #317: Fix the invalid memory address during bind service
  • Merge PR #315: Improve french i18n
  • Fix the invalid memory address during bind service Solution [#79267756]
  • Merge PR #309: Fix in clearing space fields of config data on cf space-delete
  • Better message when no files to be listed in directory [#63120324]
  • Allows multiple hosts(routes) to be created when app is pushed [#72389932]
  • Apps now timeout when they fail to stage instead of waiting for an instance to start [#83802536]
  • Improve help text for install-plugin [#84601290]
  • command create-app-manifest for generating manifest for pushed app [#78294704]