Skip to content

Commit 82a22f2

Browse files
author
semantic-release
committed
0.5.0-beta.1
[skip ci]
1 parent f2aca31 commit 82a22f2

File tree

2 files changed

+7
-281
lines changed

2 files changed

+7
-281
lines changed

CHANGELOG.md

Lines changed: 6 additions & 280 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,20 @@
11
# CHANGELOG
2-
## v0.4.1 (2024-09-03)
3-
4-
## v0.4.1-beta.1 (2024-09-03)
2+
## v0.5.0-beta.1 (2025-02-19)
53

6-
### Fix
7-
8-
* ability to pass kw_only flag to dataclass when defining struct subclass (#23) ([`24bcf9d`](https://github.com/algorandfoundation/algorand-python-testing/commit/24bcf9d8af34eb2675ddf85ce9d71802f82f2d6a))
4+
### Documentation
95

10-
* fix: ability to pass kw_only flag to dataclass when defining struct subclass
6+
* fix doctest example for `algopy.EllipticCurve` ([`7d0bb0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/7d0bb0dfe9a5ea2d67b130fa300fb80cef52fda5))
117

12-
* chore: add dependabot yaml
8+
## v0.4.1 (2024-09-03)
139

14-
* chore: adding ability to pass args to struct init subclass
10+
## v0.4.1-beta.1 (2024-09-03)
1511

1612
## v0.4.0 (2024-08-27)
1713

1814
## v0.4.0-beta.2 (2024-08-27)
1915

2016
## v0.4.0-beta.1 (2024-08-27)
2117

22-
### Feature
23-
24-
* add support for frozen on asset holdings, including a new ledger function `update_asset_holdings` for setting asset holding balances and frozen states ([`d777ca0`](https://github.com/algorandfoundation/algorand-python-testing/commit/d777ca0a318a8ade7a20363c9ce77fe8a8bf5d68))
25-
26-
* expand accepted types when interacting with accounts, applications and assets ([`f448a97`](https://github.com/algorandfoundation/algorand-python-testing/commit/f448a97cb154c9f90ecf42c599b240f12928af20))
27-
28-
wip
29-
30-
* replaced `account_exists` with `account_is_funded` as the later is more useful ([`4d08690`](https://github.com/algorandfoundation/algorand-python-testing/commit/4d086903eb93a70ce1d485cdd7b12d8472ef16db))
31-
32-
### Fix
33-
34-
* use correct type for Globals.caller_application_id ([`a30d85a`](https://github.com/algorandfoundation/algorand-python-testing/commit/a30d85a4416dfc2c5d901f3ace2265384ef60c01))
35-
36-
* do not allow specifying `address` for applications, it is derived from the app_id ([`00fe1bc`](https://github.com/algorandfoundation/algorand-python-testing/commit/00fe1bc8ea247dcc36b01154db36b984b151e396))
37-
38-
* do not treat asset and application ids as possible foreign array indexes ([`94a989f`](https://github.com/algorandfoundation/algorand-python-testing/commit/94a989f77169da2ae437c629cd5f4d8a872263f6))
39-
40-
* removed incorrect deduction in `algopy.op.balance` ([`76e67c5`](https://github.com/algorandfoundation/algorand-python-testing/commit/76e67c5e3dd1cda388a2a948d452ba89805add6a))
41-
42-
* ensure all comparable types return `NotImplemented` when a comparison is not possible ([`b055fa6`](https://github.com/algorandfoundation/algorand-python-testing/commit/b055fa68531e0b7923773ec10c2097a3d64b9dbe))
43-
44-
* `arc4_prefix` annotated to also accept `algopy.Bytes` ([`40328ca`](https://github.com/algorandfoundation/algorand-python-testing/commit/40328ca3701b3e255193e206e8a7b1bdb441a346))
45-
4618
### Documentation
4719

4820
* include usage of `algopy_testing_context` in README.md quick start ([`4702f60`](https://github.com/algorandfoundation/algorand-python-testing/commit/4702f60cfe7d09956a5ae6dbdcd72da29fdda808))
@@ -55,10 +27,6 @@
5527

5628
## v0.3.0-beta.8 (2024-08-22)
5729

58-
### Feature
59-
60-
* include ARC4 results in log, and handle > 15 ARC4 arguments (#18) ([`fd83ee8`](https://github.com/algorandfoundation/algorand-python-testing/commit/fd83ee8525a393d4a1a66f20acdb661906d84b51))
61-
6230
## v0.3.0-beta.7 (2024-08-21)
6331

6432
## v0.3.0-beta.6 (2024-08-21)
@@ -87,44 +55,14 @@
8755

8856
* chore: apply suggestions from code review
8957

90-
Co-authored-by: Daniel McGregor <[email protected]>
58+
Co-authored-by: Daniel McGregor <[email protected]>
9159

9260
* docs: addressing docs pr comments
9361

9462
## v0.3.0-beta.5 (2024-08-21)
9563

96-
### Fix
97-
98-
* 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`](https://github.com/algorandfoundation/algorand-python-testing/commit/1f1f2ea43a2f4f906cbcd5709b8e86b5c1f2bc63))
99-
100-
* fix: add default __eq__ implementation for ARC4 types
101-
102-
* 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)
103-
104-
* feat: add __str__ and __repr__ implementations for ARC4 types
105-
106-
* refactor: make ARC4 type_info private
107-
108-
* refactor: make ARC4 struct inherit _ABIEncoded
109-
110-
* refactor: removing get_app_for_contract; expanding get_app; parsing on_complete
111-
11264
## v0.3.0-beta.4 (2024-08-21)
11365

114-
### Feature
115-
116-
* rename txn_op_fields to active_txn_overrides to better reflect purpose, add additional checks to ensure crate_group parameters are used correctly ([`973fc28`](https://github.com/algorandfoundation/algorand-python-testing/commit/973fc288836d09ba4657642c980ca9f916d38823))
117-
118-
### Fix
119-
120-
* fix equality implementation for Account, to allow comparison with arc4.Address ([`6ec2dd4`](https://github.com/algorandfoundation/algorand-python-testing/commit/6ec2dd4f2b4119987a5ea7c3c670bdd554c4fe30))
121-
122-
* ensure new Account&#39;s have field defaults populated ([`54432b0`](https://github.com/algorandfoundation/algorand-python-testing/commit/54432b03cef13008b16fab84dcc250824e2e2da1))
123-
124-
* ensure Global.current_application* properties match AVM ([`ae84ae2`](https://github.com/algorandfoundation/algorand-python-testing/commit/ae84ae27e49ef977babe7abb10d8994446d6b5f7))
125-
126-
* when generating app/asset id&#39;s skip any that might already be reserved ([`0bb5eba`](https://github.com/algorandfoundation/algorand-python-testing/commit/0bb5eba3ec75ffdb16cfbac5b3c4837f64f8a58a))
127-
12866
### Documentation
12967

13068
* integrating pydoclint; formatting docs; removing docs from stub implementation ([`d729bf9`](https://github.com/algorandfoundation/algorand-python-testing/commit/d729bf9b70ef885cd1b2ef705c4f5e2582d853ab))
@@ -135,218 +73,6 @@
13573

13674
## v0.3.0-beta.1 (2024-08-14)
13775

138-
### Feature
139-
140-
* deferred app calls, modular test context, refined access to value generators, numerous fixes/improvements (#4) ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))
141-
142-
* feat: work in progress on asset, application related state ops
143-
144-
* test: adding extra tests
145-
146-
* feat: extra tests and implementation wrappers around AppLocal
147-
148-
* chore: wip
149-
150-
* chore: update src/algopy_testing/op.py
151-
152-
Co-authored-by: Daniel McGregor &lt;[email protected]&gt;
153-
154-
* feat: adding acctparamsget; extra tests; pr comments
155-
156-
* refactor: adding final bits around AcctParamsGet; unit tests and fixes
157-
158-
* refactor: adding lookup by index to acct/app/asset get ops; tweaking ci
159-
160-
* refactor: addressing pr comments
161-
162-
* chore: fixing failing test
163-
164-
* refactor: simplifying test_context validation
165-
166-
* use specific enum types in box example with latest puya version
167-
168-
* include box types in algopy_testing
169-
170-
* fix inconsistent usage of field names on application fields use state total overrides when determining state totals reduce usage of `import algopy` in implementations
171-
172-
* expose fields property on application to aid debugging
173-
174-
* added section to CONTRIBUTING.md describing relationship between `algopy` and `algopy_testing`
175-
176-
* remove lazy algopy imports from utils remove some unnecessary ignores add TODO
177-
178-
* simplify abimethod and add TODO&#39;s
179-
180-
* add TODO for state totals
181-
182-
* add some tests (including currently failing ones) for app transactions
183-
184-
* feat: add arc4factory
185-
186-
* refactor: ensuring underlying _key is properly reflected on local/global states
187-
188-
* refactor: change guards for setting keys to explicitly check for None
189-
190-
* refactor: use implementation types in internal mappings
191-
192-
* refactor: remove usages of `import algopy` from op.py, remove explicit imports from typing module add TODO&#39;s
193-
194-
* test: use non-abstract contract base
195-
196-
* allow empty box prefix
197-
198-
* refactor
199-
200-
* use immutable param defaults
201-
202-
* fix: handle populating foreign arrays correctly for abi method calls
203-
204-
* refactor: remove lazy import algopy
205-
206-
* remove irrelevant comment
207-
208-
* initialize accounts correctly
209-
210-
* build: adding post install command into examples venv in hatch settings
211-
212-
* refactor: refine arc4 factory; add corresponding tests
213-
214-
* chore: adding the missing clear methods
215-
216-
* chore: merging everything from docs branch except docs changes
217-
218-
* chore: merge conflicts
219-
220-
* refactor: simplify txn implementations provide default values for unspecified txn fields
221-
222-
* docs: adding pep257 formatter; using reST docstrings style for context.py
223-
224-
* test: adding tests for scratch slots
225-
226-
* refactor: renaming set_txn_fields -&gt; scoped_txn_fields
227-
228-
* chore: adding `amount` field and open question under TODO;
229-
230-
also adding adding get_box_map that reuses get_box but appends the bytes box_map prefix
231-
232-
* chore: bumping ruff
233-
234-
* refactor: adding context manager for lsig args setup (similar to algopy.Txn)
235-
236-
also running latest ruff - some rules are updated
237-
238-
* refactor: move helper classes into their own file
239-
240-
* refactor: simplify itxn loader
241-
242-
* refactor: isolate get_test_context to reduce circular imports
243-
244-
* chore: using multiprocessing in refresh test artifacts script
245-
246-
* refactor: adding tests for ITxn, ITxnCreate and GITxn, fixing related bugs
247-
248-
* refactor: default_creator -&gt; default_sender; setting creator as default_sender
249-
250-
* chore: parsing name to op name in ITxn
251-
252-
* chore: updating default extension for mypy to use ms-python
253-
254-
* test: remove incorrect test and replace with TODO
255-
256-
* chore: add TODO about subroutine support
257-
258-
* add stricter type checks for primitives
259-
260-
* track when contracts are in a &#34;creating&#34; state or not
261-
262-
* todos
263-
264-
* refactor: moving GITxn class to itxn.py
265-
266-
* refactor: generate arc4 signatures from types added more robust system for tracking arc4 types removed unneeded functions on StaticArray
267-
268-
* only support native tuples when handling generic aliases in arc4 tuples
269-
270-
* refactor: 1/2 adding paged access to clear state program in txn fields
271-
272-
* refactor: consolidating txn and itxn related context attributes/methods
273-
274-
* minor refactors
275-
276-
* support arc4 structs
277-
278-
* refactor: simplify logic sig implementation, and remove mapping
279-
280-
* refactor: fix itxn op behaviour with program pages, and other array like fields
281-
282-
* refactor: simplify account properties
283-
284-
* refactor: move crypto ops into their own module
285-
286-
* refactor: move pure ops into their own module
287-
288-
* refactor: move other misc ops
289-
290-
* refactor: consolidating value generators; ledger and txn contexts;
291-
292-
* refactor: add active group/txn properties change local/global state storage to store values against the app, not the contract instance add UInt64Backed type to simplify serialization to/from int/bytes
293-
294-
* refactor: remove nested private modules, replace usages of get_test_context with lazy_context
295-
296-
* refactor: move inner transactions onto transaction group
297-
298-
* refactor: remove scoped_lsig_args
299-
300-
* refactor: remove maybe_active_app_id
301-
302-
* refactor: include bool in test for uint64
303-
304-
* refactor: ensure arc4 values always have fully parametrized types
305-
306-
* refactor: use _paramatize_type
307-
308-
* refactor: addressing TODOs
309-
310-
refactor: removing txn from method names inside txn context manager prop
311-
312-
chore: restoring initial pre-commit
313-
314-
refactor: expanding scoped_execution
315-
316-
chore: remove redundant fields
317-
318-
chore: addressing minor todos and removing the ones already addressed
319-
320-
* refactor: adding unit tests for global/local state with implicit keys
321-
322-
* refactor: improving handling of initial value for implicit global/local state keys
323-
324-
* test: extra test cases for accessing implicit/explicit keyed local/global state
325-
326-
* refactor: wip adding txn_group_for method
327-
328-
* chore: fix linting errors
329-
330-
* feat: continue with txn_group_for and add a test
331-
332-
* chore: remove scoped_txn_fields methods
333-
334-
* add some additional TODO&#39;s for scoped_execution
335-
336-
* remove TODO
337-
338-
* expand gaid TODO
339-
340-
* tweak op.exit implementation and add TODO
341-
342-
* remove arc4 property from AlgopyTestContext
343-
344-
* add more TODOs
345-
346-
* refactor: addressing TODOs; adding marketplace contract example (devrel bootcamps)
347-
348-
* test: fixing failing tests
349-
35076
## v0.2.2-beta.5 (2024-07-30)
35177

35278
### Documentation

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "algorand-python-testing"
7-
version = "0.4.1"
7+
version = "0.5.0-beta.1"
88
description = 'Algorand Python testing library'
99
readme = "README.md"
1010
requires-python = ">=3.12"

0 commit comments

Comments
 (0)