8000 Releases · kubecolor/kubecolor · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 8000 /div>

Releases: kubecolor/kubecolor

v0.5.1

23 Apr 12:36
d66071b
Compare
Choose a tag to compare

What's Changed

We now serve DEB & RPM repositories! See https://kubecolor.github.io/setup/install/#deb for more info.

This release only contains dependency updates and changes to our releases.

New features

Dependencies

Non-functional changes

Full Changelog: v0.5.0...v0.5.1

v0.5.0

13 Jan 17:49
25f1b15
Compare
Choose a tag to compare

What's Changed

Smaller release than v0.4.0, but still contains some nice bugfixes and a few but useful features.

New features

Bug fixes

  • Fixed negative tz offsets in time regex by @guppy0130 in #174
  • Fixed 'kubectl version -o yaml' indentation by @applejag in #182
  • Fixed --output=name using table coloring by @applejag in #181
  • Fixed missing output from YAML & JSON printers, and YAML multiline support by @applejag in #180
  • Fixed 'DEBU' not being read as debug log level by @applejag in #185
  • Fixed completion of flag values (with equal sign, as in: --namespace=...) by @applejag in #208

Dependencies

  • Bump k8s.io/apimachinery from 0.31.0 to 0.31.1 in the all group by @dependabot in #183
  • Bump k8s.io/apimachinery from 0.31.1 to 0.31.2 in the all group by @dependabot in #189
  • Bump codecov/codecov-action from 4 to 5 in the all group by @dependabot in #193
  • Bump k8s.io/apimachinery from 0.31.2 to 0.31.3 in the all group by @dependabot in #197
  • Update Go to 1.23.4 by @applejag in #206
  • Bump k8s.io/apimachinery from 0.31.3 to 0.32.0 in the all group by @dependabot in #205
  • Bump github.com/invopop/jsonschema from 0.12.0 to 0.13.0 in the all group by @dependabot in #211

Non-functional changes

  • Fixed govulncheck workflow by @applejag in #176
  • Fix internal/cmd/configdoc after color refactor by @applejag in #200
  • Improved debug log printing for multiline strings & slices by @applejag in #209

New Contributors

Full Changelog: v0.4.0...v0.5.0

v0.4.0

04 Sep 21:06
d8bd590
Compare
Choose a tag to compare

What's Changed

Big new release! Back in v0.3.0 we introduced themes. This time around, we have some more new features and a lot of added colorization of a of kubectl subcommands.

A huge thanks to everyone involved! ❤️

New features

  • Paging: Pipe output through pager by @lennartack in #122, #144

    Controlled by the new flags:

    • --paging=auto (also KUBECOLOR_PAGING environment variable) enables paging on subcommands that supports it (e.g kubectl get pods, while paging is always disabled for kubectl get pods --watch)
    • --no-paging is an alias for --paging=never, useful for overriding value from config or environment variable
    • --pager="less -RF" (also PAGER or KUBECOLOR_PAGER environment variables) sets pager command
  • Inject kubecolor flags into shell completions by @applejag in #132

    Means when you have bash, zsh, fish, or PowerShell completions set up and press Tab to complete your flags, then kubecolor's additional flags will now also show up:

    $ kubecolor --kubeco<TAB><TAB>
    --kubecolor-stdin    -- Read command input from stdin or file instea
    --kubecolor-theme    -- Set kubecolor theme preset, e.g dark or ligh
    --kubecolor-version  -- Print the kubecolor version and then exit.
    --kubeconfig         -- Path to the kubeconfig file to use for CLI r
  • Added colorization:

    • Colorize kubecolor --help help text by @applejag in #129

      Before After
      kubectl --help screenshot kubectl --help screenshot
    • Colorize kubecolor logs (instead of just single-colored) by @applejag in #157, #168

      Exciting feature that should make log tailing much easier.

      Before After
      kubectl logs screenshot kubectl logs screenshot
      kubectl logs screenshot kubectl logs screenshot
      kubectl logs screenshot kubectl logs screenshot

      Compared to all other parsing techniques we use in kubecolor, this feature contains the most heuristic based approach. What we're trying to accomplish is parsing and colorizing any possible log formats. If you have some log formats that are weirdly colorized, then please report them as bug reports and we'll have a closer look into them.

      It's able to quite well handle JSON logs, logfmt formatted logs, and klog logs (commonly used in operators). However it's not great at dealing with multiline logs like some of Elasticsearch's logs, and sometimes the colors can become quite overwhelming on long log messages.

    • Colorize "verb based output" by @applejag in #154, #162, #161

      Generalized the kubectl apply logic so we could use it on a lot of subcommands with a similar output where the general output structure is: "resource-name" + "verb"

      kubectl rollout restart screenshot

      This includes subcommands:

      • kubectl create
      • kubectl delete
      • kubectl drain
      • kubectl expose
      • kubectl patch
      • kubectl rollout pause
      • kubectl rollout restart
      • kubectl rollout resume
      • kubectl rollout undo
      • kubectl scale
      • kubectl uncordon
  • Inject kubecolor version into 'kubectl version' by @applejag in #133

    We have had the --kubecolor-version flag for a while. But you will now also see kubecolor's version in the regular kubectl version output.

    $ kubecolor version --client
    Client Version: v1.31.0
    Kustomize Version: v5.4.2
    Kubecolor Version: v0.4.0
    
    $ kubecolor version --client --output yaml
    clientVersion:
        buildDate: "1980-01-01T00:00:00Z"
        compiler: gc
        gitCommit: 9edcffcde5595e8a5b1a35f88c421764e575afce
        gitTreeState: archive
        gitVersion: v1.31.0
        goVersion: go1.22.6
        major: "1"
        minor: "31"
        platform: linux/amd64
    kubecolorVersion: v0.4.0
    kustomizeVersion: v5.4.2

    This is a rare case where we actually change the output of a command. All other subcommand's outputs solely add colors while intending to keep the text identical.

  • Colorize multiple statuses (e.g node Ready,SchedulingDisabled) by @applejag in #158

    Before After
    before screenshot of test/corpus/table.txt after screenshot of test/corpus/table.txt
  • Colorize "No resources found" by @applejag in #164

    Before After
    screenshot of no resources found screenshot of no resources found
  • Colorize stderr logs using "kubectl logs" logic by @applejag in #166

    Sometimes kubectl writes output to stderr, such as when using the --v 6 flag. Previously this used a simple logic of printing it in full red if it started with the word "error", or uncolored otherwise.

    That "uncolored otherwise" has now been replaced with using the same log parsing and coloring as has been introduced for the kubectl logs subcommand.

  • Added colored kubecolor debug logs by @applejag in #169

    Kubecolor has had its own logs since its beginning, such as if it fails to find a kubectl executable to run or if an environment variable has an invalid value. But ironically, they have always been uncolored.

    This is now fixed :)

    screenshot of colorized kubecolor error

Bug fixes

  • BREAKING: Fixed KUBECOLOR_CONFIG targeting directory instead of file by @applejag in #145

    While being a breaking change, this feature never worked as intentional to begin with. Apologies for the issue.

  • Fix --force-colors, and adds --force-colors=truecolor override support by @applejag in #127

  • Fix kubectl plugins with dashes not being detected as plugins by @larsgerber in #110

  • Skip pager integration if no default can be found by @applejag in #126

  • Fix linting issue in Dockerfile by @applejag in #159

  • Changed PAGER feature to opt-in by @applejag in #130

  • Don't exit immediately when pager exits by @lennartack in #139

Docs

Dependencies

  • Update to Go 1.22.5 by @applejag in #147
  • Bump github.com/spf13/viper from 1.18.2 to 1.19.0 in the all group by @dependabot in #140
  • Bump goreleaser/goreleaser-action from 5 to 6 in the all group by @dependabot in #141
  • Bump docker/build-push-action from 5 to 6 in the all group by @dependabot in #142

Non-functional changes

Read more

v0.3.3

23 May 17:04
84a39b2
Compare
Choose a tag to compare

Changelog

v0.3.2

02 May 21:20
6d0fdc9
Compare
Choose a tag to compare

Changelog

  • fc00697 Added coloring of Init:Error type statuses (#116)
  • 7c84588 Change autocomplete documentation for fish (#114)
  • 3d2be40 Fixed kubecolor adding colors in completions (#118)
  • 7d31f14 Fixed kubecolor coloring oc rsh (#117 8000 )
  • 9a6fda5 KUBECOLOR_LIGHT_BACKGROUND was working in reverse (#119)
  • 53b973e VSCode settings & fixed typos (#115)
  • 6d0fdc9 adding automation for HomeBrew update (#120)

v0.3.1

19 Apr 14:17
ddf2f75
Compare
Choose a tag to compare

Changelog

This version is mostly a re-release of v0.3.0.

We had a bug in the initial release of v0.3.0, and after a quick patch v0.3.0 was deleted and released again.

However re-tagging a release has proven problematic due to the cascade of package maintainers being too fast and too good at keeping their repos up-to-date. So even though the re-tagging of v0.3.0 was done just an hour after its initial release, we still had multiple package registries like Termux using the initial (and buggy) v0.3.0.

Therefore, here is v0.3.1, which is the same code as the newer re-tagged v0.3.0.

We will avoid re-tagging in the future. Thank you all for your patience ❤️

v0.3.0

15 Apr 15:07
6a32eed
Compare
Choose a tag to compare

Changelog

v0.2.2

25 Jan 14:39
44922b4
Compare
Choose a tag to compare

Changelog

  • 5acb092 Added Scoop and Nix repo (#45)
  • 5594e1f Bump the all group with 1 update (#46)
  • 44922b4 Fix missing trailing table in kubectl describe (#50)
  • 7e64ed5 README: Remove width & height attributes (#44)

v0.2.1

13 Jan 19:43
9459808
Compare
Choose a tag to compare

Changelog

v0.2.0

19 Dec 19:24
adfadd8
Compare
Choose a tag to compare

Changelog

0