PackageTrack
Sign in Get early access

github.com/kubecolor/kubecolor

v0.6.0 #1195 most downloaded on Go modules kubecolor/kubecolor

What this package is like to depend on

Last release 20 days ago

04 Aug 2026

Ships fairly regularly

a new release about every 6 weeks

Most releases are documented

notes for 10 of 15 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

63 releases · first in 2022

10 releases in the last 12 months

see the full history below

Release timeline

63 releases · Sep 2022 to Aug 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 63
  1. v0.6.1-0.20260804122632-44a1f360a2ab 04 Aug 2026 pre-release

    Nothing published for this version

  2. v0.6.1-0.20260728122351-f9d850c96bf6 28 Jul 2026 pre-release

    Nothing published for this version

  3. v0.6.1-0.20260526191642-8cc01d9e1224 26 May 2026 pre-release

    Nothing published for this version

  4. v0.6.1-0.20260413190452-ad7a1bc8bad7 13 Apr 2026 pre-release

    Nothing published for this version

  5. v0.6.0 12 Apr 2026
    Release notes

    What's Changed

    Features

    • Colorize kubectl label & kubectl annotate by @applejag in #300

      Before After
    • Colorize True/False bool status in kubectl get table output by @tenitski in #307

      Before After
    • Improve 'executable not found' error by @applejag in #299

      Makes the error easier to understand.

      Before:

      $ kubecolor get pods
      [kubecolor] [ERROR] exec: "kubectl": executable file not found in $PATH

      After:

      $ kubecolor get pods
      [kubecolor] [ERROR] exec: "kubectl": executable file not found in $PATH; kubectl must be installed to use kubecolor

    Fixes

    • Increase max line length from 65 kB to 1.5 MB by @applejag in #297

      Before this fix, kubecolor would freeze when it tried to parse a line that was too long. But with this buffer size increase you should now be able to use kubecolor without it freezing.

      In short, this fixes:

      • Running kubecolor get secret -o yaml on a secret with a really big value, such as Helm release secrets
      • Running kubecolor logs on a pod that had a really big log line

      In addition, if kubecolor tries to read a line that's still too long (more than 1.5 MB now), it will now error out instead of freezing.

      The size limit was chosen based on the maximum Secret and ConfigMap value size, rounded up a bit to account for the size increase of base64 encoding and any other formatting like indentation and key names.

    • Always use the custom version printer by @applejag in #298

      Before After

      This did not work before becase kubecolor runs kubectl behind the scenes, reads its output, parses it, and adds in the coloring. And with the kubectl version subcommand it also injects kubecolor's own version into the output.

      But when kubecolor's output is not a terminal, such as when piping it through cat, then as an optimization kubecolor just handed its stdout over to kubectl, so kubecolor has no way of seeing or modifying the output.

      The fix was to still wrap kubectl's output when being piped, if (and only if) the subcommand used is kubectl version.

      You could always also get the kubecolor version using kubecolor --kubecolor-version. But now it behaves more predictable when piping.

    Other

    Dependencies

    • Update to Go 1.26.1 by @applejag in #308
    • Bump actions/checkout from 6.0.0 to 6.0.1 in the all group by @dependabot[bot] in #287
    • Bump actions/checkout from 6.0.1 to 6.0.2 in the all group by @dependabot[bot] in #293
    • Bump actions/download-artifact from 7.0.0 to 8.0.0 in the all group by @dependabot[bot] in #306
    • Bump actions/download-artifact from 8.0.0 to 8.0.1 in the all group by @dependabot[bot] in #314
    • Bump codecov/codecov-action from 5.5.2 to 6.0.0 in the all group by @dependabot[bot] in #316
    • Bump docker/build-push-action from 6.18.0 to 6.19.2 in the all group by @dependabot[bot] in #302
    • Bump docker/setup-qemu-action from 3.6.0 to 3.7.0 in the all group by @dependabot[bot] in #284
    • Bump goreleaser/goreleaser-action from 6.4.0 to 7.0.0 in the all group by @dependabot[bot] in #303
    • Bump k8s.io/apimachinery from 0.34.1 to 0.34.2 in the all group by @dependabot[bot] in #285
    • Bump k8s.io/apimachinery from 0.34.2 to 0.34.3 in the all group by @dependabot[bot] in #288
    • Bump k8s.io/apimachinery from 0.34.3 to 0.35.0 in the all group by @dependabot[bot] in #290
    • Bump k8s.io/apimachinery from 0.35.0 to 0.35.1 in the all group by @dependabot[bot] in #301
    • Bump k8s.io/apimachinery from 0.35.1 to 0.35.2 in the all group by @dependabot[bot] in #305
    • Bump k8s.io/apimachinery from 0.35.2 to 0.35.3 in the all group by @dependabot[bot] in #313
    • Bump the all group with 2 updates by @dependabot[bot] in #291
    • Bump the all group with 2 updates by @dependabot[bot] in #292
    • Bump the all group with 2 updates by @dependabot[bot] in #294
    • Bump the all group with 2 updates by @dependabot[bot] in #315
    • Bump the all group with 3 updates by @dependabot[bot] in #286
    • Bump the all group with 3 updates by @dependabot[bot] in #289
    • Bump the all group with 3 updates by @dependabot[bot] in #311
    • Bump the all group with 5 updates by @dependabot[bot] in #312
    • Bump zizmorcore/zizmor-action from 0.4.1 to 0.5.0 in the all group by @dependabot[bot] in #295

    New Contributors

    Full Changelog: v0.5.3...v0.6.0

    Open source →
  6. v0.5.4-0.20260324122455-d004d4856b97 24 Mar 2026 pre-release

    Nothing published for this version

  7. v0.5.4-0.20260317114836-e285b21d15fd 17 Mar 2026 pre-release

    Nothing published for this version

  8. v0.5.4-0.20251110125454-e10456f8fccb 10 Nov 2025 pre-release

    Nothing published for this version

  9. v0.5.3 03 Nov 2025
    Release notes

    What's Changed

    Vulnerabilities

    1. GO-2025-4010 / CVE-2025-47912
    2. GO-2025-4011 / CVE-2025-58185

    Both are minor vulnerabilities in the Go standard library regarding network. Kubecolor does not use the network at all.

    Features

    • add more missing error status colorizing by @larsgerber in #274

      • PreCreateHookError
      • PreStartHookError
      • PostStartHookError
      • CreateContainerConfigError
      • CreateContainerError

    Dependencies

    Other

    • Fix CI/CD security to follow zizmor recommendations by @applejag in #273

    Full Changelog: v0.5.2...v0.5.3

    Open source →
  10. v0.5.2 28 Sep 2025
    Release notes

    What's Changed

    Vulnerabilities

    Fixes

    Dependencies

    • Bump k8s.io/apimachinery from 0.32.3 to 0.33.0 in the all group by @dependabot[bot] in #245
    • Bump actions/attest-build-provenance from 2.2.3 to 2.3.0 in the all group by @dependabot[bot] in #246
    • Bump k8s.io/apimachinery from 0.33.0 to 0.33.1 in the all group by @dependabot[bot] in #250
    • Bump actions/attest-build-provenance from 2.3.0 to 2.4.0 in the all group by @dependabot[bot] in #256
    • Bump k8s.io/apimachinery from 0.33.1 to 0.33.2 in the all group by @dependabot[bot] in #257
    • Update Go v1.24.0 -> v1.24.5 & mapstructure v2.2.1 -> v2.4.0 to fix vulnerability by @applejag in #262
    • Bump k8s.io/apimachinery from 0.33.2 to 0.33.3 in the all group by @dependabot[bot] in #261
    • Bump actions/download-artifact from 4 to 5 in the all group by @dependabot[bot] in #263
    • Bump k8s.io/apimachinery from 0.33.3 to 0.33.4 in the all group by @dependabot[bot] in #264
    • Bump actions/checkout from 4 to 5 in the all group by @dependabot[bot] in #265
    • Bump actions/attest-build-provenance from 2.4.0 to 3.0.0 in the all group by @dependabot[bot] in #266
    • Bump the all group with 2 updates by @dependabot[bot] in #267
    • Bump the all group with 2 updates by @dependabot[bot] in #268
    • Bump the all group with 2 updates by @dependabot[bot] in #269
    • Update Go to 1.24.7 to fix vuln GO-2025-3956 / CVE-2025-47906 by @applejag in #271

    Other

    New Contributors

    Full Changelog: v0.5.1...v0.5.2

    Open source →
  11. v0.5.2-0.20250625012827-3cdd29b27bda 25 Jun 2025 pre-release

    Nothing published for this version

  12. v0.5.2-0.20250423124403-11be6840045d 23 Apr 2025 pre-release

    Nothing published for this version

  13. v0.5.1 23 Apr 2025
    Release notes

    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

    Open source →
  14. v0.5.0 06 Jan 2025
    Release notes

    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

    Open source →
  15. v0.4.1-0.20250103191217-46785c7c407e 03 Jan 2025 pre-release

    Nothing published for this version

  16. v0.4.1-0.20241130003748-54a641caee21 30 Nov 2024 pre-release

    Nothing published for this version

  17. v0.4.1-0.20241125144158-6a22cd895775 25 Nov 2024 pre-release

    Nothing published for this version

  18. v0.4.1-0.20241118162948-e445148a7a1a 18 Nov 2024 pre-release

    Nothing published for this version

  19. v0.4.1-0.20241028174001-426fd722f964 28 Oct 2024 pre-release

    Nothing published for this version

  20. v0.4.1-0.20241008141532-4a517860a8c3 08 Oct 2024 pre-release

    Nothing published for this version

  21. v0.4.1-0.20240909145358-bd638b2303cf 09 Sep 2024 pre-release

    Nothing published for this version

  22. v0.4.1-0.20240906052444-d8b25845a7f4 06 Sep 2024 pre-release

    Nothing published for this version

  23. v0.4.0 04 Sep 2024
    Release notes

    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
      • Colorize kubecolor logs (instead of just single-colored) by @applejag in #157, #168

        Exciting feature that should make log tailing much easier.

        Before After

        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"

        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
    • Colorize "No resources found" by @applejag in #164

      Before After
    • 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 :)

    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

    New Contributors

    Full Changelog: v0.3.3...v0.4.0

    Open source →
  24. v0.3.4-0.20240904115459-104d7faa0483 04 Sep 2024 pre-release

    Nothing published for this version

  25. v0.3.4-0.20240822021250-789107ee3e21 22 Aug 2024 pre-release

    Nothing published for this version

  26. v0.3.4-0.20240813143025-d002b6d59e8a 13 Aug 2024 pre-release

    Nothing published for this version

  27. v0.3.4-0.20240813141450-da62d6fda907 13 Aug 2024 pre-release

    Nothing published for this version

  28. v0.3.4-0.20240617120623-bb4234e0f11d 17 Jun 2024 pre-release

    Nothing published for this version

  29. v0.3.4-0.20240610115556-5d60e29905b2 10 Jun 2024 pre-release

    Nothing published for this version

  30. v0.3.4-0.20240603123955-b63084f68dbd 03 Jun 2024 pre-release

    Nothing published for this version

  31. v0.3.4-0.20240603065810-2425144384f2 03 Jun 2024 pre-release

    Nothing published for this version

  32. v0.3.4-0.20240531170434-b607147a484e 31 May 2024 pre-release

    Nothing published for this version

  33. v0.3.4-0.20240530124650-7d4c2edd1f47 30 May 2024 pre-release

    Nothing published for this version

  34. v0.3.4-0.20240528131442-dd91e6d3fcd5 28 May 2024 pre-release

    Nothing published for this version

  35. v0.3.4-0.20240526164422-1f3e93886cdb 26 May 2024 pre-release

    Nothing published for this version

  36. v0.3.3 23 May 2024
    Release notes

    Changelog

    Open source →
  37. v0.3.2 02 May 2024
    Release notes

    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)
    • 9a6fda5 KUBECOLOR_LIGHT_BACKGROUND was working in reverse (#119)
    • 53b973e VSCode settings & fixed typos (#115)
    • 6d0fdc9 adding automation for HomeBrew update (#120)
    Open source →
  38. v0.3.2-0.20240502210804-6d0fdc9759b2 02 May 2024 pre-release

    Nothing published for this version

  39. v0.3.1 15 Apr 2024
    Release notes

    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 ❤️

    Open source →
  40. v0.3.1-0.20240415171536-ddf2f7588a64 15 Apr 2024 pre-release

    Nothing published for this version

  41. v0.3.0 15 Apr 2024
    Release notes

    Changelog

    Open source →
  42. v0.2.3-0.20240415115116-6bdf9b828363 15 Apr 2024 pre-release

    Nothing published for this version

  43. v0.2.3-0.20240410183746-6a569b2b557d 10 Apr 2024 pre-release

    Nothing published for this version

  44. v0.2.3-0.20240327191238-2a391262edbd 27 Mar 2024 pre-release

    Nothing published for this version

  45. v0.2.3-0.20240317214325-e49db7309347 17 Mar 2024 pre-release

    Nothing published for this version

  46. v0.2.3-0.20240301142541-080548427116 01 Mar 2024 pre-release

    Nothing published for this version

  47. v0.2.3-0.20240220035042-9497a50e0177 20 Feb 2024 pre-release

    Nothing published for this version

  48. v0.2.3-0.20240208164625-ccd6341713da 08 Feb 2024 pre-release

    Nothing published for this version

  49. v0.2.3-0.20240208161735-62859f6197be 08 Feb 2024 pre-release

    Nothing published for this version

  50. v0.2.3-0.20240130140838-ef7d418edd36 30 Jan 2024 pre-release

    Nothing published for this version

  51. v0.2.2 25 Jan 2024

    Nothing published for this version

  52. v0.2.2-0.20240113201059-7e64ed5aff4e 13 Jan 2024 pre-release

    Nothing published for this version

  53. v0.2.1 13 Jan 2024

    Nothing published for this version

  54. v0.2.1-0.20240113193958-94598081b4de 13 Jan 2024 pre-release

    Nothing published for this version

  55. v0.2.1-0.20240113193844-bee03adcf312 13 Jan 2024 pre-release

    Nothing published for this version

  56. v0.2.1-0.20231227200041-1dac170b3899 27 Dec 2023 pre-release

    Nothing published for this version

  57. v0.2.0 19 Dec 2023

    Nothing published for this version

  58. v0.1.0 15 Dec 2023

    Nothing published for this version

  59. v0.0.22-0.20231215154915-e3891c1d749d 15 Dec 2023 pre-release

    Nothing published for this version

  60. v0.0.22-0.20231214203509-23a17b7906fc 14 Dec 2023 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive