| 1 |
# Changes |
| 2 |
|
| 3 |
## 2.2.2 (2025-06-24) |
| 4 |
|
| 5 |
Continuous integration: |
| 6 |
|
| 7 |
- Switch to the GitHub Action `softprops/action-gh-release` for automatic |
| 8 |
pre-releases. (contributed by @muzimuzhi in expltools#82, e0dad5ad) |
| 9 |
|
| 10 |
Documentation: |
| 11 |
|
| 12 |
- Document the current limitations of the MikTeX distribution and using shell |
| 13 |
escape to execute Lua code. |
| 14 |
(reported by @obskyr in [witiko/markdown#566][markdown-566] and by @viocha in |
| 15 |
[witiko/markdown#573][markdown-573], escalated upstream by @witiko in |
| 16 |
[miktex/miktex#1630][miktex-1630], documented by @witiko in |
| 17 |
[witiko/markdown#574][markdown-574] and #32) |
| 18 |
|
| 19 |
These are the current limitations: |
| 20 |
1. The filenames of your .tex files may not contain spaces, see also |
| 21 |
[witiko/markdown#573][markdown-573]. |
| 22 |
2. If `-output-directory` is provided, it may not contain spaces and it won't be |
| 23 |
automatically detected by MikTeX, see also [miktex/miktex#1630][miktex-1630]. |
| 24 |
|
| 25 |
[miktex-1630]: https://github.com/MiKTeX/miktex/issues/1630 |
| 26 |
[markdown-566]: https://github.com/Witiko/markdown/issues/566 |
| 27 |
[markdown-573]: https://github.com/Witiko/markdown/issues/573 |
| 28 |
[markdown-574]: https://github.com/Witiko/markdown/pull/574 |
| 29 |
|
| 30 |
## 2.2.1 (2024-12-16) |
| 31 |
|
| 32 |
Fixes: |
| 33 |
|
| 34 |
- Prevent unintended expansion of `\input` and similar commands in |
| 35 |
`\luabridge_tl_set:Nn` in LuaTeX. (witiko/markdown#530, #29) |
| 36 |
|
| 37 |
Continuous Integration: |
| 38 |
|
| 39 |
- Use explcheck to check expl3 code in the continuous integration. |
| 40 |
(witiko/markdown#535, #30) |
| 41 |
|
| 42 |
## 2.2.0 (2024-07-03) |
| 43 |
|
| 44 |
Development: |
| 45 |
|
| 46 |
- Automatically determine value of `\c_luabridge_default_output_dirname_str` |
| 47 |
based on the current output directory. |
| 48 |
(witiko/markdown#457, #26, #27, reported by @hongy19) |
| 49 |
|
| 50 |
Continuous Integration: |
| 51 |
|
| 52 |
- Automatically test the library on both Linux and Windows. |
| 53 |
|
| 54 |
## 2.1.0 (2024-02-14) |
| 55 |
|
| 56 |
Development: |
| 57 |
|
| 58 |
- Define function `\luabridge_tl_set:Nn`. |
| 59 |
|
| 60 |
## 2.0.2 (2022-10-24) |
| 61 |
|
| 62 |
Fixes: |
| 63 |
|
| 64 |
- Fix tokenization in error-reporting code. (#17, #19) |
| 65 |
- Catch compilation errors in TeX engines other than LuaTeX. (#18, #20) |
| 66 |
|
| 67 |
Refactoring: |
| 68 |
|
| 69 |
- Remove useless uses of `\l_tmpb_tl`. (24e116d) |
| 70 |
|
| 71 |
## 2.0.1 (2022-08-16) |
| 72 |
|
| 73 |
Fixes: |
| 74 |
|
| 75 |
- Apply proper error handling when executing Lua via shell escape. (#15) |
| 76 |
|
| 77 |
## 2.0.0 (2022-08-08) |
| 78 |
|
| 79 |
Breaking Changes: |
| 80 |
|
| 81 |
- Use `\sys_get_shell:nnNTF` from l3sys instead of `\immediate\write18` and |
| 82 |
`os.execute()`. (#13) |
| 83 |
- Merges `\c_luabridge_method_write_eighteen_int` and |
| 84 |
`\c_luabridge_method_os_execute_int` into |
| 85 |
`\c_luabridge_method_shell_int`. |
| 86 |
- Removes `\g_luabridge_standard_output_filename_str` and |
| 87 |
`\c_luabridge_default_standard_output_filename_str`. |
| 88 |
|
| 89 |
Fixes: |
| 90 |
|
| 91 |
- Execute chunks that end with `end` or a Lua comment. (#11, #14) |
| 92 |
- Sandbox direct Lua access. (#11, #14) |
| 93 |
- Make nested calls defined behavior. (#8, #13) |
| 94 |
|
| 95 |
Refactoring: |
| 96 |
|
| 97 |
- Remove needless whitespaces in Lua code. |
| 98 |
- Replace (plain) TeX primitives with `\iow_*` l3file functions. (#1, #3, |
| 99 |
latex3/latex3#1105, latex3/latex3#1114. latex3/latex3#1117) |
| 100 |
- Many thanks to @josephwright, @u-fischer, and @FrankMittelbach at |
| 101 |
latex3/latex3#1114, and Hans Hagen, @hmenke, and @mojca at |
| 102 |
[dev-context][1] for helping to make l3file compatible with ConTeXt MkII. |
| 103 |
|
| 104 |
[1]: https://mailman.ntg.nl/pipermail/dev-context/2022/003912.html |
| 105 |
(A robust way of detecting ConTeXt from LaTeX3) |
| 106 |
|
| 107 |
## 1.0.1 (2022-06-27) |
| 108 |
|
| 109 |
This release includes PDF documentation of lt3luabridge. |
| 110 |
|
| 111 |
## 1.0.0 (2022-06-26) |
| 112 |
|
| 113 |
Initial release |