Skip to content

Latest commit

 

History

History
69 lines (56 loc) · 2.87 KB

CHANGELOG.md

File metadata and controls

69 lines (56 loc) · 2.87 KB

Future

Added

  • Added the assembleConstants option to compileTeal. When enabled, the compiler will assemble int and byte constants in the most efficient way to reduce program size (#57).

0.7.0

Added

  • Support for new TEAL 3 features:
    • Bit/byte manipulation and new transaction and global fields (#50).
    • Dynamic Gtxn indexes (#53).
    • MinBalance expression (#54).
    • Documentation for new features (#55).
  • Added the ability to specify the TEAL version target when using compileTeal (#45).
  • Added ScratchVar, an interface for storing and loading values from scratch space (#33).
  • Added a warning when scratch slots are loaded before anything has been stored (#47).

Changed

  • Rewrote internal code generation to produce smaller programs and make future optimization easier (#26). Programs compiled with this version will likely produce different TEAL code than previous versions, but their functionality will be the same.

0.6.2

Fixed

  • Corrected documentation and examples that incorrectly used the Txn.accounts array (#42).
  • Fixed improper base32 validation and allow the use of padding (#34 and #37).

0.6.1

Added

  • An application deployment example, vote_deploy.py.

Fixed

  • Internal modules no longer pollute the global namespace when importing with from pyteal import * (#29).
  • Fixed several documentation typos.

Changed

  • Moved signature and application mode examples into separate folders.

0.6.0

Added

  • TEAL v2 Txn and Gtxn fields
  • TEAL v2 Global fields
  • TxnType enum
  • Pop expression
  • Not expression
  • BitwiseNot expression
  • BitwiseAnd expression
  • BitwiseOr expression
  • BitwiseXor expression
  • Neq (not equal) expression
  • Assert expression
  • AssetHolding expressions
  • AssetParam expressions
  • State manipulation with App expressions
  • Concat expression
  • Substring expression
  • Bytes constructor now accepts UTF-8 strings
  • If expression now allows single branches

Changed

  • Compiling a PyTeal program must now be done with the compileTeal(program, mode) function. The .teal() method no longer exists.
  • The API for group transactions has changed from Gtxn.field(transaction_index) to Gtxn[transaction_index].field().
  • Tmpl syntax has changed from Type(Tmpl("TMPL_NAME")) to Tmpl.Type("TMPL_NAME").