Skip to content

Releases: gookit/color

v1.6.0

28 Aug 03:32

Choose a tag to compare

Change Log

Fixed

  • fix: fix slice init length (#97) d4a4cd9
  • fix: resolve color tag parsing issue in #52 (PR #98) bdf4489
  • Fix race condition in Theme.Tips method when called concurrently (#109) 6de7584

Feature

  • ✨ feat: add new convert func: HSVToRGB, RGBToHSV d95f213

Update

  • Optimize RenderCode performance with fast paths for string arguments (#110) e532935
  • 🎨 up: Remove dependencies on stretchr/testify and use a lighter gookit/assert alternative. 4ac4e07
  • 👔 up: remove deprecated var isLikeInCmd, update some tests c5db0d0
  • 👔 up: update detect env, use internal Level* instead of the terminfo.ColorLevel* 173325a
  • 🔥 chore: remove any.go, merge printer.go to quickstart.go f46f52e

Other

  • build(deps): bump WillAbides/setup-go-faster from 1.8.0 to 1.9.0 (#66) 62dd3d2
  • build(deps): bump golang.org/x/sys from 0.10.0 to 0.11.0 (#68) b79b464
  • build(deps): bump WillAbides/setup-go-faster from 1.9.0 to 1.9.1 (#69) ecb5570
  • build(deps): bump actions/checkout from 3 to 4 (#73) 91529f0
  • build(deps): bump WillAbides/setup-go-faster from 1.9.1 to 1.10.1 (#71) 3df6d41
  • build(deps): bump WillAbides/setup-go-faster from 1.10.1 to 1.11.0 (#74) 8fa8954
  • build(deps): bump WillAbides/setup-go-faster from 1.11.0 to 1.12.0 (#75) 9c0ef29
  • build(deps): bump golang.org/x/sys from 0.11.0 to 0.13.0 (#76) 4af2bdd
  • build(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0 (#77) 44243ab
  • build(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0 (#78) 72fbeaf
  • build(deps): bump WillAbides/setup-go-faster from 1.12.0 to 1.13.0 (#79) 0c83bae
  • build(deps): bump github/codeql-action from 2 to 3 (#80) 1bc67c4
  • build(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0 (#81) 23187d9
  • build(deps): bump WillAbides/setup-go-faster from 1.13.0 to 1.14.0 (#82) d7e962b
  • build(deps): bump golang.org/x/sys from 0.16.0 to 0.17.0 (#83) f6fd20f
  • build(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0 (#86) 18d84cb
  • build(deps): bump softprops/action-gh-release from 1 to 2 (#87) 7e68fa7
  • build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 (#88) 532f1f3
  • build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 (#89) c76538d
  • build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 (#90) 7eaf97a
  • Update utils_test.go to allow running in read-only mode. (#91) fedc174
  • build(deps): bump golang.org/x/sys from 0.21.0 to 0.25.0 (#96) 07ab70b
  • build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#85) 4bcc6db
  • build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#99) 992eecf
  • build(deps): bump golang.org/x/sys from 0.25.0 to 0.30.0 (#100) 90a1068
  • build(deps): bump golang.org/x/sys from 0.30.0 to 0.31.0 (#101) 860732e
  • 📝 chore: add ci test on go1.21+, remove test on go1.18 5a49561
  • Add comprehensive GitHub Copilot instructions for gookit/color repository (#108) db128cf
  • ⬆️ dep: upgrade actions and deps to latest version 5eae38c
  • 💚 ci: revert the go version to 1.18 on go.mod 370e227
  • 🎨 doc: update readme and format the.github/copilot-instructions.md c34c15e
  • 📝 chore: update some code style and some tests f14a7b8
  • 🎨 chore: update some go file code style cc45966
  • ⬆️ dep: upgrade gookit/assert to v0.1.1, update some tests fa47891
  • ✅ demo: update the examples deps and some codes 0b1dc4c

New Contributors

Full Changelog: v1.5.4...v1.6.0

v1.5.4

20 Jul 08:55

Choose a tag to compare

Change Log

Fixed

  • 🐛 fix: fix convert basic color to rgb color fail 74bb513

Feature

  • ✨ feat: RGBColor add new method: ToFg(), ToBg() for quick convert fe2b251
  • ✨ feat: Color add new method: IsBg(), IsFg(), IsOption() for check color 9027b9d

Other

  • build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.2 (#57) a43d137
  • build(deps): bump golang.org/x/sys from 0.6.0 to 0.7.0 (#59) 13c3e97
  • build(deps): bump golang.org/x/sys from 0.7.0 to 0.8.0 (#60) 264b64f
  • build(deps): bump golang.org/x/sys from 0.8.0 to 0.9.0 (#63) dd23b12
  • build(deps): bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#62) 0354c4a
  • build(deps): bump golang.org/x/sys from 0.9.0 to 0.10.0 (#64) 7da3fe3

v1.5.3

21 Mar 16:23

Choose a tag to compare

Change Log

Feature

  • ✨ feat: add new pkg colorp for quickly print message 6037df8

Other

  • build(deps): bump WillAbides/setup-go-faster from 1.7.0 to 1.8.0 3cee7ac
  • {type}:chore: update some deps to latest version 64f6508
  • ci: will be not support go < 1.17 b564cab
  • {type}:chore: replace all interface{} type to any c0a8b52

v1.5.2

29 Aug 14:14

Choose a tag to compare

Change Log

Refactor

  • refactor: update and refactor the color tag parse logic efc6d3f

Fixed

  • fix: RGBFromString() maybe input overflow int value bf93227

Update

  • up: update some comments and add more unit tests daca06f

Other

  • build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.3 ab29a70
  • build(deps): bump github.com/stretchr/testify from 1.7.3 to 1.7.4 8e41e71
  • build(deps): bump github.com/stretchr/testify from 1.7.4 to 1.7.5 895e882
  • chore: add color level alias of the terminfo.ColorLevel 2f5b36d
  • chore: update some func comments, fix some code style f30c873
  • chore: update the limit go version and update release gh action e12eb6f
  • chore: update the readme add more HTML like tags usage d305f5f
  • chore: add more docs for detect color level on readme 0ec8e78
  • build(deps): bump github.com/stretchr/testify from 1.7.5 to 1.8.0 1823e0c
  • chore: update some comments code styles d0fe513

Full Changelog: v1.5.1...v1.5.2

v1.5.1

10 Jun 04:01

Choose a tag to compare

Change Log

Feature

  • feat: add more quick start func for use color 85b9eb0

Update

  • up: update action, will auto generate changelog on release fb141c4
  • up: update some for build full color string d5924d1
  • chore: update the basic color preview image 95811af
  • chore: update pkg limit go version to 1.14+ bef594f

Other

  • doc: add docsify for project ce925d0
  • doc: add more gookit project ef04058
  • build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 3ec6601
  • build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 2d784a3

v1.5.0

18 Oct 02:41

Choose a tag to compare

Change Log

Update

  • update: add case for tests WSL env 4405889
  • Add bg colors to basic to hex convertor ac28629
  • add new project on readme 254c63f
  • up: add more unit tests 5f87df4
  • enhance: support use color name create some common rgb color e48d1e5
  • breaking: will not support go < 1.13 b29d2b2

Feature

  • feat: support create Rgb color from Hsl value, issue #40 dfe4c47
  • feat: add more convert methods on Color 3986cfd

Other

  • readme: update readme add more projects ce88fce
  • readme: update readme 79357dc
  • chore: add an example demo for use color c8097c2
  • Bump github.com/stretchr/testify from 1.3.0 to 1.7.0 468b81a
  • style: add some comments d1c276a
  • sytle: update readme c7dc094

v1.4.2

10 Apr 03:24

Choose a tag to compare

Release v1.4.2

v1.4.1

07 Apr 16:32

Choose a tag to compare

Release v1.4.1

v1.4.0

06 Apr 12:14

Choose a tag to compare

v1.3.8

28 Feb 06:20

Choose a tag to compare

Release v1.3.8