fix(deps): update module github.com/charmbracelet/lipgloss to v2 #11

Open
renovate-bot wants to merge 1 commit from renovate/github.com-charmbracelet-lipgloss-2.x into main
Collaborator

This PR contains the following updates:

Package Change Age Confidence
github.com/charmbracelet/lipgloss v1.1.1-0.20250404203927-76690c660834 → v2.1.1 age confidence

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

charmbracelet/lipgloss (github.com/charmbracelet/lipgloss)

v2.1.1

Compare Source

Tiny patch

This version just bumps down the minimum Go version to match our other libraries

Have a nice Sunday,
Charm XX 🌦️

Changelog

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.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.

v2.0.5

Compare Source

Graphemes, Schmraphemes

If you’re using emojis in the terminal you're in for a rough ride. That said, we do what we can. This release brings some in some very specific edge case rendering improvements. Enjoy.

Enjoy!

Changelog

  • 10f9584: chore(deps): bump ultraviolet for emoji-related improvements

The Charm logo

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

v2.0.4

Compare Source

Mini Crash Patch

Hi! This is a small patch to fix a writer-related panic. Thanks for using Lip Gloss!

Changelog

Fixed
Docs
Chore

The Charm logo

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

v2.0.3

Compare Source

Changelog

Fixed
Docs

The Charm logo

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

v2.0.2

Compare Source

Table patch

If you don't know, we made big improvements in table rendering recently shipped in v2.0.0.

@​MartinodF made a good job on improving it even further for tricky edge cases, in particular when content wrapping is enabled.

Changelog

Fixed

The Charm logo

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

v2.0.1

Compare Source

A small release to properly set style underline colors, as well as handling partial reads while querying the terminal.

Changelog

Fixed
Docs
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.0

lipgloss-v2-block

Do you think you can handle Lip Gloss v2?

We’re really excited for you to try Lip Gloss v2! Read on for new features and a guide to upgrading.

If you (or your LLM) just want the technical details, take a look at Upgrade Guide.

[!NOTE]
We take API changes seriously and strive to make the upgrade process as simple as possible. We believe the changes bring necessary improvements as well as pave the way for the future. If something feels way off, let us know.

What’s new?

The big changes are that Styles are now deterministic (λipgloss!) and you can be much more intentional with your inputs and outputs. Why does this matter?

Playing nicely with others

v2 gives you precise control over I/O. One of the issues we saw with the Lip Gloss and Bubble Tea v1s is that they could fight over the same inputs and outputs, producing lock-ups. The v2s now operate in lockstep.

Querying the right inputs and outputs

In v1, Lip Gloss defaulted to looking at stdin and stdout when downsampling colors and querying for the background color. This was not always necessarily what you wanted. For example, if your application was writing to stderr while redirecting stdout to a file, the program would erroneously think output was not a TTY and strip colors. Lip Gloss v2 gives you control over this.

Going beyond localhost

Did you know TUIs and CLIs can be served over the network? For example, Wish allows you to serve Bubble Tea and Lip Gloss over SSH. In these cases, you need to work with the input and output of the connected clients as opposed to stdin and stdout, which belong to the server. Lip Gloss v2 gives you flexibility around this in a more natural way.

🧋 Using Lip Gloss with Bubble Tea?

Make sure you get all the latest v2s as they’ve been designed to work together.


# Collect the whole set.
go get charm.land/bubbletea/v2
go get charm.land/bubbles/v2
go get charm.land/lipgloss/v2

🐇 Quick upgrade

If you don't have time for changes and just want to upgrade to Lip Gloss v2 as fast as possible? Here’s a quick guide:

Use the compat package

The compat package provides adaptive colors, complete colors, and complete adaptive colors:

import "charm.land/lipgloss/v2/compat"

// Before
color := lipgloss.AdaptiveColor{Light: "#f1f1f1", Dark: "#cccccc"}

// After
color := compat.AdaptiveColor{Light: lipgloss.Color("#f1f1f1"), Dark: lipgloss.Color("#cccccc")}

compat works by looking at stdin and stdout on a global basis. Want to change the inputs and outputs? Knock yourself out:

import (
	"charm.land/lipgloss/v2/compat"
	"github.com/charmbracelet/colorprofile"
)

func init() {
	// Let’s use stderr instead of stdout.
	compat.HasDarkBackground = lipgloss.HasDarkBackground(os.Stdin, os.Stderr)
	compat.Profile = colorprofile.Detect(os.Stderr, os.Environ())
}
Use the new Lip Gloss writer

If you’re using Bubble Tea with Lip Gloss you can skip this step. If you're using Lip Gloss in a standalone fashion, however, you'll want to use lipgloss.Println (and lipgloss.Printf and so on) when printing your output:

s := someStyle.Render("Fancy Lip Gloss Output")

// Before
fmt.Println(s)

// After
lipgloss.Println(s)

Why? Because lipgloss.Println will automatically downsample colors based on the environment.

That’s it!

Yep, you’re done. All this said, we encourage you to read on to get the full benefit of v2.

👀 What’s changing?

Only a couple main things that are changing in Lip Gloss v2:

  • Color downsampling in non-Bubble-Tea uses cases is now a manual proccess (don't worry, it's easy)
  • Background color detection and adaptive colors are manual, and intentional (but optional)
🪄 Downsampling colors with a writer

One of the best things about Lip Gloss is that it can automatically downsample colors to the best available profile, stripping colors (and ANSI) entirely when output is not a TTY.

If you're using Lip Gloss with Bubble Tea there's nothing to do here: downsampling is built into Bubble Tea v2. If you're not using Bubble Tea you now need to use a writer to downsample colors. Lip Gloss writers are a drop-in replacement for the usual functions found in the fmt package:

s := someStyle.Render("Hello!")

// Downsample and print to stdout.
lipgloss.Println(s)

// Render to a variable.
downsampled := lipgloss.Sprint(s)

// Print to stderr.
lipgloss.Fprint(os.Stderr, s)
🌛 Background color detection and adaptive colors

Rendering different colors depending on whether the terminal has a light or dark background is an awesome power. Lip Gloss v2 gives you more control over this progress. This especially matters when input and output are not stdin and stdout.

If that doesn’t matter to you and you're only working with stdout you skip this via compat above, though we encourage you to explore this new functionality.

With Bubble Tea

In Bubble Tea, request the background color, listen for a BackgroundColorMsg in your update, and respond accordingly.

// Query for the background color.
func (m model) Init() tea.Cmd {
	return tea.RequestBackgroundColor
}

// Listen for the response and initialize your styles accordigly.
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
	switch msg := msg.(type) {
	case tea.BackgroundColorMsg:
		// Initialize your styles now that you know the background color.
		m.styles = newStyles(msg.IsDark())
		return m, nil
	}
}

type styles {
    myHotStyle lipgloss.Style
}

func newStyles(bgIsDark bool) (s styles) {
	lightDark := lipgloss.LightDark(bgIsDark) // just a helper function
	return styles{
		myHotStyle := lipgloss.NewStyle().Foreground(lightDark("#f1f1f1", "#​333333"))
	}
}
Standalone

If you're not using Bubble Tea you simply can perform the query manually:

// Detect the background color. Notice we're writing to stderr.
hasDarkBG, err := lipgloss.HasDarkBackground(os.Stdin, os.Stderr)
if err != nil {
    log.Fatal("Oof:", err)
}

// Create a helper for choosing the appropriate color.
lightDark := lipgloss.LightDark(hasDarkBG)

// Declare some colors.
thisColor := lightDark("#C5ADF9", "#​864EFF")
thatColor := lightDark("#​37CD96", "#​22C78A")

// Render some styles.
a := lipgloss.NewStyle().Foreground(thisColor).Render("this")
b := lipgloss.NewStyle().Foreground(thatColor).Render("that")

// Print to stderr.
lipgloss.Fprintf(os.Stderr, "my fave colors are %s and %s...for now.", a, b)

🥕 Other stuff

Colors are now color.Color

lipgloss.Color() now produces an idiomatic color.Color, whereas before colors were type lipgloss.TerminalColor. Generally speaking, this is more of an implementation detail, but it’s worth noting the structural differences.

// Before
type TerminalColor interface{/* ... */}
type Color string

// After
func Color(string) color.Color
type RGBColor struct{R, G, B uint8}

func LightDark(isDark bool) LightDarkFunc
type LightDarkFunc func(light, dark color.Color) color.Color
func Complete(colorprofile.Profile) CompleteFunc
type CompleteFunc func(ansi, ansi256, truecolor color.Color) color.Color

Changelog

New!
  • b259725e46e9fbb2af6673d74f26917ed42df370: feat(blending): early return when steps <= num stops (#​566) (@​lrstanley)
  • 71dd8ee66ac1f4312844a792952789102513c9c5: feat(borders): initial border blend implementation (#​560) (@​lrstanley)
  • 2166ce88ec1cca66e8a820a86baafd7cfd34bcd0: feat(canvas): accept any type as layer content (@​aymanbagabas)
  • 0303864674b37235e99bc14cd4da17c409ec448e: feat(colors): refactor colors sub-package into root package (@​lrstanley)
  • 9c86c1f950fbfffd6c56a007de6bd3e61d67a1ea: feat(colors): switch from int to float64 for inputs (@​lrstanley)
  • 0334bb4562ca1f72a684c1c2a63c848ac21fffc6: feat(tree): support width and indenter styling (#​446) (@​dlvhdr)
  • 9a771f5a242df0acf862c7acd72124469eb4635a: feat: BlendLinear* -> Blend* (@​lrstanley)
  • 34443e82a7ddcbe37b9dc0d69b84385e400b8a5c: feat: add brightness example, misc example tweaks (@​lrstanley)
  • c95c5f3c5b27360d344bf82736a8ce9257aaf71e: feat: add hyperlink support (#​473) (@​aymanbagabas)
  • 5e542b8c69a0f20ea62b2caa422bbee5337fbb48: feat: add underline style and color (@​aymanbagabas)
  • d3032608aa74f458a7330e17cc304f1ebb5fa1b9: feat: add wrap implementation preserving styles and links (#​582) (@​aymanbagabas)
  • 7bf18447c8729839ca7e79aa3ba9aa00ecb8f963: feat: further simplify colors in examples (@​lrstanley)
  • 27a8cf99a81d1bd5ab875cd773ac8647320b02ba: feat: implement uv Drawable for Canvas and Layer (@​aymanbagabas)
  • c4c08fc4f8a107b00bc54407ad9094b9642dd103: feat: implement uv.Drawable for *Layer (#​607) (@​ayn2op)
  • 18b4bb86c515f93eede5720fe66b0d9ba83fa489: feat: initial implementation of color blending & brightness helpers (@​lrstanley)
  • 63610090044b782caa8ce8b1b53cc81b98264eaa: feat: update examples/layout to use colors.BlendLinear1D (@​lrstanley)
  • de4521b8baa33c49a96e9458e9d9213c7ba407bd: feat: update examples/list/sublist to use colors.BlendLinear1D (@​lrstanley)
  • 1b3716cc53b5cc29c2b1b0c655a684b797fef075: feat: use custom hex parsing for increased perf (@​lrstanley)
Fixed
  • 06ca257e382fa107afcfe147c9cda836b3cdb4be: fix(canvas): Hit method should return Layer ID as string instead of *Layer (@​aymanbagabas)
  • d1fa8790efbd70df8b0dd8bd139434f3ac6e063b: fix(canvas): handle misc edge cases (#​588) (@​lrstanley)
  • 7869489d8971e2e3a8de8e0a4a1e1dfe4895a352: fix(canvas): simplify Render handling (@​aymanbagabas)
  • 68f38bdee72b769ff9c137a4097d9e64d401b703: fix(ci): use local golangci config (@​aymanbagabas)
  • ff11224963a33f6043dfb3408e67c7fea7759f34: fix(color): update deprecated types (@​aymanbagabas)
  • 3f659a836c78f6ad31f5652571007cb4ab9d1eb8: fix(colors): update examples to use new method locations (@​lrstanley)
  • 3248589b24c9894694be6d1862817acb77e119cc: fix(layers): allow recursive rendering for layers that only contain children (#​589) (@​lrstanley)
  • 6c33b19c3f0a1e7d50ce9028ef4bda3ca631cd68: fix(lint): remove nolint:exhaustive comments and ignore var-naming rule for revive (@​aymanbagabas)
  • d267651963ad3ba740b30ecf394d7a5ef86704fc: fix(style): use alias for Underline type from ansi package (@​aymanbagabas)
  • 76690c6608346fc7ef09db388ee82feaa7920630: fix(table): fix wrong behavior of headers regarding margins (#​513) (@​andreynering)
  • 41ff0bf215ea2a444c5161d0bd7fa38b4a70af27: fix(terminal): switch to uv.NewCancelReader for Windows compatibility (@​aymanbagabas)
  • 5d69c0e790f24cbfaa94f8f8b2b64d1bb926c96d: fix: ensure we strip out \r\n from strings when getting lines (@​aymanbagabas)
  • 2e570c2690b61bac103e7eef9da917d1dfc6512d: fix: linear-2d example (@​lrstanley)
  • 0d6a022f7d075e14d61a755b3e9cab9d97519f21: fix: lint issues (@​aymanbagabas)
  • 832bc9d6b9d209e002bf1131938ffe7dbba07652: fix: prevent infinite loop with zero-width whitespace chars (#​108) (#​604) (@​calobozan)
  • 354e70d6d0762e6a54cfc45fe8d019d6087a4c00: fix: rename underline constants to be consistent with other style properties (@​raphamorim)
Docs
  • 60df47f8000b6cb5dfec46af37bceb2c9050bef0: docs(readme): cleanup badges (@​meowgorithm)
  • 881a1ffc54b6afb5f22ead143d10f8dce05e7e66: docs(readme): update art (@​meowgorithm)
  • ee74a03efa8363cf3b17ee7a128b9825c8f3791e: docs(readme): update footer art and copyright date (@​meowgorithm)
  • 8863cc06da67b8ef9f4b6f80c567738fa53bd090: docs(readme): update header image (@​meowgorithm)
  • 4e8ca2d9f045d6bca78ee0150420e26cda8bcccf: docs: add underline styles and colors caveats (@​aymanbagabas)
  • a8cfc26d7de7bdb335a8c7c2f0c8fc4f18ea8993: docs: add v2 upgrade and changes guide (#​611) (@​aymanbagabas)
  • 454007a0ad4e8b60afc1f6fdc3e3424e4d3a4c16: docs: update comments in for GetPaddingChar and GetMarginChar (@​aymanbagabas)
  • 95f30dbdc90cc409e8645de4bd2296a33ba37c70: docs: update mascot header image (@​aymanbagabas)
  • a06a847849dbd1726c72047a98ab8cce0f73a65f: docs: update readme in prep for v2 (#​613) (@​aymanbagabas)
Other stuff
  • 5ca0343ec7be2e85521e79734f4392cdb19e4949: Fix(table): BorderRow (#​514) (@​bashbunni)
  • f2d1864a58cd455ca118e04123feae177d7d2eef: Improve performance of maxRuneWidth (#​592) (@​clipperhouse)
  • 10c048e361129dd601eb6ff8c0c2458814291156: Merge v2-uv-canvas into v2-exp (@​aymanbagabas)
  • d02a007bb19e14f6bf351ed71a47beb6bee9cae3: ci: sync dependabot config (#​521) (@​charmcli)
  • 8708a8925b60c610e68b9aa6e509ebd513a8244e: ci: sync dependabot config (#​561) (@​charmcli)
  • 7d1b622c64d1a68cdc94b30864ae5ec3e6abc2dd: ci: sync dependabot config (#​572) (@​charmcli)
  • 19a4b99cb3bbbd2ab3079adc500faa1875da87e8: ci: sync golangci-lint config (@​aymanbagabas)
  • a6c079dc8a3fc6e68a00214a767627ec8447adb5: ci: sync golangci-lint config (@​aymanbagabas)
  • 350edde4903bcc2eee5a8ce1552dd90c3b89c125: ci: sync golangci-lint config (#​553) (@​github-actions[bot])
  • 1e3ee3483a907facd98ca0a56f6694a0e9365f26: ci: sync golangci-lint config (#​598) (@​github-actions[bot])
  • e729228ac14e63057e615a2241ce4303d59fef08: lint: fix lint for newer go versions (#​540) (@​andreynering)
  • 66093c8cf3b79596597c1e39fd4c67a954010fb3: perf: remove allocations from getFirstRuneAsString (#​578) (@​clipperhouse)
  • ad876c4132d61951d091a1a535c27237f6a90ad6: refactor: new Canvas, Compositor, and Layer API (#​591) (@​aymanbagabas)
  • 3aae2866142214f5b8ce9cbfc1939645928dcb8f: refactor: update imports to use charm.land domain (@​aymanbagabas)

🌈 Feedback

That's a wrap! Feel free to reach out, ask questions, and let us know how it's going. We'd love to know what you think.


Part of Charm.

The Charm logo

Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة

v2.0.0-beta.3

Compare Source

Padding, Schmadding

This new beta release reverts back to a major change when it comes to using regular spacing for padding. We found that using NBSP \u00a0 causes more problems than it solves. Things like simply copying the output from the terminal and then paste it back wouldn't work if NBSPs exist in a command.

To solve this, we've added style.PaddingChar(rune) and style.MarginChar(rune) to customize the characters used in padding and margins respectively.

Changelog

New Features
Bug fixes

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.

v2.0.0-beta.2

Compare Source

So Hot Right Now: Lip Gloss v2 Beta 2

This release builds on top of the last beta 1 release. It includes a new API for compositing layers and views, table enhancements, and a bunch of bug fixes. Let's get into it!

Compositing

layers

The big news in this release is compositing. Here's what it looks like:

box := lipgloss.NewStyle().
    Width(10).
    Height(5).
    Border(lipgloss.NormalBorder())

// Make some layers.
a := lipgloss.NewLayer(box.Render("Who wants marmalade?"))
b := lipgloss.NewLayer(box.Render("I do!"))

// Put layers in a canvas.
canvas := lipgloss.NewCanvas(
    a.X(5).Y(10).Z(1),
    b.X(3).Y(7)
)

// Render it all out.
lipgloss.Println(canvas.Render())

Also note that layers can also be nested (see Layer.AddLayers).
Otherwise, that’s all there is to it!

For more info see Layer, Canvas, and the compositing example.

Table Enhancements

Tables are one of the most beloved Charm components, and we've been working to
make them as polished as possible. In this release several bugs were fixed,
and many other rendering enhancements were made. You can check most of the fixes
on #​526.

We're also refactoring the Bubbles' table component to use the Lip Gloss' table package, and making their APIs similar, as before they were relatively different. This means that if you use Tables via Bubbles in your Bubble Tea app, you'll be able to reap the benefits soon too!

Changelog

New Features
  • ad4ad6de5ac5449ecee7a04a37ad7f987d86f834: feat(examples): add clickable example (@​aymanbagabas)
  • c20d40442fae4e30f0dc2bf747fc726d11ab945f: feat(examples): clickable: make it "pure" (@​aymanbagabas)
  • 2790cd0292d3afd96abd251d3af9f5f0bbe7b8f3: feat(table): add BaseStyle to set background color for the whole table (#​519) (@​andreynering)
  • e2227d9b55d12629e7901e5b40e0378370af2892: feat(table): add some extra getters needed on bubbles (@​andreynering)
  • 488eb3757443d79d0cb292af499a449d52372361: feat(table): expose getters for borders (@​andreynering)
  • 587de15a4f99ade6d20bd6692019a25ac9f58e89: feat(table): further enhance and fix table height handling (@​andreynering)
  • 4b89e653aaead4e9758bc7aebfcbe6b5814c400f: feat(table): rework height rendering logic to fix related bugs (@​andreynering)
  • 600244163f543404bae832fa4f340fc1129dba5d: feat: export GetHeaders, GetData and DataToMatrix (@​andreynering)
  • 75c05692f770a4e0c8f876f21547324a5bb6aa18: feat: initial compositing implementation (@​aymanbagabas)
  • 2c4751e06ce44cbf9e24dfe61957fe99250aac67: feat: initial compositing implementation (#​471) (@​meowgorithm)
Bug fixes
  • 9ae54a0eebb71fcb2443369fedc8344c6da9eda8: fix(border): fix returned border sizes when only style was set (@​andreynering)
  • c80afba684548e86959fbae0e05f7727aa626d32: fix(canvas): negative coordinates calculation (@​aymanbagabas)
  • c201d5952318d568e731c24f01e16947f1f152b3: fix(lint): GoDoc (@​meowgorithm)
  • f274d052315e6e95222d806d7602952cc4d08c87: fix(lint): fix linting issues after golangci-lint v2 upgrade (@​andreynering)
  • 1427d827c8acabec13feb58530dc2fca53563155: fix(table): add tests + fix scenario of offset + manual table height (@​andreynering)
  • c0f4b07e2c9ad4b1c0c27b9a61555a2e6180e0eb: fix(table): do not print final empty row when overflow (@​andreynering)
  • bc517ae87e99ab44ad85f3f59ac8b6ca9f6285c4: fix(table): fix headers with custom vertical padding (@​andreynering)
  • baa7611731e620ee4115e94ea1ba9e29f21cc44b: fix(table): fix horizontal shrink with outline borders only (@​andreynering)
  • 63e53c126330858b5d59aba9547dbe1be99b1b84: fix(table): fix layout for tables with inner borders only (@​andreynering)
  • c6b946e574dddb956f8642c9f84fa0219b777ed3: fix(table): fix panic when style func is nil (#​508) (@​andreynering)
  • a3d464b6b28e00dd87a5cedce33576f86c0911c7: fix(table): fix rendering for bordered cells (@​andreynering)
  • b36834acd7c6412885a4e8b32791898ffd1abfe3: fix(table): improve height handling for cells with vertical padding (@​andreynering)
Documentation updates
  • e9f399ea6d86f3e0b2e540211d4c1e16ccd773ba: docs(example): add compositing example (#​544) (@​meowgorithm)
  • fabe5147c91164b0b12945097c2429adcf79fb16: docs(examples): add compositing to layout example (@​meowgorithm)
  • 4781de297de3f6a2beb663c919b39246e24b1436: docs(examples): update Bubble Tea examples to use new API (@​aymanbagabas)
  • 946081c6f1a5b6bd4e368c60f49935be71279af2: docs(table): document that headers are never wrapped (@​andreynering)
Other work
  • 7edbc41e909ef23d0c3b9e88e157966e1c0d814c: ci: fix linting (@​andreynering)
  • c7f615e1a3bf6cdfa0cf365dacc9a9193a7247c0: ci: fix new lint issues after golangci-lint v2 upgrade (#​510) (@​andreynering)
  • d102bea711a2576bba7d80e0639fffba8be23b80: ci: sync golangci-lint config (#​509) (@​github-actions[bot])
  • 40640fe3494c7b4050fdccd9abb8e2705d6ecab6: refactor: modernize loops (@​andreynering)
  • 23e0f7f3dae03637de68504142aeff17ca73bd65: refactor: v2 rename offset (#​512) (@​bashbunni)

How’s it going?

Feel free to reach out, ask questions, give feedback, and let us know how it's going. We’d love to know what you think.


Part of Charm.

The Charm logo

Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة

v2.0.0-beta.1

Compare Source

Who said a beta release can’t be exciting?

We're thrilled to announce the first beta release of Lip Gloss v2! This release builds on top of the last alpha 2 release. Very little has changed since the last alpha, which means we’re getting closer to a proper v2.0.0.

The only change here is that you can no longer use hexadecimal and integer format when defining colors. We found there were just to many gotchas and this way the API remains backwards compatible.

// Before in alpha 2
// This is a bug! It's not intuitive to use integers here.
// Should this be a hex color or ANSI(204)?
a := lipgloss.Color(0x0000cc) // 0xcc is 204, which was interpreted as an ANSI color, not #&#8203;0000cc

// After
a := lipgloss.Color("#&#8203;0000cc") // This is a hex color
b := lipgloss.Color("204")     // This is an ANSI color
c := lipgloss.ANSIColor(204)   // Equivalent to b

🌈 More on Lip Gloss v2

Just getting into Lip Gloss v2? Check out the full v2 release notes and upgrade guide.

💝 How’s it going?

Feel free to reach out, ask questions, give feedback, and let us know how it's going. We’d love to know what you think.


Part of Charm.

The Charm logo

Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة

v2.0.0-alpha.2

Compare Source

Do you think you can handle Lip Gloss v2?

We’re really excited for you to try Lip Gloss v2! Keep in mind that this is an early alpha release and things may change.

[!NOTE]
We take API changes seriously and strive to make the upgrade process as simple as possible. We believe the changes bring necessary improvements as well as pave the way for the future. If something feels way off, let us know.

The big changes are that Styles are now deterministic (λipgloss!) and you can be much more intentional with your inputs and outputs. Why does this matter?

Playing nicely with others

v2 gives you precise control over I/O. One of the issues we saw with the Lip Gloss and Bubble Tea v1s is that they could fight over the same inputs and outputs, producing lock-ups. The v2s now operate in lockstep.

Querying the right inputs and outputs

In v1, Lip Gloss defaulted to looking at stdin and stdout when downsampling colors and querying for the background color. This was not always necessarily what you wanted. For example, if your application was writing to stderr while redirecting stdout to a file, the program would erroneously think output was not a TTY and strip colors. Lip Gloss v2 gives you control and intentionality over this.

Going beyond localhost

Did you know TUIs and CLIs can be served over the network? For example, Wish allows you to serve Bubble Tea and Lip Gloss over SSH. In these cases, you need to work with the input and output of the connected clients as opposed to stdin and stdout, which belong to the server. Lip Gloss v2 gives you flexibility around this in a more natural way.

🧋 Using Lip Gloss with Bubble Tea?

Make sure you get all the latest v2s as they’ve been designed to work together.

go get github.com/charmbracelet/bubbletea/v2@v2.0.0-alpha.2
go get github.com/charmbracelet/bubbles/v2@v2.0.0-alpha.2
go get github.com/charmbracelet/lipgloss/v2@v2.0.0-alpha.2

🐇 Quick upgrade

If you don't have time for changes and just want to upgrade to Lip Gloss v2 as fast as possible, do the following:

Use the compat package

The compat package provides adaptive colors, complete colors, and complete adaptive colors:

import "github.com/charmbracelet/lipgloss/v2/compat"

// Before
color := lipgloss.AdaptiveColor{Light: "#f1f1f1", Dark: "#cccccc"}

// After
color := compat.AdaptiveColor{Light: "#f1f1f1", Dark: "#cccccc"}

compat works by looking at stdin and stdout on a global basis. Want to change the inputs and outputs? Knock yourself out:

import (
	"github.com/charmbracelet/lipgloss/v2/compat"
	"github.com/charmbracelet/colorprofile"
)

func init() {
	// Let’s use stderr instead of stdout.
	compat.HasDarkBackground = lipgloss.HasDarkBackground(os.Stdin, os.Stderr)
	compat.Profile = colorprofile.Detect(os.Stderr, os.Environ())
}
Use the new Lip Gloss writer

If you’re using Bubble Tea with Lip Gloss you can skip this step. If you're using Lip Gloss in a standalone fashion, use lipgloss.Println (and lipgloss.Printf and so on) when printing your output:

s := someStyle.Render("Fancy Lip Gloss Output")

// Before
fmt.Println(s)

// After
lipgloss.Println(s)
That’s it!

All this said, we encourage you to read on to get the full benefit of v2.

👀 What’s changing?

Only a couple main things that are changing in Lip Gloss v2:

  • Color downsampling in non-Bubble-Tea uses cases is now a manual proccess (don't worry, it's easy)
  • Background color detection and adaptive colors are manual, and intentional (but optional)
🪄 Downsampling colors with a writer

One of the best things about Lip Gloss is that it can automatically downsample colors to the best available profile, stripping colors (and ANSI) entirely when output is not a TTY.

If you're using Lip Gloss with Bubble Tea there's nothing to do here: downsampling is built into Bubble Tea v2. If you're not using Bubble Tea you now need to use a writer to downsample colors. Lip Gloss writers are a drop-in replacement for the usual functions found in the fmt package:

s := someStyle.Render("Hello!")

// Downsample and print to stdout.
lipgloss.Println(s)

// Render to a variable.
downsampled := lipgloss.Sprint(s)

// Print to stderr.
lipgloss.Fprint(os.Stderr, s)
🌛 Background color detection and adaptive colors

Rendering different colors depending on whether the terminal has a light or dark background is an awesome power. Lip Gloss v2 gives you more control over this progress. This especially matters when input and output are not stdin and stdout.

If that doesn’t matter to you and you're only working with stdout you skip this via compat above, though encourage you to explore this new functionality.

With Bubble Tea

In Bubble Tea, request the background color, listen for a BackgroundColorMsg in your update, and respond accordingly.

// Query for the background color.
func (m model) Init() (tea.Model, tea.Cmd) {
	return m, tea.RequestBackgroundColor
}

// Listen for the response and initialize your styles accordigly.
func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
	switch msg := msg.(type) {
	case tea.BackgroundColorMsg:
		// Initialize your styles now that you know the background color.
		m.styles = newStyles(msg.IsDark())
		return m, nil
	}
}

type styles {
    myHotStyle lipgloss.Style
}

func newStyles(bgIsDark bool) (s styles) {
	lightDark := lipgloss.LightDark(bgIsDark) // just a helper function
	return styles{
		myHotStyle := lipgloss.NewStyle().Foreground(lightDark("#f1f1f1", "#&#8203;333333"))
	}
}
Standalone

If you're not using Bubble Tea you simply can perform the query manually:

// Detect the background color. Notice we're writing to stderr.
hasDarkBG, err := lipgloss.HasDarkBackground(os.Stdin, os.Stderr)
if err != nil {
    log.Fatal("Oof:", err)
}

// Create a helper for choosing the appropriate color.
lightDark := lipgloss.LightDark(hasDarkBG)

// Declare some colors.
thisColor := lightDark("#C5ADF9", "#&#8203;864EFF")
thatColor := lightDark("#&#8203;37CD96", "#&#8203;22C78A")

// Render some styles.
a := lipgloss.NewStyle().Foreground(thisColor).Render("this")
b := lipgloss.NewStyle().Foreground(thatColor).Render("that")

// Print to stderr.
lipgloss.Fprintf(os.Stderr, "my fave colors are %s and %s...for now.", a, b)

🥕 Other stuff

Colors are now color.Color

lipgloss.Color() now produces an idomatic color.Color, whereas before colors were type lipgloss.TerminalColor. Generally speaking, this is more of an implementation detail, but it’s worth noting the structural differences.

// Before
type TerminalColor interface{/* ... */}
type Color string

// After
func Color(any) color.Color
type ANSIColor uint
type RGBColor struct { R, G, B uint8 }
Quotes are now optional in colors

There are also some quality-of-life niceties around color UX:

a := lipgloss.Color("#f1f1f1") // This still works
b := lipgloss.Color(0xf1f1f1)  // But this also works

c := lipgloss.Color("212") // You can still do this
d := lipgloss.Color(212)   // But you can also do this too

Changelog

Full Changelog: https://github.com/charmbracelet/lipgloss/compare/v1.0.0...v2.0.0-alpha.2

🌈 Feedback

That's a wrap! Feel free to reach out, ask questions, and let us know how it's going. We'd love to know what you think.


Part of Charm.

The Charm logo

Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة


Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, 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/) | |---|---|---|---| | [github.com/charmbracelet/lipgloss](https://github.com/charmbracelet/lipgloss) | `v1.1.1-0.20250404203927-76690c660834` → `v2.1.1` | ![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fcharmbracelet%2flipgloss/v2.1.1?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fcharmbracelet%2flipgloss/v1.1.1-0.20250404203927-76690c660834/v2.1.1?slim=true) | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the [Dependency Dashboard](issues/3) for more information. --- ### Release Notes <details> <summary>charmbracelet/lipgloss (github.com/charmbracelet/lipgloss)</summary> ### [`v2.1.1`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.1.1) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.1.0...v2.1.1) #### Tiny patch This version just bumps down the minimum Go version to match our other libraries Have a nice Sunday, Charm XX 🌦️ #### Changelog ##### Fixed - [`036e4a4`](https://github.com/charmbracelet/lipgloss/commit/036e4a4fa9ea5a7897b0ab095945d4bce93002cd): fix: bump down Go version ([#&#8203;783](https://github.com/charmbracelet/lipgloss/issues/783)) ([@&#8203;andrinoff](https://github.com/andrinoff)) ##### Other stuff - [`a79c946`](https://github.com/charmbracelet/lipgloss/commit/a79c946156da0e2998027c6c208d0828e9661f8e): v2.1.1 ([@&#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). ### [`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). ### [`v2.0.6`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.6) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.5...v2.0.6) ### 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. <img width="434" height="198" alt="Screenshot 2026-08-12 at 10 12 14" src="https://github.com/user-attachments/assets/9d7e58be-baf6-425c-ae4e-9aafde1d9a89" /> 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, [@&#8203;taciturnaxolotl](https://github.com/taciturnaxolotl)! *** #### Changelog ##### Fixed - [`d231906`](https://github.com/charmbracelet/lipgloss/commit/d231906a63681848939223b6e03d049b513697a0): fix(table): prevent columns from shrinking to zero width ([#&#8203;671](https://github.com/charmbracelet/lipgloss/issues/671)) ([@&#8203;taciturnaxolotl](https://github.com/taciturnaxolotl)) *** <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). ### [`v2.0.5`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.5) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.4...v2.0.5) ### Graphemes, Schmraphemes If you’re using emojis in the terminal you're in for a rough ride. That said, we do what we can. This release brings some in some very specific edge case rendering improvements. Enjoy. Enjoy! #### Changelog - [`10f9584`](https://github.com/charmbracelet/lipgloss/commit/10f9584edb197ddbbfc789081d33b6fadaea5742): chore(deps): bump ultraviolet for emoji-related improvements *** <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). ### [`v2.0.4`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.4) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.3...v2.0.4) ### Mini Crash Patch Hi! This is a small patch to fix a writer-related panic. Thanks for using Lip Gloss! #### Changelog ##### Fixed - [`fefa41d`](https://github.com/charmbracelet/lipgloss/commit/fefa41d): fix: prevent crash when writing to a closed wrap writer ([#&#8203;699](https://github.com/charmbracelet/lipgloss/issues/699)) ([@&#8203;taciturnaxolotl](https://github.com/taciturnaxolotl)) ##### Docs - [`40ec0e6`](https://github.com/charmbracelet/lipgloss/commit/40ec0e6): docs: fix typo in table comment ([#&#8203;641](https://github.com/charmbracelet/lipgloss/issues/641)) ([@&#8203;aymanbagabas](https://github.com/aymanbagabas)) - [`a4d0b40`](https://github.com/charmbracelet/lipgloss/commit/a4d0b40): docs: restore missing diaereses ([#&#8203;664](https://github.com/charmbracelet/lipgloss/issues/664)) ([@&#8203;meowgorithm](https://github.com/meowgorithm)) ##### Chore - [`aa91b99`](https://github.com/charmbracelet/lipgloss/commit/aa91b99): chore: remove CODEOWNERS ([@&#8203;aymanbagabas](https://github.com/aymanbagabas)) - [`9cbfe8b`](https://github.com/charmbracelet/lipgloss/commit/9cbfe8b): chore(lint): exclude revive naming linter ([@&#8203;aymanbagabas](https://github.com/aymanbagabas)) *** <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). ### [`v2.0.3`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.3) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.2...v2.0.3) #### Changelog ##### Fixed - [`472d718`](https://github.com/charmbracelet/lipgloss/commit/472d718e2314596549bee2c0c8ccf8beea5f25ae): fix: Avoid background color query hang ([#&#8203;636](https://github.com/charmbracelet/lipgloss/issues/636)) ([@&#8203;jedevc](https://github.com/jedevc)) ##### Docs - [`9e39a0a`](https://github.com/charmbracelet/lipgloss/commit/9e39a0ad4f4fc779d620f17783cee3494da6ae29): docs: fix README typo ([#&#8203;629](https://github.com/charmbracelet/lipgloss/issues/629)) ([@&#8203;Rohan5commit](https://github.com/Rohan5commit)) - [`cd93a9f`](https://github.com/charmbracelet/lipgloss/commit/cd93a9f5d2e3cb151da83150db29751d92585d23): docs: fix tree comment typo ([#&#8203;634](https://github.com/charmbracelet/lipgloss/issues/634)) ([@&#8203;Rohan5commit](https://github.com/Rohan5commit)) *** <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). ### [`v2.0.2`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.2) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.1...v2.0.2) ### Table patch If you don't know, we made big improvements in table rendering recently shipped in v2.0.0. [@&#8203;MartinodF](https://github.com/MartinodF) made a good job on improving it even further for tricky edge cases, in particular when content wrapping is enabled. #### Changelog ##### Fixed - [`c289bad`](https://github.com/charmbracelet/lipgloss/commit/c289bad531f2588fc7506d7fbd5cdfd3daf4cb27): fix(table): height and overflow with wrapping content ([#&#8203;620](https://github.com/charmbracelet/lipgloss/issues/620)) ([@&#8203;MartinodF](https://github.com/MartinodF)) *** <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). ### [`v2.0.1`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.1) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.0...v2.0.1) A small release to properly set style underline colors, as well as handling partial reads while querying the terminal. #### Changelog ##### Fixed - [`3044146`](https://github.com/charmbracelet/lipgloss/commit/30441468e81b8d5322c78e7a78cac1aaf6b1b57d): fix: add missing underlineColorKey case in getAsColor ([#&#8203;624](https://github.com/charmbracelet/lipgloss/issues/624)) ([@&#8203;flux627](https://github.com/flux627)) ##### Docs - [`61e734b`](https://github.com/charmbracelet/lipgloss/commit/61e734b4628b1f808f2a40dde55c8886432a110b): docs: Charm logo link in upgrade guide ([@&#8203;aymanbagabas](https://github.com/aymanbagabas)) ##### Other stuff - [`92b13d8`](https://github.com/charmbracelet/lipgloss/commit/92b13d8d3982df42416dddcad755f8700d5f1a76): ci: sync golangci-lint config ([#&#8203;621](https://github.com/charmbracelet/lipgloss/issues/621)) ([@&#8203;github-actions](https://github.com/github-actions)\[bot]) *** <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). ### [`v2.0.0`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.0) ![lipgloss-v2-block](https://github.com/user-attachments/assets/51264df0-cbf9-4885-9910-43ba4fdf1f3d) ### Do you think you can handle Lip Gloss v2? We’re really excited for you to try Lip Gloss v2! Read on for new features and a guide to upgrading. If you (or your LLM) just want the technical details, take a look at [Upgrade Guide](UPGRADE_GUIDE_V2.md). > \[!NOTE] > We take API changes seriously and strive to make the upgrade process as simple as possible. We believe the changes bring necessary improvements as well as pave the way for the future. If something feels way off, let us know. #### What’s new? The big changes are that Styles are now deterministic (λipgloss!) and you can be much more intentional with your inputs and outputs. Why does this matter? ##### Playing nicely with others v2 gives you precise control over I/O. One of the issues we saw with the Lip Gloss and [Bubble Tea](https://github.com/charmbracelet/bubbletea) v1s is that they could fight over the same inputs and outputs, producing lock-ups. The v2s now operate in lockstep. ##### Querying the right inputs and outputs In v1, Lip Gloss defaulted to looking at `stdin` and `stdout` when downsampling colors and querying for the background color. This was not always necessarily what you wanted. For example, if your application was writing to `stderr` while redirecting `stdout` to a file, the program would erroneously think output was not a TTY and strip colors. Lip Gloss v2 gives you control over this. ##### Going beyond localhost Did you know TUIs and CLIs can be served over the network? For example, [Wish](https://github.com/charmbracelet/wish) allows you to serve Bubble Tea and Lip Gloss over SSH. In these cases, you need to work with the input and output of the connected clients as opposed to `stdin` and `stdout`, which belong to the server. Lip Gloss v2 gives you flexibility around this in a more natural way. #### 🧋 Using Lip Gloss with Bubble Tea? Make sure you get all the latest v2s as they’ve been designed to work together. ```bash # Collect the whole set. go get charm.land/bubbletea/v2 go get charm.land/bubbles/v2 go get charm.land/lipgloss/v2 ``` #### 🐇 Quick upgrade If you don't have time for changes and just want to upgrade to Lip Gloss v2 as fast as possible? Here’s a quick guide: ##### Use the `compat` package The `compat` package provides adaptive colors, complete colors, and complete adaptive colors: ```go import "charm.land/lipgloss/v2/compat" // Before color := lipgloss.AdaptiveColor{Light: "#f1f1f1", Dark: "#cccccc"} // After color := compat.AdaptiveColor{Light: lipgloss.Color("#f1f1f1"), Dark: lipgloss.Color("#cccccc")} ``` `compat` works by looking at `stdin` and `stdout` on a global basis. Want to change the inputs and outputs? Knock yourself out: ```go import ( "charm.land/lipgloss/v2/compat" "github.com/charmbracelet/colorprofile" ) func init() { // Let’s use stderr instead of stdout. compat.HasDarkBackground = lipgloss.HasDarkBackground(os.Stdin, os.Stderr) compat.Profile = colorprofile.Detect(os.Stderr, os.Environ()) } ``` ##### Use the new Lip Gloss writer If you’re using Bubble Tea with Lip Gloss you can skip this step. If you're using Lip Gloss in a standalone fashion, however, you'll want to use `lipgloss.Println` (and `lipgloss.Printf` and so on) when printing your output: ```go s := someStyle.Render("Fancy Lip Gloss Output") // Before fmt.Println(s) // After lipgloss.Println(s) ``` Why? Because `lipgloss.Println` will automatically downsample colors based on the environment. ##### That’s it! Yep, you’re done. All this said, we encourage you to read on to get the full benefit of v2. #### 👀 What’s changing? Only a couple main things that are changing in Lip Gloss v2: - Color downsampling in non-Bubble-Tea uses cases is now a manual proccess (don't worry, it's easy) - Background color detection and adaptive colors are manual, and intentional (but optional) ##### 🪄 Downsampling colors with a writer One of the best things about Lip Gloss is that it can automatically downsample colors to the best available profile, stripping colors (and ANSI) entirely when output is not a TTY. If you're using Lip Gloss with Bubble Tea there's nothing to do here: downsampling is built into Bubble Tea v2. If you're not using Bubble Tea you now need to use a writer to downsample colors. Lip Gloss writers are a drop-in replacement for the usual functions found in the `fmt` package: ```go s := someStyle.Render("Hello!") // Downsample and print to stdout. lipgloss.Println(s) // Render to a variable. downsampled := lipgloss.Sprint(s) // Print to stderr. lipgloss.Fprint(os.Stderr, s) ``` ##### 🌛 Background color detection and adaptive colors Rendering different colors depending on whether the terminal has a light or dark background is an awesome power. Lip Gloss v2 gives you more control over this progress. This especially matters when input and output are not `stdin` and `stdout`. If that *doesn’t* matter to you and you're only working with `stdout` you skip this via [`compat` above](#quick-upgrade), though we encourage you to explore this new functionality. ##### With Bubble Tea In Bubble Tea, request the background color, listen for a `BackgroundColorMsg` in your update, and respond accordingly. ```go // Query for the background color. func (m model) Init() tea.Cmd { return tea.RequestBackgroundColor } // Listen for the response and initialize your styles accordigly. func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg := msg.(type) { case tea.BackgroundColorMsg: // Initialize your styles now that you know the background color. m.styles = newStyles(msg.IsDark()) return m, nil } } type styles { myHotStyle lipgloss.Style } func newStyles(bgIsDark bool) (s styles) { lightDark := lipgloss.LightDark(bgIsDark) // just a helper function return styles{ myHotStyle := lipgloss.NewStyle().Foreground(lightDark("#f1f1f1", "#&#8203;333333")) } } ``` ##### Standalone If you're not using Bubble Tea you simply can perform the query manually: ```go // Detect the background color. Notice we're writing to stderr. hasDarkBG, err := lipgloss.HasDarkBackground(os.Stdin, os.Stderr) if err != nil { log.Fatal("Oof:", err) } // Create a helper for choosing the appropriate color. lightDark := lipgloss.LightDark(hasDarkBG) // Declare some colors. thisColor := lightDark("#C5ADF9", "#&#8203;864EFF") thatColor := lightDark("#&#8203;37CD96", "#&#8203;22C78A") // Render some styles. a := lipgloss.NewStyle().Foreground(thisColor).Render("this") b := lipgloss.NewStyle().Foreground(thatColor).Render("that") // Print to stderr. lipgloss.Fprintf(os.Stderr, "my fave colors are %s and %s...for now.", a, b) ``` #### 🥕 Other stuff ##### Colors are now `color.Color` `lipgloss.Color()` now produces an idiomatic `color.Color`, whereas before colors were type `lipgloss.TerminalColor`. Generally speaking, this is more of an implementation detail, but it’s worth noting the structural differences. ```go // Before type TerminalColor interface{/* ... */} type Color string // After func Color(string) color.Color type RGBColor struct{R, G, B uint8} func LightDark(isDark bool) LightDarkFunc type LightDarkFunc func(light, dark color.Color) color.Color func Complete(colorprofile.Profile) CompleteFunc type CompleteFunc func(ansi, ansi256, truecolor color.Color) color.Color ``` <details> <summary> #### Changelog </summary> ##### New! * b259725e46e9fbb2af6673d74f26917ed42df370: feat(blending): early return when steps <= num stops (#&#8203;566) (@&#8203;lrstanley) * 71dd8ee66ac1f4312844a792952789102513c9c5: feat(borders): initial border blend implementation (#&#8203;560) (@&#8203;lrstanley) * 2166ce88ec1cca66e8a820a86baafd7cfd34bcd0: feat(canvas): accept any type as layer content (@&#8203;aymanbagabas) * 0303864674b37235e99bc14cd4da17c409ec448e: feat(colors): refactor colors sub-package into root package (@&#8203;lrstanley) * 9c86c1f950fbfffd6c56a007de6bd3e61d67a1ea: feat(colors): switch from int to float64 for inputs (@&#8203;lrstanley) * 0334bb4562ca1f72a684c1c2a63c848ac21fffc6: feat(tree): support width and indenter styling (#&#8203;446) (@&#8203;dlvhdr) * 9a771f5a242df0acf862c7acd72124469eb4635a: feat: BlendLinear* -> Blend* (@&#8203;lrstanley) * 34443e82a7ddcbe37b9dc0d69b84385e400b8a5c: feat: add brightness example, misc example tweaks (@&#8203;lrstanley) * c95c5f3c5b27360d344bf82736a8ce9257aaf71e: feat: add hyperlink support (#&#8203;473) (@&#8203;aymanbagabas) * 5e542b8c69a0f20ea62b2caa422bbee5337fbb48: feat: add underline style and color (@&#8203;aymanbagabas) * d3032608aa74f458a7330e17cc304f1ebb5fa1b9: feat: add wrap implementation preserving styles and links (#&#8203;582) (@&#8203;aymanbagabas) * 7bf18447c8729839ca7e79aa3ba9aa00ecb8f963: feat: further simplify colors in examples (@&#8203;lrstanley) * 27a8cf99a81d1bd5ab875cd773ac8647320b02ba: feat: implement uv Drawable for Canvas and Layer (@&#8203;aymanbagabas) * c4c08fc4f8a107b00bc54407ad9094b9642dd103: feat: implement uv.Drawable for *Layer (#&#8203;607) (@&#8203;ayn2op) * 18b4bb86c515f93eede5720fe66b0d9ba83fa489: feat: initial implementation of color blending & brightness helpers (@&#8203;lrstanley) * 63610090044b782caa8ce8b1b53cc81b98264eaa: feat: update examples/layout to use colors.BlendLinear1D (@&#8203;lrstanley) * de4521b8baa33c49a96e9458e9d9213c7ba407bd: feat: update examples/list/sublist to use colors.BlendLinear1D (@&#8203;lrstanley) * 1b3716cc53b5cc29c2b1b0c655a684b797fef075: feat: use custom hex parsing for increased perf (@&#8203;lrstanley) ##### Fixed * 06ca257e382fa107afcfe147c9cda836b3cdb4be: fix(canvas): Hit method should return Layer ID as string instead of *Layer (@&#8203;aymanbagabas) * d1fa8790efbd70df8b0dd8bd139434f3ac6e063b: fix(canvas): handle misc edge cases (#&#8203;588) (@&#8203;lrstanley) * 7869489d8971e2e3a8de8e0a4a1e1dfe4895a352: fix(canvas): simplify Render handling (@&#8203;aymanbagabas) * 68f38bdee72b769ff9c137a4097d9e64d401b703: fix(ci): use local golangci config (@&#8203;aymanbagabas) * ff11224963a33f6043dfb3408e67c7fea7759f34: fix(color): update deprecated types (@&#8203;aymanbagabas) * 3f659a836c78f6ad31f5652571007cb4ab9d1eb8: fix(colors): update examples to use new method locations (@&#8203;lrstanley) * 3248589b24c9894694be6d1862817acb77e119cc: fix(layers): allow recursive rendering for layers that only contain children (#&#8203;589) (@&#8203;lrstanley) * 6c33b19c3f0a1e7d50ce9028ef4bda3ca631cd68: fix(lint): remove nolint:exhaustive comments and ignore var-naming rule for revive (@&#8203;aymanbagabas) * d267651963ad3ba740b30ecf394d7a5ef86704fc: fix(style): use alias for Underline type from ansi package (@&#8203;aymanbagabas) * 76690c6608346fc7ef09db388ee82feaa7920630: fix(table): fix wrong behavior of headers regarding margins (#&#8203;513) (@&#8203;andreynering) * 41ff0bf215ea2a444c5161d0bd7fa38b4a70af27: fix(terminal): switch to uv.NewCancelReader for Windows compatibility (@&#8203;aymanbagabas) * 5d69c0e790f24cbfaa94f8f8b2b64d1bb926c96d: fix: ensure we strip out \r\n from strings when getting lines (@&#8203;aymanbagabas) * 2e570c2690b61bac103e7eef9da917d1dfc6512d: fix: linear-2d example (@&#8203;lrstanley) * 0d6a022f7d075e14d61a755b3e9cab9d97519f21: fix: lint issues (@&#8203;aymanbagabas) * 832bc9d6b9d209e002bf1131938ffe7dbba07652: fix: prevent infinite loop with zero-width whitespace chars (#&#8203;108) (#&#8203;604) (@&#8203;calobozan) * 354e70d6d0762e6a54cfc45fe8d019d6087a4c00: fix: rename underline constants to be consistent with other style properties (@&#8203;raphamorim) ##### Docs * 60df47f8000b6cb5dfec46af37bceb2c9050bef0: docs(readme): cleanup badges (@&#8203;meowgorithm) * 881a1ffc54b6afb5f22ead143d10f8dce05e7e66: docs(readme): update art (@&#8203;meowgorithm) * ee74a03efa8363cf3b17ee7a128b9825c8f3791e: docs(readme): update footer art and copyright date (@&#8203;meowgorithm) * 8863cc06da67b8ef9f4b6f80c567738fa53bd090: docs(readme): update header image (@&#8203;meowgorithm) * 4e8ca2d9f045d6bca78ee0150420e26cda8bcccf: docs: add underline styles and colors caveats (@&#8203;aymanbagabas) * a8cfc26d7de7bdb335a8c7c2f0c8fc4f18ea8993: docs: add v2 upgrade and changes guide (#&#8203;611) (@&#8203;aymanbagabas) * 454007a0ad4e8b60afc1f6fdc3e3424e4d3a4c16: docs: update comments in for GetPaddingChar and GetMarginChar (@&#8203;aymanbagabas) * 95f30dbdc90cc409e8645de4bd2296a33ba37c70: docs: update mascot header image (@&#8203;aymanbagabas) * a06a847849dbd1726c72047a98ab8cce0f73a65f: docs: update readme in prep for v2 (#&#8203;613) (@&#8203;aymanbagabas) ##### Other stuff * 5ca0343ec7be2e85521e79734f4392cdb19e4949: Fix(table): BorderRow (#&#8203;514) (@&#8203;bashbunni) * f2d1864a58cd455ca118e04123feae177d7d2eef: Improve performance of maxRuneWidth (#&#8203;592) (@&#8203;clipperhouse) * 10c048e361129dd601eb6ff8c0c2458814291156: Merge v2-uv-canvas into v2-exp (@&#8203;aymanbagabas) * d02a007bb19e14f6bf351ed71a47beb6bee9cae3: ci: sync dependabot config (#&#8203;521) (@&#8203;charmcli) * 8708a8925b60c610e68b9aa6e509ebd513a8244e: ci: sync dependabot config (#&#8203;561) (@&#8203;charmcli) * 7d1b622c64d1a68cdc94b30864ae5ec3e6abc2dd: ci: sync dependabot config (#&#8203;572) (@&#8203;charmcli) * 19a4b99cb3bbbd2ab3079adc500faa1875da87e8: ci: sync golangci-lint config (@&#8203;aymanbagabas) * a6c079dc8a3fc6e68a00214a767627ec8447adb5: ci: sync golangci-lint config (@&#8203;aymanbagabas) * 350edde4903bcc2eee5a8ce1552dd90c3b89c125: ci: sync golangci-lint config (#&#8203;553) (@&#8203;github-actions[bot]) * 1e3ee3483a907facd98ca0a56f6694a0e9365f26: ci: sync golangci-lint config (#&#8203;598) (@&#8203;github-actions[bot]) * e729228ac14e63057e615a2241ce4303d59fef08: lint: fix lint for newer go versions (#&#8203;540) (@&#8203;andreynering) * 66093c8cf3b79596597c1e39fd4c67a954010fb3: perf: remove allocations from getFirstRuneAsString (#&#8203;578) (@&#8203;clipperhouse) * ad876c4132d61951d091a1a535c27237f6a90ad6: refactor: new Canvas, Compositor, and Layer API (#&#8203;591) (@&#8203;aymanbagabas) * 3aae2866142214f5b8ce9cbfc1939645928dcb8f: refactor: update imports to use charm.land domain (@&#8203;aymanbagabas) </details> #### 🌈 Feedback That's a wrap! Feel free to reach out, ask questions, and let us know how it's going. We'd *love* to know what you think. - [Discord](https://charm.land/discord) - [Matrix](https://charm.land/matrix) - [Email](mailto:vt100@&#8203;charm.land) *** Part of [Charm](https://charm.land). <a href="https://charm.land/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة ### [`v2.0.0-beta.3`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.0-beta.3) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.0-beta.2...v2.0.0-beta.3) ### Padding, Schmadding This new beta release reverts back to a major change when it comes to using regular spacing for padding. We found that using NBSP `\u00a0` causes more problems than it solves. Things like simply copying the output from the terminal and then paste it back wouldn't work if NBSPs exist in a command. To solve this, we've added `style.PaddingChar(rune)` and `style.MarginChar(rune)` to customize the characters used in padding and margins respectively. #### Changelog ##### New Features - [`d2233fa`](https://github.com/charmbracelet/lipgloss/commit/d2233fa4e442ada229f1e43d8ede567f13f4e3fd): feat: add padding and margin character support ([@&#8203;aymanbagabas](https://github.com/aymanbagabas)) - [`045a87b`](https://github.com/charmbracelet/lipgloss/commit/045a87bf1420980d804387189c44d7b52a7b9047): feat: add padding and margin character support ([#&#8203;546](https://github.com/charmbracelet/lipgloss/issues/546)) ([@&#8203;aymanbagabas](https://github.com/aymanbagabas)) - ##### Bug fixes - [`99fc0ff`](https://github.com/charmbracelet/lipgloss/commit/99fc0ff4a68cbaec13ea1d4eac8b554b68acff34): fix: correct nbsp codepoint ([@&#8203;aymanbagabas](https://github.com/aymanbagabas)) - [`8e1c474`](https://github.com/charmbracelet/lipgloss/commit/8e1c474f8a7182d0653ab63ab32e285b76b37215): fix: ensure we strip out \r\n from strings when getting lines ([@&#8203;aymanbagabas](https://github.com/aymanbagabas)) - [`4cb83b5`](https://github.com/charmbracelet/lipgloss/commit/4cb83b582065b1ff3939d963705fe9801f2edd8d): fix: make padding char a style prop ([@&#8203;caarlos0](https://github.com/caarlos0)) - [`07cadae`](https://github.com/charmbracelet/lipgloss/commit/07cadaec27499b6d61e51c60792e0e3642b3a9e7): fix: revert back to regular space ([@&#8203;caarlos0](https://github.com/caarlos0)) *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@charm), or on [Discord](https://charm.sh/chat). ### [`v2.0.0-beta.2`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.0-beta.2) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.0-beta.1...v2.0.0-beta.2) ### So Hot Right Now: Lip Gloss v2 Beta 2 This release builds on top of the last [beta 1](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.0-beta.1) release. It includes a new API for compositing layers and views, table enhancements, and a bunch of bug fixes. Let's get into it! #### Compositing <p><img width="500" alt="layers" src="https://github.com/user-attachments/assets/f0b54ff5-bfc0-4c15-8cf1-af4ca8d29062" /></p> The big news in this release is compositing. Here's what it looks like: ```go box := lipgloss.NewStyle(). Width(10). Height(5). Border(lipgloss.NormalBorder()) // Make some layers. a := lipgloss.NewLayer(box.Render("Who wants marmalade?")) b := lipgloss.NewLayer(box.Render("I do!")) // Put layers in a canvas. canvas := lipgloss.NewCanvas( a.X(5).Y(10).Z(1), b.X(3).Y(7) ) // Render it all out. lipgloss.Println(canvas.Render()) ``` Also note that layers can also be nested (see [`Layer.AddLayers`](https://pkg.go.dev/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta1#Layer.AddLayers)). Otherwise, that’s all there is to it! For more info see [`Layer`](https://pkg.go.dev/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta1#Layer), [`Canvas`](https://pkg.go.dev/github.com/charmbracelet/lipgloss/v2@v2.0.0-beta1#Canvas), and [the compositing example](https://github.com/charmbracelet/lipgloss/blob/e9f399ea6d86f3e0b2e540211d4c1e16ccd773ba/examples/canvas/main.go). #### Table Enhancements Tables are one of the most beloved Charm components, and we've been working to make them as polished as possible. In this release *several* bugs were fixed, and many other rendering enhancements were made. You can check most of the fixes on [#&#8203;526](https://github.com/charmbracelet/lipgloss/pull/526). We're also refactoring the Bubbles' table component to use the Lip Gloss' table package, and making their APIs similar, as before they were relatively different. This means that if you use Tables via Bubbles in your Bubble Tea app, you'll be able to reap the benefits soon too! <details> <summary> #### Changelog </summary> ##### New Features * ad4ad6de5ac5449ecee7a04a37ad7f987d86f834: feat(examples): add clickable example (@&#8203;aymanbagabas) * c20d40442fae4e30f0dc2bf747fc726d11ab945f: feat(examples): clickable: make it "pure" (@&#8203;aymanbagabas) * 2790cd0292d3afd96abd251d3af9f5f0bbe7b8f3: feat(table): add `BaseStyle` to set background color for the whole table (#&#8203;519) (@&#8203;andreynering) * e2227d9b55d12629e7901e5b40e0378370af2892: feat(table): add some extra getters needed on bubbles (@&#8203;andreynering) * 488eb3757443d79d0cb292af499a449d52372361: feat(table): expose getters for borders (@&#8203;andreynering) * 587de15a4f99ade6d20bd6692019a25ac9f58e89: feat(table): further enhance and fix table height handling (@&#8203;andreynering) * 4b89e653aaead4e9758bc7aebfcbe6b5814c400f: feat(table): rework height rendering logic to fix related bugs (@&#8203;andreynering) * 600244163f543404bae832fa4f340fc1129dba5d: feat: export `GetHeaders`, `GetData` and `DataToMatrix` (@&#8203;andreynering) * 75c05692f770a4e0c8f876f21547324a5bb6aa18: feat: initial compositing implementation (@&#8203;aymanbagabas) * 2c4751e06ce44cbf9e24dfe61957fe99250aac67: feat: initial compositing implementation (#&#8203;471) (@&#8203;meowgorithm) ##### Bug fixes * 9ae54a0eebb71fcb2443369fedc8344c6da9eda8: fix(border): fix returned border sizes when only style was set (@&#8203;andreynering) * c80afba684548e86959fbae0e05f7727aa626d32: fix(canvas): negative coordinates calculation (@&#8203;aymanbagabas) * c201d5952318d568e731c24f01e16947f1f152b3: fix(lint): GoDoc (@&#8203;meowgorithm) * f274d052315e6e95222d806d7602952cc4d08c87: fix(lint): fix linting issues after golangci-lint v2 upgrade (@&#8203;andreynering) * 1427d827c8acabec13feb58530dc2fca53563155: fix(table): add tests + fix scenario of offset + manual table height (@&#8203;andreynering) * c0f4b07e2c9ad4b1c0c27b9a61555a2e6180e0eb: fix(table): do not print final empty row when overflow (@&#8203;andreynering) * bc517ae87e99ab44ad85f3f59ac8b6ca9f6285c4: fix(table): fix headers with custom vertical padding (@&#8203;andreynering) * baa7611731e620ee4115e94ea1ba9e29f21cc44b: fix(table): fix horizontal shrink with outline borders only (@&#8203;andreynering) * 63e53c126330858b5d59aba9547dbe1be99b1b84: fix(table): fix layout for tables with inner borders only (@&#8203;andreynering) * c6b946e574dddb956f8642c9f84fa0219b777ed3: fix(table): fix panic when style func is `nil` (#&#8203;508) (@&#8203;andreynering) * a3d464b6b28e00dd87a5cedce33576f86c0911c7: fix(table): fix rendering for bordered cells (@&#8203;andreynering) * b36834acd7c6412885a4e8b32791898ffd1abfe3: fix(table): improve height handling for cells with vertical padding (@&#8203;andreynering) ##### Documentation updates * e9f399ea6d86f3e0b2e540211d4c1e16ccd773ba: docs(example): add compositing example (#&#8203;544) (@&#8203;meowgorithm) * fabe5147c91164b0b12945097c2429adcf79fb16: docs(examples): add compositing to layout example (@&#8203;meowgorithm) * 4781de297de3f6a2beb663c919b39246e24b1436: docs(examples): update Bubble Tea examples to use new API (@&#8203;aymanbagabas) * 946081c6f1a5b6bd4e368c60f49935be71279af2: docs(table): document that headers are never wrapped (@&#8203;andreynering) ##### Other work * 7edbc41e909ef23d0c3b9e88e157966e1c0d814c: ci: fix linting (@&#8203;andreynering) * c7f615e1a3bf6cdfa0cf365dacc9a9193a7247c0: ci: fix new lint issues after golangci-lint v2 upgrade (#&#8203;510) (@&#8203;andreynering) * d102bea711a2576bba7d80e0639fffba8be23b80: ci: sync golangci-lint config (#&#8203;509) (@&#8203;github-actions[bot]) * 40640fe3494c7b4050fdccd9abb8e2705d6ecab6: refactor: modernize loops (@&#8203;andreynering) * 23e0f7f3dae03637de68504142aeff17ca73bd65: refactor: v2 rename offset (#&#8203;512) (@&#8203;bashbunni) </details> #### How’s it going? Feel free to reach out, ask questions, give feedback, and let us know how it's going. We’d *love* to know what you think. - [Discord](https://charm.sh/discord) - [Matrix](https://charm.sh/matrix) - [Email](mailto:vt100@&#8203;charm.sh) *** Part of [Charm](https://charm.sh). <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة ### [`v2.0.0-beta.1`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.0-beta.1) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.0-alpha.2...v2.0.0-beta.1) ### Who said a beta release can’t be exciting? We're thrilled to announce the first beta release of Lip Gloss v2! This release builds on top of the last [alpha 2][alpha2] release. Very little has changed since the last alpha, which means we’re getting closer to a proper `v2.0.0`. The only change here is that you can no longer use hexadecimal and integer format when defining colors. We found there were just to many gotchas and this way the API remains backwards compatible. ```go // Before in alpha 2 // This is a bug! It's not intuitive to use integers here. // Should this be a hex color or ANSI(204)? a := lipgloss.Color(0x0000cc) // 0xcc is 204, which was interpreted as an ANSI color, not #&#8203;0000cc // After a := lipgloss.Color("#&#8203;0000cc") // This is a hex color b := lipgloss.Color("204") // This is an ANSI color c := lipgloss.ANSIColor(204) // Equivalent to b ``` #### 🌈 More on Lip Gloss v2 Just getting into Lip Gloss v2? Check out the [full v2 release notes and upgrade guide][v2]. [v2]: https://github.com/charmbracelet/lipgloss/discussions/506 [alpha2]: https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.0-alpha.2 #### 💝 How’s it going? Feel free to reach out, ask questions, give feedback, and let us know how it's going. We’d *love* to know what you think. - [Discord](https://charm.sh/discord) - [Matrix](https://charm.sh/matrix) - [Email](mailto:vt100@&#8203;charm.sh) *** Part of [Charm](https://charm.sh). <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة ### [`v2.0.0-alpha.2`](https://github.com/charmbracelet/lipgloss/releases/tag/v2.0.0-alpha.2) [Compare Source](https://github.com/charmbracelet/lipgloss/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) ### Do you think you can handle Lip Gloss v2? We’re really excited for you to try Lip Gloss v2! Keep in mind that this is an early *alpha* release and things may change. > \[!NOTE] > We take API changes seriously and strive to make the upgrade process as simple as possible. We believe the changes bring necessary improvements as well as pave the way for the future. If something feels way off, let us know. The big changes are that Styles are now deterministic (λipgloss!) and you can be much more intentional with your inputs and outputs. Why does this matter? ##### Playing nicely with others v2 gives you precise control over I/O. One of the issues we saw with the Lip Gloss and [Bubble Tea](https://github.com/charmbracelet/bubbletea) v1s is that they could fight over the same inputs and outputs, producing lock-ups. The v2s now operate in lockstep. ##### Querying the right inputs and outputs In v1, Lip Gloss defaulted to looking at `stdin` and `stdout` when downsampling colors and querying for the background color. This was not always necessarily what you wanted. For example, if your application was writing to `stderr` while redirecting `stdout` to a file, the program would erroneously think output was not a TTY and strip colors. Lip Gloss v2 gives you control and intentionality over this. ##### Going beyond localhost Did you know TUIs and CLIs can be served over the network? For example, [Wish](https://github.com/charmbracelet/wish) allows you to serve Bubble Tea and Lip Gloss over SSH. In these cases, you need to work with the input and output of the connected clients as opposed to `stdin` and `stdout`, which belong to the server. Lip Gloss v2 gives you flexibility around this in a more natural way. #### 🧋 Using Lip Gloss with Bubble Tea? Make sure you get all the latest v2s as they’ve been designed to work together. ```bash go get github.com/charmbracelet/bubbletea/v2@v2.0.0-alpha.2 go get github.com/charmbracelet/bubbles/v2@v2.0.0-alpha.2 go get github.com/charmbracelet/lipgloss/v2@v2.0.0-alpha.2 ``` #### 🐇 Quick upgrade If you don't have time for changes and just want to upgrade to Lip Gloss v2 as fast as possible, do the following: ##### Use the `compat` package The `compat` package provides adaptive colors, complete colors, and complete adaptive colors: ```go import "github.com/charmbracelet/lipgloss/v2/compat" // Before color := lipgloss.AdaptiveColor{Light: "#f1f1f1", Dark: "#cccccc"} // After color := compat.AdaptiveColor{Light: "#f1f1f1", Dark: "#cccccc"} ``` `compat` works by looking at `stdin` and `stdout` on a global basis. Want to change the inputs and outputs? Knock yourself out: ```go import ( "github.com/charmbracelet/lipgloss/v2/compat" "github.com/charmbracelet/colorprofile" ) func init() { // Let’s use stderr instead of stdout. compat.HasDarkBackground = lipgloss.HasDarkBackground(os.Stdin, os.Stderr) compat.Profile = colorprofile.Detect(os.Stderr, os.Environ()) } ``` ##### Use the new Lip Gloss writer If you’re using Bubble Tea with Lip Gloss you can skip this step. If you're using Lip Gloss in a standalone fashion, use `lipgloss.Println` (and `lipgloss.Printf` and so on) when printing your output: ```go s := someStyle.Render("Fancy Lip Gloss Output") // Before fmt.Println(s) // After lipgloss.Println(s) ``` ##### That’s it! All this said, we encourage you to read on to get the full benefit of v2. #### 👀 What’s changing? Only a couple main things that are changing in Lip Gloss v2: - Color downsampling in non-Bubble-Tea uses cases is now a manual proccess (don't worry, it's easy) - Background color detection and adaptive colors are manual, and intentional (but optional) ##### 🪄 Downsampling colors with a writer One of the best things about Lip Gloss is that it can automatically downsample colors to the best available profile, stripping colors (and ANSI) entirely when output is not a TTY. If you're using Lip Gloss with Bubble Tea there's nothing to do here: downsampling is built into Bubble Tea v2. If you're not using Bubble Tea you now need to use a writer to downsample colors. Lip Gloss writers are a drop-in replacement for the usual functions found in the `fmt` package: ```go s := someStyle.Render("Hello!") // Downsample and print to stdout. lipgloss.Println(s) // Render to a variable. downsampled := lipgloss.Sprint(s) // Print to stderr. lipgloss.Fprint(os.Stderr, s) ``` ##### 🌛 Background color detection and adaptive colors Rendering different colors depending on whether the terminal has a light or dark background is an awesome power. Lip Gloss v2 gives you more control over this progress. This especially matters when input and output are not `stdin` and `stdout`. If that *doesn’t* matter to you and you're only working with `stdout` you skip this via [`compat` above](#quick-upgrade), though encourage you to explore this new functionality. ##### With Bubble Tea In Bubble Tea, request the background color, listen for a `BackgroundColorMsg` in your update, and respond accordingly. ```go // Query for the background color. func (m model) Init() (tea.Model, tea.Cmd) { return m, tea.RequestBackgroundColor } // Listen for the response and initialize your styles accordigly. func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) { switch msg := msg.(type) { case tea.BackgroundColorMsg: // Initialize your styles now that you know the background color. m.styles = newStyles(msg.IsDark()) return m, nil } } type styles { myHotStyle lipgloss.Style } func newStyles(bgIsDark bool) (s styles) { lightDark := lipgloss.LightDark(bgIsDark) // just a helper function return styles{ myHotStyle := lipgloss.NewStyle().Foreground(lightDark("#f1f1f1", "#&#8203;333333")) } } ``` ##### Standalone If you're not using Bubble Tea you simply can perform the query manually: ```go // Detect the background color. Notice we're writing to stderr. hasDarkBG, err := lipgloss.HasDarkBackground(os.Stdin, os.Stderr) if err != nil { log.Fatal("Oof:", err) } // Create a helper for choosing the appropriate color. lightDark := lipgloss.LightDark(hasDarkBG) // Declare some colors. thisColor := lightDark("#C5ADF9", "#&#8203;864EFF") thatColor := lightDark("#&#8203;37CD96", "#&#8203;22C78A") // Render some styles. a := lipgloss.NewStyle().Foreground(thisColor).Render("this") b := lipgloss.NewStyle().Foreground(thatColor).Render("that") // Print to stderr. lipgloss.Fprintf(os.Stderr, "my fave colors are %s and %s...for now.", a, b) ``` #### 🥕 Other stuff ##### Colors are now `color.Color` `lipgloss.Color()` now produces an idomatic `color.Color`, whereas before colors were type `lipgloss.TerminalColor`. Generally speaking, this is more of an implementation detail, but it’s worth noting the structural differences. ```go // Before type TerminalColor interface{/* ... */} type Color string // After func Color(any) color.Color type ANSIColor uint type RGBColor struct { R, G, B uint8 } ``` ##### Quotes are now optional in colors There are also some quality-of-life niceties around color UX: ```go a := lipgloss.Color("#f1f1f1") // This still works b := lipgloss.Color(0xf1f1f1) // But this also works c := lipgloss.Color("212") // You can still do this d := lipgloss.Color(212) // But you can also do this too ``` <details> <summary> #### Changelog </summary> - (v2) adaptive colors + writers by [@&#8203;meowgorithm](https://github.com/meowgorithm) in [#&#8203;397](https://github.com/charmbracelet/lipgloss/pull/397) - (v2) feat: add adaptive color package by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in [#&#8203;359](https://github.com/charmbracelet/lipgloss/pull/359) - chore: rename LightDark to Adapt per [@&#8203;bashbunni](https://github.com/bashbunni)'s acute suggestion by [@&#8203;meowgorithm](https://github.com/meowgorithm) in [#&#8203;392](https://github.com/charmbracelet/lipgloss/pull/392) - refactor: unexport isDarkColor helper by [@&#8203;bashbunni](https://github.com/bashbunni) in [#&#8203;410](https://github.com/charmbracelet/lipgloss/pull/410) - (v2) fix: query both stdin and stdout for background color on non-Windows … by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in [#&#8203;416](https://github.com/charmbracelet/lipgloss/pull/416) - Sync golangci-lint config by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;421](https://github.com/charmbracelet/lipgloss/pull/421) - Sync golangci-lint config by [@&#8203;github-actions](https://github.com/github-actions) in [#&#8203;422](https://github.com/charmbracelet/lipgloss/pull/422) - chore(lint): update soft lint directives; fix soft lint issues by [@&#8203;meowgorithm](https://github.com/meowgorithm) in [#&#8203;423](https://github.com/charmbracelet/lipgloss/pull/423) - V2 examples by [@&#8203;meowgorithm](https://github.com/meowgorithm) in [#&#8203;426](https://github.com/charmbracelet/lipgloss/pull/426) - fix: manually query terminal for background color by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in [#&#8203;429](https://github.com/charmbracelet/lipgloss/pull/429) - (v2) feat: complete color support by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in [#&#8203;420](https://github.com/charmbracelet/lipgloss/pull/420) - (v2) feat: add compat package by [@&#8203;aymanbagabas](https://github.com/aymanbagabas) in [#&#8203;419](https://github.com/charmbracelet/lipgloss/pull/419) </details> **Full Changelog**: <https://github.com/charmbracelet/lipgloss/compare/v1.0.0...v2.0.0-alpha.2> #### 🌈 Feedback That's a wrap! Feel free to reach out, ask questions, and let us know how it's going. We'd *love* to know what you think. - [Discord](https://charm.sh/discord) - [Matrix](https://charm.sh/matrix) - [Email](mailto:vt100@&#8203;charm.sh) *** Part of [Charm](https://charm.sh). <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Charm热爱开源 • Charm loves open source • نحنُ نحب المصادر المفتوحة </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - At any time (no schedule defined) - Automerge - At any time (no schedule defined) 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, 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:eyJjcmVhdGVkSW5WZXIiOiI0NC4yNDcuMSIsInVwZGF0ZWRJblZlciI6IjQ0LjI0Ny4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
fix(deps): update module github.com/charmbracelet/lipgloss to v2
Some checks failed
CI / integration-1 (pull_request) Has been skipped
CI / e2e (pull_request) Has been skipped
renovate/artifacts Artifact file update failure
CI / integration (pull_request) Failing after 1m51s
CI / generate (pull_request) Failing after 41s
CI / build (pull_request) Failing after 37s
CI / lint (pull_request) Failing after 1m48s
CI / unit (pull_request) Failing after 1m39s
CI / ci (pull_request) Failing after 0s
1fbb687607
renovate-bot scheduled this pull request to auto merge when all checks succeed 2026-11-30 02:22:08 +00:00
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
go: github.com/charmbracelet/lipgloss/v2@v2.1.1: parsing go.mod:
	module declares its path as: charm.land/lipgloss/v2
	        but was required as: github.com/charmbracelet/lipgloss/v2

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: go.sum ``` go: github.com/charmbracelet/lipgloss/v2@v2.1.1: parsing go.mod: module declares its path as: charm.land/lipgloss/v2 but was required as: github.com/charmbracelet/lipgloss/v2 ```
Some checks failed
CI / integration-1 (pull_request) Has been skipped
Required
Details
CI / e2e (pull_request) Has been skipped
Required
Details
renovate/artifacts Artifact file update failure
CI / integration (pull_request) Failing after 1m51s
Required
Details
CI / generate (pull_request) Failing after 41s
Required
Details
CI / build (pull_request) Failing after 37s
Required
Details
CI / lint (pull_request) Failing after 1m48s
Required
Details
CI / unit (pull_request) Failing after 1m39s
Required
Details
CI / ci (pull_request) Failing after 0s
Required
Details
Some required checks were not successful.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'renovate/github.com-charmbracelet-lipgloss-2.x:renovate/github.com-charmbracelet-lipgloss-2.x'
git switch 'renovate/github.com-charmbracelet-lipgloss-2.x'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
hmajid2301/optinix!11
No description provided.