Skip to content

2.5.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 Nov 14:11

Release Notes

  • minijinja-cli now supports preservation of order in maps. #611
  • Fixed an issue where CBOR was not correctly deserialized in
    minijinja-cli. #611
  • Added a lines filter to split a string into lines.
  • Bytes are now better supported in MiniJinja. They can be created from
    Value::from_bytes without having to go via serde, and they are now
    producing a nicer looking debug output. #616
  • Added the missing string filter from Jinja2. #617
  • Reversing bytes and convergint them implicitly to strings will now work
    more consistently. #619
  • Added type hints for the Python binding and relaxed maturin constraint. #590
  • minijinja-cli now allows the template name to be set to an empty
    string when --template is used, to allow suppliying a data file. #624
  • Added the missing sameas filter from Jinja2. #625
  • Tests can now support one argument without parentheses like in Jinja2
    (1 is sameas 1). #626
  • Added error context for strict undefined errors during template
    rendering. #627
  • Syntax errors caused by the lexer now include the correct position of
    the error. #630
  • minijinja-cli now has all features enabled by default as documented
    (that means also shell completion and ini). #633
  • minijinja-cli now does not convert INI files to lowercase anymore. This was
    an unintended behavior. #633
  • Moved up MSRV to 1.63.0 due to indexmap. #635
  • Added argument splatting support (*args for variable args and **kwargs
    for keyword arguments) and fixed a bug where sometimes maps and keyword
    arguments were created in inverse order. #642

Install minijinja-cli 2.5.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/mitsuhiko/minijinja/releases/download/2.5.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.5.0/minijinja-cli-installer.ps1 | iex"

Download minijinja-cli 2.5.0

File Platform Checksum
minijinja-cli-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
minijinja-cli-x86_64-apple-darwin.tar.xz Intel macOS checksum
minijinja-cli-i686-pc-windows-msvc.zip x86 Windows checksum
minijinja-cli-x86_64-pc-windows-msvc.zip x64 Windows checksum
minijinja-cli-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
minijinja-cli-i686-unknown-linux-gnu.tar.xz x86 Linux checksum
minijinja-cli-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
minijinja-cli-aarch64-unknown-linux-musl.tar.xz ARM64 MUSL Linux checksum
minijinja-cli-i686-unknown-linux-musl.tar.xz x86 MUSL Linux checksum
minijinja-cli-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum