v1.1.0
v1.1.0 2021-06-23
Highlights:
- TEALv3 support
- PyTEAL
Tmpl
expression support: #343 (comment) - improved documentation and guide
- better handling in
executeTransaction
- checkpoint can be market invalid if they are substituted (eg by redeploying same asset).
API breaking
- Move
updateSSC
function todeployer
-
Rename
parseArgs
toparse_params
-
For External support of parameters user should replace TMPL_ prefix in their smart contracts, and only use it when using pyteal.tmpl(..)
-
Rename
appId
toappID
in all places. (previously some of SSC params were takingappId
and other were takingappID
, this was inconsistent)
Improvements
- Replaced dependency
find-up
withfindup-sync
inalgob
. - Added
algopy
in@algo-builder/algob/sample-project
, which enables users to pass template parameters to PyTEAL contracts. Updated docs. - Store checkpoints in nested form for SSC, added tests.
- Added support for sub directories in assets folder, with tests.
- Update runtime to process execParams.deployASA, deploySSC, OptInToASA, OptIntoSSC
- Exported
@algorand-builder/algob
,@algorand-builder/runtime
error types and make it accessible for API documentation. - Added
debugStack
option inruntime.executeTx()
to print stack (upto depth = debugStack) after each opcode execution. - TEALv3 support in
@algo-builder/runtime
. - Transpile TEAL code to substitute the TMPL placeholders
- Mark not valid checkpoints (in case of
DeleteSSC
/DestroyAsset
) usingdeleted
boolean
Bug fixes
@algorand-builder/runtime
* Remove asset holding from account if closeRemainderTo
is specified.
* Asset creator should not be able to close it's holding to another account.
- fixed temporal files handling.