Pyteal

Latest version: v0.26.1

Safety actively analyzes 630130 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

0.12.0

Added
* Introduce a utility for increasing opcode budget referred to as OpUp ([274](https://github.com/algorand/pyteal/pull/274)).
* Introduce dryrun testing facilities referred to as blackbox testing ([249](https://github.com/algorand/pyteal/pull/249)).

Changed
* Make various user guide updates/corrections ([291](https://github.com/algorand/pyteal/pull/291), [#295](https://github.com/algorand/pyteal/pull/295), [#301](https://github.com/algorand/pyteal/pull/301)).
* Install flake8 linter ([273](https://github.com/algorand/pyteal/pull/273), [#283](https://github.com/algorand/pyteal/pull/283)).

0.11.1

Fixed
* Fix readthedocs build issue introduced in v0.11.0 ([276](https://github.com/algorand/pyteal/pull/276), [#279](https://github.com/algorand/pyteal/pull/279)).

0.11.0

Added
* Introduce optional compiler optimization to remove redundant sequential `ScratchSlot` store/load invocations ([247](https://github.com/algorand/pyteal/pull/247)). The optimization is disabled by default.
* Expose `DynamicScratchVar` to reference arbitrary `ScratchVar` instances ([198](https://github.com/algorand/pyteal/pull/198)).

Changed
* Bump minimum supported Python version to v3.10 ([269](https://github.com/algorand/pyteal/pull/269)).
* Add `Subroutine` support for `ScratchVar` parameters ([198](https://github.com/algorand/pyteal/pull/198)).
* Make minor doc updates ([248](https://github.com/algorand/pyteal/pull/248)) and ([#265](https://github.com/algorand/pyteal/pull/265)).
* Remove outdated Jupyter notebook demo ([268](https://github.com/algorand/pyteal/pull/268)).
* Fix docs warning about multiple OptimizeOptions targets ([271](https://github.com/algorand/pyteal/pull/271)).

0.10.1

Fixed
* Fixed a bug which caused incorrect TEAL code to be produced for mutually recursive subroutines
with different argument counts ([234](https://github.com/algorand/pyteal/pull/234))
* Minor docs updates ([211](https://github.com/algorand/pyteal/pull/211), [#210](https://github.com/algorand/pyteal/pull/210), [#229](https://github.com/algorand/pyteal/pull/229))

0.10.0

Added
* Support for new TEAL 6 features:
* Increase maximum TEAL version ([146](https://github.com/algorand/pyteal/pull/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](https://github.com/algorand/pyteal/pull/149))
* New `BytesSqrt` expression ([163](https://github.com/algorand/pyteal/pull/163))
* New `Global` fields `opcode_budget`, `caller_app_id`, and `caller_app_address` ([168](https://github.com/algorand/pyteal/pull/168))
* New `AccountParam` expressions for getting information about accounts ([165](https://github.com/algorand/pyteal/pull/165))
* New `Divw` expression, new transaction fields `last_log` and `state_proof_pk`, and dynamic index
support for `InnerTxn` array fields ([174](https://github.com/algorand/pyteal/pull/174))
* Added a new `MethodSignature` expression ([153](https://github.com/algorand/pyteal/pull/153))
* Added a new `Suffix` expression and optimized existing `Substring` and `Extract` expressions ([126](https://github.com/algorand/pyteal/pull/126))
* Added the `MultiValue` class as an alternative to `MaybeValue` ([196](https://github.com/algorand/pyteal/pull/196))

Fixed
* Various documentation fixes ([140](https://github.com/algorand/pyteal/pull/140), [#142](https://github.com/algorand/pyteal/pull/142), [#191](https://github.com/algorand/pyteal/pull/191), [#202](https://github.com/algorand/pyteal/pull/202), [#207](https://github.com/algorand/pyteal/pull/207))
* Clearer error messages when non-PyTeal expressions are present ([151](https://github.com/algorand/pyteal/pull/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](https://github.com/algorand/pyteal/pull/128))
* Generated TEAL code for subroutines is more human-readable ([148](https://github.com/algorand/pyteal/pull/148))
* Subroutine argument and return type annotations, if present, **MUST** be `Expr` ([182](https://github.com/algorand/pyteal/pull/182))
* Transaction field documentation now separates fields by transaction type ([204](https://github.com/algorand/pyteal/pull/204))
* Added documentation about how to generate the documentation ([205](https://github.com/algorand/pyteal/pull/205))

0.9.1

Added
* Documentation for exponent operator ([134](https://github.com/algorand/pyteal/pull/134))
* Documentation for using `Seq` with lists ([135](https://github.com/algorand/pyteal/pull/135))

Fixed
* Fixed use of wildcard import in Pylance ([133](https://github.com/algorand/pyteal/pull/133))

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.