{{ message }}
Repository navigation
Commit dfdcc7d
authored
Bump pygments from 2.20.0 to 2.21.0 (#13502)
Bumps [pygments](https://github.com/pygments/pygments) from 2.20.0 to
2.21.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pygments/pygments/releases">pygments's
releases</a>.</em></p>
<blockquote>
<h2>2.21.0</h2>
<ul>
<li>
<p>New lexers:</p>
<ul>
<li>BitBake (<a
href="https://redirect.github.com/pygments/pygments/issues/3103">#3103</a>)</li>
<li>Caddyfile (<a
href="https://redirect.github.com/pygments/pygments/issues/3225">#3225</a>)</li>
<li>CEL (<a
href="https://redirect.github.com/pygments/pygments/issues/3048">#3048</a>)</li>
<li>PureScript (<a
href="https://redirect.github.com/pygments/pygments/issues/1077">#1077</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/3054">#3054</a>)</li>
</ul>
</li>
<li>
<p>Updated lexers:</p>
<ul>
<li>Bash: Fix coloured keyword at the beginning of a name (<a
href="https://redirect.github.com/pygments/pygments/issues/2926">#2926</a>)</li>
<li>Boogie: Add missing Boogie and Civl Verifier keywords (<a
href="https://redirect.github.com/pygments/pygments/issues/3156">#3156</a>)</li>
<li>C#:
<ul>
<li>Recognize interpolated verbatim strings with either <code>$@</code>
or <code>@$</code>
prefixes (<a
href="https://redirect.github.com/pygments/pygments/issues/2685">#2685</a>)</li>
<li>Support dollar-prefixed and multi-quote raw strings (<a
href="https://redirect.github.com/pygments/pygments/issues/3129">#3129</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/2897">#2897</a>)</li>
<li>Recognize <code>union</code> (<a
href="https://redirect.github.com/pygments/pygments/issues/3182">#3182</a>)</li>
</ul>
</li>
<li>C/C++:
<ul>
<li>Add C23/C++26 attributes (<a
href="https://redirect.github.com/pygments/pygments/issues/3084">#3084</a>)</li>
<li>Add more C2Y keywords (<a
href="https://redirect.github.com/pygments/pygments/issues/3092">#3092</a>)</li>
<li>Highlight a function following a namespace body (<a
href="https://redirect.github.com/pygments/pygments/issues/2928">#2928</a>)</li>
<li>Fix C/C++ lexer support for multiline pre-processor comments (<a
href="https://redirect.github.com/pygments/pygments/issues/3051">#3051</a>)</li>
<li>Add <code>.ipp</code> as a file extension (<a
href="https://redirect.github.com/pygments/pygments/issues/3141">#3141</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/1008">#1008</a>)</li>
</ul>
</li>
<li>Clojure: Recognize named, octal and unicode character literals such
as
<code>\space</code> and <code>\o377</code> as a single token (<a
href="https://redirect.github.com/pygments/pygments/issues/979">#979</a>)</li>
<li>Csound: Add missing opcode parameter type letter (<a
href="https://redirect.github.com/pygments/pygments/issues/3161">#3161</a>)</li>
<li>CUDA: Derive from the C++ lexer instead of C to highlight C++
constructs such as <code>template</code>, <code>class</code> and
<code>namespace</code> (<a
href="https://redirect.github.com/pygments/pygments/issues/3127">#3127</a>)</li>
<li>D: Allow non-ASCII (Unicode) identifiers (<a
href="https://redirect.github.com/pygments/pygments/issues/1088">#1088</a>)</li>
<li>Fish: Fix single quote backslash escape (<a
href="https://redirect.github.com/pygments/pygments/issues/3138">#3138</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/2821">#2821</a>)</li>
<li>Go: Various lexer improvements (<a
href="https://redirect.github.com/pygments/pygments/issues/3199">#3199</a>)</li>
<li>GoogleSQL: Require a word break after <code>SET</code> (<a
href="https://redirect.github.com/pygments/pygments/issues/3167">#3167</a>)</li>
<li>Hexdump: Only match valid digits (<a
href="https://redirect.github.com/pygments/pygments/issues/3200">#3200</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/2847">#2847</a>)</li>
<li>JavaScript: Highlight the <code>arguments</code> object (<a
href="https://redirect.github.com/pygments/pygments/issues/3146">#3146</a>)</li>
<li>Jsonnet: Recognize colons in array slice expressions (<a
href="https://redirect.github.com/pygments/pygments/issues/2828">#2828</a>)</li>
<li>JSX: Allow apostrophes in element text (<a
href="https://redirect.github.com/pygments/pygments/issues/2816">#2816</a>)</li>
<li>Julia: Fix rstrings backslash (<a
href="https://redirect.github.com/pygments/pygments/issues/3140">#3140</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/2537">#2537</a>)</li>
<li>Kotlin: Support companion objects without an explicit name (<a
href="https://redirect.github.com/pygments/pygments/issues/2525">#2525</a>)</li>
<li>Kotlin: Don't let a nullable type marker (<code>?</code>) consume
the following
character, so <code>Foo?,</code> and <code>a?:b</code> tokenize
correctly (<a
href="https://redirect.github.com/pygments/pygments/issues/2964">#2964</a>)</li>
<li>Kusto: Recognize member-access dots in dynamic objects (<a
href="https://redirect.github.com/pygments/pygments/issues/2779">#2779</a>)</li>
<li>Lua: Various improvements (<a
href="https://redirect.github.com/pygments/pygments/issues/3143">#3143</a>)</li>
<li>Macaulay2: Update symbols to 1.26.05 (<a
href="https://redirect.github.com/pygments/pygments/issues/3120">#3120</a>)</li>
<li>Markdown:
<ul>
<li>Highlight bold-italics (<code>***...***</code> and
<code>___...___</code>) (<a
href="https://redirect.github.com/pygments/pygments/issues/3067">#3067</a>)</li>
<li>Fix mention regex to support hyphens in usernames (<a
href="https://redirect.github.com/pygments/pygments/issues/3139">#3139</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/3135">#3135</a>)</li>
</ul>
</li>
<li>Markdown, reStructuredText, TiddlyWiki5: Fix wrong token offsets for
embedded code blocks (<a
href="https://redirect.github.com/pygments/pygments/issues/3133">#3133</a>)</li>
<li>Mathematica: Recognize <code>\[Name]</code> named-character escapes
such as
<code>\[Nu]</code> instead of emitting an <code>Error</code> token (<a
href="https://redirect.github.com/pygments/pygments/issues/3097">#3097</a>)</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pygments/pygments/blob/master/CHANGES">pygments's
changelog</a>.</em></p>
<blockquote>
<h2>Version 2.21.0</h2>
<p>(released August 17th, 2026)</p>
<ul>
<li>
<p>New lexers:</p>
<ul>
<li>BitBake (<a
href="https://redirect.github.com/pygments/pygments/issues/3103">#3103</a>)</li>
<li>Caddyfile (<a
href="https://redirect.github.com/pygments/pygments/issues/3225">#3225</a>)</li>
<li>CEL (<a
href="https://redirect.github.com/pygments/pygments/issues/3048">#3048</a>)</li>
<li>PureScript (<a
href="https://redirect.github.com/pygments/pygments/issues/1077">#1077</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/3054">#3054</a>)</li>
</ul>
</li>
<li>
<p>Updated lexers:</p>
<ul>
<li>Bash: Fix coloured keyword at the beginning of a name (<a
href="https://redirect.github.com/pygments/pygments/issues/2926">#2926</a>)</li>
<li>Boogie: Add missing Boogie and Civl Verifier keywords (<a
href="https://redirect.github.com/pygments/pygments/issues/3156">#3156</a>)</li>
<li>C#:
<ul>
<li>Recognize interpolated verbatim strings with either <code>$@</code>
or <code>@$</code>
prefixes (<a
href="https://redirect.github.com/pygments/pygments/issues/2685">#2685</a>)</li>
<li>Support dollar-prefixed and multi-quote raw strings (<a
href="https://redirect.github.com/pygments/pygments/issues/3129">#3129</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/2897">#2897</a>)</li>
<li>Recognize <code>union</code> (<a
href="https://redirect.github.com/pygments/pygments/issues/3182">#3182</a>)</li>
</ul>
</li>
<li>C/C++:
<ul>
<li>Add C23/C++26 attributes (<a
href="https://redirect.github.com/pygments/pygments/issues/3084">#3084</a>)</li>
<li>Add more C2Y keywords (<a
href="https://redirect.github.com/pygments/pygments/issues/3092">#3092</a>)</li>
<li>Highlight a function following a namespace body (<a
href="https://redirect.github.com/pygments/pygments/issues/2928">#2928</a>)</li>
<li>Fix C/C++ lexer support for multiline pre-processor comments (<a
href="https://redirect.github.com/pygments/pygments/issues/3051">#3051</a>)</li>
<li>Add <code>.ipp</code> as a file extension (<a
href="https://redirect.github.com/pygments/pygments/issues/3141">#3141</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/1008">#1008</a>)</li>
</ul>
</li>
<li>Clojure: Recognize named, octal and unicode character literals such
as
<code>\space</code> and <code>\o377</code> as a single token (<a
href="https://redirect.github.com/pygments/pygments/issues/979">#979</a>)</li>
<li>Csound: Add missing opcode parameter type letter (<a
href="https://redirect.github.com/pygments/pygments/issues/3161">#3161</a>)</li>
<li>CUDA: Derive from the C++ lexer instead of C to highlight C++
constructs such as <code>template</code>, <code>class</code> and
<code>namespace</code> (<a
href="https://redirect.github.com/pygments/pygments/issues/3127">#3127</a>)</li>
<li>D: Allow non-ASCII (Unicode) identifiers (<a
href="https://redirect.github.com/pygments/pygments/issues/1088">#1088</a>)</li>
<li>Fish: Fix single quote backslash escape (<a
href="https://redirect.github.com/pygments/pygments/issues/3138">#3138</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/2821">#2821</a>)</li>
<li>Go: Various lexer improvements (<a
href="https://redirect.github.com/pygments/pygments/issues/3199">#3199</a>)</li>
<li>GoogleSQL: Require a word break after <code>SET</code> (<a
href="https://redirect.github.com/pygments/pygments/issues/3167">#3167</a>)</li>
<li>Hexdump: Only match valid digits (<a
href="https://redirect.github.com/pygments/pygments/issues/3200">#3200</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/2847">#2847</a>)</li>
<li>JavaScript: Highlight the <code>arguments</code> object (<a
href="https://redirect.github.com/pygments/pygments/issues/3146">#3146</a>)</li>
<li>Jsonnet: Recognize colons in array slice expressions (<a
href="https://redirect.github.com/pygments/pygments/issues/2828">#2828</a>)</li>
<li>JSX: Allow apostrophes in element text (<a
href="https://redirect.github.com/pygments/pygments/issues/2816">#2816</a>)</li>
<li>Julia: Fix rstrings backslash (<a
href="https://redirect.github.com/pygments/pygments/issues/3140">#3140</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/2537">#2537</a>)</li>
<li>Kotlin: Support companion objects without an explicit name (<a
href="https://redirect.github.com/pygments/pygments/issues/2525">#2525</a>)</li>
<li>Kotlin: Don't let a nullable type marker (<code>?</code>) consume
the following
character, so <code>Foo?,</code> and <code>a?:b</code> tokenize
correctly (<a
href="https://redirect.github.com/pygments/pygments/issues/2964">#2964</a>)</li>
<li>Kusto: Recognize member-access dots in dynamic objects (<a
href="https://redirect.github.com/pygments/pygments/issues/2779">#2779</a>)</li>
<li>Lua: Various improvements (<a
href="https://redirect.github.com/pygments/pygments/issues/3143">#3143</a>)</li>
<li>Macaulay2: Update symbols to 1.26.05 (<a
href="https://redirect.github.com/pygments/pygments/issues/3120">#3120</a>)</li>
<li>Markdown:
<ul>
<li>Highlight bold-italics (<code>***...***</code> and
<code>___...___</code>) (<a
href="https://redirect.github.com/pygments/pygments/issues/3067">#3067</a>)</li>
<li>Fix mention regex to support hyphens in usernames (<a
href="https://redirect.github.com/pygments/pygments/issues/3139">#3139</a>,
<a
href="https://redirect.github.com/pygments/pygments/issues/3135">#3135</a>)</li>
</ul>
</li>
<li>Markdown, reStructuredText, TiddlyWiki5: Fix wrong token offsets
for</li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pygments/pygments/commit/a43b45dcf081b6010c6ab4428f149f7f6d2499c4"><code>a43b45d</code></a>
Get ready for the 2.21.0 release.</li>
<li><a
href="https://github.com/pygments/pygments/commit/d8f14cb395026abb288db38839f57499cba695e0"><code>d8f14cb</code></a>
Fix version_added for Purescript.</li>
<li><a
href="https://github.com/pygments/pygments/commit/19c581704c466cde59fd1a49e04c3424449110f3"><code>19c5817</code></a>
Remove superfluous parentheses from PostgresExplainLexer (<a
href="https://redirect.github.com/pygments/pygments/issues/3232">#3232</a>)</li>
<li><a
href="https://github.com/pygments/pygments/commit/9992e0992ad273565f19ffb1b4c9cae96cd8dd00"><code>9992e09</code></a>
Merge pull request <a
href="https://redirect.github.com/pygments/pygments/issues/3191">#3191</a>
from jvoisin/dupes</li>
<li><a
href="https://github.com/pygments/pygments/commit/bd225771e856b79e8cb5b81533e1eba0cf9fbf85"><code>bd22577</code></a>
Fix regexlint warnings after latest update.</li>
<li><a
href="https://github.com/pygments/pygments/commit/6a62df1d1fc77af7e9fc61325ef376297cadffbb"><code>6a62df1</code></a>
Release preparation: Update the changelog.</li>
<li><a
href="https://github.com/pygments/pygments/commit/aabba32860b5ba15acabdcba9b436a32e92ce75e"><code>aabba32</code></a>
Merge pull request <a
href="https://redirect.github.com/pygments/pygments/issues/3221">#3221</a>
from jvoisin/alter</li>
<li><a
href="https://github.com/pygments/pygments/commit/d3441d00a33467255b8b3ae9862f454e3aa58e3d"><code>d3441d0</code></a>
Merge pull request <a
href="https://redirect.github.com/pygments/pygments/issues/3225">#3225</a>
from jvoisin/caddy</li>
<li><a
href="https://github.com/pygments/pygments/commit/c593f3f2f69e09670e58a121437a3c830a643071"><code>c593f3f</code></a>
Add a lexer for Caddy</li>
<li><a
href="https://github.com/pygments/pygments/commit/0644b532c8df1dd67b26471871d432d100252a11"><code>0644b53</code></a>
Simplify single-character regex alternations to character classes</li>
<li>Additional commits viewable in <a
href="https://github.com/pygments/pygments/compare/2.20.0...2.21.0">compare
view</a></li>
</ul>
</details>
<br />
[](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 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>1 parent 8c8906a commit dfdcc7d
10 files changed
Lines changed: 10 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||

0 commit comments