UNCLASSIFIED - NO CUI

Skip to content

Update dependency pygments to v2.17.1

renovate requested to merge renovate/pygments-2.x into development

This MR contains the following updates:

Package Update Change
pygments (changelog) minor ==2.16.1 -> ==2.17.1

Dependency Lookup Warnings

Warnings were logged while processing this repo. Please check the logs for more information.


Release Notes

pygments/pygments

v2.17.1

Compare Source

(released November 19, 2023)

  • Updated lexers:

    • TOML: Fix bug making lexing of single-quoted strings too eager

v2.17.0

Compare Source

(released November 18, 2023)

  • New lexers:

  • Updated lexers:

    • Cypher: fix comment matching, add missing keywords (#​2504)
    • Fortran: add elseif keyword (#​2528)
    • Lean: make it available as lean3, in preparation for a possible switch to lean highlighting as Lean 4 (#​2546)
    • JSON: add MIME types and file extensions for several line-delimited JSON formats (#​2490)
    • Nix: many improvements (#​2551, #​1800)
    • OCaml: Add and keyword, remove value from keywords (#​2521)
    • Python: add starlark and bazel aliases (#​2517, #​2516)
    • Snowball: Treat len like size (#​2508)
    • Spice: add panic keyword and -> operator (#​2510)
    • squid.conf: fix catastrophic backtracking (#​2583)
    • TOML: rewritten, with many fixes (#​2576)
    • Turtle: support blank nodes (#​2581)
    • Wikitext: fix erroneous highlighting of LanguageConverter markup (#​2493), add missing variant languages (#​2494)
    • CMake: support [=[ bracketed arguments ]=] (#​2549)
  • Fix ctags support and tests (#​2487)

  • Include Lexer.add_filter in the documentation (#​2519)

  • Add a Lean3Lexer alias (#​2546)

  • The pygments.styles module contains a new STYLES variable with a dictionary of built-in styles. The old STYLE_MAP variable, which uses a different format, is kept for backwards compatibility.

  • On Windows, add a new installation extra (windows-terminal) which pulls in dependencies for colored console output. See :doc:cmdline for more details. (#​2505)

  • Support more file types in autopygmentize script (#​2513)

  • Change color of numbers in rrt style (#​2526)

  • Fix error when trying to look up plugin formatters by file extension of the output format (#​2563)

  • Use Hatchling as a build backend instead of setuptools. This change is transparent to most users. Distribution packagers who build without build isolation need to add hatchling as a build dependency and remove setuptools. People downloading source distributions and wheels from PyPI directly should note that they now have pygments in their file names instead of Pygments. (#​2573)

  • Improve the test framework to also check for lost tokens when processing the snippets and example files (#​2582.)

  • Improve the Dracula style definition to make it easier to maintain (#​2575)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by renovate

Merge request reports