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
let
expressions. - Support for
match
expressions. - 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
, andtuple
types. - Support for
buff
anduint
literals. - Support for
{ k: v }
tuple literals. - Support for function calls.
- Support for
if
expressions. - Support for
is-ok
,is-err
, anderr
. - Support for
try!
and allunwrap*
forms. - Support for
append
andconcat
. - Support for
filter
,fold
, andmap
. - Support for
to-int
andto-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
list
types and expressions. - Support for the
string-ascii
andstring-utf8
types.
- The first public prototype.
- Compiles the
counter.clar
example.