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

chore: bump github.com/charmbracelet/glamour from 0.8.0 to 0.9.1 #17071

Conversation

dependabot[bot]
Copy link
Contributor

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

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

Release notes

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

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


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

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 at @​github, 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)

... (truncated)

Commits
  • dddb9a7 ci: sync golangci-lint config (#403)
  • 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)
  • 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Mar 24, 2025
@github-actions github-actions bot enabled auto-merge (squash) March 24, 2025 12:43
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/glamour-0.9.1 branch from bfea80f to 7cb4892 Compare March 24, 2025 16:03
Bumps [github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour) from 0.8.0 to 0.9.1.
- [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.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/charmbracelet/glamour-0.9.1 branch from 7cb4892 to 38bbdcd Compare March 26, 2025 06:58
@github-actions github-actions bot merged commit 64b434b into main Mar 26, 2025
35 checks passed
@github-actions github-actions bot deleted the dependabot/go_modules/github.com/charmbracelet/glamour-0.9.1 branch March 26, 2025 07:09
stirby pushed a commit that referenced this pull request Apr 1, 2025
)

Bumps
[github.com/charmbracelet/glamour](https://github.com/charmbracelet/glamour)
from 0.8.0 to 0.9.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/charmbracelet/glamour/releases">github.com/charmbracelet/glamour's
releases</a>.</em></p>
<blockquote>
<h2>v0.9.1</h2>
<p>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.</p>
<h2>Changelog</h2>
<h3>Other work</h3>
<ul>
<li>dddb9a72f081205b9e18a34d093c673230e96f8b: ci: sync golangci-lint
config (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/403">#403</a>)
(<a
href="https://github.com/github-actions"><code>@​github-actions</code></a>[bot])</li>
</ul>
<hr />
<p><!-- raw HTML omitted --><!-- raw HTML omitted --><!-- raw HTML
omitted --></p>
<p>Thoughts? Questions? We love hearing from you. Feel free to reach out
on <a href="https://twitter.com/charmcli">Twitter</a>, <a
href="https://mastodon.technology/@charm">The Fediverse</a>, or on <a
href="https://charm.sh/chat">Discord</a>.</p>
<h2>v0.9.0</h2>
<h1>Better Syntax Highlighting, Better Tables</h1>
<p>It's totally time for a Glamour release right? This release features
a nice lil' contribution from the <a
href="https://github.com/github"><code>@​github</code></a> CLI team and
pulls in some big table improvements from Lip Gloss upstream. Let's
go!</p>
<h2>Specifying Chroma Styles</h2>
<p>Thanks to valiant efforts of <a
href="https://github.com/andyfeller"><code>@​andyfeller</code></a> and
<a
href="https://github.com/williammartin"><code>@​williammartin</code></a>
at <a href="https://github.com/github"><code>@​github</code></a>, you
can now use <a
href="https://pkg.go.dev/github.com/charmbracelet/glamour@v0.9.0#WithChromaFormatter"><code>glamour.WithChromaFormatter</code></a>
to specify an exact <a
href="https://github.com/alecthomas/chroma">Chroma</a> style to use,
independent of the higher level style.</p>
<pre lang="go"><code>myHotOps := glamour.WithOptions(
    glamour.WithChromaFormatter(&quot;terminal16&quot;),
    glamour.WithStandardStyle(&quot;dark&quot;),
)
</code></pre>
<p>As a bonus, you can also use <a
href="https://pkg.go.dev/github.com/charmbracelet/glamour@v0.9.0#WithOptions"><code>glamour.WithOptions</code></a>
as a meta layer for grouping options.</p>
<h2>Better Tables</h2>
<p>This release also reaps the benefits from the table rendering
overhaul in <a
href="https://github.com/charmbracelet/lipgloss/releases/tag/v1.1.0">Lip
Gloss v1.1.0</a>! 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.</p>
<h2>Changelog</h2>
<h3>New Features</h3>
<ul>
<li>4c040b7fd5c023154de93d5c0f789111ea06c82c: feat: add term renderer
option for chroma formatter (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/395">#395</a>)
(<a
href="https://github.com/williammartin"><code>@​williammartin</code></a>)</li>
<li>39de44871fad9d547af5975ae220f2034642304a: feat(ci): use goreleaser
(<a
href="https://redirect.github.com/charmbracelet/glamour/issues/348">#348</a>)
(<a
href="https://github.com/aymanbagabas"><code>@​aymanbagabas</code></a>)</li>
</ul>
<h3>Bug fixes</h3>
<ul>
<li>f43b1ad9ef09b10a93837e07ae2c18b66bceac5c: fix(tables): pin lipgloss
to v1.1.0 for table improvements; update tests (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/394">#394</a>)
(<a
href="https://github.com/andreynering"><code>@​andreynering</code></a>)</li>
<li>bdc4ec5217e146f5a57be8a3e0a14a3ddee3f749: fix(table): fix rendering
table in ascii-only mode (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/393">#393</a>)
(<a
href="https://github.com/andreynering"><code>@​andreynering</code></a>)</li>
<li>9cedacac492db45121a984505f3f4d87277dcde3: fix: render right margin
for block stack elements (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/334">#334</a>)
(<a href="https://github.com/jahvon"><code>@​jahvon</code></a>)</li>
</ul>
<h3>Documentation updates</h3>
<ul>
<li>f29dc10685689be9846671030e07a17f97bafb16: docs(example): update
example to demonstrate color downsampling (<a
href="https://github.com/meowgorithm"><code>@​meowgorithm</code></a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/charmbracelet/glamour/commit/dddb9a72f081205b9e18a34d093c673230e96f8b"><code>dddb9a7</code></a>
ci: sync golangci-lint config (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/403">#403</a>)</li>
<li><a
href="https://github.com/charmbracelet/glamour/commit/f43b1ad9ef09b10a93837e07ae2c18b66bceac5c"><code>f43b1ad</code></a>
test(tables): pin lipgloss to v1.1.0 and update tests (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/394">#394</a>)</li>
<li><a
href="https://github.com/charmbracelet/glamour/commit/d1d5125cfab42203495f15b846e901d0c1f37aaa"><code>d1d5125</code></a>
chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 in /examples
(<a
href="https://redirect.github.com/charmbracelet/glamour/issues/400">#400</a>)</li>
<li><a
href="https://github.com/charmbracelet/glamour/commit/3b686ba19d5fdb7762e82f1d10348aec65e149c8"><code>3b686ba</code></a>
chore(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/399">#399</a>)</li>
<li><a
href="https://github.com/charmbracelet/glamour/commit/4c040b7fd5c023154de93d5c0f789111ea06c82c"><code>4c040b7</code></a>
feat: add term renderer option for chroma formatter (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/395">#395</a>)</li>
<li><a
href="https://github.com/charmbracelet/glamour/commit/3dc6c5b8d878b1164940c0d5ac97f3943717d71d"><code>3dc6c5b</code></a>
chore(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/397">#397</a>)</li>
<li><a
href="https://github.com/charmbracelet/glamour/commit/5ad6fac7cea48dc390efa654b30edcd05ff81c0a"><code>5ad6fac</code></a>
chore(deps): bump golang.org/x/term from 0.29.0 to 0.30.0 (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/396">#396</a>)</li>
<li><a
href="https://github.com/charmbracelet/glamour/commit/bdc4ec5217e146f5a57be8a3e0a14a3ddee3f749"><code>bdc4ec5</code></a>
fix(table): fix rendering table in ascii-only mode (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/393">#393</a>)</li>
<li><a
href="https://github.com/charmbracelet/glamour/commit/b0776ab61085cc90418f9a902ae5c80994d567e3"><code>b0776ab</code></a>
chore(deps): bump github.com/yuin/goldmark-emoji from 1.0.4 to 1.0.5 (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/391">#391</a>)</li>
<li><a
href="https://github.com/charmbracelet/glamour/commit/ddc245101b5967e287cbc8f09a163bdc4e7404b5"><code>ddc2451</code></a>
chore(deps): bump golang.org/x/text from 0.21.0 to 0.22.0 (<a
href="https://redirect.github.com/charmbracelet/glamour/issues/392">#392</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/charmbracelet/glamour/compare/v0.8.0...v0.9.1">compare
view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/charmbracelet/glamour&package-manager=go_modules&previous-version=0.8.0&new-version=0.9.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 64b434b)
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