This file documents any relevant changes done to logics & vistache.
3.0.0 develop
This is the current development version.
- Made Python3 compliant
- Feature: Vistache extended to left- and right-whitespace stripping, e.g.
Hello {{- 41 + 1 -}} WorldreturnsHello42World. The-after the{{or in front of the}}indicates that whitespaces in the raw block before or after will be stripped. - Feature: Vistache extended to multiple
{{|}}-blocks with different conditions - Feature: New function
lfill()andrfill()implemented to fill strings with fill chars. - Feature: New function
round()for decimal rounding
2.5.1 Vesuv
- Feature: Modulus formatting %
- Feature: Grammar & interpreter modularization for unicc #extend-Feature
- Feature: New round() function
- Feature: New function
lfill()andrfill()implemented to fill strings with fill chars. - Bugfix: Float value optimization and soft-value optimization
2.5.0 Vesuv
Release date: Jul 26, 2019
- Bugfix: More reliable value optimization within add and mul operators
- Feature: Supporting slices-syntax as with Python
- Feature: New standard function
range() - Feature: New third "lastDelim" parameter for
join(), allowing to generate strings likea, b and cautomatically fromjoin(["a", "b", "c"], ", ", " and ")
2.4.1 Agung
Release date: May 24, 2019
- Bugfix: unary operators (+, -, ~) where incorrectly traversed
2.4.0 Agung
Release date: May 17, 2019
- Feature: New functions
replace(),rstrip(),lstrip()andstrip() - Feature: Vistache-function
formatCurrency()renamed tocurrency(), added support for currency char and moved into logics - Feature: Vistache-function
htmlInsertImageimproved to flip-parameter for image flipping - Bugfix:
logics.utility.strTypevariable defines string type to use - Bugfix: More reliable empty list traversal
- Bugfix: More reliable
inandnot inoperators
2.3.0 Kilauea
Release date: Oct 2, 2018
- Changed semantics for softer value optimization
- New function
split()for logics - New function ``formatCurrency()` for Vistache
- New {{|}} else block notation added to Vistache
- Improved Vistache loop variable processing
- Avoid overriding existing keys within Vistache {{#if}} blocks
2.2.0 Etna
(Previously referred as 0.7) Release date: Apr 23, 2018
- Vistache Template Engine
- Improved semantics in interpreter
- Removed out-dated JavaScript compiler + API
- Entirely new parser implemented with UniCC v1.3
- New version numbering synchronized with ViUR
- CHANGELOG added
(Previously referred as 0.6) Release date: Nov 02, 2017
- Many bugfixes and improvements
- First version included in ViUR vi
- Major improvements
- Reworking the language and introducing the entity traversals, allowing for iterating and accessing indexes, keys or even functions
- Iterative comprehensions
- Command-line interface
- LICENSE and README files