fix(deps): update module charm.land/lipgloss/v2 to v2.1.0 #28

Merged
Sebi merged 13 commits from renovate/charm.land-lipgloss-v2-2.x into main 2026-11-13 22:17:03 +00:00
Owner

This PR contains the following updates:

Package Change Age Confidence
charm.land/lipgloss/v2 v2.0.6 → 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.


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 has been generated by Mend Renovate CLI.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [charm.land/lipgloss/v2](https://github.com/charmbracelet/lipgloss) | `v2.0.6` → `v2.1.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/charm.land%2flipgloss%2fv2/v2.1.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/charm.land%2flipgloss%2fv2/v2.0.6/v2.1.0?slim=true) | --- ### Release Notes <details> <summary>charmbracelet/lipgloss (charm.land/lipgloss/v2)</summary> ### [`v2.1.0`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.1.0) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.6...v2.1.0) ### 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 <img width="600" alt="Screenshot 2026-11-09 at 17 15 17" src="https://github.com/user-attachments/assets/653bca06-9fb6-46da-87a8-df9647922a11" /> 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()`: ```go 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, [@&#8203;pete-woods](https://github.com/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, [@&#8203;janearc](https://github.com/janearc)! #### Full-Fidelity RGB `RGBColor` channels are now 16 bits, so colors survive the round trip through `color.Color` without losing precision. Thanks, [@&#8203;MokiMeow](https://github.com/MokiMeow)! #### Faster Wrapping `Wrap` now sizes its buffer up front and copies bytes in runs instead of one at a time. Thanks, [@&#8203;taciturnaxolotl](https://github.com/taciturnaxolotl)! That's all for now, Charm XX 💫 #### Changelog ##### New! - [`6a419c6`](https://github.com/charmbracelet/lipgloss/commit/6a419c6543d3475a369ef08f6252a2a6f33be733): feat: add `FitContent` property to table renderer ([#&#8203;697](https://github.com/charmbracelet/lipgloss/issues/697)) ([@&#8203;pete-woods](https://github.com/pete-woods)) ##### Fixed - [`e3f0511`](https://github.com/charmbracelet/lipgloss/commit/e3f0511589a5a1fd3f2c30bf6c21915ff7275cd2): fix(color): expand RGBColor channels to 16 bits ([#&#8203;757](https://github.com/charmbracelet/lipgloss/issues/757)) ([@&#8203;MokiMeow](https://github.com/MokiMeow)) - [`092b7f4`](https://github.com/charmbracelet/lipgloss/commit/092b7f46080f77d6ad583a94c53008d117fe4a03): fix(compat): honor NO_COLOR in init-time background query ([#&#8203;692](https://github.com/charmbracelet/lipgloss/issues/692)) ([@&#8203;jadb](https://github.com/jadb)) - [`19f011f`](https://github.com/charmbracelet/lipgloss/commit/19f011f1cc573e5d2bf9d7a9c4f14d429647759e): fix(luminance): detect dark colors by Lab, not HSL ([#&#8203;752](https://github.com/charmbracelet/lipgloss/issues/752)) ([@&#8203;janearc](https://github.com/janearc)) - [`8c6bfaf`](https://github.com/charmbracelet/lipgloss/commit/8c6bfaf911d11836048d527855931cb00c067013): fix(table): prevent panic when YOffset is set to a negative value ([#&#8203;727](https://github.com/charmbracelet/lipgloss/issues/727)) ([@&#8203;bunlongheng](https://github.com/bunlongheng)) - [`03215bc`](https://github.com/charmbracelet/lipgloss/commit/03215bc1cc942fffdeae41642944a9d68daca5d6): fix(tree): handle nil values ([#&#8203;738](https://github.com/charmbracelet/lipgloss/issues/738)) ([@&#8203;Charlie-Wang-03](https://github.com/Charlie-Wang-03)) - [`4da0bdd`](https://github.com/charmbracelet/lipgloss/commit/4da0bdd631e583c95511237f5f61dc95ff12ab59): fix(tree): stop swapping Offset start and end ([#&#8203;676](https://github.com/charmbracelet/lipgloss/issues/676)) ([@&#8203;c-tonneslan](https://github.com/c-tonneslan)) - [`2a70d4e`](https://github.com/charmbracelet/lipgloss/commit/2a70d4ee2d59226ba1d603ac47c1522670d8bc46): fix: alphabet enumerator producing non-letters for large lists ([#&#8203;715](https://github.com/charmbracelet/lipgloss/issues/715)) ([@&#8203;winklemad](https://github.com/winklemad)) - [`ce49a2a`](https://github.com/charmbracelet/lipgloss/commit/ce49a2aad151044dee3516bc1abf9baf95b72097): fix: don't mangle embedded ANSI when styling spaces ([#&#8203;708](https://github.com/charmbracelet/lipgloss/issues/708)) ([@&#8203;larrasket](https://github.com/larrasket)) - [`0599726`](https://github.com/charmbracelet/lipgloss/commit/059972614973db6fe22f733a65592b8667efec98): fix: infinite loop with zero-width characters ([#&#8203;670](https://github.com/charmbracelet/lipgloss/issues/670)) ([@&#8203;Spuxy](https://github.com/Spuxy)) - [`4b8c667`](https://github.com/charmbracelet/lipgloss/commit/4b8c6673522d1d85b575676ce8e2dcd0d4f5e818): fix: store bool props in a 64-bit field ([#&#8203;732](https://github.com/charmbracelet/lipgloss/issues/732)) ([@&#8203;QuentinouLeTwist](https://github.com/QuentinouLeTwist)) - [`3ab3b5f`](https://github.com/charmbracelet/lipgloss/commit/3ab3b5f4cf21719e23eb9f91c59261be28fe7eef): fix: terminate margin background on each line ([#&#8203;711](https://github.com/charmbracelet/lipgloss/issues/711)) ([@&#8203;c-tonneslan](https://github.com/c-tonneslan)) - [`0f0a984`](https://github.com/charmbracelet/lipgloss/commit/0f0a9848d46d7a54f118449eca18003328ebfa0f): fix: unset underline style rule ([#&#8203;686](https://github.com/charmbracelet/lipgloss/issues/686)) ([@&#8203;abnormal749](https://github.com/abnormal749)) ##### Other stuff - [`6860635`](https://github.com/charmbracelet/lipgloss/commit/68606354e685a1d1935723f256f40997514383f6): Fix order of calling w\.Close in Wrap ([#&#8203;689](https://github.com/charmbracelet/lipgloss/issues/689)) ([@&#8203;neomantra](https://github.com/neomantra)) - [`4a8c4de`](https://github.com/charmbracelet/lipgloss/commit/4a8c4de92a08cb8c4d0ccde25d0671e7c9212635): Inline: replace newlines with a space, not empty string ([#&#8203;665](https://github.com/charmbracelet/lipgloss/issues/665)) ([@&#8203;MukundaKatta](https://github.com/MukundaKatta)) - [`77047a8`](https://github.com/charmbracelet/lipgloss/commit/77047a83c800e97d198ed80825c7cc698cc6808c): ci: sync dependabot config ([#&#8203;728](https://github.com/charmbracelet/lipgloss/issues/728)) ([@&#8203;charmcli](https://github.com/charmcli)) - [`c7d9f35`](https://github.com/charmbracelet/lipgloss/commit/c7d9f3577af5c4a8961caea03b4188dcad5f5e6b): perf(wrap): forward bytes in runs instead of one at a time ([@&#8203;taciturnaxolotl](https://github.com/taciturnaxolotl)) - [`868e8b5`](https://github.com/charmbracelet/lipgloss/commit/868e8b5c4fb6056c294b9fda2fb9d1090052daee): perf(wrap): size the buffer in Wrap up front ([@&#8203;taciturnaxolotl](https://github.com/taciturnaxolotl)) - [`ff16a4e`](https://github.com/charmbracelet/lipgloss/commit/ff16a4ef6dafa18b1f234a2687b9c35c18658e51): v2.1.0 ([@&#8203;andrinoff](https://github.com/andrinoff)) *** <a href="https://charm.land/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-banner-next.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [X](https://x.com/charmcli), [Discord](https://charm.land/discord), [Slack](https://charm.land/slack), [The Fediverse](https://mastodon.social/@charmcli), [Bluesky](https://bsky.app/profile/charm.land). </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4yMTAuMCIsInVwZGF0ZWRJblZlciI6IjQ0LjIxMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Sebi added 1 commit 2026-11-09 13:44:07 +00:00
Sebi added 1 commit 2026-11-13 22:16:22 +00:00
Sebi merged commit 4f08a1c92a into main 2026-11-13 22:17:02 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Sebi/ssh-netbox-wrapper#28