pypi Pygments 2.15.0

latest releases: 2.18.0, 2.17.2, 2.17.1...
17 months ago
  • Added lexers:

  • Updated lexers:

    • AMDGPU: Add support for scratch_ instructions, the attr*.* argument,
      as well as the off modifier (#2327).

    • APDL: Miscellaneous improvements (#2314)

    • bash/tcsh:

      • Move break to keywords (#2377)
      • Improve bash math expansion lexing (#2255, #2353)
    • Chapel: Support attributes (#2376)

    • CMake: Implement bracket style comments (#2338, #2354)

    • CSS: Improve lexing of numbers inside function calls (#2382, #2383)

    • diff: Support normal diff syntax, as opposed to unified diff syntax (#2321)

    • GLSL, HLSL:

      • Support line continuations in preprocessor code (#2350)
      • Improve preprocessor directive handling (#2357)
    • LilyPond: minor update of builtins

    • PHP: support attributes (#2055, #2347, #2360), fix anonymous classes without
      parameters (#2359), improve lexing of variable variable syntax (#2358)

    • Python:

      • Add missing builtins (#2334)
      • Fix inconsistent lexing of None (#2406)
    • Rebol/Red: Don't require script headers (#2348, #2349)

    • Spice: Update keywords (#2336)

    • SQL+Jinja (analyse_text method): Fix catastrophic backtracking (#2355)

    • Terraform: Add hcl alias (#2375)

  • Declare support for Python 3.11 and drop support for Python 3.6 (#2324).

  • Update native style to improve contrast (#2325).

  • Update `github-dark`` style to match latest Primer style (#2401)

  • Revert a change that made guessing lexers based on file names slower
    on Python 3.10 and older (#2328).

  • Fix some places where a locale-dependent encoding could unintentionally
    be used instead of UTF-8 (#2326).

  • Fix Python traceback handling (#2226, #2329).

  • Groff formatter: sort color definitions for reproducibility (#2343)

  • Move project metadata to pyproject.toml, remove setup.py
    and setup.cfg (#2342)

  • The top-level Makefile has been removed. Instead, all shortcuts
    for developing are now defined and run through tox. The doc folder
    still contains a Makefile as an alternative to tox -e doc.

Don't miss a new Pygments release

NewReleases is sending notifications on new releases.