Releases: charmbracelet/colorprofile
v0.3.2
Changelog
Bug fixes
- 561b8ac: fix: avoid variable shadowing to properly cache color conversions (@aymanbagabas)
Documentation updates
- 4417188: docs: add contributing guidelines (#47) (@bashbunni)
Other work
- 8c9f0ba: ci: sync dependabot config (#44) (@charmcli)
- 0164c5a: ci: sync golangci-lint config (#46) (@github-actions[bot])
- 531ba36: ci: sync golangci-lint config (#51) (@github-actions[bot])
- f7fa2ac: perf: cache color conversion (#43) (@aymanbagabas)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, Discord, Slack, The Fediverse.
v0.3.1
This release fixes an issue where COLORTERM
gets evaluated whether TERM
is defined. It also respects -direct
terminal types and use true colors for those.
Changelog
Bug fixes
- fc2cc29: fix: ignore COLORTERM when no TERM is defined (@aymanbagabas)
- fbe498e: fix: lint issues (@aymanbagabas)
- 14c7056: fix: support direct color terminals (@aymanbagabas)
- 3e9edb6: fix: windows check should happen earlier in colorProfile (@aymanbagabas)
Other work
- 67a142c: ci: sync golangci-lint config (@aymanbagabas)
- ee84230: ci: sync golangci-lint config (#39) (@github-actions[bot])
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.3.0
You can now use TTY_FORCE=1
to force colorprofile
programs to assume they're working with a TTY to force colors.
Changelog
New Features
- 324ca85: feat: skip tty check by environment variable (SKIP_TTY_CHECK) (@raphamorim)
- b6df488: feat: update go version to 1.23 (@raphamorim)
Bug fixes
- 9c2d5e8: fix: lint errors (#37) (@raphamorim)
Other work
- 06f135b: ci: sync golangci-lint config (@aymanbagabas)
- 839931a: remove toolchain definition (@raphamorim)
- 2f2fe5b: rename to isTTYForced (@raphamorim)
- d8f8eab: update naming (@raphamorim)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.2.2
This fixes an issue where color parsing is using the wrong SGR style parameters to read the color.
Changelog
Other work
- 4d2873f: Fix style color parsing (@aymanbagabas)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.2.1
This release fixes an issue determining the correct color profile based on the max value from environment, terminfo, and tmux.
Changelog
Bug fixes
- 3e49392: fix: color profile is the maximum of env, terminfo, and tmux (@aymanbagabas)
Other work
- c04db4e: ci: sync dependabot config (#29) (@charmcli)
- 20e9098: ci: sync dependabot config (#30) (@charmcli)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.2.0
Changelog
Other work
- 1986dd6: refactor: reorder color profiles (@aymanbagabas)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.1.11
Changelog
Bug fixes
- 0394ba7: fix: respect isatty (@aymanbagabas)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.1.10
Changelog
New Features
- d31d262: feat: add simple terminal support (@aymanbagabas)
- 9d6ebea: feat: support terminfo databases and query tmux for color profile (#24) (@aymanbagabas)
Bug fixes
- ac40cb1: fix: add xterm and rio color profiles (@aymanbagabas)
- d581484: fix: examples: handle nil color in colorToHex (@aymanbagabas)
- bb7e130: fix: remove invalid terminal types (@aymanbagabas)
- 91948f2: fix: use ANSI color profile for 16 colors terminals (@aymanbagabas)
- 602ea25: fix: use ansi.ReadStyleColor to appropriately read color values (@aymanbagabas)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.1.9
Changelog
Bug fixes
- 2b0f69a: fix: minor typo in grayscale conversion (#17) (@CannibalVox)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.1.8
Changelog
Bug fixes
- d632863: fix: properly handle missing SGR parameters (@aymanbagabas)
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.