Opened 2 years ago

Closed 2 years ago

#15907 closed enhancement (fixed)

Pygments-2.11.0 (Python module)

Reported by: Bruce Dubbs Owned by: Bruce Dubbs
Priority: normal Milestone: 11.1
Component: BOOK Version: git
Severity: normal Keywords:
Cc:

Description

New minor version.

Change History (3)

comment:1 by Bruce Dubbs, 2 years ago

Owner: changed from blfs-book to Bruce Dubbs
Status: newassigned

comment:2 by Bruce Dubbs, 2 years ago

Version 2.11.0 (released December 30th, 2021)

  • Added lexers:
  • BDD
  • Elpi
  • LilyPond. This comes with a custom style as well.
  • Maxima
  • Rita
  • Savi
  • Sed
  • Sophia contracts
  • Spice
  • .SRCINFO
  • Updated lexers:
  • ABNF: Allow one-character rules
  • Assembly: Fix incorrect token endings
  • Bibtex: Distinguish between comment and commentary
  • C family: Support unicode identifiers
  • CDDL: Fix slow lexing speed
  • Debian control: Add missing fields
  • Devicetree: Recognize hexadecimal addresses for nodes
  • GDScript: Add void data type
  • GSQL
    • Fix comment handling
    • Fix catastrophic backtracking
  • HTML, XML: Improve comment handling
  • Java: Add yield and sealed classes/record
  • Makefiles
  • objdump-nasm: Improve handling of --no-show-raw-insn dumps
  • Prolog: Support escaped \ inside quoted strings
  • Python:
    • Support ~ in tracebacks
    • Support the pattern matching keywords
  • RobotFramework: Improve empty brace handling
  • Terraform
    • Add the 'set' type
    • Support heredocs
  • Added styles:
  • Dracula
  • Friendly Grayscale
  • LilyPond -- to be used for the LilyPond language.
  • One-Dark

note::

All of the new styles unfortunately do not conform to WCAG recommendations.

  • There is new infrastructure in place to improve style accessibility. The default style has been updated to conform to WCAG recommendations. All styles are now checked for sufficient contrast by default to prevent regressions.
  • Clean up unused imports
  • Fix multiple lexers producing repeated single-character tokens
  • Fix multiple lexers marking whitespace as Text
  • Remove duplicated assignments in the Paraiso style
  • pygmentize supports JSON output for the various list functions now, making it easier to consume them from scripts.
  • Use the shell lexer for kshrc files
  • Use the ruby lexer for Vagrantfile files
  • Use the C lexer for .xbm and .xpm files
  • Add a groff formatter
  • Update documentation
  • Line anchors now link to themselves
  • Add official support for Python 3.10
  • Fix several missing colors in dark styles: Gruvbox dark, Monokai, Rrt, Sas, Strata dark
  • Associate more file types with man pages
  • The HtmlFormatter can now emit tooltips for each token to ease debugging of lexers
  • Add f90 as an alias for fortran

comment:3 by Bruce Dubbs, 2 years ago

Resolution: fixed
Status: assignedclosed

Fixed at commit 64f210812a64871c4d9398c0cade57e1b4c1743e

Package updates.
    Update to xapian-core-1.4.19.
    Update to icewm-2.9.4.
    Update to pygments-2.11.0 (Python module).
    Update to sqlite-autoconf-3370100.
Note: See TracTickets for help on using tickets.