Inja v3.0.0 Release Notes

Release Date: 2020-07-26 // almost 4 years ago
  • ๐Ÿฑ Time for a new major version of inja! ๐ŸŽ‰

    ๐Ÿฑ โšก๏ธ Improvements

    • ๐Ÿ“œ A new core parser and renderer based on an abstract syntax tree (fixing #149), allowing for:
      • Complex expressions of functions, logic expressions and statements.
      • Mathematical functions in templates.
      • Variadic callbacks with unknown number of arguments.
    • ๐Ÿ“œ Show parsing and render error positions in template (#134, thanks to @sabelka).
    • ๐ŸŽ Performance improvements, in particular for large json data (#146, thanks to @craigpepper) and large template files.
    • โšก๏ธ Update nlohmann/json to version 3.8.0 (#144, also thanks to @craigpepper).
    • ๐Ÿ‘Œ Support for GCC 4.8 (#150, thanks to @rafadesu)

    ๐Ÿฑ ๐Ÿ”จ Further Changes

    • ๐Ÿ‘ท Move all CI to GitHub Actions.
    • ๐Ÿ— Switching from Catch to Doctest as our testing framework with much better build times.

    ๐Ÿฑ ๐Ÿ”ฅ Breaking Changes

    • ๐Ÿ’… We've removed the json pointer style for variables in templates.
    • We now require nlohmann/json with a minimum version of 3.8.0.