Skip to content

v0.10.0

Compare
Choose a tag to compare
@jasonpaulos jasonpaulos released this 24 Feb 19:37
· 165 commits to master since this release
157a0a4

Added

  • Support for new TEAL 6 features:
    • Increase maximum TEAL version (#146)
    • New Gitxn expression, inner transaction group creation with InnerTxnBuilder.Next(), inner
      transaction array field setting, and allow using dynamic slot IDs with ImportScratchValue (#149)
    • New BytesSqrt expression (#163)
    • New Global fields opcode_budget, caller_app_id, and caller_app_address (#168)
    • New AccountParam expressions for getting information about accounts (#165)
    • New Divw expression, new transaction fields last_log and state_proof_pk, and dynamic index
      support for InnerTxn array fields (#174)
  • Added a new MethodSignature expression (#153)
  • Added a new Suffix expression and optimized existing Substring and Extract expressions (#126)
  • Added the MultiValue class as an alternative to MaybeValue (#196)

Fixed

  • Various documentation fixes (#140, #142, #191, #202, #207)
  • Clearer error messages when non-PyTeal expressions are present (#151)

Changed

  • WARNING: Due to code generation improvements, programs compiled with this version will likely
    produce different TEAL code than previous versions, but their functionality will be the same. Be
    aware that even small differences in generated TEAL code will change the address associated with
    escrow LogicSig contracts.
  • Optimized constant assembly for small integers (#128)
  • Generated TEAL code for subroutines is more human-readable (#148)
  • Subroutine argument and return type annotations, if present, MUST be Expr (#182)
  • Transaction field documentation now separates fields by transaction type (#204)
  • Added documentation about how to generate the documentation (#205)