Cicero v0.20.10
This release includes some new features, including new metadata for template authors (author name and logo), new formatting support for amounts in your template text, new options for drafting, and improvements to the cicero-server
package.
📜 Templates
- #240 You can now indicate author information in the template metadata (in the
author
field of thepackage.json
file) as well as a logo (alogo.png
file which has to have a size of 128x128 ). (contribution from @algomaster99 with support code from @arteevraina and @jeromesimeon) - #389 Variables whose type is a
Double
or aMonetaryAmount
can now be formatted in your clause or contract text e.g.,{{amount as "0,0.00 CCC"}}
over{ "$class" : "org.accordproject.money.MonetaryAmount, "doubleValue": 10000000, "currencyCode": "USD" }
will be drafted as10,000,000.00 USD
.
💻 Command Line
- #305 You can pass new options to the Cicero
draft
call on the command line.--unquoteVariables
removes quotes around string variables and Ergo formulas in your templates. (contribution from @mttrbrts with support code from @jeromesimeon)
🚰 Cicero Server
- #508
cicero-server
has been redesigned to align with the Cicero command line, now including/trigger
/draft
and/parse
endpoints. (contribution from @martinhalford with support code from @jeromesimeon)
Warning: the
/trigger/:template/:data
endpoint is deprecated. We recommend switching to the new/trigger/:template
which allows to pass the contract data as part of the http POST body