Skip to content

refactor(deps): migrate to Charm v2 suite (bubbletea v2.0.7, lipgloss v2.0.3)#109

Merged
flexiondotorg merged 1 commit into
mainfrom
charm
Jun 6, 2026
Merged

refactor(deps): migrate to Charm v2 suite (bubbletea v2.0.7, lipgloss v2.0.3)#109
flexiondotorg merged 1 commit into
mainfrom
charm

Conversation

@flexiondotorg
Copy link
Copy Markdown
Contributor

  • Import paths: github.com/charmbracelet/* → charm.land/*/v2
  • View signature: View() string → View() tea.View (built via tea.NewView(...))
  • Key handling: tea.KeyMsg → tea.KeyPressMsg (interface semantics changed)
  • Program options: tea.WithAltScreen() removed, moved to view.AltScreen = true
  • Lipgloss colours: lipgloss.Color now returns image/color.Color
  • Update AGENTS.md with v2 API documentation
  • All tests pass; no behavioral change to spinner, progress bars, metrics, or level meter

… v2.0.3)

- Import paths: github.com/charmbracelet/* → charm.land/*/v2
- View signature: View() string → View() tea.View (built via
  tea.NewView(...))
- Key handling: tea.KeyMsg → tea.KeyPressMsg (interface semantics
  changed)
- Program options: tea.WithAltScreen() removed, moved to view.AltScreen
  = true
- Lipgloss colours: lipgloss.Color now returns image/color.Color
- Update AGENTS.md with v2 API documentation
- All tests pass; no behavioral change to spinner, progress bars,
  metrics, or level meter

Signed-off-by: Martin Wimpress <code@wimpress.io>
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 14 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: This major version migration of core TUI dependencies (bubbletea v2, lipgloss v2) introduces API-breaking changes across 14 files, including view creation, key handling, and program options; although tests pass and the changes appear systematic, the risk of subtle behavioral regressions in the...

Re-trigger cubic

@flexiondotorg flexiondotorg merged commit 45e2b65 into main Jun 6, 2026
10 checks passed
@flexiondotorg flexiondotorg deleted the charm branch June 6, 2026 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant