Release Notes
- Added keyword argument support (
width, first, blank) to the indent filter for Jinja2 compatibility in Rust and Go. #864
- Added support for dotted integer lookup (for example
foo.0) in Rust and Go for Jinja compatibility. #881
- Added support for dotted filter and test names (including
foo . bar . baz) for Jinja compatibility. #879
- Fixed string escape handling to preserve unknown escapes (such as
\s) for Jinja compatibility in Rust and Go. #880
- Improved generic performance across template parsing, compilation, and rendering.
- Fixed
minijinja-cabi ownership and pointer-safety issues that could leak mj_value
values on error paths.
- Added high-priority
minijinja-cabi APIs for callback-based functions/filters/tests,
globals, loaders, path joining, auto-escape configuration, and fuel limits.
- Switched
minijinja-cabi header maintenance to manual source-based syncing and
removed cbindgen-based generation tooling.
- Added lightweight C smoke tests for
minijinja-cabi (via make -C minijinja-cabi test)
with coverage across all exported C ABI functions, and wired them into top-level
testing and CI.
- Added
render_captured and render_captured_to methods on Template which
return a Captured type holding the rendered output and the template state.
- Added
into_output method on Captured to consume and return the output string.
- Deprecated
render_and_return_state, eval_to_state, and render_to_write
in favor of the new render_captured / render_captured_to / Captured API.
Install minijinja-cli 2.18.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/minijinja/releases/download/2.18.0/minijinja-cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/mitsuhiko/minijinja/releases/download/2.18.0/minijinja-cli-installer.ps1 | iex"
Download minijinja-cli 2.18.0