Skip to content

Releases: algorand/pyteal

v0.7.0

08 Apr 20:38
Compare
Choose a tag to compare

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.

v0.6.2

01 Mar 22:35
Compare
Choose a tag to compare

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).

v0.6.1

27 Oct 19:16
Compare
Choose a tag to compare

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.

v0.6.0

21 Aug 14:59
Compare
Choose a tag to compare

Add support for TEAL v2 smart contracts, including stateful smart contracts. For full documentation, see https://pyteal.readthedocs.io/en/v0.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").

v0.5.4

18 Aug 19:54
Compare
Choose a tag to compare

v0.5.4 release

V0.5.3

24 Feb 15:31
Compare
Choose a tag to compare

Update the payment example.

V0.5.2

20 Feb 21:30
Compare
Choose a tag to compare

add execute utility function for work together with Python SDK

v0.5.1

10 Feb 19:39
Compare
Choose a tag to compare

v0.5.1

0.5.0

10 Feb 18:57
Compare
Choose a tag to compare
0.5.0 Pre-release
Pre-release

v0.5.0 release