Release Notes
- Do not panic if too large templates (too many lines or too many
columns) are loaded. The error reporting will be wrong in those
cases but the templates will load. #742
- Fixed a bug that caused unknown method callbacks to not get
proper error reporting if they cannot find a method. #743
- Added
merge_maps which is a dynamic version of the context!
merge feature, and fixed enumeration behavior when non-map objects
are attempted to be merged. #745
- Added
mj_value_new_bytes to the C-ABI. #749
- Added
mj_value_as_bytes to the C-ABI to borrow from strings or
byte values. #750
- Fixed buggy
mj_err_get_detail and mj_err_get_template_name. These
did not work correctly. To fix them the return value now needs to be
freed. #754
- Fix a compilation issue on 32bit systems when
AtomicU64 is
not available in minijinja-contrib. #755
- Correctly handle
with context and without context for
imports. #759
- The
default filter is now also registered as d for Jinja2
compatibility. #763
- The
default filter now accepts a second argument to enable lax
defaulting. #764
- Added a
striptags filter to the contrib module. #765
- Enable
pycompat by default for the Python bindings and register
the default contrib filters and tests. #767
Install minijinja-cli 2.9.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/minijinja/releases/download/2.9.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.9.0/minijinja-cli-installer.ps1 | iex"
Download minijinja-cli 2.9.0