github pantor/inja v3.0.0
Version 3.0

latest releases: v3.4.0, v3.3.0, v3.2.0...
3 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.

Don't miss a new inja release

NewReleases is sending notifications on new releases.