Skip to content
Pre-release

@jeromesimeon jeromesimeon released this Apr 5, 2019 · 19 commits to master since this release

This release features brand new markup for specifying the format of Dates and Times in templates, improvements to the metadata in templates and various internal improvements and bug fixes.

Install the latest release of the Cicero command-line tool with
npm i -g @accordproject/cicero-cli

Templates Markup

  • 🕑 You can now specify your own format for date and time in the natural language grammar for templates. (#300 , #63) E.g., the following template variable:
[{dateTimeProperty as "D MMMM YYYY HH:mm:ss.SSSZ"}]

lets you parse contract text containing a date and time written as:

1 January 2018 05:15:20.123+05:00

System:

  • 🔬The new metadata for templates provides a clearer distinction between source template archives and compiled template archives (#328)
  • ⚙️ A completely redesigned execution engine, with two distinct instantiations: one using https://github.com/patriksimek/vm2 for sandboxed evaluation, and the other using JavaScript eval for browser support
  • ⚙️ A new cicero-test package better isolates testing support from the rest of the system

Bug fixes

Assets 2
You can’t perform that action at this time.