Skip to content

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

Merged
omarluq merged 2 commits intomainfrom
renovate/github.com-charmbracelet-fang-2.x
Apr 12, 2026
Merged

fix(deps): update module github.com/charmbracelet/fang to v2#126
omarluq merged 2 commits intomainfrom
renovate/github.com-charmbracelet-fang-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 14, 2026

This PR contains the following updates:

Package Change Age Confidence
github.com/charmbracelet/fang v0.4.4v2.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

v1.0.0

Compare Source

Changelog

Other stuff

The Charm logo

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


Configuration

📅 Schedule: 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
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Mar 14, 2026

⚠️ 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 2 times, most recently from bc1d125 to 1147fc2 Compare March 14, 2026 19:56
@renovate renovate Bot force-pushed the renovate/github.com-charmbracelet-fang-2.x branch 3 times, most recently from 60bfa0e to c3c6177 Compare April 2, 2026 20:48
@omarluq omarluq force-pushed the renovate/github.com-charmbracelet-fang-2.x branch from c3c6177 to cf76f26 Compare April 12, 2026 02:15
@renovate
Copy link
Copy Markdown
Contributor Author

renovate Bot commented Apr 12, 2026

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@sonarqubecloud
Copy link
Copy Markdown

@omarluq omarluq merged commit 3ffece2 into main Apr 12, 2026
11 checks passed
@omarluq omarluq deleted the renovate/github.com-charmbracelet-fang-2.x branch April 12, 2026 02:26
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