Changelog for lorentz-0.2.0
Unreleased
0.2.0
- !346
Added
docStorage
andcontractGeneralDefault
. - !306
Deprecated
mapMigrationCode
in favor ofMapLorentzInstr
. - !326
Updated contract registry (
Lorentz.ContractRegistry
):- Now it can print initial storage apart from contract and documentation.
- Some extra fields were added to
ContractInfo
. - Logic is captured in the
runContractRegistry
function. - If you don't specify output file, we will use a file with name constructed from contract name. Pass
-
if you wantstdout
.
- !245 Added
HasTypeAnn
instance forFutureContract arg
. - !294
- Added
Paths_*
modules toautogen-modules
in cabal files. Removed-O0
- from default GHC options. Please set
ghc-options
in yourstack.yaml
orcabal.project.local
.
- Added
- !271 Renamed 'Contract' to 'ContractCode', and appended "Code" to the names of two functions: 'convertContract' and 'printTypedContract'
- !267
- Retain type annotations in entrypoints derivation.
- Remove overlappable
HasTypeAnn
instance defined for nearly each type. Adddefault
getTypeAnn
method definition instead and manually defineHasTypeAnn
instance for each type instead (trivially). When you create a new data type withIsoValue
instance, you usually have to deriveHasTypeAnn
as well.
0.1.0
Initial release extracted from the morley package.