v1.3 beta release 5 (carnival release)
Pre-release
Pre-release
Bug fix for beta-4:
The operator ==
did not handle boolean values.
This release opens a new dimension for generating deployment manifests by supporting access to status information of deployments. This can be used to influence the generation of multiple inter-dependent deployments described in a single yaml template.
Here is the list of new features:
- marshal and unmarshal yaml and json strings from/as parts of the yaml document (
parse
,asjson
andasyaml
) - stream content from the yaml document into a command processing and catch its result (
pipe
) - function
catch
offers a possibility to handle evaluation errors - function
sync
supports the synchronization of the template processing with external content - functions
bcrypt
andbcrypt_check
can be used to generate and validate bcrypt based password hashes - function
write
writes content to files - option
--path
can be used to specify a sub path of the document for the output - option
--split
can be used to split a list output into a multi document stream - extend the reference lookup for nested merge function with access to outer bindings
- enrich the
__ctx
field to offer access to all levels of outer documents in merge functions. - filtering of maps and lists via
select
statement - importing of multi documents (as list of nodes) with
read
modeimportmulti
andmultiyaml
- access to defining scope in lambda functions using scope literal
_
- access to template and definining scope in templates using scope literal
_
- scoped expressions with
( "alice"=25 ) expr
- scope literal
__
- support of negative list indices
- support of regular list index syntax in dynaml without dot
- improved error reporting with call stack of lambda function and location of parsing errors in dynaml
expressions. - function
lookup_file
to lookup files and directories in a list of directories - function
tempfile
to use data files temporarily during the template processig - expression
merge none
disables field merging - operator
//
to default invalid values - function
stub
now accepts a field list argument, also