Skip to content
This repository was archived by the owner on Mar 12, 2023. It is now read-only.

Update pygments to 2.7.2#380

Closed
pyup-bot wants to merge 1 commit intomainfrom
pyup-update-pygments-2.2.0-to-2.7.2
Closed

Update pygments to 2.7.2#380
pyup-bot wants to merge 1 commit intomainfrom
pyup-update-pygments-2.2.0-to-2.7.2

Conversation

@pyup-bot
Copy link
Copy Markdown
Collaborator

This PR updates pygments from 2.2.0 to 2.7.2.

Changelog

2.7.2

-------------
(released October 24, 2020)

- Updated lexers:

* Latex (PR1517, 1516)
* LLVM (PR1565)
* SPARQL (PR1559)

- 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 (PR1549)
- Removed CSS rule which forced the vertical padding to 0 for line numbers (PR1583, 1579)
- Fix ``TNTLexer`` crashing on unexpected EOL (1568, PR1570)
- ``regexlint`` can be now run locally as part of ``tox`` tests (PR1557)
- Fix typos (PR1550, 1562)
- Add Python 3.9 as a supported version (PR1554)

2.7.1

-------------
(released September 16, 2020)

- Fixed a regression in the JSON lexer (1544)

2.7.0

-------------
(released September 12, 2020)

- Added lexers:

* Arrow (PR1481, PR1499)
* BARE (PR1488)
* Devicetree (PR1434)
* F* (PR1409)
* GDScript (PR1457)
* Pointless (PR1494)
* PromQL (PR1506)
* PsySH (PR1438)
* Singularity (PR1285)
* TiddlyWiki5 (PR1390)
* TNT (PR1414)
* YANG (PR1408, PR1428)

- Updated lexers:

* APL (PR1503)
* C++ (PR1350, which also fixes: 1222, 996, 906, 828, 1162, 1166,
 1396)
* Chapel (PR1423)
* CMake (1491)
* CSound (1509)
* Cython (PR1507)
* Dart (PR1449)
* Fennel (PR1535)
* Fortran (PR1442)
* GAS (PR1530)
* HTTP (PR1432, 1520, PR1521)
* Inform 6 (PR1461)
* Javascript (PR1533)
* JSON (1065, PR1528)
* Lean (PR1415)
* Matlab (PR1399)
* Markdown (1492, PR1495)
* MySQL (975, 1063, 1453, PR1527)
* NASM (PR1465)
* Nim (PR1426)
* PostgreSQL (PR1513)
* PowerShell (PR1398, PR1497)
* Protobuf (PR1505)
* Robot (PR1480)
* SQL (PR1402)
* SystemVerilog (PR1436, PR1452, PR1454, PR1460, PR1462, PR1463, PR1464, PR1471, 1496, PR1504)
* TeraTerm (PR1337)
* XML (1502)

- Added a new filter for math symbols (PR1406)
- The Kconfig lexer will match Kconfig derivative names now (PR1458)
- Improved HTML formatter output (PR1500)
- ``.markdown`` is now recognized as an extension for Markdown files (PR1476)
- Fixed line number colors for Solarized (PR1477, 1356)
- Improvements to exception handling (PR1478)
- Improvements to tests (PR1532, PR1533, PR1539)
- Various code cleanups (PR1536, PR1537, PR1538)

2.6.1

-------------
(released March 8, 2020)

- This release fixes a packaging issue. No functional changes.

2.6

-----------
(released March 8, 2020)

- Running Pygments on Python 2.x is no longer supported.
(The Python 2 lexer still exists.)

- Added lexers:

* Linux kernel logs (PR1310)
* LLVM MIR (PR1361)
* MiniScript (PR1397)
* Mosel (PR1287, PR1326)
* Parsing Expression Grammar (PR1336)
* ReasonML (PR1386)
* Ride (PR1319, PR1321)
* Sieve (PR1257)
* USD (PR1290)
* WebIDL (PR1309)

- Updated lexers:

* Apache2 (PR1378)
* Chapel (PR1357)
* CSound (PR1383)
* D (PR1375, PR1362)
* Idris (PR1360)
* Perl6/Raku lexer (PR1344)
* Python3 (PR1382, PR1385)
* Rust: Updated lexer to cover more builtins (mostly macros) and miscellaneous
 new syntax (PR1320)
* SQL: Add temporal support keywords (PR1402)

- The 256-color/true-color terminal formatters now support the italic attribute
in styles (PR1288)
- Support HTTP 2/3 header (PR1308)
- Support missing reason in HTTP header (PR1322)
- Boogie/Silver: support line continuations and triggers, move contract keywords
to separate category (PR1299)
- GAS: support C-style comments (PR1291)
- Fix names in S lexer (PR1330, PR1333)
- Fix numeric literals in Ada (PR1334)
- Recognize ``.mjs`` files as Javascript (PR1392)
- Recognize ``.eex`` files as Elixir (PR1387)
- Fix ``re.MULTILINE`` usage (PR1388)
- Recognize ``pipenv`` and ``poetry`` dependency & lock files (PR1376)
- Improve font search on Windows (1247)
- Remove unused script block (1401)

2.5.2

-------------
(released November 29, 2019)

- Fix incompatibility with some setuptools versions (PR1316)

- Fix lexing of ReST field lists (PR1279)
- Fix lexing of Matlab keywords as field names (PR1282)
- Recognize double-quoted strings in Matlab (PR1278)
- Avoid slow backtracking in Vim lexer (PR1312)
- Fix Scala highlighting of types (PR1315)
- Highlight field lists more consistently in ReST (PR1279)
- Fix highlighting Matlab keywords in field names (PR1282)
- Recognize Matlab double quoted strings (PR1278)
- Add some Terraform keywords
- Update Modelica lexer to 3.4
- Update Crystal examples

2.5.1

-------------
(released November 26, 2019)

- This release fixes a packaging issue. No functional changes.

2.5.0

-------------
(released November 26, 2019)

- Added lexers:

* Email (PR1246)
* Erlang, Elixir shells (PR823, 1521)
* Notmuch (PR1264)
* `Scdoc <https://git.sr.ht/~sircmpwn/scdoc>`_ (PR1268)
* `Solidity <https://solidity.readthedocs.io/>`_ (1214)
* `Zeek <https://www.zeek.org>`_ (new name for Bro) (PR1269)
* `Zig <https://ziglang.org/>`_ (PR820)

- Updated lexers:

* Apache2 Configuration (PR1251)
* Bash sessions (1253)
* CSound (PR1250)
* Dart
* Dockerfile
* Emacs Lisp
* Handlebars (PR773)
* Java (1101, 987)
* Logtalk (PR1261)
* Matlab (PR1271)
* Praat (PR1277)
* Python3 (PR1255, PR1400)
* Ruby
* YAML (1528)
* Velocity

- Added styles:

* Inkpot (PR1276)

- 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, PR1245)
- 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 (PR1259)
- 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 (PR1271)
- Python: recognize ``.jy`` filenames (976)
- Python: recognize ``f`` string prefix (1156)
- Ruby: support squiggly heredocs
- Shell sessions: recognize Virtualenv prompt (PR1266)
- Velocity: support silent reference syntax

2.4.2

-------------
(released May 28, 2019)

- Fix encoding error when guessing lexer with given ``encoding`` option
(1438)

2.4.1

-------------
(released May 24, 2019)

- Updated lexers:

* Coq (1430)
* MSDOS Session (PR734)
* NASM (1517)
* Objective-C (PR813, 1508)
* Prolog (1511)
* TypeScript (1515)

- Support CSS variables in stylesheets (PR814, 1356)
- Fix F lexer name (PR709)
- Fix ``TerminalFormatter`` using bold for bright text (1480)

2.4.0

-------------
(released May 8, 2019)

- Added lexers:

* Augeas (PR807)
* BBC Basic (PR806)
* Boa (PR756)
* Charm++ CI (PR788)
* DASM16 (PR807)
* FloScript (PR750)
* FreeFem++ (PR785)
* Hspec (PR790)
* Pony (PR627)
* SGF (PR780)
* Slash (PR807)
* Slurm (PR760)
* Tera Term Language (PR749)
* TOML (PR807)
* Unicon (PR731)
* VBScript (PR673)

- Updated lexers:

* Apache2 (PR766)
* Cypher (PR746)
* LLVM (PR792)
* Makefiles (PR766)
* PHP (1482)
* Rust
* SQL (PR672)
* Stan (PR774)
* Stata (PR800)
* Terraform (PR787)
* YAML

- Add solarized style (PR708)
- Add support for Markdown reference-style links (PR753)
- Add license information to generated HTML/CSS files (1496)
- Change ANSI color names (PR777)
- 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 (PR775)
- Fix rare unicode errors on Python 2.7 (PR798, 1492)
- Fix lexers popping from an empty stack (1506)
- TypoScript uses ``.typoscript`` now (1498)
- Updated Trove classifiers and ``pip`` requirements (PR799)

2.3.1

-------------
(released Dec 16, 2018)

- Updated lexers:

* ASM (PR784)
* Chapel (PR735)
* Clean (PR621)
* CSound (PR684)
* Elm (PR744)
* Fortran (PR747)
* GLSL (PR740)
* Haskell (PR745)
* Hy (PR754)
* Igor Pro (PR764)
* PowerShell (PR705)
* Python (PR720, 1299, PR715)
* SLexer (PR680)
* YAML (PR762, PR724)

- Fix invalid string escape sequences
- Fix `FutureWarning` introduced by regex changes in Python 3.7

2.3.0

-------------
(released Nov 25, 2018)

- Added lexers:

* Fennel (PR783)
* HLSL (PR675)

- Updated lexers:

* Dockerfile (PR714)

- Minimum Python versions changed to 2.7 and 3.5
- Added support for Python 3.7 generator changes (PR772)
- Fix incorrect token type in SCSS for single-quote strings (1322)
- Use `terminal256` formatter if `TERM` contains `256` (PR666)
- Fix incorrect handling of GitHub style fences in Markdown (PR741, 1389)
- Fix `%a` not being highlighted in Python3 strings (PR727)
Links

@pyup-bot
Copy link
Copy Markdown
Collaborator Author

pyup-bot commented Dec 6, 2020

Closing this in favor of #393

@pyup-bot pyup-bot closed this Dec 6, 2020
@waynr waynr deleted the pyup-update-pygments-2.2.0-to-2.7.2 branch December 6, 2020 18:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant