Skip to content

v1.1.0

Compare
Choose a tag to compare
@robert-zaremba robert-zaremba released this 23 Jun 08:57
· 543 commits to master since this release

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 to deployer
  • Rename parseArgs to parse_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 to appID in all places. (previously some of SSC params were taking appId and other were taking appID, this was inconsistent)

Improvements

  • Replaced dependency find-up with findup-sync in algob.
  • 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 in runtime.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) using deleted 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.