GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Releases · pantor/inja

Releases · pantor/inja

Version 3.5

Version 3.5 Latest
Latest
@pantor pantor released this 18 Oct 14:12
v3.5.0
7d1b460

⚡ 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

Contributors

  • @ximion
  • @asciiiii
  • @vulder
  • @mhier
  • @navrocky
  • @fxmr41
  • @berthubert
ximion, asciiiii, and 5 other contributors
Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

Spixmaster reacted with thumbs up emoji wissem01chiha and GrishaKirilin reacted with hooray emoji
All reactions
  • 👍 1 reaction
  • 🎉 2 reactions
3 people reacted

Version 3.4

Version 3.4
@pantor pantor released this 29 Jan 12:20
v3.4.0
b227644

⚡ 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).

Contributors

  • @kubo
  • @davidchall
  • @tristan957
  • @stanmihai4
  • @bbastin
kubo, davidchall, and 3 other contributors
Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

Spixmaster, GooRoo, xmen1404, xokdvium, bassel-tolba, bxrgem, and odigij reacted with thumbs up emoji
All reactions
  • 👍 7 reactions
7 people reacted

Version 3.3

Version 3.3
@pantor pantor released this 28 Jul 14:46
v3.3.0
2d51507

⚡ Improvements

  • Added template inheritance features like extends and blocks.
  • Added short circuit evaluation for logical expressions.
  • Added join function (#204).

🐛 Bug Fixes

  • Fixed the round function with precision 0 (#207).
  • Fixed a bug when compiling with INJA_NOEXCEPTION.

🔨 Further Changes

  • Added instructions for conda-forge (#187).
  • Fixed several compiler warnings (e.g. #197).
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

Spixmaster, odigij, and oleg-alexandrov reacted with thumbs up emoji
All reactions
  • 👍 3 reactions
3 people reacted

Version 3.2

Version 3.2
@pantor pantor released this 29 Jan 18:08
v3.2.0
15b0b7f

🐛 Bug Fixes

  • Do not install nlohmann json if an external version is used (#177, thanks @matusnovak).
  • Fixed issues with variable names starting with $ or @ (#185).

⚡ Improvements

  • Added the INJA_NOEXCEPTION macro that disables throwing exceptions throughout inja (#181).

🔨 Further Changes

  • Improve Readme examples and vectorize logo.
  • Fixed compiler warnings for unused size variable (#183).
Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

Spixmaster and odigij reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
2 people reacted

Version 3.1

Version 3.1
@pantor pantor released this 28 Sep 20:02
v3.1.0
dda31f4
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

First and foremost, this update improves the performance of template rendering, in particular of loops and variable printing.

⚡ Improvements

  • Added assignment statements to set a variable within a template.
  • Added whitespace control for expressions (#162, thanks to @tindy2013).
  • Added void callbacks without return values, e.g. for debugging purposes.

🐛 Bug Fixes

  • Fixed an issue of parsing nested functions (#159, thanks to @DeiRex75).
  • Fixed use of parenthesis in combination with logic operators (#155, thanks to @DeiRex75).
  • Fixed an issue with loop data in the render_to function (#165, thanks to @fishjump)

🔨 Further Changes

  • Integrated Codacity into CI and fixed several static analyzer issues.
  • Fixed several compiler warnings (#169, thanks to @tindy2013).
Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

Spixmaster and odigij reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
2 people reacted

Version 3.0

Version 3.0
@pantor pantor released this 26 Jul 11:25
v3.0.0
0239468

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.
Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

Spixmaster and odigij reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
2 people reacted

Version 2.2

Version 2.2
@pantor pantor released this 27 Dec 10:53
v2.2.0
652e378

We've got a round of fixes and cool improvements for this release.

⚡️ Improvements

  • Add whitespace control (#116, thanks to @jpcima).
  • Added new functions: select element at position, string length.
  • Throw exception if file cannot be opened (#117, thanks to @thomastrapp).
  • Bump to newer nlohmann/json (#107, thanks to @JehandadKhan).

🐛 Bug Fixes

  • Fixed scope when including templates (#118, thanks to @thomastrapp).
  • Fixed Visual Studio compiler warnings (#119, thanks to @Dodzey).

🔨 Further Changes

  • Much improved CI (#124), in particular for Visual Studio (#125, #128, thanks to @kzeslaf).
  • Move doxygen generation to GitHub CI.
Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

odigij reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted

Version 2.1

Version 2.1
@pantor pantor released this 16 Feb 11:49
v2.1.0
4c0ee3a

✨ Further Improvements

There are a couple of great improvements for inja in this release:

  • We've added a first API documentation.
  • Thanks to @gracicot and @mhhollomon, we improved cmake and meson target exports (#83, #86).
  • I've added a string_view polyfill for C++11 to C++14.
  • You can now use cget for installing inja (#88). Thanks @pfultz2!
  • Warnings in appveyor has been cleaned.

🔥 And a small breaking change in the development pipeline: The CMake option for disabling tests has been renamed from BUILD_TEST to BUILD_TESTING.

Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

odigij reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted

Version 2.0.1

Version 2.0.1
@pantor pantor released this 14 Jan 07:25
v2.0.1
0bff746

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).

Assets 2
Loading

Uh oh!

There was an error while loading. Please reload this page.

odigij reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted

Version 2.0

Version 2.0
@pantor pantor released this 23 Dec 16:15
v2.0.0
699c207
This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
GPG key ID: 4AEE18F83AFDEB23
Expired
Verified
Learn about vigilant mode.

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)

✨Further Improvements

  • We've added type checks as builtin functions (#64).
  • Loop variables are now supported in inja templates (#52).
  • Include in-memory templates (#47).
  • Inja is now easier to integrate either with the vcpkg (#45) or conan (#43) package manager.

🔥 Breaking Changes

Inja now requires string_view from C++17.

Assets 3
Loading

Uh oh!

There was an error while loading. Please reload this page.

odigij reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
1 person reacted
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.