Grantlee version 5.2 (Alles hat ein Ende, nur die Wurst hat zwei) now available

The Grantlee community is pleased to announce the release of Grantlee version 5.2.0.

For the benefit of the uninitiated, Grantlee is a set of Qt based libraries including an advanced string template system in the style of the Django template system.

{# This is a simple template #}
{% for item in list %}
    {% if item.quantity == 0 %}
    We're out of {{ item.name }}!
    {% endif %}
{% endfor %}

Included in this release contains a major update to the script bindings used in Grantlee to provide Javascript implementations of custom features. Allan Jensen provided a port from the old QtScript bindings to new bindings based on the QtQml engine. This is a significant future-proofing of the library. Another feature which keeps pace with Qt is the ability to introspect classes decorated with Q_GADGET provided by Volker Krause. Various cleanups and bug fixes make up the rest of the release. I made some effort to modernize it as this is the last release I intend to make of Grantlee.

This release comes over 3 and a half years after the previous release, because I have difficulty coming up with new codenames for releases. Just joking of course, but I haven’t been making releases as frequently as I should have, and it is having an impact on the users of Grantlee, largely in KDE applications. To remedy that, I am submitting Grantlee for inclusion in KDE Frameworks. This will mean releases will happen monthly and in an automated fashion. There is some infrastructure to complete in order to complete that transition, so hopefully it will be done early in the new year.

3 Responses to “Grantlee version 5.2 (Alles hat ein Ende, nur die Wurst hat zwei) now available”

  1. Links 19/12/2019: Mesa 19.3.1, WordPress 5.3.2 and Kdenlive 19.12 Released | Techrights Says:

    […] Grantlee version 5.2 (Alles hat ein Ende, nur die Wurst hat zwei) now available […]

  2. Grantlee version 5.3 now available | Steveire's Blog Says:

    […] previously announced the end of new Qt5-based Grantlee releases. The Grantlee template system is to find new life as […]

  3. Stephen Kelly: Grantlee version 5.3 now available - DZTECHNO Says:

    […] beforehand introduced the top of recent Qt5-based Grantlee releases. The Grantlee template system is to seek out new life […]

Leave a comment