A Template Engine for Modern C++
string_view
without providing a polyfill for older compilers.include
more flexible.extends
and blocks
.join
function (#204).round
function with precision 0
(#207).INJA_NOEXCEPTION
.$
or @
(#185).INJA_NOEXCEPTION
macro that disables throwing exceptions throughout inja (#181).First and foremost, this update improves the performance of template rendering, in particular of loops and variable printing.
Time for a new major version of inja! π
We've got a round of fixes and cool improvements for this release.
There are a couple of great improvements for inja in this release:
π₯ And a small breaking change in the development pipeline: The CMake option for disabling tests has been renamed from BUILD_TEST
to BUILD_TESTING
.
This release fixes a memory bug when including templates (#78, #68). Additionally, you can now use render_to
without creating an environment and render to general ostreams (#76).
Finally, this is the next major version of Inja. After reworking most of its internals, Inja is now up to two orders of magnitude faster than v1! (#67)
Inja now requires string_view
from C++17.
This is the first stable release of inja! π
Major improvements over the last released version are: