Skip to content

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 09 Oct 20:57
· 286 commits to develop since this release
Immutable release. Only release title and notes can be modified.

Highlights

Two new commands work from a listing's indexes instead of a name you copy out of it, and this release closes five HTTP/2 advisories reachable through client-go.

  • Waiting on a resource: The kx wait command blocks until each numbered resource is ready, bound or complete, and a failed Job ends the wait with its reason instead of waiting out the timeout.
  • Changing images: Each image kx set image changes is printed before and after, so you can see what to put back.
  • Narrower sweeps: Health checks, scans and trees now take --match too, as in kx diag -m api.
  • State for scripts: A script can read what each index means from kx state --json instead of parsing the table.
  • An install script: One line installs the newest build for Linux or macOS, checked against the release's checksums: curl -fsSL https://jzills.github.io/kx/install.sh | sh.

Breaking: If a script passes -m beside JSON, YAML, a template or --no-headers, expect exit 1: kx now refuses a match it can't apply instead of printing everything. If you build from source, you need Go 1.26.9, which the published binaries already carry.

Breaking changes

  • The --match flag narrows what kx prints, or the command is refused (#450).

Features

  • The kx wait command blocks until indexed resources are ready (#422).
  • The kx set image command changes an indexed workload's images (#421).
  • The --match flag narrows kx diag, kx scan and kx tree (#420).
  • The kx state --json output says what each index means (#419).
  • A hosted install script for Linux and macOS (#415).
  • Copy buttons on the install cards (#413).

Fixes

  • A number in the resource position names a row, not a kind (#462).
  • A document command keeps its banner and separators off stdout (#461).
  • Every command names its missing arguments the same way (#460).
  • A stale index leaves a command's own document on stdout alone (#455).
  • A namespace the context gave a listing is replayed only in that context (#451).
  • Whether a listing is numbered no longer depends on --match (#449).
  • An output format prints kubectl's output (#453).
  • A container's row names the pod its index resolves to (#454).
  • Every kubectl spelling of a kind kx names reads as that kind (#452).
  • A listing kx prints unnumbered keeps every row it matches (#448).
  • A stale index re-runs whichever command listed it — kx top, diag and tree included (#443).
  • The kx get all listing and other multi-kind listings index correctly, and kubectl's warnings are shown (#442).
  • A listing from another cluster prints unnumbered and unsaved (#427).
  • A Service's sweep row reports the Service, not its pods (#425).
  • List only Warning events, in pages (#424).

Dependencies

  • Bump x/net to v0.60.0 and the toolchain to go1.26.9 for five http2 advisories (#456).
  • Bump github/codeql-action from 4.38.1 to 4.38.2 (#431).
  • Bump k8s.io/client-go from 0.37.0 to 0.37.1 (#428).
  • Bump github.com/mattn/go-runewidth from 0.0.29 to 0.0.30 (#381).
  • Bump github/codeql-action from 4.38.0 to 4.38.1 (#399).

Full Changelog: v0.7.0...v0.8.0