Skip to content
This repository has been archived by the owner on Jun 19, 2022. It is now read-only.

Update pygments to 2.5.2 #902

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

pyup-bot
Copy link
Collaborator

This PR updates pygments from 2.2.0 to 2.5.2.

Changelog

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, Elxir 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)
* 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

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