Skip to content

Releases: algorandfoundation/algorand-python-testing

v0.3.0-beta.5

21 Aug 10:25

Choose a tag to compare

v0.3.0-beta.5 Pre-release
Pre-release

v0.3.0-beta.5 (2024-08-21)

Fix

  • ensure mutable types (ARC4 tuple, array and structs) have their changes propagated back to container-like types (global/local state, boxes, ARC4 mutable types) (#14) (1f1f2ea)

    • fix: add default eq implementation for ARC4 types

    • fix: ensure mutable types (ARC4 tuple, array and structs) have their changes propagated back to container-like types (global/local state, boxes, ARC4 mutable types)

    • feat: add str and repr implementations for ARC4 types

    • refactor: make ARC4 type_info private

    • refactor: make ARC4 struct inherit _ABIEncoded

    • refactor: removing get_app_for_contract; expanding get_app; parsing on_complete

v0.3.0-beta.4

21 Aug 09:06

Choose a tag to compare

v0.3.0-beta.4 Pre-release
Pre-release

v0.3.0-beta.4 (2024-08-21)

Feature

  • rename txn_op_fields to active_txn_overrides to better reflect purpose, add additional checks to ensure crate_group parameters are used correctly (973fc28)

Fix

  • fix equality implementation for Account, to allow comparison with arc4.Address (6ec2dd4)

  • ensure new Account's have field defaults populated (54432b0)

  • ensure Global.current_application* properties match AVM (ae84ae2)

  • when generating app/asset id's skip any that might already be reserved (0bb5eba)

Documentation

  • integrating pydoclint; formatting docs; removing docs from stub implementation (d729bf9)

v0.3.0-beta.3

16 Aug 13:34

Choose a tag to compare

v0.3.0-beta.3 Pre-release
Pre-release

v0.3.0-beta.3 (2024-08-16)

Refactor

  • refactor: move box storage onto ApplicationContextData (#12)

  • refactor: move box storage onto ApplicationContextData

Require app reference when interacting with boxes

  • refactor: moving getters setters of global local state to ledger context

  • refactor: more laconic names for methods/vars referencing application -> app


Co-authored-by: Altynbek Orumbayev <altynbek.orumbayev@makerx.com.au> (57a8f13)

v0.3.0-beta.2

16 Aug 08:59

Choose a tag to compare

v0.3.0-beta.2 Pre-release
Pre-release

v0.3.0-beta.2 (2024-08-16)

Chore

  • chore: refreshing todos (#11)

[skip ci] (6df2567)

Refactor

  • refactor: moving scratch slots and app logs to TransactionBase (#10)

  • refactor: moving scratch slots and app logs to TransactionBase

  • build: updated to latest puyapy

  • refactor: minor refactors

  • refactor: refactor txn group initialization

  • refactor: add additional gtxn properties from 2.0 stubs

  • refactor: consolidate log and scratch space implementation.

logs can be mocked on the underlying application, or for specific transactions
active txn can append logs

  • refactor: defer some imports to reduce circular imports

  • chore: add some TODO's for future work

  • test: tweak test for mocking abi_call, by ensuring mocked function is in algopy namespace

  • feat: implement gaid op

  • fix: added mock implementations for new algopy functions, add util for raising consistent mockable method errors

  • chore: add TODO for asset property


Co-authored-by: Daniel McGregor <daniel.mcgregor@makerx.com.au> (71801f0)

v0.3.0-beta.1

14 Aug 00:00

Choose a tag to compare

v0.3.0-beta.1 Pre-release
Pre-release

v0.3.0-beta.1 (2024-08-13)

Features

  • Implemented deferred app calls, modular test context, and refined access to value generators
  • Added asset and application-related state operations
  • Implemented AcctParamsGet operation
  • Added ARC4 factory and corresponding tests
  • Implemented inner transaction (ITxn) support
  • Added support for ARC4 structs

Refactors

  • Simplified test context validation
  • Improved handling of application fields and state totals
  • Consolidated value generators, ledger, and transaction contexts
  • Moved crypto, pure, and misc ops into separate modules
  • Improved handling of global/local state with implicit keys
  • Simplified logic signature implementation

Tests

  • Added extra tests for various components
  • Implemented unit tests for scratch slots
  • Added tests for ITxn, ITxnCreate, and GITxn

Other

  • Updated documentation and contributing guidelines
  • Improved type checking and error handling
  • Various bug fixes and performance improvements

v0.2.2-beta.5

30 Jul 08:55

Choose a tag to compare

v0.2.2-beta.5 Pre-release
Pre-release

v0.2.2-beta.5 (2024-07-30)

Documentation

  • docs: patch urls in README.md (#9)

  • chore: patch urls in README.md

  • ci: relaxing rules around paths-ignore

  • docs: patching old namespace name in readme (eddf612)

v0.2.2-beta.4

25 Jul 13:29

Choose a tag to compare

v0.2.2-beta.4 Pre-release
Pre-release

v0.2.2-beta.4 (2024-07-25)

Ci

  • ci: improve cd pipeline to ensure dist is cleaned up before build done by semantic release (#7) (6c02d0b)

v0.2.2-beta.3

25 Jul 09:40

Choose a tag to compare

v0.2.2-beta.3 Pre-release
Pre-release

v0.2.2-beta.3 (2024-07-25)

Ci

  • ci: tweaking conditional to not perform publish to pypi if no release was generated (#6)

  • ci: tweaking conditional to not perform publish to pypi if no release was generated

  • chore: tweaking patch tags (842f9b5)

0.2.1

10 Jul 18:00

Choose a tag to compare

v0.2.1 (2024-07-10)

Initial implementation of the version presented at Decipher, moved out from puya repository

Chore

  • chore: improving codebase; adding semantic releases; fixing scripts & tests post migration (#2)

  • fix: patching helper scripts; adding pre-commit; bumping compiler version

  • chore: refine ci (8d43492)

  • chore: moving out algorand-python-testing from puya repo (#1)

  • chore: addressing pr comments; adding ci; adding docs (a488ac3)

  • chore: initial commit (66ed184)

Ci

  • ci: adding semantic releases

  • ci: patch hatch build invocation in cd (77aea6e)