Skip to content

v1.1.0-alpha.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 17 Oct 23:13
· 251 commits to main since this release

This release brings you:

  • Support for the arm64 architecture for Darwin (Mac)
    • Note: The Linux CLI binary for arm64 is only available as part of the release to allow testing plugins built for arm64. This build is not yet meant for production and is therefore marked as “unstable”.
  • UX improvements including dynamic shell completion for core CLI commands and flags
  • Bug fixes and optimizations made on top of the 1.0 release
  • Improvements in CLI context management including support for a new variant of kubernetes-based context which integrates with Cloud Services, one-way syncing of kubeconfig on context switch

Tanzu CLI Installation Instructions

If you are installing Tanzu CLI using the artifacts published as part of this release, please follow the
instructions.

For installing the Tanzu CLI through various package managers, please follow the appropriate "Installing a Pre-Release" sections on the same page.

Changes by Kind

✨ Features

Dynamic Shell Completion

  • Add dynamic shell completion for the commands "ceip", "version", "init", "completion", "generate-all-docs" (#519, @marckhouzam)
  • Add dynamic shell completion for the commands tanzu config command tree. (#520, @marckhouzam)
  • Add dynamic shell completion for the commands and flags under the tanzu context command tree (#501, @marckhouzam)
  • Add dynamic shell completion for the commands and flags under the tanzu plugin command tree (#513, @marckhouzam)

Context management

Supports new variant of kubernetes-based CLI context that integrates with CSP
Decouples plugin target from the type of CLI Context
Syncs active context in kubeconfig on CLI context switch

  • Add support to create Application Engine context (#487, @prkalle)
  • Adjust examples for "context create" (#517, @marckhouzam)
  • Decouple the Target association with the Context commands
    • The --target flag is deprecated over the newly introduced --type flag for the tanzu context list and tanzu context unset commands (#524, @anujc25)
  • Delete the kubeconfig pertained to the CLI context during "tanzu context delete" command execution. It is only applied for TAE context type deletion. (#542, @prkalle)
  • Ensure the kubernetes and application-engine current contexts are mutual exclusive (#523, @prkalle)
  • Support multi-file KUBECONFIG path in context creation and updated kubeconfig file path to use default kubeconfig path instead of $HOME/.kube-tanzu/config while creating context for TKG pinniped endpoint (#535, @prkalle)
  • Update "tanzu context create --type" UX to align "--type" options with other commands (#539, @prkalle)
  • tanzu context use of a Context that references a kubeconfig will also update the current context of the kubeconfig referenced (#505, @vuil)
  • Tanzu context list shows additional data for application-engine contexts (#510, @vuil)
  • The UX has been updated for the tanzu context delete and tanzu context unset commands to list plugins that are being deactivated. (#483, @chandrareddyp)

Support ARM64 CLI on Mac

... by falling back to install AMD64 plugins when the ARM64 version is not available

  • Allow fully using an ARM64 CLI on Mac (Darwin) by having the CLI install plugins for AMD64 when an ARM64 version of the plugin is not available. (#491, @marckhouzam)
  • Display the machine architecture of the CLI in the output of tanzu version (#540, @marckhouzam)

Plugin management improvements

  • Allow getting/installing plugins by specifying plugin-group version as vMAJOR or vMAJOR.MINOR or vMAJOR.MINOR.PATCH with tanzu plugin install --group and tanzu plugin group get commands (#494, @anujc25)
  • Mark the --uri flag as required for tanzu plugin source update. Cleanup and increase test coverage for the tanzu plugin source sub-commands. (#478, @marckhouzam)
  • Show log message on plugin installation based on various plugin installation states (#504, @anujc25)

🐛 Bug Fixes

  • Fix output text when deleting a context. (#531, @marckhouzam)
  • Fix the Catalog corruption issue (missing installed plugins) when running CLI in parallel (#472, @anujc25)
  • Fix missing target in plugin-tooling.mk file (#528, @marckhouzam)

🌱 Miscellaneous

  • Cleanup unused code around the previous use of feature flags for the context feature and the central repo feature. (#482, @marckhouzam)
  • Fix the usage section of the help text for the builder plugin. (#530, @marckhouzam)
  • Fix unit tests for "tanzu plugin delete" (#498, @marckhouzam)
  • Fix unit tests for plugin search (#481, @marckhouzam)
  • Improve unit testing for plugin lifecycle and remove unused code around the previous use of feature flags. (#484, @marckhouzam)
  • Provide a more detailed error when failing to read the central repository of plugins (#534, @marckhouzam)
  • Tanzu CLI is updated to latest go v1.21 (#490, @mpanchajanya)

Dependencies

Added

Nothing has changed.

Changed

  • github.com/go-openapi/jsonreference: v0.20.1 → v0.20.2
  • github.com/onsi/ginkgo/v2: v2.10.0 → v2.12.0
  • github.com/onsi/gomega: v1.27.8 → v1.27.10
  • github.com/vmware-tanzu/tanzu-plugin-runtime: v1.0.0 → v1.1.0-alpha.0
  • golang.org/x/crypto: v0.9.0 → v0.14.0
  • golang.org/x/mod: v0.10.0 → v0.12.0
  • golang.org/x/net: v0.10.0 → v0.17.0
  • golang.org/x/sync: v0.2.0 → v0.3.0
  • golang.org/x/sys: v0.8.0 → v0.13.0
  • golang.org/x/term: v0.8.0 → v0.13.0
  • golang.org/x/text: v0.9.0 → v0.13.0
  • golang.org/x/tools: v0.9.3 → v0.12.0
  • gotest.tools/v3: v3.0.3 → v3.3.0

Removed

Nothing has changed.