Inja v3.5 Release Notes

Release Date: 2025-10-18 // 8 months ago
  • ⚡ Improvements

    • Switched to std::filesystem::path for referencing file locations.
    • ➕ Added pipe syntax support for function calls like in Jinja2 (#296, thanks to @navrocky)
    • ➕ Added HTML auto escape feature (#292, thanks to @berthubert)
    • ➕ Added replace method (#306, thanks to @fxmr41)
    • ➕ Added capitalize method (#282, thanks to @asciiiii)

    🛠 🐛 Bug Fixes

    • 🛠 Fixed local stack memory leakage when parsing (#302, thanks to @vulder)
    • 🛠 Fixed installation using meson (#310 and #312, thanks to @ximion)
    • 🛠 Fixed cmake not finding embedded json header file (#266, thanks to @mhier)
    • 🛠 Fixed several clang-tidy and compiler warnings

Previous changes from v3.4

  • ⚡ Improvements

    • 🚀 With this release, inja switched to C++17 and makes extensive use of string_view without providing a polyfill for older compilers.
    • ➕ Added an include callback to make finding templates via include more flexible.
    • ➕ Added options to Meson build system, e.g. for disabling building tests (#216, thanks to @bbastin and @tristan957).
    • ➕ Added a check in the template parsing for too few arguments.

    🛠 🐛 Bug Fixes

    • 🛠 Fixed parsing of expression enclosed by paranthesis (#247, thanks to @kubo).
    • 🛠 Fixed integer overflow by using the underlying json data types.
    • 🛠 Fixed the parsing of numbers with whitespaces in between (#219).
    • 🛠 Fixed searching for included templates in the input directory (thanks to @davidchall).
    • 🛠 Fixed warnings in MSVC 2019 (#230, thanks to @stanmihai4).