Debian Codegraph @

texmf-dist/doc/latex/minted/CHANGELOG_LATEXMINTED_PYTHON_PACKAGE.md

raw symbols SCIP
1 # Changelog: `latexminted` — Python library for LaTeX minted package
2
3
4
5 ## v0.7.0 (2026-03-03)
6
7 * Fixed compatibility with `argparse` in Python 3.14 (#463, #464).
8
9 * Improved error message for temporary files with unregistered file
10 extensions that are modified during compilation. The message now mentions
11 `highlightmode=immediate` and `\MintedRegisterTempFileExtension` (#456).
12
13 * Added options `rangestartstringline`, `rangestartafterstringline`,
14 `rangestopstringline`, and `rangestopbeforestringline`.
15
16 * The `minted` LaTeX package version is now passed to `latexminted` so that
17 `latexminted` can check for compatibility with `minted.sty`. This is
18 needed in cases when the `minted` LaTeX package is not used with a bundled
19 `latexminted`. Previously, `minted.sty` checked for compatibility with
20 `latexminted`, but there was no reverse check.
21
22 * Updated `pyproject.toml` format for license data.
23
24
25
26 ## v0.6.0 (2025-05-14)
27
28 * Added support for the Pygments `tokenmerge` filter (#446).
29
30 * `.latexminted_config` config files are now loaded from
31 `$XDG_CONFIG_HOME/latexminted` (#449), followed by the user home directory,
32 `TEXMFHOME`, and (if enabled) the current working directory. Config files
33 later in the sequence override settings from config files that were loaded
34 earlier. If `$XDG_CONFIG_HOME` is not set, it defaults to `~/.config`.
35
36
37
38 ## v0.5.1 (2025-03-27)
39
40 * Fixed a bug from v0.5.0 in determining whether `.latexminted_config` is
41 readable (#443).
42
43
44
45 ## v0.5.0 (2025-03-06)
46
47 * Improved handling of `.latexminted_config`. Invalid config data no longer
48 causes an uncaught error, resulting in incorrect error messages on the
49 LaTeX side (#438). An empty config file no longer causes an uncaught error
50 under some circumstances.
51
52 * Improved `--help` message (#404).
53
54 * Added man page for Python executable (#403).
55
56 * Updated dependency requirements to `latex2pydata` >= 0.5.0 and
57 `latexrestricted` >= 0.6.2.
58
59 * When loading data, switched from `schema_missing='rawstr'` to
60 `schema_missing='verbatim'` for full compatibility with `latex2pydata`
61 v0.5.0.
62
63
64
65 ## v0.4.0 (2025-02-09)
66
67 * `rangeregex` is now compatible with Python < 3.11.
68
69 * Errors in compiling regular expressions for `rangeregex` are now always
70 caught and translated into LaTeX errors.
71
72 * Improved error messages when `rangeregex`, possibly combined with
73 `rangeregexmatchnumber`, fails to find a match.
74
75 * A security error related to `.latexminted_config` is no longer always
76 raised when dotfiles are writable by LaTeX (`openout_any=a`). An error is
77 now raised only when `.latexminted_config` actually exists under these
78 circumstances.
79
80
81
82 ## v0.3.2 (2024-11-24)
83
84 * `pyproject.toml`: explicitly set `build-backend` (#424).
85
86
87
88 ## v0.3.1 (2024-11-12)
89
90 * Fixed a bug in config detection that caused an error when a data file from
91 LaTeX cannot be located.
92
93
94
95 ## v0.3.0 (2024-10-29)
96
97 * Added support for new keywords options (#416): `extrakeywords`,
98 `extrakeywordsconstant`, `extrakeywordsdeclaration`,
99 `extrakeywordsnamespace`, `extrakeywordspseudo`, `extrakeywordsreserved`,
100 `extrakeywordstype`.
101
102 * Refactored version handling in `cmdline.py` to avoid unnecessary imports.
103
104 * Improved `.errlog.minted` files. Improved layout and added traceback
105 information for the origin in the LaTeX document. Fixed a bug that could
106 cause `.errlog.minted` files to be deleted when they should be kept.
107 `.errlog.minted` files now contain all error data from a compile,
108 regardless of `highlightmode` setting. Previously, only the data from the
109 last error was kept under some circumstances when `highlightmode` was not
110 `immediate`.
111
112
113
114 ## v0.2.0 (2024-10-03)
115
116 * All config data passed back to LaTeX is now processed with `\detokenize`
117 (#405).
118
119 * In a cache, `*.index.minted` files are now overwritten only when the data
120 they contain is modified. This fixes compatibility with build tools
121 (T-F-S/tcolorbox/issues/294).
122
123 * Fixed a bug that could prevent a cache from being fully cleaned when it is
124 shared by multiple documents.
125
126 * All file reading and writing for files received from/sent to LaTeX is now
127 UTF-8 (#411).
128
129 * The cache path is now processed correctly when it is an empty string,
130 instead of resulting in an error, so the `minted` package will now function
131 when `cache=false`.
132
133 * Refactored the `cleanfile` subcommand into `cleanconfig`. This is more
134 descriptive for actual usage and allows all subcommands to take the same
135 arguments.
136
137 * Added subcommand `cleantemp`, which only cleans temp files, not cache
138 files.
139
140 * All subcommands now take exactly the same arguments.
141
142 * Added short summary and links to `latexminted --version` (#404).
143
144
145
146 ## v0.1.0 (2024-09-22)
147
148 * Initial release.