Skip to content

Commit 3525c96

Browse files
author
semantic-release
committed
1.0.0-beta.1
[skip ci]
1 parent 9a5e224 commit 3525c96

File tree

2 files changed

+62
-238
lines changed

2 files changed

+62
-238
lines changed

CHANGELOG.md

Lines changed: 61 additions & 237 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
# CHANGELOG
2+
## v1.0.0-beta.1 (2025-07-16)
3+
4+
### Features
5+
6+
* support storing tuples in state ([`911cd3c`](https://github.com/algorandfoundation/algorand-python-testing/commit/911cd3cb54f69f8fdded5c677f32c1969e8827bf))
7+
28
## v0.6.0-beta.3 (2025-05-16)
39

410
### Bug fixes
@@ -29,6 +35,10 @@
2935

3036
## v0.5.0 (2025-02-20)
3137

38+
### Features
39+
40+
* accept abi method reference as a parameter to arc4_signature method ([`a1cb365`](https://github.com/algorandfoundation/algorand-python-testing/commit/a1cb365f2be1eb1965d9b86a5193498772131412))
41+
3242
## v0.5.0-beta.1 (2025-02-19)
3343

3444
### Features
@@ -69,13 +79,9 @@
6979

7080
### Bug fixes
7181

72-
* ability to pass kw_only flag to dataclass when defining struct subclass (#23) ([`24bcf9d`](https://github.com/algorandfoundation/algorand-python-testing/commit/24bcf9d8af34eb2675ddf85ce9d71802f82f2d6a))
73-
74-
* fix: ability to pass kw_only flag to dataclass when defining struct subclass
82+
* ability to pass kw_only flag to dataclass when defining struct subclass ([`24bcf9d`](https://github.com/algorandfoundation/algorand-python-testing/commit/24bcf9d8af34eb2675ddf85ce9d71802f82f2d6a))
7583

76-
* chore: add dependabot yaml
77-
78-
* chore: adding ability to pass args to struct init subclass
84+
* ability to pass kw_only flag to dataclass when defining struct subclass ([`24bcf9d`](https://github.com/algorandfoundation/algorand-python-testing/commit/24bcf9d8af34eb2675ddf85ce9d71802f82f2d6a))
7985

8086
## v0.4.0 (2024-08-27)
8187

@@ -115,63 +121,61 @@
115121

116122
## v0.3.0-beta.10 (2024-08-22)
117123

124+
### Documentation
125+
126+
* refining docs ([`b714783`](https://github.com/algorandfoundation/algorand-python-testing/commit/b714783b4cf15d31f91dc1c776d304bd2eb9a154))
127+
128+
* note on future refinement ([`b714783`](https://github.com/algorandfoundation/algorand-python-testing/commit/b714783b4cf15d31f91dc1c776d304bd2eb9a154))
129+
130+
* further refining the api section ([`b714783`](https://github.com/algorandfoundation/algorand-python-testing/commit/b714783b4cf15d31f91dc1c776d304bd2eb9a154))
131+
118132
## v0.3.0-beta.9 (2024-08-22)
119133

134+
### Bug fixes
135+
136+
* Make Global.latest_timestamp constant for a transaction ([`51c2817`](https://github.com/algorandfoundation/algorand-python-testing/commit/51c2817c262d686996e2aa4d639d259409dc8d43))
137+
120138
## v0.3.0-beta.8 (2024-08-22)
121139

122140
### Features
123141

124-
* include ARC4 results in log, and handle > 15 ARC4 arguments (#18) ([`fd83ee8`](https://github.com/algorandfoundation/algorand-python-testing/commit/fd83ee8525a393d4a1a66f20acdb661906d84b51))
142+
* include ARC4 results in log, and handle > 15 ARC4 arguments ([`fd83ee8`](https://github.com/algorandfoundation/algorand-python-testing/commit/fd83ee8525a393d4a1a66f20acdb661906d84b51))
125143

126144
## v0.3.0-beta.7 (2024-08-21)
127145

128146
## v0.3.0-beta.6 (2024-08-21)
129147

130148
### Documentation
131149

132-
* documentation for initial stable release of `algorand-python-testing` (#8) ([`9d97d0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/9d97d0de5ff9897e642ec3f11a186f2fb95375bb))
133-
134-
* docs: wip
135-
136-
* chore: refresh pyproject
137-
138-
* docs: refining docs (wip)
150+
* documentation for initial stable release of `algorand-python-testing` ([`9d97d0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/9d97d0de5ff9897e642ec3f11a186f2fb95375bb))
139151

140-
* chore: integrating doctests
152+
docs: wip
141153

142-
* docs: revamping docs with latest features
154+
* refining docs (wip) ([`9d97d0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/9d97d0de5ff9897e642ec3f11a186f2fb95375bb))
143155

144-
* docs: minor consistency with main readme; patching doctests
156+
* revamping docs with latest features ([`9d97d0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/9d97d0de5ff9897e642ec3f11a186f2fb95375bb))
145157

146-
* docs: removing the box from examples
158+
* minor consistency with main readme; patching doctests ([`9d97d0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/9d97d0de5ff9897e642ec3f11a186f2fb95375bb))
147159

148-
* docs: refine op codes section
160+
* removing the box from examples ([`9d97d0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/9d97d0de5ff9897e642ec3f11a186f2fb95375bb))
149161

150-
* chore: merge conflicts
162+
* refine op codes section ([`9d97d0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/9d97d0de5ff9897e642ec3f11a186f2fb95375bb))
151163

152-
* chore: apply suggestions from code review
153-
154-
Co-authored-by: Daniel McGregor <[email protected]>
155-
156-
* docs: addressing docs pr comments
164+
* addressing docs pr comments ([`9d97d0d`](https://github.com/algorandfoundation/algorand-python-testing/commit/9d97d0de5ff9897e642ec3f11a186f2fb95375bb))
157165

158166
## v0.3.0-beta.5 (2024-08-21)
159167

160-
### Bug fixes
161-
162-
* 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))
163-
164-
* fix: add default __eq__ implementation for ARC4 types
168+
### Features
165169

166-
* 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)
170+
* add __str__ and __repr__ implementations for ARC4 types ([`1f1f2ea`](https://github.com/algorandfoundation/algorand-python-testing/commit/1f1f2ea43a2f4f906cbcd5709b8e86b5c1f2bc63))
167171

168-
* feat: add __str__ and __repr__ implementations for ARC4 types
172+
### Bug fixes
169173

170-
* refactor: make ARC4 type_info private
174+
* ensure mutable types (ARC4 tuple, array and structs) have their changes propagated back to container-like types (global/local state, boxes, ARC4 mutable types) ([`1f1f2ea`](https://github.com/algorandfoundation/algorand-python-testing/commit/1f1f2ea43a2f4f906cbcd5709b8e86b5c1f2bc63))
171175

172-
* refactor: make ARC4 struct inherit _ABIEncoded
176+
* add default __eq__ implementation for ARC4 types ([`1f1f2ea`](https://github.com/algorandfoundation/algorand-python-testing/commit/1f1f2ea43a2f4f906cbcd5709b8e86b5c1f2bc63))
173177

174-
* refactor: removing get_app_for_contract; expanding get_app; parsing on_complete
178+
* ensure mutable types (ARC4 tuple, array and structs) have their changes propagated back to container-like types (global/local state, boxes, ARC4 mutable types) ([`1f1f2ea`](https://github.com/algorandfoundation/algorand-python-testing/commit/1f1f2ea43a2f4f906cbcd5709b8e86b5c1f2bc63))
175179

176180
## v0.3.0-beta.4 (2024-08-21)
177181

@@ -197,231 +201,47 @@
197201

198202
## v0.3.0-beta.2 (2024-08-16)
199203

200-
## v0.3.0-beta.1 (2024-08-14)
201-
202204
### Features
203205

204-
* 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))
205-
206-
* feat: work in progress on asset, application related state ops
207-
208-
* test: adding extra tests
209-
210-
* feat: extra tests and implementation wrappers around AppLocal
211-
212-
* chore: wip
213-
214-
* chore: update src/algopy_testing/op.py
215-
216-
Co-authored-by: Daniel McGregor <[email protected]>
217-
218-
* feat: adding acctparamsget; extra tests; pr comments
219-
220-
* refactor: adding final bits around AcctParamsGet; unit tests and fixes
221-
222-
* refactor: adding lookup by index to acct/app/asset get ops; tweaking ci
223-
224-
* refactor: addressing pr comments
225-
226-
* chore: fixing failing test
227-
228-
* refactor: simplifying test_context validation
229-
230-
* use specific enum types in box example with latest puya version
231-
232-
* include box types in algopy_testing
233-
234-
* fix inconsistent usage of field names on application fields use state total overrides when determining state totals reduce usage of `import algopy` in implementations
235-
236-
* expose fields property on application to aid debugging
237-
238-
* added section to CONTRIBUTING.md describing relationship between `algopy` and `algopy_testing`
239-
240-
* remove lazy algopy imports from utils remove some unnecessary ignores add TODO
241-
242-
* simplify abimethod and add TODO's
243-
244-
* add TODO for state totals
245-
246-
* add some tests (including currently failing ones) for app transactions
247-
248-
* feat: add arc4factory
249-
250-
* refactor: ensuring underlying _key is properly reflected on local/global states
251-
252-
* refactor: change guards for setting keys to explicitly check for None
253-
254-
* refactor: use implementation types in internal mappings
255-
256-
* refactor: remove usages of `import algopy` from op.py, remove explicit imports from typing module add TODO's
257-
258-
* test: use non-abstract contract base
259-
260-
* allow empty box prefix
261-
262-
* refactor
263-
264-
* use immutable param defaults
265-
266-
* fix: handle populating foreign arrays correctly for abi method calls
267-
268-
* refactor: remove lazy import algopy
269-
270-
* remove irrelevant comment
271-
272-
* initialize accounts correctly
273-
274-
* build: adding post install command into examples venv in hatch settings
206+
* implement gaid op ([`71801f0`](https://github.com/algorandfoundation/algorand-python-testing/commit/71801f01e49b683d81fa46d2ddb1c8aaf38b89f2))
275207

276-
* refactor: refine arc4 factory; add corresponding tests
277-
278-
* chore: adding the missing clear methods
279-
280-
* chore: merging everything from docs branch except docs changes
281-
282-
* chore: merge conflicts
283-
284-
* refactor: simplify txn implementations provide default values for unspecified txn fields
285-
286-
* docs: adding pep257 formatter; using reST docstrings style for context.py
287-
288-
* test: adding tests for scratch slots
289-
290-
* refactor: renaming set_txn_fields -> scoped_txn_fields
291-
292-
* chore: adding `amount` field and open question under TODO;
293-
294-
also adding adding get_box_map that reuses get_box but appends the bytes box_map prefix
295-
296-
* chore: bumping ruff
297-
298-
* refactor: adding context manager for lsig args setup (similar to algopy.Txn)
299-
300-
also running latest ruff - some rules are updated
301-
302-
* refactor: move helper classes into their own file
303-
304-
* refactor: simplify itxn loader
305-
306-
* refactor: isolate get_test_context to reduce circular imports
307-
308-
* chore: using multiprocessing in refresh test artifacts script
309-
310-
* refactor: adding tests for ITxn, ITxnCreate and GITxn, fixing related bugs
311-
312-
* refactor: default_creator -> default_sender; setting creator as default_sender
313-
314-
* chore: parsing name to op name in ITxn
315-
316-
* chore: updating default extension for mypy to use ms-python
317-
318-
* test: remove incorrect test and replace with TODO
319-
320-
* chore: add TODO about subroutine support
321-
322-
* add stricter type checks for primitives
323-
324-
* track when contracts are in a "creating" state or not
325-
326-
* todos
327-
328-
* refactor: moving GITxn class to itxn.py
329-
330-
* refactor: generate arc4 signatures from types added more robust system for tracking arc4 types removed unneeded functions on StaticArray
331-
332-
* only support native tuples when handling generic aliases in arc4 tuples
333-
334-
* refactor: 1/2 adding paged access to clear state program in txn fields
335-
336-
* refactor: consolidating txn and itxn related context attributes/methods
337-
338-
* minor refactors
339-
340-
* support arc4 structs
341-
342-
* refactor: simplify logic sig implementation, and remove mapping
343-
344-
* refactor: fix itxn op behaviour with program pages, and other array like fields
345-
346-
* refactor: simplify account properties
347-
348-
* refactor: move crypto ops into their own module
349-
350-
* refactor: move pure ops into their own module
351-
352-
* refactor: move other misc ops
353-
354-
* refactor: consolidating value generators; ledger and txn contexts;
355-
356-
* 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
357-
358-
* refactor: remove nested private modules, replace usages of get_test_context with lazy_context
359-
360-
* refactor: move inner transactions onto transaction group
361-
362-
* refactor: remove scoped_lsig_args
363-
364-
* refactor: remove maybe_active_app_id
365-
366-
* refactor: include bool in test for uint64
367-
368-
* refactor: ensure arc4 values always have fully parametrized types
369-
370-
* refactor: use _paramatize_type
371-
372-
* refactor: addressing TODOs
373-
374-
refactor: removing txn from method names inside txn context manager prop
375-
376-
chore: restoring initial pre-commit
377-
378-
refactor: expanding scoped_execution
379-
380-
chore: remove redundant fields
381-
382-
chore: addressing minor todos and removing the ones already addressed
383-
384-
* refactor: adding unit tests for global/local state with implicit keys
208+
### Bug fixes
385209

386-
* refactor: improving handling of initial value for implicit global/local state keys
210+
* added mock implementations for new algopy functions, add util for raising consistent mockable method errors ([`71801f0`](https://github.com/algorandfoundation/algorand-python-testing/commit/71801f01e49b683d81fa46d2ddb1c8aaf38b89f2))
387211

388-
* test: extra test cases for accessing implicit/explicit keyed local/global state
212+
## v0.3.0-beta.1 (2024-08-14)
389213

390-
* refactor: wip adding txn_group_for method
214+
### Features
391215

392-
* chore: fix linting errors
216+
* deferred app calls, modular test context, refined access to value generators, numerous fixes/improvements ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))
393217

394-
* feat: continue with txn_group_for and add a test
218+
* work in progress on asset, application related state ops ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))
395219

396-
* chore: remove scoped_txn_fields methods
220+
* extra tests and implementation wrappers around AppLocal ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))
397221

398-
* add some additional TODO's for scoped_execution
222+
chore: wip
399223

400-
* remove TODO
224+
* adding acctparamsget; extra tests; pr comments ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))
401225

402-
* expand gaid TODO
226+
* add arc4factory ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))
403227

404-
* tweak op.exit implementation and add TODO
228+
* continue with txn_group_for and add a test ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))
405229

406-
* remove arc4 property from AlgopyTestContext
230+
### Bug fixes
407231

408-
* add more TODOs
232+
* handle populating foreign arrays correctly for abi method calls ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))
409233

410-
* refactor: addressing TODOs; adding marketplace contract example (devrel bootcamps)
234+
### Documentation
411235

412-
* test: fixing failing tests
236+
* adding pep257 formatter; using reST docstrings style for context.py ([`85dd58a`](https://github.com/algorandfoundation/algorand-python-testing/commit/85dd58a60f56a0737de84dcb549c01ca5a7a2851))
413237

414238
## v0.2.2-beta.5 (2024-07-30)
415239

416240
### Documentation
417241

418-
* patch urls in README.md (#9) ([`eddf612`](https://github.com/algorandfoundation/algorand-python-testing/commit/eddf612b177a2acddf15d58be3f375e99fb6564b))
419-
420-
* chore: patch urls in README.md
242+
* patch urls in README.md ([`eddf612`](https://github.com/algorandfoundation/algorand-python-testing/commit/eddf612b177a2acddf15d58be3f375e99fb6564b))
421243

422-
* ci: relaxing rules around paths-ignore
423-
424-
* docs: patching old namespace name in readme
244+
* patching old namespace name in readme ([`eddf612`](https://github.com/algorandfoundation/algorand-python-testing/commit/eddf612b177a2acddf15d58be3f375e99fb6564b))
425245

426246
## v0.2.2-beta.4 (2024-07-25)
427247

@@ -432,3 +252,7 @@
432252
## v0.2.2-beta.1 (2024-07-24)
433253

434254
## v0.2.1 (2024-07-10)
255+
256+
### Bug fixes
257+
258+
* patching helper scripts; adding pre-commit; bumping compiler version ([`8d43492`](https://github.com/algorandfoundation/algorand-python-testing/commit/8d43492adfeb53fd2824f0ea812a9c30bf6bb339))

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.6.0-beta.3"
7+
version = "1.0.0-beta.1"
88
description = 'Algorand Python testing library'
99
readme = "README.md"
1010
requires-python = ">=3.12"

0 commit comments

Comments
 (0)