Skip to content

Releases: gpoore/minted

python/v0.7.1

04 Mar 04:05

Choose a tag to compare

  • Fixed bug in checking for compatible minted.sty when minted.sty version
    < 3.8.0.

python/v0.7.0

04 Mar 01:09

Choose a tag to compare

  • Fixed compatibility with argparse in 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=immediate and \MintedRegisterTempFileExtension (#456).

  • Added options rangestartstringline, rangestartafterstringline,
    rangestopstringline, and rangestopbeforestringline.

  • The minted LaTeX package version is now passed to latexminted so that
    latexminted can check for compatibility with minted.sty. This is
    needed in cases when the minted LaTeX package is not used with a bundled
    latexminted. Previously, minted.sty checked for compatibility with
    latexminted, but there was no reverse check.

  • Updated pyproject.toml format for license data.

latex/v3.8.0

04 Mar 01:35

Choose a tag to compare

  • Switched to \str_mdfive_hash:e and \file_mdfive_hash:n for MD5 hashing.
    These replace \pdf@mdfivesum and \pdf@filemdfivesum from the
    pdftexcmds package. Under LuaTeX, \pdf@mdfivesum ignores most
    multi-byte code points (code points >= 256 for UTF-8), which can cause hash
    collisions and thus incorrect documents (#467).

    \pdf@mdfivesumnative provides the desired functionality, but switching to
    \str_mdfive_hash:e is simpler and allows dropping the pdftexcmds
    package as a dependency.

  • Updated minimum required fvextra to v1.14.0 (2026/02/25), which uses
    \str_mdfive_hash:e for MD5 hashing. There is now an error instead of a
    warning if fvextra is outdated.

  • Updated minimum required latex2pydata LaTeX package to v0.7.0
    (2026/02/25), which uses \str_mdfive_hash:e for MD5 hashing. There is
    now an error instead of a warning if the latex2pydata LaTeX package is
    outdated.

  • Updated minimum required latexminted to v0.7.0.

  • \inputminted and other input commands are now compatible with the
    import package (#233, #251). This also improves compatibility with
    packages that use import internally, such as subfiles.

  • 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 of highlightmode. Added built-in support
    for .tcbtemp file extension for tcolorbox (#456).

  • Added options rangestartstringline, rangestartafterstringline,
    rangestopstringline, and rangestopbeforestringline. These function
    like the range*string options, except that they operate on
    entire lines rather than immediately at the locations of delimiting
    strings.

  • The minted LaTeX package version is now passed to latexminted so that
    latexminted can check for compatibility with minted.sty. This is
    needed in cases when the minted LaTeX package is not used with a bundled
    latexminted. Previously, minted.sty checked for compatibility with
    latexminted, but there was no reverse check.

  • Added package option cacheignoresfilecontents. This allows frozencache
    to function with only the cache. External files accessed by commands like
    \inputminted are no longer required, since this disables cache
    verification for external files (#475).

  • Updated documentation for frozencache for minted v3 (#475). Improved
    error messages for frozencache.

  • Added support for fancyvrb's baseline option (#476).

python/v0.6.0

15 May 01:26

Choose a tag to compare

  • Added support for the Pygments tokenmerge filter (#446).

  • .latexminted_config config 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_HOME is not set, it defaults to ~/.config.

latex/v3.7.0

15 May 01:35

Choose a tag to compare

  • Added support for the Pygments tokenmerge filter and enabled it by
    default (#446). This was the default in minted v2 but was lost in the
    transition to v3.

  • Updated minimum required fvextra to 2025/05/14 and added support for new
    fvextra option texcomments.

  • Updated minimum required latexminted to v0.6.0.

  • Updated documentation to cover loading .latexminted_config config files
    from $XDG_CONFIG_HOME (#449).

  • Added FAQ documentation on console/REPL lexers (#267, #388).

python/v0.5.1

28 Mar 00:28

Choose a tag to compare

  • Fixed a bug from v0.5.0 in determining whether .latexminted_config is
    readable (#443).

python/v0.5.0

06 Mar 15:40

Choose a tag to compare

  • 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 --help message (#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 with latex2pydata
    v0.5.0.

latex/v3.6.0

06 Mar 16:26

Choose a tag to compare

  • Updated minimum required latexminted to v0.5.0.

  • In the latexminted.py launcher script, replaced __version__ with
    __launcher_version__ and switched to date-based versioning to prevent
    confusion between the launcher script version and the latexminted library
    version.

latex/v3.5.1

13 Feb 05:45

Choose a tag to compare

  • Fixed a bug from v3.5.0 related to calculating input line numbers that
    caused errors with \inputminted (#435).

python/v0.4.0

10 Feb 04:59

Choose a tag to compare

  • rangeregex is now compatible with Python < 3.11.

  • Errors in compiling regular expressions for rangeregex are 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_config is no longer always
    raised when dotfiles are writable by LaTeX (openout_any=a). An error is
    now raised only when .latexminted_config actually exists under these
    circumstances.