v1.3.0
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.