Releases: vmware-tanzu/tanzu-plugin-runtime
Releases · vmware-tanzu/tanzu-plugin-runtime
v1.4.7
Changes by Kind
Miscellaneous
Dependencies
Added
Nothing has changed.
Changed
- github.com/google/go-cmp: v0.5.9 → v0.6.0
- github.com/mattn/go-isatty: v0.0.16 → v0.0.11
- github.com/mattn/go-runewidth: v0.0.15 → v0.0.10
- github.com/stretchr/objx: v0.5.0 → v0.5.2
- github.com/stretchr/testify: v1.8.4 → v1.9.0
- github.com/vektah/gqlparser/v2: v2.5.11 → v2.5.14
- golang.org/x/crypto: v0.19.0 → v0.31.0
- golang.org/x/mod: v0.15.0 → v0.20.0
- golang.org/x/net: v0.21.0 → v0.33.0
- golang.org/x/sync: v0.6.0 → v0.10.0
- golang.org/x/sys: v0.17.0 → v0.28.0
- golang.org/x/telemetry: b75ee88 → bda5523
- golang.org/x/term: v0.17.0 → v0.27.0
- golang.org/x/text: v0.14.0 → v0.21.0
- golang.org/x/tools: v0.18.0 → v0.24.0
- golang.org/x/xerrors: 5ec99f8 → 9bdfabe
- google.golang.org/protobuf: v1.28.1 → v1.33.0
Removed
- github.com/armon/go-socks5: e753329
- github.com/elazarl/goproxy: 947c36d
- github.com/evanphx/json-patch: v4.12.0+incompatible
- github.com/gogo/protobuf: v1.3.2
- github.com/google/gnostic: v0.5.7-v3refs
- github.com/google/gofuzz: v1.1.0
- github.com/json-iterator/go: v1.1.12
- github.com/kisielk/errcheck: v1.5.0
- github.com/kisielk/gotool: v1.0.0
- github.com/moby/spdystream: v0.2.0
- github.com/modern-go/concurrent: bacd9c7
- github.com/modern-go/reflect2: v1.0.2
- github.com/mxk/go-flowrate: cca7078
- gopkg.in/inf.v0: v0.9.1
- k8s.io/apimachinery: v0.26.2
- k8s.io/klog/v2: v2.80.1
- k8s.io/kube-openapi: 172d655
- k8s.io/utils: 1a15be2
- sigs.k8s.io/json: f223a00
- sigs.k8s.io/structured-merge-diff/v4: v4.2.3
- sigs.k8s.io/yaml: v1.3.0
v1.4.6
v1.4.5
Changes by Kind
Improvements
- Support
multiline = true
to PromptConfig and be able to add multiline strings as prompt inputs. (#217, @gabbigum) - Hub unit test framework now sends back the GraphQL request it received for more thorough testing. This change breaks backwards-compatibility of the API used to write unit test for GraphQL: the
Responder
andEventGenerator
types have a slightly different signature. (#206, @marckhouzam)
Dependencies
Added
Nothing has changed.
Changed
Nothing has changed.
Removed
Nothing has changed.
v1.4.4
v1.4.3
Changes by Kind
✨ Enhancements
- Add PrompOpt parameter to SelectConfig.Run() method. This allows SelectConfig to have behaviour similar to PromptConfig (#208, @gabbigum)
- Support Self-Signed CA Cert and skip-cert-verify with Hub Client (#210, @anujc25)
- GetCert API now accepts URI along with hostname (#210, @anujc25)
Dependencies
Added
Nothing has changed.
Changed
Nothing has changed.
Removed
Nothing has changed.
v1.4.2
Changes by Kind
🐛 Bug Fixes
- Fix file lock issue on Windows (#204, @anujc25)
- Make
OperationName
optional for Hub Client requests. Improvements to the Hub client unit test framework (#202, @anujc25)
📄 Documentation
- Update GraphQL testing framework README. (#203, @marckhouzam)
Dependencies
Added
Nothing has changed.
Changed
Nothing has changed.
Removed
Nothing has changed.
v1.4.1
v1.4.0
Changes by Kind
Feature
- CommandMapEntry supports a RequiredContextType list, which controls whether the mapping should take effect based on the type of the active context. (#193, @vuil)
- [Experimental] Add Subscription Support for the Tanzu Hub Client (#195, @anujc25)
- [Experimental] Add Tanzu Hub Mock Server for Unit Testing (#191, @anujc25)
UX improvements
- Enable multi-selection in Prompt and Select components. (#197, @vuil)
- Fix OutputWriter Table to show rows when no headers are specified (#198, @anujc25)
- Fix plugin command usage when the
mission-control
/operations
target plugin remaps the commands (#199, @anujc25) - No longer show the invocation with the
kubernetes
target prefix in the help output. (#192, @marckhouzam) - Support Colors as part of the OutputWriter's Table output's field (#194, @anujc25)
Dependencies
Added
- github.com/anujc25/tablewriter: v0.0.1
- github.com/r3labs/sse/v2: v2.10.0
- github.com/rivo/uniseg: v0.2.0
- gopkg.in/cenkalti/backoff.v1: v1.1.0
Changed
- github.com/mattn/go-runewidth: v0.0.9 → v0.0.15
Removed
- github.com/olekukonko/tablewriter: v0.0.5
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.
v1.3.0-alpha.4
Changes by Kind
Feature
- Extend plugin mapping to command-level remapping. Introduce CommandMapEntry which replaces InvokedAs in PluginDescriptor. (#177, @vuil)
- Enhance GetTanzuContextActiveResource API to include organization name retrieval (#181, @prkalle)
- Fix generate-docs for plugins with command mapping directives (#183, @vuil)
- Fix usage string and aliases of help for commands involved in command-level mapping (#180, @vuil)
Miscellaneous
- Add support for dynamic columns with the OutputWriter's
TableOutputType
output format (#168, @anujc25) - Add the new target
operations
(#163, @anujc25) - Added support to get kubeconfig for kubernetes context for GetKubeconfigForContext API (#162, @mpanchajanya)
- Remove the Upper casing of headers for the
listtable
output type and add padding (#169, @anujc25) - Set command displayname annotation when command is mapped (#165, @vuil)
- 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)
- 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)
Dependencies
Added
Nothing has changed.
Changed
- github.com/cpuguy83/go-md2man/v2: v2.0.2 → v2.0.3
- github.com/spf13/cobra: v1.7.0 → v1.8.0
Removed
Nothing has changed.