Releases: completium/archetype-lang
Releases · completium/archetype-lang
[1.2.2] - 2021-03-09
Added
- records shaping with
as
- add
parameter
- add left and right shift operators (
<<|
and|>>
) - add divmod and three-way comparison operators (resp. EDIV and COMPARE in michelson)
- add
Unit
literal
Changed
- handle decimal for percent and currency literals
- getter send
transferred
(AMOUNT) instead of 0tz
Removed
- Execution language target (LIGO, SmartPy and Scaml)
head_tail
(replace bymatch ... with ... end
)
[1.2.1] - 2020-10-01
Added
- Add contract metadata tzip-16 (https://gitlab.com/tzip/tzip/-/blob/master/proposals/tzip-16/tzip-16.md)
[1.2.0] - 2020-09-15
Added
- Michelson backend
- specification declaration for asset, variable, entry and function
fails
section in specification declarationxor
operatorhead_tail
andreverse
builtin functions for listgetter
entry
Changed
- remove
set_
andmap_
prefix for container builtins - replace
entrysig
bycontract
[1.1.2] - 2020-08-13
Changed
- Refactoring of whyml generation
[1.1.1] - 2020-08-11
Added
- in
require
andfailif
section, add custom failed with respectivellyotherwise
andwith
to_string
convert argument to a string (only avalaible fornat
type for now)
Changed
fail
can take any type argumentdorequire
anddofailif
take two arguments, the second is forfail
[1.1.0] - 2020-08-05
Added
chain_id
constantunion
inter
anddiff
operator for view in formula- multi-keys asset :
identified by
can take several field name nat
type (comparison and arithmetic operations)- support for entrypoints with
entrysig
type,entrypoint
function andtransfer
withentrysig
andself
map
andset
containersrecord
structure
Removed
contract
declaration
Changed
- syntax of composite type (i.e.
list<string>
instead ofstring list
) rational
are mapped toint * nat
Fixed
caller
as asset key ininitialized by
section
[1.0.0] - 2020-06-27
Added
- Introduce
container_kind
in model pack
,unpack
functionsremoveif
for collection, aggregate and partition
Changed
- Replace
collection
byaggregate
- Replace
list
byset
container for asset container fields (Aggregate | Partition). - Rename
action
byentry
0.1.14
[0.1.14] - 2020-04-25
Added
- Crypto functions
slice
,concat
andlength
functionsisnone
,issome
,getopt
option functionsfloor
andceil
functions- add percent literal
Update
- Remove key asset for execution generation
- Mlw support for new view type
0.1.13
[0.1.13] - 2020-03-05
Added
- Contract calls
- Handle rational type
- Handle date and duration type
- Add list container
- Add print-type-contract command (-ptc)
- Add
addupdate
method for asset - Add
bytes
type
Changed
- Add guard condition in
Add
andUpdateAdd
api storage - Syntax : add identifier on signature of contract argument
- Refactor and update syntax for transition
- Verification api for asset
- Syntax : extension arguments are enclosed by parentheses
0.1.12
[0.1.12] - 2020-01-09
Added
- Add Scaml output
Changed
- Syntax : add ':' between identifier and type in declaration
id : type
(instead ofid1 type1
) - Syntax : add ',' between arguments in funciton
(id1 : type1, id2 : type2)
(instead of(id1 : type1) (id2 : type2)
) - Accept transfer is enable by default (use
refuse transfer
to disable it)