Releases: algorand/pyteal
Releases · algorand/pyteal
v0.7.0
Added
- Support for new TEAL 3 features:
- 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
v0.6.1
v0.6.0
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
andGtxn
fields - TEAL v2
Global
fields TxnType
enumPop
expressionNot
expressionBitwiseNot
expressionBitwiseAnd
expressionBitwiseOr
expressionBitwiseXor
expressionNeq
(not equal) expressionAssert
expressionAssetHolding
expressionsAssetParam
expressions- State manipulation with
App
expressions Concat
expressionSubstring
expressionBytes
constructor now accepts UTF-8 stringsIf
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)
toGtxn[transaction_index].field()
. Tmpl
syntax has changed fromType(Tmpl("TMPL_NAME"))
toTmpl.Type("TMPL_NAME")
.
v0.5.4
v0.5.4 release