#16910 closed enhancement (fixed)

Pygments-2.13.0 (Python module)

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

Description

New minor version.

Change History (3)

comment:1 by Bruce Dubbs, 21 months ago

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

comment:2 by Bruce Dubbs, 21 months ago

Version 2.13.0 (released August 15th, 2022)

  • Added lexers:
  • COMAL-80
  • JMESPath
  • Sql+Jinja
  • Updated lexers:
  • Ada: support Ada 2022; disable recognition of namespaces because it disturbs lexing of aspects
  • Agda: allow straight quotes in module names
  • C family (C, C++ and many others): allow comments between elements of function headers, e.g. between the arguments and the opening brace for the body
  • C++: Resolve several cases of Error tokens
  • Coq: add some common keywords, improve recognition of Set and qualified identifiers
  • F*: Allow C-style comments anywhere in a line
  • Fortran: fix catastrophic backtracking with backslashes in strings
  • Go: add support for generics
  • Inform: update for version 6.40
  • Isabelle: recognize cartouches
  • Java: support multiline strings aka. text blocks
  • Kotlin: add value modifier
  • LilyPond: add some missing builtins
  • Macaulay2: update builtins
  • Matlab session: fix traceback when a line continuation ellipsis appears in the output
  • .NET: add aliases for LibreOffice Basic, OpenOfficeBasic and StarOffice Basic
  • Nim: use Name.Builtin instead of Keyword.Type
  • PHP: fix \"$var\" inside strings
  • Python: only recognize \N, \u and \U escape sequences in string literals, but not in bytes literals where they are not supported
  • Tcl: support ${name} variables
  • Terraform: accept leading whitespace for << heredoc delimiters
  • Teraterm: Various improvements
  • Spice: add support for the recently added features including more builtin functions and bin, oct, hex number formats
  • Added styles:
  • GitHub dark
  • StarOffice
  • Nord (nord and nord-darker;)
  • Pygments now tries to use the importlib.metadata module to discover plugins instead of the slower pkg_resources. In particular, this largely speeds up the pygmentize script when the lexer is not specified.
  • Silently ignore BrokenPipeError in the command-line interface
  • The HtmlFormatter now uses the linespans attribute for anchorlinenos if the lineanchors attribute is unset (#2026).
  • The highlight, lex and format functions no longer wrongly report "argument must be a lexer/formatter instance, not a class" in some cases where this is not the actual problem
  • Fix warnings in doc build
  • The codetagify filter now recognizes FIXME tags by default
  • The pygmentize command now recognizes if the COLORTERM environment variable is set to a value indicating that true-color support is available. In that case, it uses the TerminalTrueColorFormatter by default
  • Remove redundant caches for filename patterns
  • Use new non-deprecated Pillow API for text bounding box in ImageFormatter
  • Remove default_style
  • Stop treating DeprecationWarnings as errors in the unit tests

comment:3 by Bruce Dubbs, 21 months ago

Resolution: fixed
Status: assignedclosed

Fixed at commits

d61eea50ae Update to php-8.1.9.
522be71c0f Update to slang-2.3.3.
bbdc7e1050 Update to tumbler-4.16.1.
ec7998680d Update to ldns-1.8.3.
2e69bcc4b5 Update to Pygments-2.13.0 (Python module).
59b71a9a10 Update to mariadb-10.6.9.
Note: See TracTickets for help on using tickets.