Skip to content

Releases: CopernicaMarketingSoftware/SMART-TPL

SMART-TPL 1.2.3

17 Apr 10:04
Compare
Choose a tag to compare
  • added date_format modifier

SMART-TPL 1.2.2

15 Mar 17:07
Compare
Choose a tag to compare
  • fixed dealing with modifiers when a template is compiled into a shared library

SMART-TPL 1.2.1

15 Mar 12:07
758754b
Compare
Choose a tag to compare
  • Fixed version number

SMART-TPL 1.2.0

15 Mar 12:01
Compare
Choose a tag to compare
SMART-TPL 1.2.0 Pre-release
Pre-release
  • added support for the operator =~ that can be used to match regular expression, this new operator only works for new version templates
  • the strcmp function that is internally used to compare strings has been fixed because it did not order strings alphabetically (short strings were always smaller than long string, instead of comparing them lexicographically, only strings of the same size were checked lexicographically)
  • bugfix: variable modifier were not working if they were user in string comparisons (for example: {if $name|lower == "emiel"}). This has been fixed
  • fixed issue introduced by previous commits, outputting variables with a modifier was no longer working
  • the expression parser is much more relaxed than it used to be, it now is permitted to use expression in many more places. This fixes the issue that boolean operators could not be grouped using parenthesis, and it also opens up many other use cases for expressions that were not yet supported (but it might cause compatibility issues if old templates were relying on "odd" behavior of the old operator preference rules. Also fixed the boolean expressions were not outputted (like "{$a and $b}")

SMART-TPL 1.1.2

26 Feb 12:58
7413f2c
Compare
Choose a tag to compare
  • Updated the list of supported openssl versions
  • Fixed strstr modifier, added strpos modifier, removed lvariant linker flag from test makefile
  • Added check for value overflow
  • Remove apostrophes from flex files to make it work with Flex 2.6.4

SMART-TPL 1.1.1

24 Oct 11:35
Compare
Choose a tag to compare
  • added missing dependency on functional header
  • fix broken test on ubuntu 16.10 because strings were not passed by reference

SMART-TPL 1.1.0

08 Aug 11:21
Compare
Choose a tag to compare
  • Added v2 version of the tokenizer that is more easy on parsing curly braces.
  • The SmartTpl::Buffer and SmartTpl::File objects now accept an optional version parameter that can be set to 1 (for backwards compatibility) and 2 (for state-of-the-art parsing). The new version is more forgiving in parsing standalone curly braces, and does not treat them as special characters that much.

SMART-TPL 1.0.2

04 May 09:53
Compare
Choose a tag to compare
  • fixed crashes when multiple personalization processes were running in multiple threads

SMART-TPL 1.0.1

22 Sep 11:25
Compare
Choose a tag to compare
  • Fixed tests

SMART-TPL 1.0.0

14 Jun 12:41
Compare
Choose a tag to compare
  • Removed std::move call for unnamed temporaries as this only hinders copy elision
  • Added support for upcoming openssl releases
  • The spacify modifier could throw, so put it between a try catch
  • Modifier api will now accept a const Value& instead of a const VariantValue&
  • Fix issue with double frees when assigning an array