|
1 | 1 | # 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) |
5 | 3 |
|
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 |
9 | 5 |
|
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)) |
11 | 7 |
|
12 | | - * chore: add dependabot yaml |
| 8 | +## v0.4.1 (2024-09-03) |
13 | 9 |
|
14 | | - * chore: adding ability to pass args to struct init subclass |
| 10 | +## v0.4.1-beta.1 (2024-09-03) |
15 | 11 |
|
16 | 12 | ## v0.4.0 (2024-08-27) |
17 | 13 |
|
18 | 14 | ## v0.4.0-beta.2 (2024-08-27) |
19 | 15 |
|
20 | 16 | ## v0.4.0-beta.1 (2024-08-27) |
21 | 17 |
|
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 | | - |
46 | 18 | ### Documentation |
47 | 19 |
|
48 | 20 | * include usage of `algopy_testing_context` in README.md quick start ([`4702f60`](https://github.com/algorandfoundation/algorand-python-testing/commit/4702f60cfe7d09956a5ae6dbdcd72da29fdda808)) |
|
55 | 27 |
|
56 | 28 | ## v0.3.0-beta.8 (2024-08-22) |
57 | 29 |
|
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 | | - |
62 | 30 | ## v0.3.0-beta.7 (2024-08-21) |
63 | 31 |
|
64 | 32 | ## v0.3.0-beta.6 (2024-08-21) |
|
87 | 55 |
|
88 | 56 | * chore: apply suggestions from code review |
89 | 57 |
|
90 | | - Co-authored-by: Daniel McGregor <[email protected]> |
| 58 | + Co-authored-by: Daniel McGregor <[email protected]> |
91 | 59 |
|
92 | 60 | * docs: addressing docs pr comments |
93 | 61 |
|
94 | 62 | ## v0.3.0-beta.5 (2024-08-21) |
95 | 63 |
|
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 | | - |
112 | 64 | ## v0.3.0-beta.4 (2024-08-21) |
113 | 65 |
|
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'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's skip any that might already be reserved ([`0bb5eba`](https://github.com/algorandfoundation/algorand-python-testing/commit/0bb5eba3ec75ffdb16cfbac5b3c4837f64f8a58a)) |
127 | | - |
128 | 66 | ### Documentation |
129 | 67 |
|
130 | 68 | * integrating pydoclint; formatting docs; removing docs from stub implementation ([`d729bf9`](https://github.com/algorandfoundation/algorand-python-testing/commit/d729bf9b70ef885cd1b2ef705c4f5e2582d853ab)) |
|
135 | 73 |
|
136 | 74 | ## v0.3.0-beta.1 (2024-08-14) |
137 | 75 |
|
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 <[email protected]> |
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'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'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 -> 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 -> 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 "creating" 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'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 | | - |
350 | 76 | ## v0.2.2-beta.5 (2024-07-30) |
351 | 77 |
|
352 | 78 | ### Documentation |
|
0 commit comments