v0.4.6
Pre-release
Pre-release
Cicero v0.4.6
✨ The community is growing! This week we're indebted to our new contributors @kach, @jbesq777 @jcarpenter67, @jhoogstraat & @peterhunn. Great work guys!
Install the latest release of the Cicero command-line tool with
npm i -g @accordproject/cicero-cli
Features
- 🏋️♀️
composer-common
has been on a diet, which means that Cicero can grow on even more exciting environments. Smart Contracts on FaaS, anyone? https://github.com/hyperledger/composer/pull/4200 - 📜 Ergo. Now at v0.1.2 from 0.0.68, @jeromesimeon & @kach have been busy! Updates include:
- 🗺 Improved compiler & error messages with location information so that you know exactly where things went wrong.
- 👓 Namespace resolution support & standard library functions clean up your Ergo logic so that it's easier to read.
- 🗽 Syntax changes:
declare variable
is nowdeclare constant
in declarations andlet
in expressions - 🔁 Ergo now has a sexy REPL (read-eval-print-loop) tool thanks to @kach. This lets us execute Ergo snippets on the command line, and there's lots more to come I'm told! accordproject/ergo#272
- 💰 @jcarpenter67 has seen the money with his first commit. Thanks John for your contribution of a digital currency model to the Models Repository
- 🏛Template libraries can be filtered to just retrieve the latest version of each template. #153 . As seen at https://templates.accordproject.org
Fixes
- 🐞Instead of throwing errors,
Template.getRequestTypes
,Template.getResponseTypes
,Template.getEmitTypes
,Template.getStateTypes
now return empty arrays if the template doesn't have any logic. #154 - 🐞 Error when installing the
ergo-cli
with npm (thanks to @jhoogstraat). accordproject/ergo#270
Documentation
- 📚 @jbesq777 has been at it again! Yet more beautiful words to describe Ergo Contracts and Clauses. https://docs.accordproject.org/docs/next/ergo-lang.html#contract-declarations
- 📘 The template specification has now moved into the docs site, https://docs.accordproject.org/docs/next/cicero-specification.html
Fame
- 🙇♀️ We were flattered by our friends over at https://github.com/hyperledger/composer/ to be featured in the world-famous Conga Comic (@EdMoffatt is a ⭐️)
If you are new to Conga Comics, then you can view the complete Conga Comic collection at https://congacomic.tumblr.com