Skip to content

The Charm stack moves to v2 under charm.land: glamour, Lip Gloss, Bubble Tea and Bubbles together #1101

Closed

Description

@David-Noble-at-work

The Charm stack moves to v2 together, under its new charm.land import paths: glamour, Lip Gloss, Bubble Tea and Bubbles. Ruled 2026-10-20, asked whether to take glamour v2: "Whole stack to v2."

#1021's first run (2026-10-02) listed the Charm v2 set among the updates needing code changes, with glamour 1.0.0; glamour has since released v2.0.1. This is the issue of its own that #1021 calls for.

The versions

Read 2026-10-20 from each repository's releases.

Library Pinned Moves to Import path
glamour v0.10.0 v2.0.1 (2026-06-12) charm.land/glamour/v2
Lip Gloss v1.1.1 snapshot (2025-04-04) v2.0.6 (2026-08-11) charm.land/lipgloss/v2
Bubble Tea v1.3.10 v2.1.0 (2026-10-08) charm.land/bubbletea/v2
Bubbles v1.0.0 v2.2.1 (2026-08-24) charm.land/bubbles/v2

glamour v2.0.1 parses with goldmark v1 (it requires ≥ v1.7.8), so it runs on goldmark v1.8.6, the version #1100 settles on.

The code it touches

  • pkg/result/terminal.go:104: glamour.WithColorProfile() is removed in v2; color adaptation moves to Lip Gloss (glamour's UPGRADE_GUIDE_V2.md).
  • cmd/internal/console/model.go:51 and :426: glamour.WithAutoStyle() is removed in v2; the default style is "dark".
  • cmd/internal/console/ (console.go, model.go, styles.go): Bubble Tea, Bubbles and Lip Gloss v1 APIs move to v2, each by its own upgrade guide.

Proof

make check and make test-scenario green; -o terminal renders a document as it did, colors downsampled on a 256-color and a no-color terminal; the console starts, renders and resizes.

Plan and design documents

Kind Document
Plan docs/plans/chore/1101-charm-stack-moves-to-v2.md
Design UPGRADE_GUIDE_V2.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions