Change Log
Fixed
- fix: fix slice init length (#97) https://github.com/gookit/color/commit/d4a4cd982d2be4df844a5d25c9fce141ab8c70b4
- fix: resolve color tag parsing issue in #52 (PR #98) https://github.com/gookit/color/commit/bdf4489c0809a60273e6eed23265744387956632
- Fix race condition in Theme.Tips method when called concurrently (#109) https://github.com/gookit/color/commit/6de7584cc156f933c35486438b803728c9117984
Feature
- :sparkles: feat: add new convert func: HSVToRGB, RGBToHSV https://github.com/gookit/color/commit/d95f21382d10ff2176385216a3fcb9fb8eecf33c
Update
- Optimize RenderCode performance with fast paths for string arguments (#110) https://github.com/gookit/color/commit/e53293506e20255afaabc6a09129f1c40d18300f
- :art: up: Remove dependencies on stretchr/testify and use a lighter gookit/assert alternative. https://github.com/gookit/color/commit/4ac4e07737607f32227aaddd5fe77a48d84802ff
- :necktie: up: remove deprecated var isLikeInCmd, update some tests https://github.com/gookit/color/commit/c5db0d02b3242fa3e1bce64ae55a4d395d317fe4
- :necktie: up: update detect env, use internal Level* instead of the terminfo.ColorLevel* https://github.com/gookit/color/commit/173325a2f9b2d1967023bb72570f5a1521138765
- :fire: chore: remove any.go, merge printer.go to quickstart.go https://github.com/gookit/color/commit/f46f52ebf9f0076f788dd3d8a876c09bba68c1c4
Other
- build(deps): bump WillAbides/setup-go-faster from 1.8.0 to 1.9.0 (#66) https://github.com/gookit/color/commit/62dd3d2099b75441d20f5b93980996d205162243
- build(deps): bump golang.org/x/sys from 0.10.0 to 0.11.0 (#68) https://github.com/gookit/color/commit/b79b464ac69ea61948ee0f19074efd02f570f0b5
- build(deps): bump WillAbides/setup-go-faster from 1.9.0 to 1.9.1 (#69) https://github.com/gookit/color/commit/ecb55704cb02ba2089a8cb1b2f235ae30f094c58
- build(deps): bump actions/checkout from 3 to 4 (#73) https://github.com/gookit/color/commit/91529f090e76d51053ebb67c267f56def485c985
- build(deps): bump WillAbides/setup-go-faster from 1.9.1 to 1.10.1 (#71) https://github.com/gookit/color/commit/3df6d412f5653eef111892c50b41bb3c6756e87f
- build(deps): bump WillAbides/setup-go-faster from 1.10.1 to 1.11.0 (#74) https://github.com/gookit/color/commit/8fa895424999c87599ee9def2a272b5fe4dca10a
- build(deps): bump WillAbides/setup-go-faster from 1.11.0 to 1.12.0 (#75) https://github.com/gookit/color/commit/9c0ef29614cc5f33bbb5d6e54d69488e19377162
- build(deps): bump golang.org/x/sys from 0.11.0 to 0.13.0 (#76) https://github.com/gookit/color/commit/4af2bdd60e1f8b190a521e6d08b38e7abce9be93
- build(deps): bump golang.org/x/sys from 0.13.0 to 0.14.0 (#77) https://github.com/gookit/color/commit/44243abe880c2859f5397108eb1f73dcb296ecfe
- build(deps): bump golang.org/x/sys from 0.14.0 to 0.15.0 (#78) https://github.com/gookit/color/commit/72fbeaf35c9d67fb4009467dabe903c52a912b7e
- build(deps): bump WillAbides/setup-go-faster from 1.12.0 to 1.13.0 (#79) https://github.com/gookit/color/commit/0c83bae2776f33965b7bfcd261eba737b1658006
- build(deps): bump github/codeql-action from 2 to 3 (#80) https://github.com/gookit/color/commit/1bc67c42729039d4f93014805387e11bed864e36
- build(deps): bump golang.org/x/sys from 0.15.0 to 0.16.0 (#81) https://github.com/gookit/color/commit/23187d9a0c2245bdbfc4cba464d4c6b4674eee13
- build(deps): bump WillAbides/setup-go-faster from 1.13.0 to 1.14.0 (#82) https://github.com/gookit/color/commit/d7e962b5db0306c0020010da8625525872d0b229
- build(deps): bump golang.org/x/sys from 0.16.0 to 0.17.0 (#83) https://github.com/gookit/color/commit/f6fd20fee42b291c90d86ed1d1f9d1ddc4a3f0c6
- build(deps): bump golang.org/x/sys from 0.17.0 to 0.18.0 (#86) https://github.com/gookit/color/commit/18d84cbc1de065083e0b416abfa4dcf7293129ff
- build(deps): bump softprops/action-gh-release from 1 to 2 (#87) https://github.com/gookit/color/commit/7e68fa7262358ecaa584445c256f10a183d7981d
- build(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 (#88) https://github.com/gookit/color/commit/532f1f3e0e48b673a8d4beebaced89c4496a6645
- build(deps): bump golang.org/x/sys from 0.19.0 to 0.20.0 (#89) https://github.com/gookit/color/commit/c76538d4506d1c694fb501c1de79c2c18fb5c2c9
- build(deps): bump golang.org/x/sys from 0.20.0 to 0.21.0 (#90) https://github.com/gookit/color/commit/7eaf97a3da4d09ffebf428a92d5a95beb251bc5f
- Update utils_test.go to allow running in read-only mode. (#91) https://github.com/gookit/color/commit/fedc17449eaf8caebff61f9cae96eb04dcc644b6
- build(deps): bump golang.org/x/sys from 0.21.0 to 0.25.0 (#96) https://github.com/gookit/color/commit/07ab70b0f88162cc5c4f5489433a606f740d425a
- build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0 (#85) https://github.com/gookit/color/commit/4bcc6dbae488109fa55d4d13cfb79a9fe9da069b
- build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 (#99) https://github.com/gookit/color/commit/992eecff327924e8a6415bffadaa8aeb94e00bad
- build(deps): bump golang.org/x/sys from 0.25.0 to 0.30.0 (#100) https://github.com/gookit/color/commit/90a106811b21233f86d94f53b387530136869611
- build(deps): bump golang.org/x/sys from 0.30.0 to 0.31.0 (#101) https://github.com/gookit/color/commit/860732ea1d6ca419b079475751c7944f48afb790
- :memo: chore: add ci test on go1.21+, remove test on go1.18 https://github.com/gookit/color/commit/5a4956180d841b68a25a68cb632aea0128845a5a
- Add comprehensive GitHub Copilot instructions for gookit/color repository (#108) https://github.com/gookit/color/commit/db128cf37af8ef9c19373011f2446405817b9156
- :arrow_up: dep: upgrade actions and deps to latest version https://github.com/gookit/color/commit/5eae38c757896b9f44c4178818296d7865040643
- :green_heart: ci: revert the go version to 1.18 on go.mod https://github.com/gookit/color/commit/370e2273e287eb80b3cf163c9a6cb421ce1c5ae0
- :art: doc: update readme and format the.github/copilot-instructions.md https://github.com/gookit/color/commit/c34c15ee0accd33b98cbe4bebd9a6088ab936ba0
- :memo: chore: update some code style and some tests https://github.com/gookit/color/commit/f14a7b8884c0468d74dff06523ca2e193ea633dd
- :art: chore: update some go file code style https://github.com/gookit/color/commit/cc45966f383051c98a368c585241f9e9f9581014
- :arrow_up: dep: upgrade gookit/assert to v0.1.1, update some tests https://github.com/gookit/color/commit/fa4789157447e17c0768cb97cd894c544bcace2c
- :white_check_mark: demo: update the examples deps and some codes https://github.com/gookit/color/commit/0b1dc4cd9cbcabe084c162b6095b05a9030c0275
New Contributors
- @Hellseher made their first contribution in https://github.com/gookit/color/pull/91
- @cuishuang made their first contribution in https://github.com/gookit/color/pull/97
- @almas-x made their first contribution in https://github.com/gookit/color/pull/98
- @Copilot made their first contribution in https://github.com/gookit/color/pull/108
Full Changelog: https://github.com/gookit/color/compare/v1.5.4...v1.6.0