pygments/pygments
### [`v2.15.0`](https://togithub.com/pygments/pygments/blob/HEAD/CHANGES#Version-2150)
[Compare Source](https://togithub.com/pygments/pygments/compare/2.14.0...2.15.0)
(released April 10th, 2023)
- Added lexers:
- Carbon ([#2362](https://togithub.com/pygments/pygments/issues/2362), [#2365](https://togithub.com/pygments/pygments/issues/2365), [#2366](https://togithub.com/pygments/pygments/issues/2366), [#2367](https://togithub.com/pygments/pygments/issues/2367), [#2368](https://togithub.com/pygments/pygments/issues/2368), [#2369](https://togithub.com/pygments/pygments/issues/2369), [#2370](https://togithub.com/pygments/pygments/issues/2370))
- Dax ([#2335](https://togithub.com/pygments/pygments/issues/2335), [#2345](https://togithub.com/pygments/pygments/issues/2345))
- MediaWiki Wikitext ([#2373](https://togithub.com/pygments/pygments/issues/2373), [#827](https://togithub.com/pygments/pygments/issues/827))
- PostgreSQL Explain ([#2398](https://togithub.com/pygments/pygments/issues/2398))
- WGSL (WebGPU Shading Language) ([#2386](https://togithub.com/pygments/pygments/issues/2386))
- X++ ([#2339](https://togithub.com/pygments/pygments/issues/2339))
- Updated lexers:
- AMDGPU: Add support for `scratch_` instructions, the `attr*.*` argument,
as well as the `off` modifier ([#2327](https://togithub.com/pygments/pygments/issues/2327)).
- APDL: Miscellaneous improvements ([#2314](https://togithub.com/pygments/pygments/issues/2314))
- bash/tcsh:
- Move `break` to keywords ([#2377](https://togithub.com/pygments/pygments/issues/2377))
- Improve bash math expansion lexing ([#2255](https://togithub.com/pygments/pygments/issues/2255), [#2353](https://togithub.com/pygments/pygments/issues/2353))
- Chapel: Support attributes ([#2376](https://togithub.com/pygments/pygments/issues/2376))
- CMake: Implement bracket style comments ([#2338](https://togithub.com/pygments/pygments/issues/2338), [#2354](https://togithub.com/pygments/pygments/issues/2354))
- CSS: Improve lexing of numbers inside function calls ([#2382](https://togithub.com/pygments/pygments/issues/2382), [#2383](https://togithub.com/pygments/pygments/issues/2383))
- diff: Support normal diff syntax, as opposed to unified diff syntax ([#2321](https://togithub.com/pygments/pygments/issues/2321))
- GLSL, HLSL:
- Support line continuations in preprocessor code ([#2350](https://togithub.com/pygments/pygments/issues/2350))
- Improve preprocessor directive handling ([#2357](https://togithub.com/pygments/pygments/issues/2357))
- LilyPond: minor update of builtins
- PHP: support attributes ([#2055](https://togithub.com/pygments/pygments/issues/2055), [#2347](https://togithub.com/pygments/pygments/issues/2347), [#2360](https://togithub.com/pygments/pygments/issues/2360)), fix anonymous classes without
parameters ([#2359](https://togithub.com/pygments/pygments/issues/2359)), improve lexing of variable variable syntax ([#2358](https://togithub.com/pygments/pygments/issues/2358))
- Python:
- Add missing builtins ([#2334](https://togithub.com/pygments/pygments/issues/2334))
- Fix inconsistent lexing of `None` ([#2406](https://togithub.com/pygments/pygments/issues/2406))
- Rebol/Red: Don't require script headers ([#2348](https://togithub.com/pygments/pygments/issues/2348), [#2349](https://togithub.com/pygments/pygments/issues/2349))
- Spice: Update keywords ([#2336](https://togithub.com/pygments/pygments/issues/2336))
- SQL+Jinja (`analyse_text` method): Fix catastrophic backtracking ([#2355](https://togithub.com/pygments/pygments/issues/2355))
- Terraform: Add `hcl` alias ([#2375](https://togithub.com/pygments/pygments/issues/2375))
- Declare support for Python 3.11 and drop support for Python 3.6 ([#2324](https://togithub.com/pygments/pygments/issues/2324)).
- Update `native` style to improve contrast ([#2325](https://togithub.com/pygments/pygments/issues/2325)).
- Update \`github-dark\`\` style to match latest Primer style ([#2401](https://togithub.com/pygments/pygments/issues/2401))
- Revert a change that made guessing lexers based on file names slower
on Python 3.10 and older ([#2328](https://togithub.com/pygments/pygments/issues/2328)).
- Fix some places where a locale-dependent encoding could unintentionally
be used instead of UTF-8 ([#2326](https://togithub.com/pygments/pygments/issues/2326)).
- Fix Python traceback handling ([#2226](https://togithub.com/pygments/pygments/issues/2226), [#2329](https://togithub.com/pygments/pygments/issues/2329)).
- Groff formatter: sort color definitions for reproducibility ([#2343](https://togithub.com/pygments/pygments/issues/2343))
- Move project metadata to `pyproject.toml`, remove `setup.py`
and `setup.cfg` ([#2342](https://togithub.com/pygments/pygments/issues/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`.
### [`v2.14.0`](https://togithub.com/pygments/pygments/blob/HEAD/CHANGES#Version-2140)
[Compare Source](https://togithub.com/pygments/pygments/compare/2.13.0...2.14.0)
(released January 1st, 2023)
- Added lexers:
- Arturo ([#2259](https://togithub.com/pygments/pygments/issues/2259))
- GAP session ([#2211](https://togithub.com/pygments/pygments/issues/2211))
- Fift ([#2249](https://togithub.com/pygments/pygments/issues/2249))
- func ([#2232](https://togithub.com/pygments/pygments/issues/2232))
- Jsonnet ([#2239](https://togithub.com/pygments/pygments/issues/2239))
- Minecraft schema ([#2276](https://togithub.com/pygments/pygments/issues/2276))
- MIPS ([#2228](https://togithub.com/pygments/pygments/issues/2228))
- Phix ([#2222](https://togithub.com/pygments/pygments/issues/2222))
- Portugol ([#2300](https://togithub.com/pygments/pygments/issues/2300))
- TL-b ([#2247](https://togithub.com/pygments/pygments/issues/2247))
- World of Warcraft TOC format ([#2244](https://togithub.com/pygments/pygments/issues/2244), [#2245](https://togithub.com/pygments/pygments/issues/2245))
- Wren ([#2271](https://togithub.com/pygments/pygments/issues/2271))
- Updated lexers:
- Abap: Update keywords ([#2281](https://togithub.com/pygments/pygments/issues/2281))
- Alloy: Update for Alloy 6 ([#1963](https://togithub.com/pygments/pygments/issues/1963))
- C family (C, C++ and many others):
- Fix an issue where a chunk would be wrongly recognized as a function
definition due to braces in comments ([#2210](https://togithub.com/pygments/pygments/issues/2210))
- Improve parantheses handling for function definitions ([#2207](https://togithub.com/pygments/pygments/issues/2207), [#2208](https://togithub.com/pygments/pygments/issues/2208))
- C#: Fix number and operator recognition ([#2256](https://togithub.com/pygments/pygments/issues/2256), [#2257](https://togithub.com/pygments/pygments/issues/2257))
- CSound: Updated builtins ([#2268](https://togithub.com/pygments/pygments/issues/2268))
- F#: Add `.fsx` file extension ([#2282](https://togithub.com/pygments/pygments/issues/2282))
- gas (GNU assembler): recognize braces as punctuation ([#2230](https://togithub.com/pygments/pygments/issues/2230))
- HTTP: Add `CONNECT` keyword ([#2242](https://togithub.com/pygments/pygments/issues/2242))
- Inform 6: Fix lexing of properties and doubles ([#2214](https://togithub.com/pygments/pygments/issues/2214))
- INI: Allow comments that are not their own line ([#2217](https://togithub.com/pygments/pygments/issues/2217), [#2161](https://togithub.com/pygments/pygments/issues/2161))
- Java properties: Fix issue with whitespace-delimited keys, support
comments starting with `!` and escapes, no longer support undocumented
`;` and `//` comments ([#2241](https://togithub.com/pygments/pygments/issues/2241))
- LilyPond: Improve heuristics, add `\maxima` duration ([#2283](https://togithub.com/pygments/pygments/issues/2283))
- LLVM: Add opaque pointer type ([#2269](https://togithub.com/pygments/pygments/issues/2269))
- Macaulay2: Update keywords ([#2305](https://togithub.com/pygments/pygments/issues/2305))
- Minecraft-related lexers (SNB and Minecraft function) moved to
`pygments.lexers.minecraft` ([#2276](https://togithub.com/pygments/pygments/issues/2276))
- Nim: General improvements ([#1970](https://togithub.com/pygments/pygments/issues/1970))
- Nix: Fix single quotes inside indented strings ([#2289](https://togithub.com/pygments/pygments/issues/2289))
- Objective J: Fix catastrophic backtracking ([#2225](https://togithub.com/pygments/pygments/issues/2225))
- NASM: Add support for SSE/AVX/AVX-512 registers as well as 'rel'
and 'abs' address operators ([#2212](https://togithub.com/pygments/pygments/issues/2212))
- Powershell:
- Add `local:` keyword ([#2254](https://togithub.com/pygments/pygments/issues/2254))
- Allow continuations without markers ([#2262](https://togithub.com/pygments/pygments/issues/2262), [#2263](https://togithub.com/pygments/pygments/issues/2263))
- Solidity: Add boolean operators ([#2292](https://togithub.com/pygments/pygments/issues/2292))
- Spice: Add `enum` keyword and fix a bug regarding binary,
hexadecimal and octal number tokens ([#2227](https://togithub.com/pygments/pygments/issues/2227))
- YAML: Accept colons in key names ([#2277](https://togithub.com/pygments/pygments/issues/2277))
- Fix `make mapfiles` when Pygments is not installed in editable mode
([#2223](https://togithub.com/pygments/pygments/issues/2223))
- Support more filetypes and compression types in `autopygmentize` ([#2219](https://togithub.com/pygments/pygments/issues/2219))
- Merge consecutive tokens in Autohotkey, Clay ([#2248](https://togithub.com/pygments/pygments/issues/2248))
- Add `.nasm` as a recognized file type for NASM ([#2280](https://togithub.com/pygments/pygments/issues/2280))
- Add `*Spec.hs` as a recognized file type for `HSpec` ([#2308](https://togithub.com/pygments/pygments/issues/2308))
- Add `*.pyi` (for typing stub files) as a recognized file type for
Python ([#2231](https://togithub.com/pygments/pygments/issues/2231))
- The HTML lexer no longer emits empty spans for whitespace ([#2304](https://togithub.com/pygments/pygments/issues/2304))
- Fix `IRCFormatter` inserting linenumbers incorrectly ([#2270](https://togithub.com/pygments/pygments/issues/2270))
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
==2.13.0
->==2.15.0
Release Notes
pygments/pygments
### [`v2.15.0`](https://togithub.com/pygments/pygments/blob/HEAD/CHANGES#Version-2150) [Compare Source](https://togithub.com/pygments/pygments/compare/2.14.0...2.15.0) (released April 10th, 2023) - Added lexers: - Carbon ([#2362](https://togithub.com/pygments/pygments/issues/2362), [#2365](https://togithub.com/pygments/pygments/issues/2365), [#2366](https://togithub.com/pygments/pygments/issues/2366), [#2367](https://togithub.com/pygments/pygments/issues/2367), [#2368](https://togithub.com/pygments/pygments/issues/2368), [#2369](https://togithub.com/pygments/pygments/issues/2369), [#2370](https://togithub.com/pygments/pygments/issues/2370)) - Dax ([#2335](https://togithub.com/pygments/pygments/issues/2335), [#2345](https://togithub.com/pygments/pygments/issues/2345)) - MediaWiki Wikitext ([#2373](https://togithub.com/pygments/pygments/issues/2373), [#827](https://togithub.com/pygments/pygments/issues/827)) - PostgreSQL Explain ([#2398](https://togithub.com/pygments/pygments/issues/2398)) - WGSL (WebGPU Shading Language) ([#2386](https://togithub.com/pygments/pygments/issues/2386)) - X++ ([#2339](https://togithub.com/pygments/pygments/issues/2339)) - Updated lexers: - AMDGPU: Add support for `scratch_` instructions, the `attr*.*` argument, as well as the `off` modifier ([#2327](https://togithub.com/pygments/pygments/issues/2327)). - APDL: Miscellaneous improvements ([#2314](https://togithub.com/pygments/pygments/issues/2314)) - bash/tcsh: - Move `break` to keywords ([#2377](https://togithub.com/pygments/pygments/issues/2377)) - Improve bash math expansion lexing ([#2255](https://togithub.com/pygments/pygments/issues/2255), [#2353](https://togithub.com/pygments/pygments/issues/2353)) - Chapel: Support attributes ([#2376](https://togithub.com/pygments/pygments/issues/2376)) - CMake: Implement bracket style comments ([#2338](https://togithub.com/pygments/pygments/issues/2338), [#2354](https://togithub.com/pygments/pygments/issues/2354)) - CSS: Improve lexing of numbers inside function calls ([#2382](https://togithub.com/pygments/pygments/issues/2382), [#2383](https://togithub.com/pygments/pygments/issues/2383)) - diff: Support normal diff syntax, as opposed to unified diff syntax ([#2321](https://togithub.com/pygments/pygments/issues/2321)) - GLSL, HLSL: - Support line continuations in preprocessor code ([#2350](https://togithub.com/pygments/pygments/issues/2350)) - Improve preprocessor directive handling ([#2357](https://togithub.com/pygments/pygments/issues/2357)) - LilyPond: minor update of builtins - PHP: support attributes ([#2055](https://togithub.com/pygments/pygments/issues/2055), [#2347](https://togithub.com/pygments/pygments/issues/2347), [#2360](https://togithub.com/pygments/pygments/issues/2360)), fix anonymous classes without parameters ([#2359](https://togithub.com/pygments/pygments/issues/2359)), improve lexing of variable variable syntax ([#2358](https://togithub.com/pygments/pygments/issues/2358)) - Python: - Add missing builtins ([#2334](https://togithub.com/pygments/pygments/issues/2334)) - Fix inconsistent lexing of `None` ([#2406](https://togithub.com/pygments/pygments/issues/2406)) - Rebol/Red: Don't require script headers ([#2348](https://togithub.com/pygments/pygments/issues/2348), [#2349](https://togithub.com/pygments/pygments/issues/2349)) - Spice: Update keywords ([#2336](https://togithub.com/pygments/pygments/issues/2336)) - SQL+Jinja (`analyse_text` method): Fix catastrophic backtracking ([#2355](https://togithub.com/pygments/pygments/issues/2355)) - Terraform: Add `hcl` alias ([#2375](https://togithub.com/pygments/pygments/issues/2375)) - Declare support for Python 3.11 and drop support for Python 3.6 ([#2324](https://togithub.com/pygments/pygments/issues/2324)). - Update `native` style to improve contrast ([#2325](https://togithub.com/pygments/pygments/issues/2325)). - Update \`github-dark\`\` style to match latest Primer style ([#2401](https://togithub.com/pygments/pygments/issues/2401)) - Revert a change that made guessing lexers based on file names slower on Python 3.10 and older ([#2328](https://togithub.com/pygments/pygments/issues/2328)). - Fix some places where a locale-dependent encoding could unintentionally be used instead of UTF-8 ([#2326](https://togithub.com/pygments/pygments/issues/2326)). - Fix Python traceback handling ([#2226](https://togithub.com/pygments/pygments/issues/2226), [#2329](https://togithub.com/pygments/pygments/issues/2329)). - Groff formatter: sort color definitions for reproducibility ([#2343](https://togithub.com/pygments/pygments/issues/2343)) - Move project metadata to `pyproject.toml`, remove `setup.py` and `setup.cfg` ([#2342](https://togithub.com/pygments/pygments/issues/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`. ### [`v2.14.0`](https://togithub.com/pygments/pygments/blob/HEAD/CHANGES#Version-2140) [Compare Source](https://togithub.com/pygments/pygments/compare/2.13.0...2.14.0) (released January 1st, 2023) - Added lexers: - Arturo ([#2259](https://togithub.com/pygments/pygments/issues/2259)) - GAP session ([#2211](https://togithub.com/pygments/pygments/issues/2211)) - Fift ([#2249](https://togithub.com/pygments/pygments/issues/2249)) - func ([#2232](https://togithub.com/pygments/pygments/issues/2232)) - Jsonnet ([#2239](https://togithub.com/pygments/pygments/issues/2239)) - Minecraft schema ([#2276](https://togithub.com/pygments/pygments/issues/2276)) - MIPS ([#2228](https://togithub.com/pygments/pygments/issues/2228)) - Phix ([#2222](https://togithub.com/pygments/pygments/issues/2222)) - Portugol ([#2300](https://togithub.com/pygments/pygments/issues/2300)) - TL-b ([#2247](https://togithub.com/pygments/pygments/issues/2247)) - World of Warcraft TOC format ([#2244](https://togithub.com/pygments/pygments/issues/2244), [#2245](https://togithub.com/pygments/pygments/issues/2245)) - Wren ([#2271](https://togithub.com/pygments/pygments/issues/2271)) - Updated lexers: - Abap: Update keywords ([#2281](https://togithub.com/pygments/pygments/issues/2281)) - Alloy: Update for Alloy 6 ([#1963](https://togithub.com/pygments/pygments/issues/1963)) - C family (C, C++ and many others): - Fix an issue where a chunk would be wrongly recognized as a function definition due to braces in comments ([#2210](https://togithub.com/pygments/pygments/issues/2210)) - Improve parantheses handling for function definitions ([#2207](https://togithub.com/pygments/pygments/issues/2207), [#2208](https://togithub.com/pygments/pygments/issues/2208)) - C#: Fix number and operator recognition ([#2256](https://togithub.com/pygments/pygments/issues/2256), [#2257](https://togithub.com/pygments/pygments/issues/2257)) - CSound: Updated builtins ([#2268](https://togithub.com/pygments/pygments/issues/2268)) - F#: Add `.fsx` file extension ([#2282](https://togithub.com/pygments/pygments/issues/2282)) - gas (GNU assembler): recognize braces as punctuation ([#2230](https://togithub.com/pygments/pygments/issues/2230)) - HTTP: Add `CONNECT` keyword ([#2242](https://togithub.com/pygments/pygments/issues/2242)) - Inform 6: Fix lexing of properties and doubles ([#2214](https://togithub.com/pygments/pygments/issues/2214)) - INI: Allow comments that are not their own line ([#2217](https://togithub.com/pygments/pygments/issues/2217), [#2161](https://togithub.com/pygments/pygments/issues/2161)) - Java properties: Fix issue with whitespace-delimited keys, support comments starting with `!` and escapes, no longer support undocumented `;` and `//` comments ([#2241](https://togithub.com/pygments/pygments/issues/2241)) - LilyPond: Improve heuristics, add `\maxima` duration ([#2283](https://togithub.com/pygments/pygments/issues/2283)) - LLVM: Add opaque pointer type ([#2269](https://togithub.com/pygments/pygments/issues/2269)) - Macaulay2: Update keywords ([#2305](https://togithub.com/pygments/pygments/issues/2305)) - Minecraft-related lexers (SNB and Minecraft function) moved to `pygments.lexers.minecraft` ([#2276](https://togithub.com/pygments/pygments/issues/2276)) - Nim: General improvements ([#1970](https://togithub.com/pygments/pygments/issues/1970)) - Nix: Fix single quotes inside indented strings ([#2289](https://togithub.com/pygments/pygments/issues/2289)) - Objective J: Fix catastrophic backtracking ([#2225](https://togithub.com/pygments/pygments/issues/2225)) - NASM: Add support for SSE/AVX/AVX-512 registers as well as 'rel' and 'abs' address operators ([#2212](https://togithub.com/pygments/pygments/issues/2212)) - Powershell: - Add `local:` keyword ([#2254](https://togithub.com/pygments/pygments/issues/2254)) - Allow continuations without markers ([#2262](https://togithub.com/pygments/pygments/issues/2262), [#2263](https://togithub.com/pygments/pygments/issues/2263)) - Solidity: Add boolean operators ([#2292](https://togithub.com/pygments/pygments/issues/2292)) - Spice: Add `enum` keyword and fix a bug regarding binary, hexadecimal and octal number tokens ([#2227](https://togithub.com/pygments/pygments/issues/2227)) - YAML: Accept colons in key names ([#2277](https://togithub.com/pygments/pygments/issues/2277)) - Fix `make mapfiles` when Pygments is not installed in editable mode ([#2223](https://togithub.com/pygments/pygments/issues/2223)) - Support more filetypes and compression types in `autopygmentize` ([#2219](https://togithub.com/pygments/pygments/issues/2219)) - Merge consecutive tokens in Autohotkey, Clay ([#2248](https://togithub.com/pygments/pygments/issues/2248)) - Add `.nasm` as a recognized file type for NASM ([#2280](https://togithub.com/pygments/pygments/issues/2280)) - Add `*Spec.hs` as a recognized file type for `HSpec` ([#2308](https://togithub.com/pygments/pygments/issues/2308)) - Add `*.pyi` (for typing stub files) as a recognized file type for Python ([#2231](https://togithub.com/pygments/pygments/issues/2231)) - The HTML lexer no longer emits empty spans for whitespace ([#2304](https://togithub.com/pygments/pygments/issues/2304)) - Fix `IRCFormatter` inserting linenumbers incorrectly ([#2270](https://togithub.com/pygments/pygments/issues/2270))Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.