Skip to content

v1.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 May 16:24
· 51 commits to main since this release

Changes by Kind

Feature

  • Add support for plugin and command level mapping via PluginDescriptor's CommandMap (#164, #177, @vuil)
  • Add the new target operations (#163, @anujc25)
  • Added support to get kubeconfig for kubernetes context for GetKubeconfigForContext API (#162, @mpanchajanya)
  • Update GetKubeconfigForContext API to accept Project ID instead of Project Name (#173, @prkalle)
  • Update SetTanzuContextActiveResource API and GetTanzuContextActiveResource to use Project ID along with Project Name (#172, @prkalle)
  • Enhance GetTanzuContextActiveResource API to include organization name retrieval (#181, @prkalle)
  • Experimental: Add support to create the Tanzu Hub client (#175, @anujc25)

UX improvements

  • The spinner API has been updated to track all active spinners and stop them when the command ends or is terminated by the user. (#170, @chandrareddyp)
  • Fixes indent of multiline examples in usage and doc generation (#188, #189, #183 @vuil)
  • Remove the Upper casing of headers for the listtable output type and add padding (#169, @anujc25)
  • Add support for dynamic columns with the OutputWriter's TableOutputType output format (#168, @anujc25)
  • Fix usage string and aliases of help for commands involved in command-level mapping (#180, @vuil)

Miscellaneous

  • Set command displayname annotation when command is mapped (#165, @vuil)
  • Disable syncing of "tanzu" contexts between legacy and latest CLI configuration files (#187, @prkalle)
  • Ensure flags suffix is added to useline (#186, @vuil)
  • Ensure inherited flags are captured in generate-docs (#185, @vuil)

Notes to developers

  • Plugins should refrain from introducing their own custom indentation in any multiline Example fields of their commands because Example lines will always be indented in usage output by at least two 2 spaces.

Dependencies

Added

  • github.com/99designs/gqlgen: v0.17.44
  • github.com/Khan/genqlient: v0.7.0
  • github.com/agnivade/levenshtein: v1.1.1
  • github.com/alexflint/go-arg: v1.4.2
  • github.com/alexflint/go-scalar: v1.0.0
  • github.com/andreyvit/diff: c7f18ee
  • github.com/arbovm/levenshtein: 48b4e1c
  • github.com/bradleyjkemp/cupaloy/v2: v2.6.0
  • github.com/dgryski/trifles: dd97f9a
  • github.com/gorilla/websocket: v1.5.0
  • github.com/hashicorp/golang-lru/v2: v2.0.7
  • github.com/mitchellh/mapstructure: v1.5.0
  • github.com/sergi/go-diff: v1.3.1
  • github.com/sosodev/duration: v1.2.0
  • github.com/vektah/gqlparser/v2: v2.5.11
  • golang.org/x/telemetry: b75ee88

Changed

  • github.com/cpuguy83/go-md2man/v2: v2.0.2 → v2.0.3
  • github.com/google/uuid: v1.3.0 → v1.6.0
  • github.com/spf13/cobra: v1.7.0 → v1.8.0
  • github.com/stretchr/testify: v1.8.1 → v1.8.4
  • golang.org/x/crypto: v0.14.0 → v0.19.0
  • golang.org/x/mod: v0.9.0 → v0.15.0
  • golang.org/x/net: v0.17.0 → v0.21.0
  • golang.org/x/sync: v0.1.0 → v0.6.0
  • golang.org/x/sys: v0.13.0 → v0.17.0
  • golang.org/x/term: v0.13.0 → v0.17.0
  • golang.org/x/text: v0.13.0 → v0.14.0
  • golang.org/x/tools: v0.7.0 → v0.18.0

Removed

Nothing has changed.