Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[new release] ansifmt (0.2.0) #27357

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qexat
Copy link
Contributor

@qexat qexat commented Feb 3, 2025

A simple, lightweight library for ANSI formatting

CHANGES:

Features

Breaking Changes

Removed

  • Util.parenthesize_if which is deemed unuseful and is kind of a duplicate of Tree.parenthesize_if in Formatting.

CHANGES:

## Features

- Add color functions `luminance` and `best_for_contrast`. (by @chshersh in qexat/ansifmt#5)
- Add styling functions `fg`, `bg`, `bold`, `dim`, `italic`, `underlined`. (by @chshersh in qexat/ansifmt#6)
- Add styling composition with `&`. (by @chshersh in qexat/ansifmt#6)
- Add function `make_rgb_hex` to parse hexadecimal codes into RGB colors. (by @chshersh in qexat/ansifmt#7)

## Breaking Changes

- `Color.t` and `Color.Ground.t` are now polymorphic variants. (by @chshersh in qexat/ansifmt#5)

## Removed

- `Util.parenthesize_if` which is deemed unuseful and is kind of a duplicate of `Tree.parenthesize_if` in `Formatting`.
@qexat
Copy link
Contributor Author

qexat commented Feb 3, 2025

CI is failing because I once again forgot to put the lower-bound to 4.08, I'll fix that soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant