Releases: gpoore/minted
python/v0.7.1
- Fixed bug in checking for compatible
minted.stywhenminted.styversion
< 3.8.0.
python/v0.7.0
-
Fixed compatibility with
argparsein Python 3.14 (#463, #464). -
Improved error message for temporary files with unregistered file
extensions that are modified during compilation. The message now mentions
highlightmode=immediateand\MintedRegisterTempFileExtension(#456). -
Added options
rangestartstringline,rangestartafterstringline,
rangestopstringline, andrangestopbeforestringline. -
The
mintedLaTeX package version is now passed tolatexmintedso that
latexmintedcan check for compatibility withminted.sty. This is
needed in cases when themintedLaTeX package is not used with a bundled
latexminted. Previously,minted.stychecked for compatibility with
latexminted, but there was no reverse check. -
Updated
pyproject.tomlformat for license data.
latex/v3.8.0
-
Switched to
\str_mdfive_hash:eand\file_mdfive_hash:nfor MD5 hashing.
These replace\pdf@mdfivesumand\pdf@filemdfivesumfrom the
pdftexcmdspackage. Under LuaTeX,\pdf@mdfivesumignores most
multi-byte code points (code points >= 256 for UTF-8), which can cause hash
collisions and thus incorrect documents (#467).\pdf@mdfivesumnativeprovides the desired functionality, but switching to
\str_mdfive_hash:eis simpler and allows dropping thepdftexcmds
package as a dependency. -
Updated minimum required
fvextrato v1.14.0 (2026/02/25), which uses
\str_mdfive_hash:efor MD5 hashing. There is now an error instead of a
warning iffvextrais outdated. -
Updated minimum required
latex2pydataLaTeX package to v0.7.0
(2026/02/25), which uses\str_mdfive_hash:efor MD5 hashing. There is
now an error instead of a warning if thelatex2pydataLaTeX package is
outdated. -
Updated minimum required
latexmintedto v0.7.0. -
\inputmintedand other input commands are now compatible with the
importpackage (#233, #251). This also improves compatibility with
packages that useimportinternally, such assubfiles. -
File extension parsing for identifying temp files for
highlightmode
now uses\file_parse_full_name:nNNN, which gives more robust results.
When a file has a double file extension, both extensions are checked
separately in identifying temp files. Previously, a double extension was
treated as a single unit (#457). -
Added command
\MintedRegisterTempFileExtension. This allows file
extensions for temporary files to be registered so that the files are
handled correctly regardless ofhighlightmode. Added built-in support
for.tcbtempfile extension fortcolorbox(#456). -
Added options
rangestartstringline,rangestartafterstringline,
rangestopstringline, andrangestopbeforestringline. These function
like therange*stringoptions, except that they operate on
entire lines rather than immediately at the locations of delimiting
strings. -
The
mintedLaTeX package version is now passed tolatexmintedso that
latexmintedcan check for compatibility withminted.sty. This is
needed in cases when themintedLaTeX package is not used with a bundled
latexminted. Previously,minted.stychecked for compatibility with
latexminted, but there was no reverse check. -
Added package option
cacheignoresfilecontents. This allowsfrozencache
to function with only the cache. External files accessed by commands like
\inputmintedare no longer required, since this disables cache
verification for external files (#475). -
Updated documentation for
frozencacheformintedv3 (#475). Improved
error messages forfrozencache. -
Added support for
fancyvrb'sbaselineoption (#476).
python/v0.6.0
-
Added support for the Pygments
tokenmergefilter (#446). -
.latexminted_configconfig files are now loaded from
$XDG_CONFIG_HOME/latexminted(#449), followed by the user home directory,
TEXMFHOME, and (if enabled) the current working directory. Config files
later in the sequence override settings from config files that were loaded
earlier. If$XDG_CONFIG_HOMEis not set, it defaults to~/.config.
latex/v3.7.0
-
Added support for the Pygments
tokenmergefilter and enabled it by
default (#446). This was the default inmintedv2 but was lost in the
transition to v3. -
Updated minimum required
fvextrato 2025/05/14 and added support for new
fvextraoptiontexcomments. -
Updated minimum required
latexmintedto v0.6.0. -
Updated documentation to cover loading
.latexminted_configconfig files
from$XDG_CONFIG_HOME(#449). -
Added FAQ documentation on console/REPL lexers (#267, #388).
python/v0.5.1
- Fixed a bug from v0.5.0 in determining whether
.latexminted_configis
readable (#443).
python/v0.5.0
-
Improved handling of
.latexminted_config. Invalid config data no longer
causes an uncaught error, resulting in incorrect error messages on the
LaTeX side (#438). An empty config file no longer causes an uncaught error
under some circumstances. -
Improved
--helpmessage (#404). -
Added man page for Python executable (#403).
-
Updated dependency requirements to
latex2pydata>= 0.5.0 and
latexrestricted>= 0.6.2. -
When loading data, switched from
schema_missing='rawstr'to
schema_missing='verbatim'for full compatibility withlatex2pydata
v0.5.0.
latex/v3.6.0
-
Updated minimum required
latexmintedto v0.5.0. -
In the
latexminted.pylauncher script, replaced__version__with
__launcher_version__and switched to date-based versioning to prevent
confusion between the launcher script version and thelatexmintedlibrary
version.
latex/v3.5.1
- Fixed a bug from v3.5.0 related to calculating input line numbers that
caused errors with\inputminted(#435).
python/v0.4.0
-
rangeregexis now compatible with Python < 3.11. -
Errors in compiling regular expressions for
rangeregexare now always
caught and translated into LaTeX errors. -
Improved error messages when
rangeregex, possibly combined with
rangeregexmatchnumber, fails to find a match. -
A security error related to
.latexminted_configis no longer always
raised when dotfiles are writable by LaTeX (openout_any=a). An error is
now raised only when.latexminted_configactually exists under these
circumstances.