fix(deps): update module github.com/charmbracelet/glamour to v2 #10
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/github.com-charmbracelet-glamour-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v0.10.0→v2.0.1Release Notes
charmbracelet/glamour (github.com/charmbracelet/glamour)
v2.0.1Compare Source
Changelog
Bug fixes
975a0f3: fix: close wrap writer before its downstream chain (#575) (@taciturnaxolotl)Other work
c293649: chore: fix pre-existing lint failures (#575) (@taciturnaxolotl)95c93db: chore: bump lipgloss to v2.0.4 (@taciturnaxolotl)600b93a: chore: remove CODEOWNERS (@aymanbagabas)253da61: fix(ci): use local golangci config (@aymanbagabas)Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v2.0.0Compare Source
What's New in Glamour v2
We're excited to announce the second major release of Glamour!
If you (or your LLM) are just looking for technical details on migrating from v1, please check out the Upgrade Guide.
❤️ Charm Land Import Path
We've updated our import paths to use vanity domains and use our domain to import Go packages.
💄 Lip Gloss v2 Integration
Glamour v2 now uses Lip Gloss v2 under the hood, bringing improved performance and more consistent styling across the Charm ecosystem.
Since Glamour is designed to be pure (same input = same output), it doesn't peek at your terminal's capabilities. Instead, color downsampling is handled explicitly via Lip Gloss when you're ready to render:
No more I/O fights between Glamour and Lip Gloss. Glamour focuses on rendering, Lip Gloss handles the colors. Everyone's happy!
🌏 Better Text Wrapping
Text wrapping has been rewritten using
lipgloss.Wrap, which means way better handling of:Your Japanese documentation, emoji-filled READMEs, and creative Unicode art will all render beautifully now.
🔗 Hyperlink Support
Glamour now supports ANSI hyperlinks! If your terminal supports OSC 8 (and many modern terminals do), your links can be clickable. No changes needed, it just works.
Which terminals support OSC 8 hyperlinks?
📧 Cleaner Email Rendering
Email autolinks now hide the
mailto:prefix for a cleaner look while remaining functional. Because nobody wants to readmailto:in their rendered markdown.🌙 Dark is the New Default
The
WithAutoStyle()option andAutoStylehave been removed. The default style is now"dark", which works well across most terminals. You can still explicitly choose any style:Simpler is better!
🎨 Color Profile Changes
The
WithColorProfile()option has been removed. Color adaptation is now handled by Lip Gloss when rendering output:This separation of concerns makes Glamour's rendering more predictable and testable.
👋 Farewell, Overline
The
Overlinedfield has been removed from all style primitives. It was rarely used and not widely supported across terminals. If you need similar visual separation, consider using underline, bold, or background colors instead.🐛 Bug Fixes
🌈 More on Glamour v2
Ready to migrate? Head over to the Upgrade Guide for the full migration checklist.
New!Changelog
Fixed
Docs
Other stuff
Feedback
Have thoughts on Glamour v2? We'd love to hear about it. Let us know on…
Part of Charm.
Charm热爱开源 • Charm loves open source
v1.0.0Compare Source
Configuration
📅 Schedule: (UTC)
🚦 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.
This PR has been generated by Mend Renovate CLI.
⚠️ 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:
The artifact failure details are included below:
File name: go.sum
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.