Opened 6 weeks ago

Closed 6 weeks ago

#19752 closed enhancement (fixed)

Pygments-2.18.0 (Python module)

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

Description

New minor version.

Change History (3)

comment:1 by Bruce Dubbs, 6 weeks ago

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

comment:2 by Bruce Dubbs, 6 weeks ago

Version 2.18.0-

New lexers:

  • Janet
  • Lean 4
  • Luau
  • Mojo
  • org-mode
  • Promela
  • Soong / Android.bp
  • Tact
  • Typst

Updated lexers:

  • Awk: recognize ternary operator
  • Bash: add openrc alias
  • Coq: add keywords, lex more vernacular command arguments, produce fewer tokens on heading comments
  • DNS zone files: Fix comment parsing
  • Hy: Support unicode literals
  • Inform6: Update to Inform 6.42
  • lean: Fix name handling
  • Logtalk: add uninstantiation keyword and recognize escape sequences
  • Macaulay2: Update to 1.23
  • Python: fix highlighting of soft keywords before None/True/False
  • reStructuredText: use Token.Comment for comments instead of Comment.Preproc
  • Rust: highlight :, :: and -> as Punctuation and whitespace as Whitespace, instead of Text in both cases
  • Spice: Add keywords
  • SQL Explain: allow negative numbers
  • Swift: Support multiline strings
  • ThingsDB: add constants and new functions; support template strings
  • UL4: support nested <?doc?> and <?note?> tags
  • VHDL: support multi-line comments of VHDL-2008
  • Wikitext: Remove kk-* in variant_langs
  • Xtend: Add val and var

New styles:

  • Coffee

Bug Fixes

  • Make background colors in the image formatter work with Pillow 10.0
  • Require Python 3.8. As a result, the importlib-metadata package is no longer needed for fast plugin discovery on Python 3.7. The plugins extra (used as, e.g., pip install pygments[plugins]) is kept for backwards compatibility but now has no effect.
  • Require the url attribute for lexers inside Pygments, add it to many lexers
  • Replace Pyflakes linter with Ruff
  • Add macOS CI
  • Built-in lexers now declare the version of Pygments in which they were added in a required version_added lexer attribute, instead of a .. versionadded:: directive in the docstring
  • The url attribute is now required for built-in lexers and has been added to all existing lexers
  • The RTF formatter supports line number and line highlighting now
  • Add \sa0 keyword in the RTF formatter
  • Register pycon as an alias for the Python console lexer
  • Add MIME-Type for DesktopLexer
  • Fix native style to meet WCAG AA guidelines
  • Fix typo in documentation
  • Use format strings consistently
  • Add class_getitem to Formatter to improve typing support

comment:3 by Bruce Dubbs, 6 weeks ago

Resolution: fixed
Status: assignedclosed

Fixed at commits

09aad3a15c Update to enchant-2.7.3.
632487b2db Update to pygments-2.18.0 (Python module).
16d050d3d7 Update to xdg-desktop-portal-lxqt-1.0.2.
a05e067f5d lxqt updates:
  libfm-qt-2.0.1,
  lximage-qt-2.0.1, and  
  lxqt-notificationd-2.0.1.
Note: See TracTickets for help on using tickets.