Changelog for indigo-0.6.0
Unreleased
- !43
Add emit instruction
- New user-facing function
Indigo.Frontend.Language.emitto emit contract events. annQandFieldAnnare re-exported fromIndigo.Frontend.Languageand consequentlyIndigo.
- New user-facing function
- !42
Updates for kathmandu
- Bump dependencies
- Fix typo in "division by zero" error text (was "devision by zero") in the expression code generator.
- !41
Updates for jakarta and GHC-9
- Bump dependencies
- Bump compiler/stack resolver
- Bump docker base image
- Note that due to Jakarta changes, some functions may need
IsNotInViewconstraint now, exported fromIndigo.LorentzandIndigo.
- !35
Add upgrade command; generate indigo-dependency-snapshot.yaml on demand
- Add an
indigo upgradecommand, building the latest indigo version - Also update project generator for latest indigo/morley
- Add an
- !36
Reorganize Indigo modules
- Get rid of
Indigo.InternalandIndigo.Internal.Expr"god modules" - Several moves:
Indigo.Internal.Lookup,Indigo.Internal.Expr.Compilation,Indigo.Internal.Expr.DecomposetoIndigo.Backend.*Indigo.Internal.Expr.SymbolictoIndigo.Frontend.ExprIndigo.Frontend.StatementtoIndigo.Frontend.Internal.Statement(it's not reexported)Indigo.Common.Expr.TypestoIndigo.Common.Expr
- Do not re-export backend parts from
Indigo, specifically,Indigo.Backend.Expr.*andIndigo.Backend.Lookup - Rename
Indigo.Internal.*toIndigo.Common.*(not really internal, since it's exported fromIndigo) - Rename
Indigo.RebindedtoIndigo.Rebound - Split type definitions from
Indigo.Compilation.SequentialintoIndigo.Compilation.Sequential.Types
- Get rid of
- !34
Replace
dip dipwithdip 2in the code generator - !24 Bump Morley/Lorentz and comply with the changes in them.
- !15
Add
failCustomNoArgwhich allows failing with just a string instead ofpair string <arg>. - !18 Bump over Morley/Lorentz with all the edo functionality (but tickets are not yet supported).
0.5.0
- !12 Refactor some general documentation-related methods, see deprecation notes for migration instructions.
0.4
- !8
Comply with the recent changes in Lorentz.
Namely,
pack,unpack,checkSignatureand hashing instructions now operate not withByteStrings andSignatures, rather with type-safe newtypes over them. AddedpackRawandunpackRawwith the old behaviour ofpackandunpack. - !5
Replaced
indigo-trialname withindigovia docker instead. - !630
Use
:in all library instructions instead of&. - !639
Update the tutorial on how to install
indigo-trialwhich is a wrapper around docker image that containsindigobinary and cached Haskell dependencies. - !596
Add ability to generate debug comments for Indigo statements:
- Added several levels of verbosity
- Added possibility to print full stack trace among with a statement call
Buildable Exprdefined
0.3.1
- Update
indigoexecutable:- Make it usable inside
dockerenvironment. - Avoid usage of
mixinin generated project since this feature is not properly handled bystack.
- Make it usable inside
- !629
Generalize functions working on
UStoreto anything satisfying classes fromLorentz.StoreClass.
0.3.0
-
!583 Add an intermediate compilation representation for optimization.
fail-like statements returnRetVars rinstead ofr.
-
!534 Add a tutorial on how to setup an Indigo project using Indigo CLI.
- Bump the dependencies version of the boilerplate generated by
indigo newto the latest.
- Bump the dependencies version of the boilerplate generated by
-
!566 Add Indigo CLI installation script.
- Mention how Indigo CLI can be installed in the Indigo documentation.
0.2.2
- !544
Add
indigoexecutable which improves the development of Indigo projects.- Create boilerplate project via
new. - Wrap around stack commands:
build,test, andrepl. - Run
ContractRegistrycommands viarun.
- Create boilerplate project via
0.2.1
- !570
Added
coerceandforcedCoerceto convert between expressions of types that have the same Michelson representation. - !558
Added
wrapandunwrap, to generate from and extract to, values given a constructor with a single fields for a sum type. - !538
Add the
showcasesection presenting a list of public smart contracts written in Indigo. - !533
Add a tutorial on how to add documentation to a contract.
- Create helper functions:
saveDocumentationandprintDocumentationwhich can generate the documentation via the REPL. - Add short-handed doc item statements such as:
anchor,description, andexample.
- Create helper functions:
0.2.0
- !542
Use
#=as a synonym for//->.
0.1.0.0
Initial release.