Skip to content
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

Bump github.com/charmbracelet/glamour from 0.8.0 to 0.9.0 #264

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

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 13, 2025

Bumps github.com/charmbracelet/glamour from 0.8.0 to 0.9.0.

Release notes

Sourced from github.com/charmbracelet/glamour's releases.

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 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 the @​github CLI team, you can now use glamour.WithChromaFormatter to specify an exact Chroma style to use, independent of the higher level style.

myHotOps := glamour.WithOptions(
    glamour.WithChromaFormatter("terminal16"),
    glamour.WithStandardStyle("dark"),
)

As a bonus, you can also use glamour.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!. Glamour will now be much smarter when it comes to deciding column widths, and the content will not wrap appropriately instead of just being cut when it won't fit.

Changelog

New Features

  • 4c040b7fd5c023154de93d5c0f789111ea06c82c: feat: add term renderer option for chroma formatter (#395) (@​williammartin)
  • 39de44871fad9d547af5975ae220f2034642304a: feat(ci): use goreleaser (#348) (@​aymanbagabas)

Bug fixes

  • f43b1ad9ef09b10a93837e07ae2c18b66bceac5c: fix(tables): pin lipgloss to v1.1.0 for table improvements; update tests (#394) (@​andreynering)
  • bdc4ec5217e146f5a57be8a3e0a14a3ddee3f749: fix(table): fix rendering table in ascii-only mode (#393) (@​andreynering)
  • 9cedacac492db45121a984505f3f4d87277dcde3: fix: render right margin for block stack elements (#334) (@​jahvon)

Documentation updates

  • f29dc10685689be9846671030e07a17f97bafb16: 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.

Commits
  • f43b1ad test(tables): pin lipgloss to v1.1.0 and update tests (#394)
  • d1d5125 chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 in /examples (#400)
  • 3b686ba chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 (#399)
  • 4c040b7 feat: add term renderer option for chroma formatter (#395)
  • 3dc6c5b chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#397)
  • 5ad6fac chore(deps): bump golang.org/x/term from 0.29.0 to 0.30.0 (#396)
  • bdc4ec5 fix(table): fix rendering table in ascii-only mode (#393)
  • b0776ab chore(deps): bump github.com/yuin/goldmark-emoji from 1.0.4 to 1.0.5 (#391)
  • ddc2451 chore(deps): bump golang.org/x/text from 0.21.0 to 0.22.0 (#392)
  • 2d39b83 chore(deps): bump github.com/muesli/termenv (#390)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/charmbracelet/glamour/releases)
- [Changelog](https://github.com/charmbracelet/glamour/blob/master/.goreleaser.yml)
- [Commits](charmbracelet/glamour@v0.8.0...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/glamour
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Mar 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants