All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.1.0 - 2020-11-xx
1.0.0 - 2020-10-15
- Released and required Clarity.ml 0.2.0.
- Generated JavaScript code now mentions the used Sworn version.
- Some improvements to the WebAssembly target.
- More documentation in the README.
0.4.0 - 2020-10-06
- Arithmetic and relational operations are no longer emitted inline, but instead call the respective Clarity.js functions. While producing uglier code, this is necessary for proper 128-bit support as well as for correct underflow/overflow checking.
- Support for
letexpressions. - Support for
matchexpressions. - Support for
as-max-len?. - Support for
asserts!. - Support for
block-height. - Support for
contract-caller. - Support for
get. - Support for
tx-sender. - Support for function references.
- Better support for tuple expressions in various forms.
0.3.0 - 2020-09-29
- Rewrote the Clarity parser to support more of the syntax.
- The JavaScript target now requires Clarity.js.
- Support for the
buff,principal,response, andtupletypes. - Support for
buffanduintliterals. - Support for
{ k: v }tuple literals. - Support for function calls.
- Support for
ifexpressions. - Support for
is-ok,is-err, anderr. - Support for
try!and allunwrap*forms. - Support for
appendandconcat. - Support for
filter,fold, andmap. - Support for
to-intandto-uint.
0.2.0 - 2020-09-22
- Support for all arithmetic operations.
- Support for boolean literals and logic.
- Support for relational operators.
- Support for optional values and expressions.
- Support for sequence operators.
- Support for
define-constant. - Support for
define-map. - Support for
listtypes and expressions. - Support for the
string-asciiandstring-utf8types.
- The first public prototype.
- Compiles the
counter.clarexample.