v1.7.0-beta-1
Pre-releaseThis release offers a first draft version for string interpolation. It is now possible to incorporate dynaml expressions in regular yaml string values. This way string composition can be directly expressed:
name: alice
dnsname: (( name )).spiff.mandelsoft.org
Because this alpha feature is not compatible with the previous behaviour, it must be enabled by using the environment variable SPIFF_FEATURES=interpolation
, or by using the command line option --interpolation
.
Additionally a whole bunch of go's math functions for floats is now available as dynaml functions, like ceil
, abs
, sin
and much more. Type conversions are possible using the integer
, string
, float
and bool
functions.
It also fixes the evaluation of qualified reference expressions. It is possible now to refer to catch(expr).error
.
The state library and depending libraries have been extended to enable the usage of their functions in dynaml expressions generating intermediate (non-static) structural elements for the final document.
The project now uses go modules instead of godep and tool dependencies for the peg parser generator. It uses go generate to generate the parser now.