Skip to content

Latest commit

 

History

History
94 lines (67 loc) · 2.62 KB

CHANGES.md

File metadata and controls

94 lines (67 loc) · 2.62 KB

Changelog

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

Changed

1.0.0 - 2020-10-15

Changed

  • Released and required Clarity.ml 0.2.0.
  • Generated JavaScript code now mentions the used Sworn version.
  • Some improvements to the WebAssembly target.

Added

  • More documentation in the README.

0.4.0 - 2020-10-06

Changed

  • 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.

Added

  • 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

Changed

  • Rewrote the Clarity parser to support more of the syntax.
  • The JavaScript target now requires Clarity.js.

Added

  • Support for the buff, principal, response, and tuple types.
  • Support for buff and uint literals.
  • Support for { k: v } tuple literals.
  • Support for function calls.
  • Support for if expressions.
  • Support for is-ok, is-err, and err.
  • Support for try! and all unwrap* forms.
  • Support for append and concat.
  • Support for filter, fold, and map.
  • Support for to-int and to-uint.

0.2.0 - 2020-09-22

Added

  • 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 and string-utf8 types.

0.1.0 - 2020-09-18

Added

  • The first public prototype.
  • Compiles the counter.clar example.