fix(deps): update module github.com/charmbracelet/glamour to v0.10.0#4345
Merged
Merged
Conversation
Contributor
Author
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
|
|
b39482d to
7879efd
Compare
dustin-decker
approved these changes
Aug 7, 2025
peterfraedrich
pushed a commit
to peterfraedrich/trufflehog
that referenced
this pull request
Mar 15, 2026
…rufflesecurity#4345) This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [github.com/charmbracelet/glamour](https://redirect.github.com/charmbracelet/glamour) | `v0.7.0` -> `v0.10.0` | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>charmbracelet/glamour (github.com/charmbracelet/glamour)</summary> ### [`v0.10.0`](https://redirect.github.com/charmbracelet/glamour/releases/tag/v0.10.0) [Compare Source](https://redirect.github.com/charmbracelet/glamour/compare/v0.9.1...v0.10.0) ### Actually readable tables Big tables that included links were always hard to read. Links can be very long, and tables often have limited space to render them. This means that links often took the space of many lines and weren't properly clickable because they were being truncated in practice. Starting on this release, Glamour will render links and images at the footer of the table, with a reference number so you can easily find the link you're looking for. If you want the old behavior, it is still supported via the new `WithInlineTableLinks` option. #### The New Way  #### The Old Way Wanna render tables with inline links? You still can: ```go r, err := glamour.NewTermRenderer(glamour.WithInlineTableLinks(true)) if err != nil { /*...*/ } out, err := r.RenderBytes(in) if err != nil { /*...*/ } fmt.Fprintf(os.Stdout, "%s\n", out) ```  ### Prettier GitHub links We also introduced a change so that GitHub links inside tables that reference issues, discussions or PRs will be shown in its shortened form, similar to how GitHub itself present the links on issue descriptions: `owner/repo#123`.  ### Extra Also, we introduced `WithTableWrap`, so you can disable table text wrapping if really want: ```go r, err := glamour.NewTermRenderer(glamour.WithTableWrap(false)) if err != nil { ... } out, err := r.RenderBytes(in) if err != nil { ... } fmt.Fprintf(os.Stdout, "%s\n", out) ``` #### Changelog ##### New Features - [`61cfc45`](https://redirect.github.com/charmbracelet/glamour/commit/61cfc45c6bcd582a4d0ca810690d668f276ede13): feat(table): add ability to render links at the bottom ([@​andreynering](https://redirect.github.com/andreynering)) - [`9d87373`](https://redirect.github.com/charmbracelet/glamour/commit/9d873734c11cf9d1e29853643a751624042df3b0): feat(table): pad position on table link list ([@​andreynering](https://redirect.github.com/andreynering)) - [`42f47a2`](https://redirect.github.com/charmbracelet/glamour/commit/42f47a22f34bbbf73421210e7aff4f6438ffd052): feat(table): prefix all links with the position in the footer ([@​andreynering](https://redirect.github.com/andreynering)) - [`a11e9a0`](https://redirect.github.com/charmbracelet/glamour/commit/a11e9a0c3a66a55d411a0aa4dcd6685d4ba9d823): feat(table): show position of link also inside the table ([@​andreynering](https://redirect.github.com/andreynering)) - [`549f544`](https://redirect.github.com/charmbracelet/glamour/commit/549f544650e38ad6f4ed21cf79e3749d7c08a7f5): feat(table): update lipgloss + add `WithTableWrap` setting ([@​andreynering](https://redirect.github.com/andreynering)) - [`c9af045`](https://redirect.github.com/charmbracelet/glamour/commit/c9af0458d403e584402ff683e0e8403a194d73d3): feat(tables): format github links inside tables in a more readable manner ([@​andreynering](https://redirect.github.com/andreynering)) - [`f2eb484`](https://redirect.github.com/charmbracelet/glamour/commit/f2eb484a992f6a31bad968205b6d63719b8c7fa2): feat: add autolink package with patterns for more readable github urls ([@​andreynering](https://redirect.github.com/andreynering)) ##### Bug fixes - [`61ff598`](https://redirect.github.com/charmbracelet/glamour/commit/61ff598982b5f63f39c6d25f96b9ae9147dc1f74): fix(links): fix regression of auto links rendering twice ([#​415](https://redirect.github.com/charmbracelet/glamour/issues/415)) ([@​andreynering](https://redirect.github.com/andreynering)) - [`6c48e09`](https://redirect.github.com/charmbracelet/glamour/commit/6c48e0972a9700f7b0b7f855712cfe114c071ae3): fix: address linting issues after golangci-lint v2 update ([@​andreynering](https://redirect.github.com/andreynering)) - [`5437e4a`](https://redirect.github.com/charmbracelet/glamour/commit/5437e4a1a7dfc095a4afe063feaab079ab5a9629): fix: ensure that prop is always cleared ([@​andreynering](https://redirect.github.com/andreynering)) ##### Other work - [`6b09916`](https://redirect.github.com/charmbracelet/glamour/commit/6b099168a251abc878bf7ca325c8f688cd471b87): ci: sync golangci-lint config ([#​414](https://redirect.github.com/charmbracelet/glamour/issues/414)) ([@​github-actions](https://redirect.github.com/github-actions)\[bot]) - [`9dfd865`](https://redirect.github.com/charmbracelet/glamour/commit/9dfd8659d989dbd2dafd235eb370aa05b126fd35): lint: fix linting for unused parameter ([@​andreynering](https://redirect.github.com/andreynering)) *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@​charm), or on [Discord](https://charm.sh/chat). ### [`v0.9.1`](https://redirect.github.com/charmbracelet/glamour/releases/tag/v0.9.1) [Compare Source](https://redirect.github.com/charmbracelet/glamour/compare/v0.9.0...v0.9.1) Some users were reporting occasional checksum miss matches when building using Glamour v0.9.0. This release provides a new tag to hopefully fix this. #### Changelog ##### Other work - [`dddb9a7`](https://redirect.github.com/charmbracelet/glamour/commit/dddb9a72f081205b9e18a34d093c673230e96f8b): ci: sync golangci-lint config ([#​403](https://redirect.github.com/charmbracelet/glamour/issues/403)) ([@​github-actions](https://redirect.github.com/github-actions)\[bot]) *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@​charm), or on [Discord](https://charm.sh/chat). ### [`v0.9.0`](https://redirect.github.com/charmbracelet/glamour/releases/tag/v0.9.0) [Compare Source](https://redirect.github.com/charmbracelet/glamour/compare/v0.8.1...v0.9.0) ### Better Syntax Highlighting, Better Tables It's totally time for a Glamour release right? This release features a nice lil' contribution from the [@​github](https://redirect.github.com/github) CLI team and pulls in some big table improvements from Lip Gloss upstream. Let's go! #### Specifying Chroma Styles Thanks to valiant efforts of [@​andyfeller](https://redirect.github.com/andyfeller) and [@​williammartin](https://redirect.github.com/williammartin) at [@​github](https://redirect.github.com/github), you can now use [`glamour.WithChromaFormatter`](https://pkg.go.dev/github.com/charmbracelet/glamour@v0.9.0#WithChromaFormatter) to specify an exact [Chroma](https://redirect.github.com/alecthomas/chroma) style to use, independent of the higher level style. ```go myHotOps := glamour.WithOptions( glamour.WithChromaFormatter("terminal16"), glamour.WithStandardStyle("dark"), ) ``` As a bonus, you can also use [`glamour.WithOptions`](https://pkg.go.dev/github.com/charmbracelet/glamour@v0.9.0#WithOptions) as a meta layer for grouping options. #### Better Tables This release also reaps the benefits from the table rendering overhaul in [Lip Gloss v1.1.0](https://redirect.github.com/charmbracelet/lipgloss/releases/tag/v1.1.0)! Glamour will now be much smarter when it comes to deciding column widths, and the content will now wrap appropriately instead of just being cut when it won't fit. #### Changelog ##### New Features - [`4c040b7`](https://redirect.github.com/charmbracelet/glamour/commit/4c040b7fd5c023154de93d5c0f789111ea06c82c): feat: add term renderer option for chroma formatter ([#​395](https://redirect.github.com/charmbracelet/glamour/issues/395)) ([@​williammartin](https://redirect.github.com/williammartin)) - [`39de448`](https://redirect.github.com/charmbracelet/glamour/commit/39de44871fad9d547af5975ae220f2034642304a): feat(ci): use goreleaser ([#​348](https://redirect.github.com/charmbracelet/glamour/issues/348)) ([@​aymanbagabas](https://redirect.github.com/aymanbagabas)) ##### Bug fixes - [`f43b1ad`](https://redirect.github.com/charmbracelet/glamour/commit/f43b1ad9ef09b10a93837e07ae2c18b66bceac5c): fix(tables): pin lipgloss to v1.1.0 for table improvements; update tests ([#​394](https://redirect.github.com/charmbracelet/glamour/issues/394)) ([@​andreynering](https://redirect.github.com/andreynering)) - [`bdc4ec5`](https://redirect.github.com/charmbracelet/glamour/commit/bdc4ec5217e146f5a57be8a3e0a14a3ddee3f749): fix(table): fix rendering table in ascii-only mode ([#​393](https://redirect.github.com/charmbracelet/glamour/issues/393)) ([@​andreynering](https://redirect.github.com/andreynering)) - [`9cedaca`](https://redirect.github.com/charmbracelet/glamour/commit/9cedacac492db45121a984505f3f4d87277dcde3): fix: render right margin for block stack elements ([#​334](https://redirect.github.com/charmbracelet/glamour/issues/334)) ([@​jahvon](https://redirect.github.com/jahvon)) ##### Documentation updates - [`f29dc10`](https://redirect.github.com/charmbracelet/glamour/commit/f29dc10685689be9846671030e07a17f97bafb16): docs(example): update example to demonstrate color downsampling ([@​meowgorithm](https://redirect.github.com/meowgorithm)) *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.technology/@​charm), or on [Discord](https://charm.sh/chat). ### [`v0.8.1`](https://redirect.github.com/charmbracelet/glamour/compare/v0.8.0...v0.8.1) [Compare Source](https://redirect.github.com/charmbracelet/glamour/compare/v0.8.0...v0.8.1) ### [`v0.8.0`](https://redirect.github.com/charmbracelet/glamour/releases/tag/v0.8.0) [Compare Source](https://redirect.github.com/charmbracelet/glamour/compare/v0.7.0...v0.8.0) ### Fixing (almost) everything With a *ton* of rendering fixes, she's sparkling ✨ > It has that new car smell... #### So many fixes…one man [@​caarlos0](https://redirect.github.com/caarlos0) fixed a whopping 15 issues with PR [#​317](https://redirect.github.com/charmbracelet/glamour/issues/317) 🥇 - Fix URL links not rendering inside bold text [#​312](https://redirect.github.com/charmbracelet/glamour/issues/312) - Fix autolink element rendering [#​290](https://redirect.github.com/charmbracelet/glamour/issues/290) - Add support for backslash escapes [#​106](https://redirect.github.com/charmbracelet/glamour/issues/106) - Fix cases when backslash should not be shown [#​274](https://redirect.github.com/charmbracelet/glamour/issues/274) - Fix escape character rendering [#​311](https://redirect.github.com/charmbracelet/glamour/issues/311) - Fix newlines in definition lists [#​239](https://redirect.github.com/charmbracelet/glamour/issues/239) - Fix nested blockquotes rendering [#​313](https://redirect.github.com/charmbracelet/glamour/issues/313) - Fix block quote accidentally combining lines [#​237](https://redirect.github.com/charmbracelet/glamour/issues/237) - Fix document-level indent causing unintended wrapping after quoted lines [#​68](https://redirect.github.com/charmbracelet/glamour/issues/68) #### Better tables Tables now provide stable rendering of elements within the table including alignment, text styles, all that jazz. It now uses the [lipgloss table](https://pkg.go.dev/github.com/charmbracelet/lipgloss@v0.12.1/table), making it much more consistent across the board. - Render tables with Lip Gloss [#​262](https://redirect.github.com/charmbracelet/glamour/issues/262) - Refactor to replace `TableWriter` with Lip Gloss table [#​254](https://redirect.github.com/charmbracelet/glamour/issues/254) - Fix inline code within table [#​315](https://redirect.github.com/charmbracelet/glamour/issues/315) - Fix links in tables [#​316](https://redirect.github.com/charmbracelet/glamour/issues/316) - Provide consistent alignment of table elements [#​60](https://redirect.github.com/charmbracelet/glamour/issues/60) - Support alignment in tables [#​117](https://redirect.github.com/charmbracelet/glamour/issues/117) #### New! Tokyo Night > The markdown renderer’s equivalent of a mani-pedi :nail\_care: Tokyo Night is now a built-in style for Glamour. This means you'll be able to use it in the next release of [Glow](https://redirect.github.com/charmbracelet/glow?tab=readme-ov-file#styles). ```bash glow -s "tokyo-night" ### OR export GLAMOUR_STYLE="tokyo-night" ``` <img alt="Tokyo Night x Glamour" src="https://github.com/charmbracelet/glamour/blob/master/styles/gallery/tokyo-night.png" width="600"> Check out the [custom style example](https://redirect.github.com/charmbracelet/glamour/blob/master/examples/stdin-stdout-custom-styles/main.go#L30-L32) to learn how to support custom styles in your own Glamour apps. - feat: Add Tokyo Night theme by [@​basilioss](https://redirect.github.com/basilioss) in [https://github.com/charmbracelet/glamour/pull/229](https://redirect.github.com/charmbracelet/glamour/pull/229) #### No TTY? Glamour will now check if `stdout` is a tty and will strip styles when it is not. - Add auto NoTTY style by [@​wxh06](https://redirect.github.com/wxh06) and [@​caarlos0](https://redirect.github.com/caarlos0) in [https://github.com/charmbracelet/glamour/pull/268](https://redirect.github.com/charmbracelet/glamour/pull/268) #### Other Stuff - CI: scan for vulnerabilities and common errors by [@​caarlos0](https://redirect.github.com/caarlos0) in [https://github.com/charmbracelet/glamour/pull/310](https://redirect.github.com/charmbracelet/glamour/pull/310) - Use freeze for gallery images by [@​bashbunni](https://redirect.github.com/bashbunni) in [https://github.com/charmbracelet/glamour/pull/322](https://redirect.github.com/charmbracelet/glamour/pull/322) #### New Contributors - [@​bashbunni](https://redirect.github.com/bashbunni) made their first contribution in [https://github.com/charmbracelet/glamour/pull/322](https://redirect.github.com/charmbracelet/glamour/pull/322) **Full Changelog**: charmbracelet/glamour@v0.7.0...v0.8.0 *** <a href="https://charm.sh/"><img alt="The Charm logo" src="https://stuff.charm.sh/charm-badge.jpg" width="400"></a> Thoughts? Questions? We love hearing from you. Feel free to reach out on [Twitter](https://twitter.com/charmcli), [The Fediverse](https://mastodon.social/@​charmcli), or [Discord](https://charm.sh/chat). <hr /><em>This discussion was created from the release <a href='https://github.com/charmbracelet/glamour/releases/tag/v0.8.0'>v0.8.0</a>.</em> </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/trufflesecurity/trufflehog). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS40MC4wIiwidXBkYXRlZEluVmVyIjoiNDEuNDAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.7.0->v0.10.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
charmbracelet/glamour (github.com/charmbracelet/glamour)
v0.10.0Compare Source
Actually readable tables
Big tables that included links were always hard to read. Links can be very long, and tables often have limited space to render them. This means that links often took the space of many lines and weren't properly clickable because they were being truncated in practice.
Starting on this release, Glamour will render links and images at the footer of the table, with a reference number so you can easily find the link you're looking for. If you want the old behavior, it is still supported via the new
WithInlineTableLinksoption.The New Way
The Old Way
Wanna render tables with inline links? You still can:
Prettier GitHub links
We also introduced a change so that GitHub links inside tables that reference issues, discussions or PRs will be shown in its shortened form, similar to how GitHub itself present the links on issue descriptions:
owner/repo#123.Extra
Also, we introduced
WithTableWrap, so you can disable table text wrapping if really want:Changelog
New Features
61cfc45: feat(table): add ability to render links at the bottom (@andreynering)9d87373: feat(table): pad position on table link list (@andreynering)42f47a2: feat(table): prefix all links with the position in the footer (@andreynering)a11e9a0: feat(table): show position of link also inside the table (@andreynering)549f544: feat(table): update lipgloss + addWithTableWrapsetting (@andreynering)c9af045: feat(tables): format github links inside tables in a more readable manner (@andreynering)f2eb484: feat: add autolink package with patterns for more readable github urls (@andreynering)Bug fixes
61ff598: fix(links): fix regression of auto links rendering twice (#415) (@andreynering)6c48e09: fix: address linting issues after golangci-lint v2 update (@andreynering)5437e4a: fix: ensure that prop is always cleared (@andreynering)Other work
6b09916: ci: sync golangci-lint config (#414) (@github-actions[bot])9dfd865: lint: fix linting for unused parameter (@andreynering)Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.9.1Compare Source
Some users were reporting occasional checksum miss matches when building using Glamour v0.9.0.
This release provides a new tag to hopefully fix this.
Changelog
Other work
dddb9a7: ci: sync golangci-lint config (#403) (@github-actions[bot])Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.9.0Compare Source
Better Syntax Highlighting, Better Tables
It's totally time for a Glamour release right? This release features a nice lil' contribution from the @github CLI team and pulls in some big table improvements from Lip Gloss upstream. Let's go!
Specifying Chroma Styles
Thanks to valiant efforts of @andyfeller and @williammartin at @github, you can now use
glamour.WithChromaFormatterto specify an exact Chroma style to use, independent of the higher level style.As a bonus, you can also use
glamour.WithOptionsas a meta layer for grouping options.Better Tables
This release also reaps the benefits from the table rendering overhaul in Lip Gloss v1.1.0! Glamour will now be much smarter when it comes to deciding column widths, and the content will now wrap appropriately instead of just being cut when it won't fit.
Changelog
New Features
4c040b7: feat: add term renderer option for chroma formatter (#395) (@williammartin)39de448: feat(ci): use goreleaser (#348) (@aymanbagabas)Bug fixes
f43b1ad: fix(tables): pin lipgloss to v1.1.0 for table improvements; update tests (#394) (@andreynering)bdc4ec5: fix(table): fix rendering table in ascii-only mode (#393) (@andreynering)9cedaca: fix: render right margin for block stack elements (#334) (@jahvon)Documentation updates
f29dc10: docs(example): update example to demonstrate color downsampling (@meowgorithm)Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.
v0.8.1Compare Source
v0.8.0Compare Source
Fixing (almost) everything
With a ton of rendering fixes, she's sparkling ✨
So many fixes…one man
@caarlos0 fixed a whopping 15 issues with PR #317 🥇
Better tables
Tables now provide stable rendering of elements within the table including alignment, text styles, all that jazz. It now uses the lipgloss table, making it much more consistent across the board.
TableWriterwith Lip Gloss table #254New! Tokyo Night
Tokyo Night is now a built-in style for Glamour. This means you'll be able to use it in the next release of Glow.
Check out the custom style example to learn how to support custom styles in your own Glamour apps.
No TTY?
Glamour will now check if
stdoutis a tty and will strip styles when it is not.Other Stuff
New Contributors
Full Changelog: charmbracelet/glamour@v0.7.0...v0.8.0
Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or Discord.
This discussion was created from the release v0.8.0.
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.
This PR was generated by Mend Renovate. View the repository job log.