| 1 | # Changelog — latex2pydata LaTeX package |
| 2 | |
| 3 | |
| 4 | ## v0.7.0 (2026/02/25) |
| 5 | |
| 6 | * Switched to `\str_mdfive_hash:e` for MD5 hashing. This replaces |
| 7 | `\pdf@mdfivesum` from the `pdftexcmds` package. Under LuaTeX, |
| 8 | `\pdf@mdfivesum` ignores most multi-byte code points (code points >= 256 |
| 9 | for UTF-8), which can cause hash collisions (#3, gpoore/minted#467). |
| 10 | |
| 11 | `\pdf@mdfivesumnative` provides the desired functionality, but switching to |
| 12 | `\str_mdfive_hash:e` is simpler and allows dropping the `pdftexcmds` |
| 13 | package as a dependency. |
| 14 | |
| 15 | * Minimum supported `fvextra` is now v1.14.0 (2026/02/25). |
| 16 | |
| 17 | |
| 18 | |
| 19 | ## v0.6.0 (2025/03/26) |
| 20 | |
| 21 | * `\pydatasetfilename` now automatically reuses file handles when files are |
| 22 | closed, so that the total number of file handles created is never more than |
| 23 | the maximum number of files open simultaneously. This minimizes the |
| 24 | potential for "`No more room for a new \write`" errors. Previously, one |
| 25 | file handle was created per file (#2). |
| 26 | |
| 27 | |
| 28 | |
| 29 | ## v0.5.0 (2025/03/03) |
| 30 | |
| 31 | * Renamed schema missing setting `rawstr` to `verbatim`. |
| 32 | |
| 33 | * Improved schema documentation. |
| 34 | |
| 35 | * Renamed `*mlvaluestart` macros to `*mlvalueopen` and renamed `*mlvalueend` |
| 36 | macros to `*mlvalueclose`, so that `mlvalue` macros are consistent with |
| 37 | `dict` and `list` macros for handling opening/closing delimiters. The old |
| 38 | macros are retained for now for backward compatibility. |
| 39 | |
| 40 | |
| 41 | |
| 42 | ## v0.4.0 (2024/11/17) |
| 43 | |
| 44 | * Replaced buffer index counter with a macro to prevent issues with commands |
| 45 | and environments such as `\text` from `amsmath` that modify counter |
| 46 | behavior. |
| 47 | |
| 48 | |
| 49 | |
| 50 | ## v0.3.0 (2024/10/16) |
| 51 | |
| 52 | * Replaced buffer length counters with macros to prevent issues with |
| 53 | `\includeonly` resetting counters. |
| 54 | |
| 55 | |
| 56 | |
| 57 | ## v0.2.0 (2024-05-16) |
| 58 | |
| 59 | * Operations on file handles, file names, and buffers are now global. |
| 60 | This prevents errors due to groups. |
| 61 | |
| 62 | * `\pydatasetfilehandle`, `\pydatareleasefilehandle`, `\pydatasetfilename`, |
| 63 | and `\pydataclosefilename` are redesigned to deal with cases where the same |
| 64 | file is opened, written, closed, and then later reopened and overwritten. |
| 65 | `\pydatasetfilename` now reuses file handles when the same file is |
| 66 | opened and closed multiple times. `\pydataclosefilename` no longer |
| 67 | attempts to close files `\AtEndDocument`, since that can interfere with |
| 68 | files that need to remain open as long as possible. |
| 69 | |
| 70 | * Added new commands `\pydatawritekeyedefvalue` and |
| 71 | `\pydatabufferkeyedefvalue`. These `\edef` the value before interpreting |
| 72 | it as verbatim text. |
| 73 | |
| 74 | * Simplified implementation of `pydatabuffermlvalue` environment, based on |
| 75 | latest `fvextra`. |
| 76 | |
| 77 | * Added error messages for unknown file handles and file names. |
| 78 | |
| 79 | * Added additional state and data checks in `\pydatawritebuffer`. |
| 80 | |
| 81 | * Added documentation for `\pydatawritemlvaluestart`, |
| 82 | `\pydatawritemlvalueline`, `\pydatawritemlvalueend`, |
| 83 | `\pydatabuffermlvaluestart`, `\pydatabuffermlvalueline`, |
| 84 | `\pydatabuffermlvalueend`. |
| 85 | |
| 86 | * Updated `tcblisting` usage in docs for compatibility with the latest |
| 87 | `tcolorbox`. |
| 88 | |
| 89 | |
| 90 | |
| 91 | ## v0.1.0 (2023-11-19) |
| 92 | |
| 93 | * Initial release. |