FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Cython lexer update by Spill-Tea · Pull Request #2933 · pygments/pygments · GitHub

Cython lexer update - #2933

Merged
Anteru merged 8 commits into
pygments:masterfrom
Spill-Tea:cython_lexer_update
Jul 19, 2025
Merged

Cython lexer update#2933
Anteru merged 8 commits into
pygments:masterfrom
Spill-Tea:cython_lexer_update

Conversation

Copy link
Copy Markdown
Contributor

Addressing issue #2932 .
Also included code snippets for Cython, since none existed.

Anteru added the A-lexing area: changes to individual lexers label Jul 19, 2025

Anteru commented Jul 19, 2025

Copy link
Copy Markdown
Collaborator

Thanks a lot, particularly appreciate adding some test coverage!

Anteru merged commit a722e15 into pygments:master Jul 19, 2025
14 of 15 checks passed
Anteru added this to the 2.20.0 milestone Jul 19, 2025

Copy link
Copy Markdown
Contributor Author

Thank you. It looks like one of the actions has hung both on the PR and the merge. I don't have the ability to stop / restart the workflow. Can you double check this?

penberg added a commit to tursodatabase/turso that referenced this pull request Apr 22, 2026
Bumps [pygments](https://github.com/pygments/pygments) from 2.19.1 to
2.20.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.20.0</h2>
<ul>
<li>
<p>New lexers:</p>
<ul>
<li>Rell (<a href="https://redirect.github.com/pygments/pygments/issues/
2914">#2914</a>)</li>
</ul>
</li>
<li>
<p>Updated lexers:</p>
<ul>
<li>archetype: Fix catastrophic backtracking in GUID and ID patterns (<a
href="https://redirect.github.com/pygments/pygments/issues/3064">#3064</
a>)</li>
<li>ASN.1: Recognize minus sign and fix range operator (<a href="https:/
/redirect.github.com/pygments/pygments/issues/3014">#3014</a>, <a href="
https://redirect.github.com/pygments/pygments/issues/3060">#3060</a>)</l
i>
<li>C++: Add C++26 keywords (<a href="https://redirect.github.com/pygmen
ts/pygments/issues/2955">#2955</a>), add integer literal suffixes (<a hr
ef="https://redirect.github.com/pygments/pygments/issues/2966">#2966</a>
)</li>
<li>ComponentPascal: Fix <code>analyse_text</code> (<a href="https://red
irect.github.com/pygments/pygments/issues/3028">#3028</a>, <a href="http
s://redirect.github.com/pygments/pygments/issues/3032">#3032</a>)</li>
<li>Coq renamed to Rocq (<a href="https://redirect.github.com/pygments/p
ygments/issues/2883">#2883</a>, <a href="https://redirect.github.com/pyg
ments/pygments/issues/2908">#2908</a>)</li>
<li>Cython: Various improvements (<a href="https://redirect.github.com/p
ygments/pygments/issues/2932">#2932</a>, <a href="https://redirect.githu
b.com/pygments/pygments/issues/2933">#2933</a>)</li>
<li>Debian control: Improve architecture parsing (<a href="https://redir
ect.github.com/pygments/pygments/issues/3052">#3052</a>)</li>
<li>Devicetree: Add support for overlay/fragments (<a href="https://redi
rect.github.com/pygments/pygments/issues/3021">#3021</a>), add
bytestring support (<a href="https://redirect.github.com/pygments/pygmen
ts/issues/3022">#3022</a>), fix catastrophic backtracking (<a href="http
s://redirect.github.com/pygments/pygments/issues/3057">#3057</a>)</li>
<li>Fennel: Various improvements (<a href="https://redirect.github.com/p
ygments/pygments/issues/2911">#2911</a>)</li>
<li>Haskell: Handle escape sequences in character literals (<a href="htt
ps://redirect.github.com/pygments/pygments/issues/3069">#3069</a>, <a hr
ef="https://redirect.github.com/pygments/pygments/issues/1795">#1795</a>
)</li>
<li>Java: Add module keywords (<a href="https://redirect.github.com/pygm
ents/pygments/issues/2955">#2955</a>)</li>
<li>Lean4: Add operators <code>]'</code>, <code>]?</code>,
<code>]!</code>  (<a href="https://redirect.github.com/pygments/pygments
/issues/2946">#2946</a>)</li>
<li>LESS: Support single-line comments (<a href="https://redirect.github
.com/pygments/pygments/issues/3005">#3005</a>)</li>
<li>LilyPond: Update to 2.25.29 (<a href="https://redirect.github.com/py
gments/pygments/issues/2974">#2974</a>)</li>
<li>LLVM: Support C-style comments (<a href="https://redirect.github.com
/pygments/pygments/issues/3023">#3023</a>, <a href="https://redirect.git
hub.com/pygments/pygments/issues/2978">#2978</a>)</li>
<li>Lua(u): Fix catastrophic backtracking (<a href="https://redirect.git
hub.com/pygments/pygments/issues/3047">#3047</a>)</li>
<li>Macaulay2: Update to 1.25.05 (<a href="https://redirect.github.com/p
ygments/pygments/issues/2893">#2893</a>), 1.25.11 (<a href="https://redi
rect.github.com/pygments/pygments/issues/2988">#2988</a>)</li>
<li>Mathematica: Various improvements (<a href="https://redirect.github.
com/pygments/pygments/issues/2957">#2957</a>)</li>
<li>meson: Add additional operators (<a href="https://redirect.github.co
m/pygments/pygments/issues/2919">#2919</a>)</li>
<li>MySQL: Update keywords (<a href="https://redirect.github.com/pygment
s/pygments/issues/2970">#2970</a>)</li>
<li>org-Mode: Support both schedule and deadline (<a href="https://redir
ect.github.com/pygments/pygments/issues/2899">#2899</a>)</li>
<li>PHP: Add <code>__PROPERTY__</code> magic constant (<a href="https://
redirect.github.com/pygments/pygments/issues/2924">#2924</a>), add
reserved keywords (<a href="https://redirect.github.com/pygments/pygment
s/issues/3002">#3002</a>)</li>
<li>PostgreSQL: Add more keywords (<a href="https://redirect.github.com/
pygments/pygments/issues/2985">#2985</a>)</li>
<li>protobuf: Fix namespace tokenization (<a href="https://redirect.gith
ub.com/pygments/pygments/issues/2929">#2929</a>)</li>
<li>Python: Add <code>t</code>-string support (<a href="https://redirect
.github.com/pygments/pygments/issues/2973">#2973</a>, <a href="https://r
edirect.github.com/pygments/pygments/issues/3009">#3009</a>, <a href="ht
tps://redirect.github.com/pygments/pygments/issues/3010">#3010</a>)</li>
<li>Tablegen: Fix infinite loop (<a href="https://redirect.github.com/py
gments/pygments/issues/2972">#2972</a>, <a href="https://redirect.github
.com/pygments/pygments/issues/2940">#2940</a>)</li>
<li>Tera Term macro: Add commands introduced in v5.3 through v5.6 (<a hr
ef="https://redirect.github.com/pygments/pygments/issues/2951">#2951</a>
)</li>
<li>TOML: Support TOML 1.1.0 (<a href="https://redirect.github.com/pygme
nts/pygments/issues/3026">#3026</a>, <a href="https://redirect.github.co
m/pygments/pygments/issues/3027">#3027</a>)</li>
<li>Turtle: Allow empty comment lines (<a href="https://redirect.github.
com/pygments/pygments/issues/2980">#2980</a>)</li>
<li>XML: Added <code>.xbrl</code> as file ending (<a href="https://redir
ect.github.com/pygments/pygments/issues/2890">#2890</a>, <a href="https:
//redirect.github.com/pygments/pygments/issues/2891">#2891</a>)</li>
</ul>
</li>
<li>
<p>Drop Python 3.8, and add Python 3.14 as a supported version (<a href=
"https://redirect.github.com/pygments/pygments/issues/2987">#2987</a>,
<a href="https://redirect.github.com/pygments/pygments/issues/3012">#301
2</a>)</p>
</li>
<li>
<p>Various improvements to <code>autopygmentize</code> (<a href="https:/
/redirect.github.com/pygments/pygments/issues/2894">#2894</a>)</p>
</li>
<li>
<p>Update <code>onedark</code> style to support more token types (<a hre
f="https://redirect.github.com/pygments/pygments/issues/2977">#2977</a>)
</p>
</li>
<li>
<p>Update <code>rtt</code> style to support more token types (<a href="h
ttps://redirect.github.com/pygments/pygments/issues/2895">#2895</a>)</p>
</li>
<li>
<p>Cache entry points to improve performance (<a href="https://redirect.
github.com/pygments/pygments/issues/2979">#2979</a>)</p>
</li>
<li>
<p>Fix <code>xterm-256</code> color table (<a href="https://redirect.git
hub.com/pygments/pygments/issues/3043">#3043</a>)</p>
</li>
<li>
<p>Fix <code>kwargs</code> dictionary getting mutated on each call (<a h
ref="https://redirect.github.com/pygments/pygments/issues/3044">#3044</a
>)</p>
</li>
</ul>
<h2>2.19.2</h2>
<ul>
<li>Lua: Fix regression introduced in 2.19.0 (<a href="https://redirect.
github.com/pygments/pygments/issues/2882">#2882</a>, <a href="https://re
direct.github.com/pygments/pygments/issues/2839">#2839</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pygments/pygments/blob/m
aster/CHANGES">pygments's changelog</a>.</em></p>
<blockquote>
<h2>Version 2.20.0</h2>
<p>(released March 29th, 2026)</p>
<ul>
<li>
<p>New lexers:</p>
<ul>
<li>Rell (<a href="https://redirect.github.com/pygments/pygments/issues/
2914">#2914</a>)</li>
</ul>
</li>
<li>
<p>Updated lexers:</p>
<ul>
<li>archetype: Fix catastrophic backtracking in GUID and ID patterns (<a
href="https://redirect.github.com/pygments/pygments/issues/3064">#3064</
a>)</li>
<li>ASN.1: Recognize minus sign and fix range operator (<a href="https:/
/redirect.github.com/pygments/pygments/issues/3014">#3014</a>, <a href="
https://redirect.github.com/pygments/pygments/issues/3060">#3060</a>)</l
i>
<li>C++: Add C++26 keywords (<a href="https://redirect.github.com/pygmen
ts/pygments/issues/2955">#2955</a>), add integer literal suffixes (<a hr
ef="https://redirect.github.com/pygments/pygments/issues/2966">#2966</a>
)</li>
<li>ComponentPascal: Fix <code>analyse_text</code> (<a href="https://red
irect.github.com/pygments/pygments/issues/3028">#3028</a>, <a href="http
s://redirect.github.com/pygments/pygments/issues/3032">#3032</a>)</li>
<li>Coq renamed to Rocq (<a href="https://redirect.github.com/pygments/p
ygments/issues/2883">#2883</a>, <a href="https://redirect.github.com/pyg
ments/pygments/issues/2908">#2908</a>)</li>
<li>Cython: Various improvements (<a href="https://redirect.github.com/p
ygments/pygments/issues/2932">#2932</a>, <a href="https://redirect.githu
b.com/pygments/pygments/issues/2933">#2933</a>)</li>
<li>Debian control: Improve architecture parsing (<a href="https://redir
ect.github.com/pygments/pygments/issues/3052">#3052</a>)</li>
<li>Devicetree: Add support for overlay/fragments (<a href="https://redi
rect.github.com/pygments/pygments/issues/3021">#3021</a>), add
bytestring support (<a href="https://redirect.github.com/pygments/pygmen
ts/issues/3022">#3022</a>), fix catastrophic backtracking (<a href="http
s://redirect.github.com/pygments/pygments/issues/3057">#3057</a>)</li>
<li>Fennel: Various improvements (<a href="https://redirect.github.com/p
ygments/pygments/issues/2911">#2911</a>)</li>
<li>Haskell: Handle escape sequences in character literals (<a href="htt
ps://redirect.github.com/pygments/pygments/issues/3069">#3069</a>, <a hr
ef="https://redirect.github.com/pygments/pygments/issues/1795">#1795</a>
)</li>
<li>Java: Add module keywords (<a href="https://redirect.github.com/pygm
ents/pygments/issues/2955">#2955</a>)</li>
<li>Lean4: Add operators <code>]'</code>, <code>]?</code>,
<code>]!</code>  (<a href="https://redirect.github.com/pygments/pygments
/issues/2946">#2946</a>)</li>
<li>LESS: Support single-line comments (<a href="https://redirect.github
.com/pygments/pygments/issues/3005">#3005</a>)</li>
<li>LilyPond: Update to 2.25.29 (<a href="https://redirect.github.com/py
gments/pygments/issues/2974">#2974</a>)</li>
<li>LLVM: Support C-style comments (<a href="https://redirect.github.com
/pygments/pygments/issues/3023">#3023</a>, <a href="https://redirect.git
hub.com/pygments/pygments/issues/2978">#2978</a>)</li>
<li>Lua(u): Fix catastrophic backtracking (<a href="https://redirect.git
hub.com/pygments/pygments/issues/3047">#3047</a>)</li>
<li>Macaulay2: Update to 1.25.05 (<a href="https://redirect.github.com/p
ygments/pygments/issues/2893">#2893</a>), 1.25.11 (<a href="https://redi
rect.github.com/pygments/pygments/issues/2988">#2988</a>)</li>
<li>Mathematica: Various improvements (<a href="https://redirect.github.
com/pygments/pygments/issues/2957">#2957</a>)</li>
<li>meson: Add additional operators (<a href="https://redirect.github.co
m/pygments/pygments/issues/2919">#2919</a>)</li>
<li>MySQL: Update keywords (<a href="https://redirect.github.com/pygment
s/pygments/issues/2970">#2970</a>)</li>
<li>org-Mode: Support both schedule and deadline (<a href="https://redir
ect.github.com/pygments/pygments/issues/2899">#2899</a>)</li>
<li>PHP: Add <code>__PROPERTY__</code> magic constant (<a href="https://
redirect.github.com/pygments/pygments/issues/2924">#2924</a>), add
reserved keywords (<a href="https://redirect.github.com/pygments/pygment
s/issues/3002">#3002</a>)</li>
<li>PostgreSQL: Add more keywords (<a href="https://redirect.github.com/
pygments/pygments/issues/2985">#2985</a>)</li>
<li>protobuf: Fix namespace tokenization (<a href="https://redirect.gith
ub.com/pygments/pygments/issues/2929">#2929</a>)</li>
<li>Python: Add <code>t</code>-string support (<a href="https://redirect
.github.com/pygments/pygments/issues/2973">#2973</a>, <a href="https://r
edirect.github.com/pygments/pygments/issues/3009">#3009</a>, <a href="ht
tps://redirect.github.com/pygments/pygments/issues/3010">#3010</a>)</li>
<li>Tablegen: Fix infinite loop (<a href="https://redirect.github.com/py
gments/pygments/issues/2972">#2972</a>, <a href="https://redirect.github
.com/pygments/pygments/issues/2940">#2940</a>)</li>
<li>Tera Term macro: Add commands introduced in v5.3 through v5.6 (<a hr
ef="https://redirect.github.com/pygments/pygments/issues/2951">#2951</a>
)</li>
<li>TOML: Support TOML 1.1.0 (<a href="https://redirect.github.com/pygme
nts/pygments/issues/3026">#3026</a>, <a href="https://redirect.github.co
m/pygments/pygments/issues/3027">#3027</a>)</li>
<li>Turtle: Allow empty comment lines (<a href="https://redirect.github.
com/pygments/pygments/issues/2980">#2980</a>)</li>
<li>XML: Added <code>.xbrl</code> as file ending (<a href="https://redir
ect.github.com/pygments/pygments/issues/2890">#2890</a>, <a href="https:
//redirect.github.com/pygments/pygments/issues/2891">#2891</a>)</li>
</ul>
</li>
<li>
<p>Drop Python 3.8, and add Python 3.14 as a supported version (<a href=
"https://redirect.github.com/pygments/pygments/issues/2987">#2987</a>,
<a href="https://redirect.github.com/pygments/pygments/issues/3012">#301
2</a>)</p>
</li>
<li>
<p>Various improvements to <code>autopygmentize</code> (<a href="https:/
/redirect.github.com/pygments/pygments/issues/2894">#2894</a>)</p>
</li>
<li>
<p>Update <code>onedark</code> style to support more token types (<a hre
f="https://redirect.github.com/pygments/pygments/issues/2977">#2977</a>)
</p>
</li>
<li>
<p>Update <code>rtt</code> style to support more token types (<a href="h
ttps://redirect.github.com/pygments/pygments/issues/2895">#2895</a>)</p>
</li>
<li>
<p>Cache entry points to improve performance (<a href="https://redirect.
github.com/pygments/pygments/issues/2979">#2979</a>)</p>
</li>
<li>
<p>Fix <code>xterm-256</code> color table (<a href="https://redirect.git
hub.com/pygments/pygments/issues/3043">#3043</a>)</p>
</li>
<li>
<p>Fix <code>kwargs</code> dictionary getting mutated on each call (<a h
ref="https://redirect.github.com/pygments/pygments/issues/3044">#3044</a
>)</p>
</li>
</ul>
<p>Version 2.19.2</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="pygments/pygments@708197d82827ba2
d5ca78bcbb653c7102ce86dcd"><code>708197d</code></a> Fix underline
length.</li>
<li><a href="pygments/pygments@1d4538ae8621d76
6ecc91ff59caf76ab75983abc"><code>1d4538a</code></a> Prepare 2.20
release.</li>
<li><a href="pygments/pygments@2ceaee4e634eeba
e2d10a47fd05406871f6bac8f"><code>2ceaee4</code></a> Update CHANGES.</li>
<li><a href="pygments/pygments@e3a3c54b58c7f80
bc4db887e471d4f91c77844ed"><code>e3a3c54</code></a> Fix Haskell lexer:
handle escape sequences in character literals (<a href="https://redirect
.github.com/pygments/pygments/issues/3069">#3069</a>)</li>
<li><a href="pygments/pygments@d7c3453e342dac3
19f58e4091f4ef183cc49d802"><code>d7c3453</code></a> Merge pull request
<a href="https://redirect.github.com/pygments/pygments/issues/3071">#307
1</a> from pygments/harden-html-formatter</li>
<li><a href="pygments/pygments@0f97e7c37d44abf
a4ddfddf44a3290fdad586034"><code>0f97e7c</code></a> Harden the HTML
formatter against CSS.</li>
<li><a href="pygments/pygments@9f981b2ba42b88c
a5bdcebf12cd01efd7cd80aec"><code>9f981b2</code></a> Update CHANGES.</li>
<li><a href="pygments/pygments@1d889151024e9a5
3f3702a60558b29b070306e9e"><code>1d88915</code></a> Update CHANGES.</li>
<li><a href="pygments/pygments@c3d93adb9827fc0
54c3c12b47bde31c781a36a93"><code>c3d93ad</code></a> Fix ASN.1 lexer:
recognize minus sign and fix range operator (<a href="https://redirect.g
ithub.com/pygments/pygments/issues/3060">#3060</a>)</li>
<li><a href="pygments/pygments@4f06bcf8a5ba3f2
b5bda24a26ccf041a1a65d91e"><code>4f06bcf</code></a> fix bad behaving
backtracking regex in CommonLispLexer</li>
<li>Additional commits viewable in <a href="https://github.com/pygments/
pygments/compare/2.19.1...2.20.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-
badges.githubapp.com/badges/compatibility_score?dependency-
name=pygments&package-manager=uv&previous-version=2.19.1&new-
version=2.20.0)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/tursodatabase/turso/network/alerts).
</details>

Closes #6532
orrinfrazier pushed a commit to orrinfrazier/turso that referenced this pull request Jul 28, 2026
Bumps [pygments](https://github.com/pygments/pygments) from 2.19.1 to
2.20.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.20.0</h2>
<ul>
<li>
<p>New lexers:</p>
<ul>
<li>Rell (<a href="https://redirect.github.com/pygments/pygments/issues/
2914">tursodatabase#2914</a>)</li>
</ul>
</li>
<li>
<p>Updated lexers:</p>
<ul>
<li>archetype: Fix catastrophic backtracking in GUID and ID patterns (<a
href="https://redirect.github.com/pygments/pygments/issues/3064">#3064</
a>)</li>
<li>ASN.1: Recognize minus sign and fix range operator (<a href="https:/
/redirect.github.com/pygments/pygments/issues/3014">tursodatabase#3014</a>, <a href="
https://redirect.github.com/pygments/pygments/issues/3060">#3060</a>)</l
i>
<li>C++: Add C++26 keywords (<a href="https://redirect.github.com/pygmen
ts/pygments/issues/2955">tursodatabase#2955</a>), add integer literal suffixes (<a hr
ef="https://redirect.github.com/pygments/pygments/issues/2966">#2966</a>
)</li>
<li>ComponentPascal: Fix <code>analyse_text</code> (<a href="https://red
irect.github.com/pygments/pygments/issues/3028">tursodatabase#3028</a>, <a href="http
s://redirect.github.com/pygments/pygments/issues/3032">tursodatabase#3032</a>)</li>
<li>Coq renamed to Rocq (<a href="https://redirect.github.com/pygments/p
ygments/issues/2883">tursodatabase#2883</a>, <a href="https://redirect.github.com/pyg
ments/pygments/issues/2908">tursodatabase#2908</a>)</li>
<li>Cython: Various improvements (<a href="https://redirect.github.com/p
ygments/pygments/issues/2932">tursodatabase#2932</a>, <a href="https://redirect.githu
b.com/pygments/pygments/issues/2933">tursodatabase#2933</a>)</li>
<li>Debian control: Improve architecture parsing (<a href="https://redir
ect.github.com/pygments/pygments/issues/3052">tursodatabase#3052</a>)</li>
<li>Devicetree: Add support for overlay/fragments (<a href="https://redi
rect.github.com/pygments/pygments/issues/3021">tursodatabase#3021</a>), add
bytestring support (<a href="https://redirect.github.com/pygments/pygmen
ts/issues/3022">tursodatabase#3022</a>), fix catastrophic backtracking (<a href="http
s://redirect.github.com/pygments/pygments/issues/3057">tursodatabase#3057</a>)</li>
<li>Fennel: Various improvements (<a href="https://redirect.github.com/p
ygments/pygments/issues/2911">tursodatabase#2911</a>)</li>
<li>Haskell: Handle escape sequences in character literals (<a href="htt
ps://redirect.github.com/pygments/pygments/issues/3069">tursodatabase#3069</a>, <a hr
ef="https://redirect.github.com/pygments/pygments/issues/1795">#1795</a>
)</li>
<li>Java: Add module keywords (<a href="https://redirect.github.com/pygm
ents/pygments/issues/2955">tursodatabase#2955</a>)</li>
<li>Lean4: Add operators <code>]'</code>, <code>]?</code>,
<code>]!</code>  (<a href="https://redirect.github.com/pygments/pygments
tursodatabase/issues/2946">tursodatabase#2946</a>)</li>
<li>LESS: Support single-line comments (<a href="https://redirect.github
.com/pygments/pygments/issues/3005">tursodatabase#3005</a>)</li>
<li>LilyPond: Update to 2.25.29 (<a href="https://redirect.github.com/py
gments/pygments/issues/2974">tursodatabase#2974</a>)</li>
<li>LLVM: Support C-style comments (<a href="https://redirect.github.com
/pygments/pygments/issues/3023">tursodatabase#3023</a>, <a href="https://redirect.git
hub.com/pygments/pygments/issues/2978">tursodatabase#2978</a>)</li>
<li>Lua(u): Fix catastrophic backtracking (<a href="https://redirect.git
hub.com/pygments/pygments/issues/3047">tursodatabase#3047</a>)</li>
<li>Macaulay2: Update to 1.25.05 (<a href="https://redirect.github.com/p
ygments/pygments/issues/2893">tursodatabase#2893</a>), 1.25.11 (<a href="https://redi
rect.github.com/pygments/pygments/issues/2988">tursodatabase#2988</a>)</li>
<li>Mathematica: Various improvements (<a href="https://redirect.github.
com/pygments/pygments/issues/2957">tursodatabase#2957</a>)</li>
<li>meson: Add additional operators (<a href="https://redirect.github.co
m/pygments/pygments/issues/2919">tursodatabase#2919</a>)</li>
<li>MySQL: Update keywords (<a href="https://redirect.github.com/pygment
s/pygments/issues/2970">tursodatabase#2970</a>)</li>
<li>org-Mode: Support both schedule and deadline (<a href="https://redir
ect.github.com/pygments/pygments/issues/2899">tursodatabase#2899</a>)</li>
<li>PHP: Add <code>__PROPERTY__</code> magic constant (<a href="https://
redirect.github.com/pygments/pygments/issues/2924">tursodatabase#2924</a>), add
reserved keywords (<a href="https://redirect.github.com/pygments/pygment
s/issues/3002">tursodatabase#3002</a>)</li>
<li>PostgreSQL: Add more keywords (<a href="https://redirect.github.com/
pygments/pygments/issues/2985">tursodatabase#2985</a>)</li>
<li>protobuf: Fix namespace tokenization (<a href="https://redirect.gith
ub.com/pygments/pygments/issues/2929">tursodatabase#2929</a>)</li>
<li>Python: Add <code>t</code>-string support (<a href="https://redirect
.github.com/pygments/pygments/issues/2973">tursodatabase#2973</a>, <a href="https://r
edirect.github.com/pygments/pygments/issues/3009">tursodatabase#3009</a>, <a href="ht
tps://redirect.github.com/pygments/pygments/issues/3010">tursodatabase#3010</a>)</li>
<li>Tablegen: Fix infinite loop (<a href="https://redirect.github.com/py
gments/pygments/issues/2972">tursodatabase#2972</a>, <a href="https://redirect.github
.com/pygments/pygments/issues/2940">tursodatabase#2940</a>)</li>
<li>Tera Term macro: Add commands introduced in v5.3 through v5.6 (<a hr
ef="https://redirect.github.com/pygments/pygments/issues/2951">#2951</a>
)</li>
<li>TOML: Support TOML 1.1.0 (<a href="https://redirect.github.com/pygme
nts/pygments/issues/3026">tursodatabase#3026</a>, <a href="https://redirect.github.co
m/pygments/pygments/issues/3027">tursodatabase#3027</a>)</li>
<li>Turtle: Allow empty comment lines (<a href="https://redirect.github.
com/pygments/pygments/issues/2980">tursodatabase#2980</a>)</li>
<li>XML: Added <code>.xbrl</code> as file ending (<a href="https://redir
ect.github.com/pygments/pygments/issues/2890">tursodatabase#2890</a>, <a href="https:
//redirect.github.com/pygments/pygments/issues/2891">tursodatabase#2891</a>)</li>
</ul>
</li>
<li>
<p>Drop Python 3.8, and add Python 3.14 as a supported version (<a href=
"https://redirect.github.com/pygments/pygments/issues/2987">#2987</a>,
<a href="https://redirect.github.com/pygments/pygments/issues/3012">#301
2</a>)</p>
</li>
<li>
<p>Various improvements to <code>autopygmentize</code> (<a href="https:/
/redirect.github.com/pygments/pygments/issues/2894">tursodatabase#2894</a>)</p>
</li>
<li>
<p>Update <code>onedark</code> style to support more token types (<a hre
f="https://redirect.github.com/pygments/pygments/issues/2977">#2977</a>)
</p>
</li>
<li>
<p>Update <code>rtt</code> style to support more token types (<a href="h
ttps://redirect.github.com/pygments/pygments/issues/2895">tursodatabase#2895</a>)</p>
</li>
<li>
<p>Cache entry points to improve performance (<a href="https://redirect.
github.com/pygments/pygments/issues/2979">tursodatabase#2979</a>)</p>
</li>
<li>
<p>Fix <code>xterm-256</code> color table (<a href="https://redirect.git
hub.com/pygments/pygments/issues/3043">tursodatabase#3043</a>)</p>
</li>
<li>
<p>Fix <code>kwargs</code> dictionary getting mutated on each call (<a h
ref="https://redirect.github.com/pygments/pygments/issues/3044">#3044</a
>)</p>
</li>
</ul>
<h2>2.19.2</h2>
<ul>
<li>Lua: Fix regression introduced in 2.19.0 (<a href="https://redirect.
github.com/pygments/pygments/issues/2882">tursodatabase#2882</a>, <a href="https://re
direct.github.com/pygments/pygments/issues/2839">tursodatabase#2839</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/pygments/pygments/blob/m
aster/CHANGES">pygments's changelog</a>.</em></p>
<blockquote>
<h2>Version 2.20.0</h2>
<p>(released March 29th, 2026)</p>
<ul>
<li>
<p>New lexers:</p>
<ul>
<li>Rell (<a href="https://redirect.github.com/pygments/pygments/issues/
2914">tursodatabase#2914</a>)</li>
</ul>
</li>
<li>
<p>Updated lexers:</p>
<ul>
<li>archetype: Fix catastrophic backtracking in GUID and ID patterns (<a
href="https://redirect.github.com/pygments/pygments/issues/3064">#3064</
a>)</li>
<li>ASN.1: Recognize minus sign and fix range operator (<a href="https:/
/redirect.github.com/pygments/pygments/issues/3014">tursodatabase#3014</a>, <a href="
https://redirect.github.com/pygments/pygments/issues/3060">#3060</a>)</l
i>
<li>C++: Add C++26 keywords (<a href="https://redirect.github.com/pygmen
ts/pygments/issues/2955">tursodatabase#2955</a>), add integer literal suffixes (<a hr
ef="https://redirect.github.com/pygments/pygments/issues/2966">#2966</a>
)</li>
<li>ComponentPascal: Fix <code>analyse_text</code> (<a href="https://red
irect.github.com/pygments/pygments/issues/3028">tursodatabase#3028</a>, <a href="http
s://redirect.github.com/pygments/pygments/issues/3032">tursodatabase#3032</a>)</li>
<li>Coq renamed to Rocq (<a href="https://redirect.github.com/pygments/p
ygments/issues/2883">tursodatabase#2883</a>, <a href="https://redirect.github.com/pyg
ments/pygments/issues/2908">tursodatabase#2908</a>)</li>
<li>Cython: Various improvements (<a href="https://redirect.github.com/p
ygments/pygments/issues/2932">tursodatabase#2932</a>, <a href="https://redirect.githu
b.com/pygments/pygments/issues/2933">tursodatabase#2933</a>)</li>
<li>Debian control: Improve architecture parsing (<a href="https://redir
ect.github.com/pygments/pygments/issues/3052">tursodatabase#3052</a>)</li>
<li>Devicetree: Add support for overlay/fragments (<a href="https://redi
rect.github.com/pygments/pygments/issues/3021">tursodatabase#3021</a>), add
bytestring support (<a href="https://redirect.github.com/pygments/pygmen
ts/issues/3022">tursodatabase#3022</a>), fix catastrophic backtracking (<a href="http
s://redirect.github.com/pygments/pygments/issues/3057">tursodatabase#3057</a>)</li>
<li>Fennel: Various improvements (<a href="https://redirect.github.com/p
ygments/pygments/issues/2911">tursodatabase#2911</a>)</li>
<li>Haskell: Handle escape sequences in character literals (<a href="htt
ps://redirect.github.com/pygments/pygments/issues/3069">tursodatabase#3069</a>, <a hr
ef="https://redirect.github.com/pygments/pygments/issues/1795">#1795</a>
)</li>
<li>Java: Add module keywords (<a href="https://redirect.github.com/pygm
ents/pygments/issues/2955">tursodatabase#2955</a>)</li>
<li>Lean4: Add operators <code>]'</code>, <code>]?</code>,
<code>]!</code>  (<a href="https://redirect.github.com/pygments/pygments
tursodatabase/issues/2946">tursodatabase#2946</a>)</li>
<li>LESS: Support single-line comments (<a href="https://redirect.github
.com/pygments/pygments/issues/3005">tursodatabase#3005</a>)</li>
<li>LilyPond: Update to 2.25.29 (<a href="https://redirect.github.com/py
gments/pygments/issues/2974">tursodatabase#2974</a>)</li>
<li>LLVM: Support C-style comments (<a href="https://redirect.github.com
/pygments/pygments/issues/3023">tursodatabase#3023</a>, <a href="https://redirect.git
hub.com/pygments/pygments/issues/2978">tursodatabase#2978</a>)</li>
<li>Lua(u): Fix catastrophic backtracking (<a href="https://redirect.git
hub.com/pygments/pygments/issues/3047">tursodatabase#3047</a>)</li>
<li>Macaulay2: Update to 1.25.05 (<a href="https://redirect.github.com/p
ygments/pygments/issues/2893">tursodatabase#2893</a>), 1.25.11 (<a href="https://redi
rect.github.com/pygments/pygments/issues/2988">tursodatabase#2988</a>)</li>
<li>Mathematica: Various improvements (<a href="https://redirect.github.
com/pygments/pygments/issues/2957">tursodatabase#2957</a>)</li>
<li>meson: Add additional operators (<a href="https://redirect.github.co
m/pygments/pygments/issues/2919">tursodatabase#2919</a>)</li>
<li>MySQL: Update keywords (<a href="https://redirect.github.com/pygment
s/pygments/issues/2970">tursodatabase#2970</a>)</li>
<li>org-Mode: Support both schedule and deadline (<a href="https://redir
ect.github.com/pygments/pygments/issues/2899">tursodatabase#2899</a>)</li>
<li>PHP: Add <code>__PROPERTY__</code> magic constant (<a href="https://
redirect.github.com/pygments/pygments/issues/2924">tursodatabase#2924</a>), add
reserved keywords (<a href="https://redirect.github.com/pygments/pygment
s/issues/3002">tursodatabase#3002</a>)</li>
<li>PostgreSQL: Add more keywords (<a href="https://redirect.github.com/
pygments/pygments/issues/2985">tursodatabase#2985</a>)</li>
<li>protobuf: Fix namespace tokenization (<a href="https://redirect.gith
ub.com/pygments/pygments/issues/2929">tursodatabase#2929</a>)</li>
<li>Python: Add <code>t</code>-string support (<a href="https://redirect
.github.com/pygments/pygments/issues/2973">tursodatabase#2973</a>, <a href="https://r
edirect.github.com/pygments/pygments/issues/3009">tursodatabase#3009</a>, <a href="ht
tps://redirect.github.com/pygments/pygments/issues/3010">tursodatabase#3010</a>)</li>
<li>Tablegen: Fix infinite loop (<a href="https://redirect.github.com/py
gments/pygments/issues/2972">tursodatabase#2972</a>, <a href="https://redirect.github
.com/pygments/pygments/issues/2940">tursodatabase#2940</a>)</li>
<li>Tera Term macro: Add commands introduced in v5.3 through v5.6 (<a hr
ef="https://redirect.github.com/pygments/pygments/issues/2951">#2951</a>
)</li>
<li>TOML: Support TOML 1.1.0 (<a href="https://redirect.github.com/pygme
nts/pygments/issues/3026">tursodatabase#3026</a>, <a href="https://redirect.github.co
m/pygments/pygments/issues/3027">tursodatabase#3027</a>)</li>
<li>Turtle: Allow empty comment lines (<a href="https://redirect.github.
com/pygments/pygments/issues/2980">tursodatabase#2980</a>)</li>
<li>XML: Added <code>.xbrl</code> as file ending (<a href="https://redir
ect.github.com/pygments/pygments/issues/2890">tursodatabase#2890</a>, <a href="https:
//redirect.github.com/pygments/pygments/issues/2891">tursodatabase#2891</a>)</li>
</ul>
</li>
<li>
<p>Drop Python 3.8, and add Python 3.14 as a supported version (<a href=
"https://redirect.github.com/pygments/pygments/issues/2987">#2987</a>,
<a href="https://redirect.github.com/pygments/pygments/issues/3012">#301
2</a>)</p>
</li>
<li>
<p>Various improvements to <code>autopygmentize</code> (<a href="https:/
/redirect.github.com/pygments/pygments/issues/2894">tursodatabase#2894</a>)</p>
</li>
<li>
<p>Update <code>onedark</code> style to support more token types (<a hre
f="https://redirect.github.com/pygments/pygments/issues/2977">#2977</a>)
</p>
</li>
<li>
<p>Update <code>rtt</code> style to support more token types (<a href="h
ttps://redirect.github.com/pygments/pygments/issues/2895">tursodatabase#2895</a>)</p>
</li>
<li>
<p>Cache entry points to improve performance (<a href="https://redirect.
github.com/pygments/pygments/issues/2979">tursodatabase#2979</a>)</p>
</li>
<li>
<p>Fix <code>xterm-256</code> color table (<a href="https://redirect.git
hub.com/pygments/pygments/issues/3043">tursodatabase#3043</a>)</p>
</li>
<li>
<p>Fix <code>kwargs</code> dictionary getting mutated on each call (<a h
ref="https://redirect.github.com/pygments/pygments/issues/3044">#3044</a
>)</p>
</li>
</ul>
<p>Version 2.19.2</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="pygments/pygments@708197d82827ba2
d5ca78bcbb653c7102ce86dcd"><code>708197d</code></a> Fix underline
length.</li>
<li><a href="pygments/pygments@1d4538ae8621d76
6ecc91ff59caf76ab75983abc"><code>1d4538a</code></a> Prepare 2.20
release.</li>
<li><a href="pygments/pygments@2ceaee4e634eeba
e2d10a47fd05406871f6bac8f"><code>2ceaee4</code></a> Update CHANGES.</li>
<li><a href="pygments/pygments@e3a3c54b58c7f80
bc4db887e471d4f91c77844ed"><code>e3a3c54</code></a> Fix Haskell lexer:
handle escape sequences in character literals (<a href="https://redirect
.github.com/pygments/pygments/issues/3069">tursodatabase#3069</a>)</li>
<li><a href="pygments/pygments@d7c3453e342dac3
19f58e4091f4ef183cc49d802"><code>d7c3453</code></a> Merge pull request
<a href="https://redirect.github.com/pygments/pygments/issues/3071">#307
1</a> from pygments/harden-html-formatter</li>
<li><a href="pygments/pygments@0f97e7c37d44abf
a4ddfddf44a3290fdad586034"><code>0f97e7c</code></a> Harden the HTML
formatter against CSS.</li>
<li><a href="pygments/pygments@9f981b2ba42b88c
a5bdcebf12cd01efd7cd80aec"><code>9f981b2</code></a> Update CHANGES.</li>
<li><a href="pygments/pygments@1d889151024e9a5
3f3702a60558b29b070306e9e"><code>1d88915</code></a> Update CHANGES.</li>
<li><a href="pygments/pygments@c3d93adb9827fc0
54c3c12b47bde31c781a36a93"><code>c3d93ad</code></a> Fix ASN.1 lexer:
recognize minus sign and fix range operator (<a href="https://redirect.g
ithub.com/pygments/pygments/issues/3060">tursodatabase#3060</a>)</li>
<li><a href="pygments/pygments@4f06bcf8a5ba3f2
b5bda24a26ccf041a1a65d91e"><code>4f06bcf</code></a> fix bad behaving
backtracking regex in CommonLispLexer</li>
<li>Additional commits viewable in <a href="https://github.com/pygments/
pygments/compare/2.19.1...2.20.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-
badges.githubapp.com/badges/compatibility_score?dependency-
name=pygments&package-manager=uv&previous-version=2.19.1&new-
version=2.20.0)](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)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/tursodatabase/turso/network/alerts).
</details>

Closes tursodatabase#6532
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

Labels

A-lexing area: changes to individual lexers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL