Releases: pygments/pygments
2.7.2
-
Updated lexers:
- Latex (PR#1517, #1516)
- LLVM (PR#1565)
- SPARQL (PR#1559)
-
Fixed Python console/traceback lexer problems with
custom exceptions without messages (#1548) -
Allow loading ttc fonts on Mac/image formatter (#1223)
-
Improve
analyze_text
across a variety of lexers (PR#1549) -
Removed CSS rule which forced the vertical padding to 0 for line numbers (PR#1583, #1579)
-
Fix
TNTLexer
crashing on unexpected EOL (#1568, PR#1570) -
regexlint
can be now run locally as part oftox
tests (PR#1557) -
Fix typos (PR#1550, #1562)
-
Add Python 3.9 as a supported version (PR#1554)
2.7.1
2.7.0
-
Added lexers:
- Arrow (PR#1481, PR#1499)
- BARE (PR#1488)
- Devicetree (PR#1434)
- F* (PR#1409)
- GDScript (PR#1457)
- Pointless (PR#1494)
- PromQL (PR#1506)
- PsySH (PR#1438)
- Singularity (PR#1285)
- TiddlyWiki5 (PR#1390)
- TNT (PR#1414)
- YANG (PR#1408, PR#1428)
-
Updated lexers:
- APL (PR#1503)
- C++ (PR#1350, which also fixes: #1222, #996, #906, #828, #1162, #1166,
#1396) - Chapel (PR#1423)
- CMake (#1491)
- CSound (#1509)
- Cython (PR#1507)
- Dart (PR#1449)
- Fennel (PR#1535)
- Fortran (PR#1442)
- GAS (PR#1530)
- HTTP (PR#1432, #1520, PR#1521)
- Inform 6 (PR#1461)
- Javascript (PR#1533)
- JSON (#1065, PR#1528)
- Lean (PR#1415)
- Matlab (PR#1399)
- Markdown (#1492, PR#1495)
- MySQL (#975, #1063, #1453, PR#1527)
- NASM (PR#1465)
- Nim (PR#1426)
- PostgreSQL (PR#1513)
- PowerShell (PR#1398, PR#1497)
- Protobuf (PR#1505)
- Robot (PR#1480)
- SQL (PR#1402)
- SystemVerilog (PR#1436, PR#1452, PR#1454, PR#1460, PR#1462, PR#1463, PR#1464, PR#1471, #1496, PR#1504)
- TeraTerm (PR#1337)
- XML (#1502)
-
Added a new filter for math symbols (PR#1406)
-
The Kconfig lexer will match Kconfig derivative names now (PR#1458)
-
Improved HTML formatter output (PR#1500)
-
.markdown
is now recognized as an extension for Markdown files (PR#1476) -
Fixed line number colors for Solarized (PR#1477, #1356)
-
Improvements to exception handling (PR#1478)
-
Improvements to tests (PR#1532, PR#1533, PR#1539)
-
Various code cleanups (PR#1536, PR#1537, PR#1538)
2.6.1
-
Running Pygments on Python 2.x is no longer supported.
(The Python 2 lexer still exists.) -
Added lexers:
- Linux kernel logs (PR#1310)
- LLVM MIR (PR#1361)
- MiniScript (PR#1397)
- Mosel (PR#1287, PR#1326)
- Parsing Expression Grammar (PR#1336)
- ReasonML (PR#1386)
- Ride (PR#1319, PR#1321)
- Sieve (PR#1257)
- USD (PR#1290)
- WebIDL (PR#1309)
-
Updated lexers:
- Apache2 (PR#1378)
- Chapel (PR#1357)
- CSound (PR#1383)
- D (PR#1375, PR#1362)
- Idris (PR#1360)
- Perl6/Raku lexer (PR#1344)
- Python3 (PR#1382, PR#1385)
- Rust: Updated lexer to cover more builtins (mostly macros) and miscellaneous
new syntax (PR#1320) - SQL: Add temporal support keywords (PR#1402)
-
The 256-color/true-color terminal formatters now support the italic attribute
in styles (PR#1288) -
Support HTTP 2/3 header (PR#1308)
-
Support missing reason in HTTP header (PR#1322)
-
Boogie/Silver: support line continuations and triggers, move contract keywords
to separate category (PR#1299) -
GAS: support C-style comments (PR#1291)
-
Fix names in S lexer (PR#1330, PR#1333)
-
Fix numeric literals in Ada (PR#1334)
-
Recognize
.mjs
files as Javascript (PR#1392) -
Recognize
.eex
files as Elixir (PR#1387) -
Fix
re.MULTILINE
usage (PR#1388) -
Recognize
pipenv
andpoetry
dependency & lock files (PR#1376) -
Improve font search on Windows (#1247)
-
Remove unused script block (#1401)
2.5.2
- Fix incompatibility with some setuptools versions (PR#1316)
- Fix lexing of ReST field lists (PR#1279)
- Fix lexing of Matlab keywords as field names (PR#1282)
- Recognize double-quoted strings in Matlab (PR#1278)
- Avoid slow backtracking in Vim lexer (PR#1312)
- Fix Scala highlighting of types (PR#1315)
- Highlight field lists more consistently in ReST (PR#1279)
- Fix highlighting Matlab keywords in field names (PR#1282)
- Recognize Matlab double quoted strings (PR#1278)
- Add some Terraform keywords
- Update Modelica lexer to 3.4
- Update Crystal examples
2.5.1
2.5.0
-
Added lexers:
-
Updated lexers:
-
Added styles:
- Inkpot (PR#1276)
-
The
PythonLexer
class is now an alias for the formerPython3Lexer
.
The oldPythonLexer
is available asPython2Lexer
. Same change has
been done for thePythonTracebackLexer
. Thepython3
option for
thePythonConsoleLexer
is now true by default. -
Bump
NasmLexer
priority overTasmLexer
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
, notOperator
(#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
2.4.2
2.4.1
2.4.0
-
Added lexers:
- Augeas (PR#807)
- BBC Basic (PR#806)
- Boa (PR#756)
- Charm++ CI (PR#788)
- DASM16 (PR#807)
- FloScript (PR#750)
- FreeFem++ (PR#785)
- Hspec (PR#790)
- Pony (PR#627)
- SGF (PR#780)
- Slash (PR#807)
- Slurm (PR#760)
- Tera Term Language (PR#749)
- TOML (PR#807)
- Unicon (PR#731)
- VBScript (PR#673)
-
Updated lexers:
- Apache2 (PR#766)
- Cypher (PR#746)
- LLVM (PR#792)
- Makefiles (PR#766)
- PHP (#1482)
- Rust
- SQL (PR#672)
- Stan (PR#774)
- Stata (PR#800)
- Terraform (PR#787)
- YAML
-
Add solarized style (PR#708)
-
Add support for Markdown reference-style links (PR#753)
-
Add license information to generated HTML/CSS files (#1496)
-
Change ANSI color names (PR#777)
-
Fix catastrophic backtracking in the bash lexer (#1494)
-
Fix documentation failing to build using Sphinx 2.0 (#1501)
-
Fix incorrect links in the Lisp and R lexer documentation (PR#775)
-
Fix rare unicode errors on Python 2.7 (PR#798, #1492)
-
Fix lexers popping from an empty stack (#1506)
-
TypoScript uses
.typoscript
now (#1498) -
Updated Trove classifiers and
pip
requirements (PR#799)