@@ -10,52 +10,87 @@ Version 2.21.0
1010- New lexers:
1111
1212 * BitBake (#3103)
13- * Caddyfile
13+ * Caddyfile (#3225)
1414 * CEL (#3048)
1515 * PureScript (#1077, #3054)
1616
1717- Updated lexers:
1818
1919 * Bash: Fix coloured keyword at the beginning of a name (#2926)
2020 * Boogie: Add missing Boogie and Civl Verifier keywords (#3156)
21+ * C#:
22+ - Recognize interpolated verbatim strings with either ``$@`` or ``@$``
23+ prefixes (#2685)
24+ - Support dollar-prefixed and multi-quote raw strings (#3129, #2897)
25+ - Recognize ``union`` (#3182)
26+ * C/C++:
27+ - Add C23/C++26 attributes (#3084)
28+ - Add more C2Y keywords (#3092)
29+ - Highlight a function following a namespace body (#2928)
30+ - Fix C/C++ lexer support for multiline pre-processor comments (#3051)
31+ - Add ``.ipp`` as a file extension (#3141, #1008)
2132 * Clojure: Recognize named, octal and unicode character literals such as
2233 ``\space`` and ``\o377`` as a single token (#979)
34+ * Csound: Add missing opcode parameter type letter (#3161)
2335 * CUDA: Derive from the C++ lexer instead of C to highlight C++
2436 constructs such as ``template``, ``class`` and ``namespace`` (#3127)
25- * C++: Add C23/C++26 attributes (#3084)
26- * C++: Highlight a function following a namespace body (#2928)
27- * C#: Recognize interpolated verbatim strings with either ``$@`` or ``@$``
28- prefixes (#2685)
2937 * D: Allow non-ASCII (Unicode) identifiers (#1088)
38+ * Fish: Fix single quote backslash escape (#3138, #2821)
39+ * Go: Various lexer improvements (#3199)
40+ * GoogleSQL: Require a word break after ``SET`` (#3167)
41+ * Hexdump: Only match valid digits (#3200, #2847)
3042 * JavaScript: Highlight the ``arguments`` object (#3146)
3143 * Jsonnet: Recognize colons in array slice expressions (#2828)
3244 * JSX: Allow apostrophes in element text (#2816)
45+ * Julia: Fix rstrings backslash (#3140, #2537)
3346 * Kotlin: Support companion objects without an explicit name (#2525)
3447 * Kotlin: Don't let a nullable type marker (``?``) consume the following
3548 character, so ``Foo?,`` and ``a?:b`` tokenize correctly (#2964)
3649 * Kusto: Recognize member-access dots in dynamic objects (#2779)
37- * Markdown: Highlight bold-italics (``***...***`` and ``___...___``) (#3067)
50+ * Lua: Various improvements (#3143)
51+ * Macaulay2: Update symbols to 1.26.05 (#3120)
52+ * Markdown:
53+ - Highlight bold-italics (``***...***`` and ``___...___``) (#3067)
54+ - Fix mention regex to support hyphens in usernames (#3139, #3135)
3855 * Markdown, reStructuredText, TiddlyWiki5: Fix wrong token offsets for
3956 embedded code blocks (#3133)
4057 * Mathematica: Recognize ``\[Name]`` named-character escapes such as
4158 ``\[Nu]`` instead of emitting an ``Error`` token (#3097)
4259 * MATLAB, Octave, Scilab: Allow ``...`` line continuations in function
4360 definition signatures (#659)
61+ * MySQL: Require a word break after ``SET`` (#3110)
62+ * PostgreSQL: Add more keywords (#3066)
63+ * Python:
64+ - Recognize ``sentinel`` (#3114)
65+ - Recognize ``frozendict`` (#3119)
66+ - Recognize lazy imports (#3115)
67+ * reStructuredText: Allow ``.`` and ``+`` in directive/role names (#3085)
4468 * Ruby: Don't duplicate the body of an unterminated heredoc (#2998)
4569 * Ruby: Treat ``<<`` after ``)``, ``]`` or ``}`` as the shift operator
4670 rather than the start of a heredoc (#760)
4771 * SCSS: Recognize variable references in property values (#2818)
72+ * Shell: Recognize chevron prompts (#3096)
73+ * Smithy: Fix text blocks and add missing syntax (#3168)
4874 * Swift: Keep ``func`` a keyword in ``class func`` type methods (#1125)
4975 * Tcl: Stop ``$name`` variable references at a dash (#1720)
5076 * TeX: Recognize LaTeX math environments as math (#3034)
77+ * Twig: Allow uppercase letters at the start of identifiers (#3159, #2965)
5178 * TypeScript: Only treat ``module`` as a keyword when followed by
5279 whitespace, so identifiers like ``modules`` and ``module.exports``
5380 are highlighted correctly (#2823)
54- * YAML: Add ``yml`` alias (#3169), recognize non-breaking spaces as valid
55- scalar content (#2827)
5681 * Vala: Recognize verbatim strings before ordinary quoted strings (#2861)
5782 * Vala: Recognize conditional compilation directives (#2858)
83+ * Vim:
84+ - Bump the syntax file to vim 9.2 (#3183, #3174)
85+ - Small improvements to the VimScript lexer (#3173)
86+ * YAML: Add ``yml`` alias (#3169), recognize non-breaking spaces as valid
87+ scalar content (#2827)
5888 * WebAssembly: Recognize sign-extension operators (#2991, #3160)
89+ * XML: Mark SVG files as XML (#3093)
90+
91+ - New styles:
92+
93+ * Night Owl (#3132)
5994
6095- Fix catastrophic backtracking in ``looks_like_xml`` (#2931, #3112)
6196- Improve monokai theme colors (#3100)
@@ -66,6 +101,10 @@ Version 2.21.0
66101- RawTokenFormatter: fix a crash when ``error_color`` is set (#3215)
67102- Groff formatter: don't duplicate a character when word-wrapping (``wrap``)
68103 a token that is not at the end of a line (#3201)
104+ - Add support for Python 3.15 (#3099)
105+ - Fix invalid ``-L`` values report success (#3217)
106+ - Allow ``transparent`` as a color style definition (#3180, #3170)
107+ - HtmlFormatter: ``"`` and ``'`` now render literally (#3185)
69108
70109Version 2.20.0
71110--------------
0 commit comments