Skip to content

fix(deps): update module github.com/charmbracelet/glamour to v0.10.0 #368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 1, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/charmbracelet/glamour v0.9.1 -> v0.10.0 age adoption passing confidence

Release Notes

charmbracelet/glamour (github.com/charmbracelet/glamour)

v0.10.0

Compare 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 WithInlineTableLinks option.

The New Way

table_with_footer_links_and_images

The Old Way

Wanna render tables with inline links? You still can:

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)

table_with_inline_links_and_images

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.

table_with_footer_auto_links_short

Extra

Also, we introduced WithTableWrap, so you can disable table text wrapping if really want:

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
Bug fixes
Other work

The Charm logo

Thoughts? Questions? We love hearing from you. Feel free to reach out on Twitter, The Fediverse, or on Discord.


Configuration

📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC), 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.

Copy link
Contributor Author

renovate bot commented May 1, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 6 additional dependencies were updated

Details:

Package Change
github.com/charmbracelet/lipgloss v1.1.0 -> v1.1.1-0.20250404203927-76690c660834
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd -> v0.0.13
golang.org/x/sync v0.12.0 -> v0.13.0
golang.org/x/sys v0.31.0 -> v0.32.0
golang.org/x/term v0.30.0 -> v0.31.0
golang.org/x/text v0.23.0 -> v0.24.0

@renovate renovate bot changed the title fix(deps): update module github.com/charmbracelet/glamour to v0.10.0 fix(deps): update module github.com/charmbracelet/glamour to v0.10.0 - autoclosed May 28, 2025
@renovate renovate bot closed this May 28, 2025
@renovate renovate bot deleted the renovate/i.8713187.xyz-charmbracelet-glamour-0.x branch May 28, 2025 19:12
@renovate renovate bot changed the title fix(deps): update module github.com/charmbracelet/glamour to v0.10.0 - autoclosed fix(deps): update module github.com/charmbracelet/glamour to v0.10.0 Jun 1, 2025
@renovate renovate bot reopened this Jun 1, 2025
@renovate renovate bot force-pushed the renovate/i.8713187.xyz-charmbracelet-glamour-0.x branch from aca4db8 to 92400a7 Compare June 1, 2025 00:31
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.

0 participants