Skip to content

fix(deps): update module github.com/charmbracelet/fang to v2.0.1#40

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-charmbracelet-fang-2.x
Open

fix(deps): update module github.com/charmbracelet/fang to v2.0.1#40
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-charmbracelet-fang-2.x

Conversation

@renovate

@renovate renovate Bot commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/charmbracelet/fang v1.0.0v2.0.1 age confidence

Release Notes

charmbracelet/fang (github.com/charmbracelet/fang)

v2.0.1

Compare Source

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

Compare Source

Are you ready for Fang v2?

The second major release of Fang is here!

❤️ Charm Land Import Path

We've updated our import paths to use vanity domains and use our domain to import Go packages.

// Before
import "github.com/charmbracelet/fang"

// After
import "charm.land/fang/v2"

💄 Lip Gloss v2

Fang v2 now uses Lip Gloss v2, which brings a host of improvements and performance enhancements. The new version of Lip Gloss is pure and declarative, which means better rendering, more consistent styling, and fewer surprises.

🎨 Built-in Color Downsampling

Fang now automatically detects your terminal's color profile and downsamples colors to match. This means your CLI will look great everywhere — from full TrueColor terminals to basic 16-color TTYs. No configuration needed; it just works.

🌈 Light/Dark Theme Support

The default theme now adapts to your terminal's background color. Light terminal? You get the light theme. Dark terminal? Dark theme. You can also create your own adaptive themes using WithColorSchemeFunc:

fang.Execute(ctx, cmd, fang.WithColorSchemeFunc(func(ld lipgloss.LightDarkFunc) fang.ColorScheme {
    return fang.ColorScheme{
        Primary:   ld(lipgloss.Color("#FF6B6B"), lipgloss.Color("#​4ECDC4")),
        Secondary: ld(lipgloss.Color("#​95E1D3"), lipgloss.Color("#F38181")),
        // ...
    }
}))

For backwards compatibility, the old WithTheme option still works but is now deprecated.

🪟 Better Windows Support

Windows users rejoice! Fang v2 ensures VT processing is always enabled on Windows, so ANSI colors and styling work correctly without any extra configuration.

🛠️ Bug Fixes and Polish

Fang v2 includes several quality-of-life improvements:

  • Multiline flag descriptions are now preserved and formatted correctly
  • Command aliases are styled consistently
  • Default values in help output have better spacing
  • Terminal checks are now done in the right place, preventing panics in non-TTY environments

Changelog

Other stuff
  • c78f5f219e3a104d19fc975111cf6d9e8d60a9ea: docs(readme,license): update footer banner, copyright date (@​meowgorithm)
  • f2331283c3007f71c86b66fd4389a7e8a02f73d2: refactor: migrate to charm.land module path (#​81) (@​aymanbagabas)

Feedback

Have thoughts on Fang v2? We'd love to hear about it. Let us know on…


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: Disabled by config. Please merge this manually once you are satisfied.

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

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


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

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

@renovate

renovate Bot commented Mar 14, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ 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
Command failed: go get -t ./...
go: github.com/charmbracelet/fang/v2@v2.0.1: parsing go.mod:
	module declares its path as: charm.land/fang/v2
	        but was required as: github.com/charmbracelet/fang/v2

@renovate renovate Bot force-pushed the renovate/github.com-charmbracelet-fang-2.x branch from 651f0c9 to 22e435a Compare April 1, 2026 19:43
@renovate renovate Bot changed the title fix(deps): update module github.com/charmbracelet/fang to v2.0.1 fix(deps): update module github.com/charmbracelet/fang to v2.0.1 - autoclosed Jun 2, 2026
@renovate renovate Bot closed this Jun 2, 2026
@renovate renovate Bot deleted the renovate/github.com-charmbracelet-fang-2.x branch June 2, 2026 16:37
@renovate renovate Bot changed the title fix(deps): update module github.com/charmbracelet/fang to v2.0.1 - autoclosed fix(deps): update module github.com/charmbracelet/fang to v2.0.1 Jun 2, 2026
@renovate renovate Bot reopened this Jun 2, 2026
@renovate renovate Bot force-pushed the renovate/github.com-charmbracelet-fang-2.x branch 2 times, most recently from 22e435a to 5d4d97e Compare June 2, 2026 23:06
@renovate renovate Bot force-pushed the renovate/github.com-charmbracelet-fang-2.x branch from 5d4d97e to a1c9d14 Compare July 12, 2026 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants