Skip to content

Template Engine v2.0.0

Choose a tag to compare

@dselman dselman released this 11 Jul 13:38
· 141 commits to main since this release

Breaking change to pass an optional options argument to the interpreter, generated code and user functions. The options object currently defines two keys:

  1. now : ISO 8601 formatted string to specify the value of the current date and time for the template. The value is passed to the dayjs function.
  2. locale : the default locale for the template. For example, will be used for Join Nodes if not locale is set explicitly. For example, passed to Intl.ListFormat