Skip to content

v1.3 beta release 6

Pre-release
Pre-release
Compare
Choose a tag to compare
@mandelsoft mandelsoft released this 16 Mar 18:23
· 131 commits to dev since this release

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 and asyaml)
  • 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 bcryptand bcrypt_checkcan be used to generate and validate bcrypt based password hashes
  • functions lower, upper and sort (with lambda compare funtion support)
  • function rand to generate random numbers and strings
  • 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
  • state support using option --state
  • 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.
  • map mode for map statement
  • filtering of maps and lists via select statement
  • importing of multi documents (as list of nodes) with read mode importmulti and multiyaml
  • parsing to and reading of templates
  • 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
  • support of json like string literals in dynaml
  • omit _ in inline lambda expressions as part of a statement syntax (like map[]) to support
    such statements in self-reflective lambdas
  • 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 list_files to list directory entries.
  • 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
  • function merge now supports a list of maps as argument
  • function x509parsecert
  • regexp variants for splitand replace
  • replace with lambda based replacement
  • offering some dynaml libraries