github pygments/pygments 2.5.0

latest releases: 2.18.0, 2.17.2, 2.17.1...
4 years ago
  • Added lexers:

    • Email (PR#1246)
    • Erlang, Elxir shells (PR#823, #1521)
    • Notmuch (PR#1264)
    • Scdoc (PR#1268)
    • Solidity (#1214)
    • Zeek (new name for Bro) (PR#1269)
    • Zig (PR#820)
  • Updated lexers:

    • Apache2 Configuration (PR#1251)
    • Bash sessions (#1253)
    • CSound (PR#1250)
    • Dart
    • Dockerfile
    • Emacs Lisp
    • Handlebars (PR#773)
    • Java (#1101, #987)
    • Logtalk (PR#1261)
    • Matlab (PR#1271)
    • Praat (PR#1277)
    • Python3 (PR#1255)
    • Ruby
    • YAML (#1528)
    • Velocity
  • Added styles:

    • Inkpot (PR#1276)
  • The PythonLexer class is now an alias for the former Python3Lexer.
    The old PythonLexer is available as Python2Lexer. Same change has
    been done for the PythonTracebackLexer. The python3 option for
    the PythonConsoleLexer is now true by default.

  • Bump NasmLexer priority over TasmLexer for .asm files
    (fixes #1326)

  • Default font in the ImageFormatter has been updated (#928, PR#1245)

  • Test suite switched to py.test, removed nose dependency (#1490)

  • Reduce TeraTerm lexer score -- it used to match nearly all languages
    (#1256)

  • Treat Skylark/Starlark files as Python files (PR#1259)

  • Image formatter: actually respect line_number_separator option

  • Add LICENSE file to wheel builds

  • Agda: fix lambda highlighting

  • Dart: support @ annotations

  • Dockerfile: accept FROM ... AS syntax

  • Emacs Lisp: add more string functions

  • GAS: accept registers in directive arguments

  • Java: make structural punctuation (braces, parens, colon, comma) Punctuation, not Operator (#987)

  • Java: support var contextual keyword (#1101)

  • Matlab: Fix recognition of function keyword (PR#1271)

  • Python: recognize .jy filenames (#976)

  • Python: recognize f string prefix (#1156)

  • Ruby: support squiggly heredocs

  • Shell sessions: recognize Virtualenv prompt (PR#1266)

  • Velocity: support silent reference syntax

Don't miss a new pygments release

NewReleases is sending notifications on new releases.