Skip to content

Update module charm.land/lipgloss/v2 to v2.1.0 - #159

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/charm.land-lipgloss-v2-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/charm.land-lipgloss-v2-2.x

Conversation

@renovate

@renovate renovate Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
charm.land/lipgloss/v2 v2.0.5 → v2.1.0 age confidence

Release Notes

charmbracelet/lipgloss (charm.land/lipgloss/v2)

v2.1.0

Compare Source

New table parameter and many fixes

Hi all! This release gives tables a new feature. They can now size themselves to their content and still respect a maximum width. It also comes with a big batch of fixes, many of them from first-time contributors. Let's go!

Fit Content on tables

Screenshot 2026-11-09 at 17 15 17

Until now, setting Width on a table meant it would always stretch to fill that width, even if it only had three short words in it. Now there's FitContent():

t := table.
	Width(72).
    FitContent().
    Headers("LANGUAGE", "FORMAL", "INFORMAL").
    Rows(rows...)

With FitContent, the table renders at the width its content actually needs. Width becomes a ceiling, if the content is wider than that, the table is held to the maximum and wraps like before.

Perfect for sidebars, popups, and anywhere a table shouldn't go far. Thanks, @​pete-woods!

Darker Darks, Lighter Lights

Lip Gloss now decides whether a color is dark using CIELAB lightness instead of HSL. In simple words, it now judges dark and light the way your eyes do, so saturated blues and purples are no longer mistaken for light colors. LightDark and friends will pick the right side more often. Thanks, @​janearc!

Full-Fidelity RGB

RGBColor channels are now 16 bits, so colors survive the round trip through color.Color without losing precision. Thanks, @​MokiMeow!

Faster Wrapping

Wrap now sizes its buffer up front and copies bytes in runs instead of one at a time. Thanks, @​taciturnaxolotl!

That's all for now,
Charm XX 💫

Changelog

New!
Fixed
Other stuff

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.

v2.0.6

Compare Source

Devanagari, auto-grapheme mode, and more

Hi! The big news in this release is that Lip Gloss now properly renders Devanagari (Hindi)! Beyond that—or perhaps as a result—Lip Gloss will now switch to mode 2027 for grapheme support when possible.

There's other good stuff too. Let's go!

क्या हाल है?

Hindi speakers, it's about time! Lip Gloss and Ultraviolet now properly renders Devanagari. That means Bubble Tea will as well.

Screenshot 2026-08-12 at 10 12 14

This brings us to…

Cyberpunk 2027

Lip Gloss (and Ultraviolet) now asks the terminal at startup whether it supports Unicode core mode (DEC mode 2027), and when it does, measures widths the same way the terminal does. We did this for Devanagari but it also means Emojis and things render better now too. Let's go!

Shrinky tables: not anymore

Columns no longer shrink to zero width. Thanks, @​taciturnaxolotl!


Changelog

Fixed

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on X, Discord, Slack, The Fediverse, Bluesky.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 5 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.26.0 -> 1.26.7
github.com/charmbracelet/ultraviolet v0.0.0-20260703014108-f5a850f9c2b7 -> v0.0.0-20260811164956-006e29f97886
github.com/charmbracelet/x/ansi v0.11.7 -> v0.11.8
github.com/lucasb-eyer/go-colorful v1.4.0 -> v1.4.1
golang.org/x/sync v0.21.0 -> v0.22.0
golang.org/x/sys v0.46.0 -> v0.47.0

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.

0 participants