Releases: algorandfoundation/puya-ts
Releases · algorandfoundation/puya-ts
v1.0.0-alpha.25
1.0.0-alpha.25 (2024-11-12)
Features
- allow construction of bytes from biguint to be orthogonal to biguint being constructed from bytes (ba23c64)
- ARC4 Structs (a9d30f9)
- ARC4 Tuples and UFixedNxM (b13fbd1)
- Compile logic signatures and template variables (1e06a3a)
- Handle ARC4 bool and string (ce32257)
- support calling bitwiseAnd, bitwiseOr, and bitwiseXor methods of bytes type (dfa9e76)
Bug Fixes
- allow uint64 type as well for Application and Asset parameter types (d84d291)
- avoid hardcoding op codes (3c6132d)
- avoid updating op-metadata file directly as it is generated by a script (796995f)
- circular dependency (9e300a1)
- Importing consts from external files (d7f0fd5)
- Include new properties required by puya in awst nodes and wtypes (ccec890)
- op codes with no arguments and void return types were throwing
Not Supported: Calling void
error (6e5a095) - TransactionType enum name in PType (ef52014)
- undo change to BytesCompat type as it is incorrect and unnecessary (20b1567)
- update generate-op-ptypes script instead of directly editing op-ptypes (8d69152)
v1.0.0-alpha.24
v1.0.0-alpha.23
1.0.0-alpha.23 (2024-10-30)
Features
- Add implicit create methods to contracts which don't have an explicit one (7ab8f02)
- Allow replacement tokens in outpath (d332569)
- Array indexing + bug fixes (818f1aa)
- Expand arc4 type support (41b7726)
- Provide struct definitions to puya for arc4 methods (f1af384)
- Support empty statements (ef5f820)
Bug Fixes
- Destructuring into iterator items (dcfccab)
- Expand implicit create method logic to check base contracts and test (7352755)
- Respect declaration order of object properties and use field expression in place of item indexing (cda490d)
- Use correct case for copy readme script (2fc15ae)
Dependencies and Other Build Updates
- Don't run commit lint on release and it checks the entire history and old commits don't lint correctly (a8d41e2)
- Remove commit lint warnings (8945391)
- Start algokit localnet for testing (095bc50)
- Use "./" instead of "." (e971c5b)
- Validate that the code built for the algo-ts package matches (6600ec3)
v1.0.0-alpha.22
v1.0.0-alpha.21
v1.0.0-alpha.20
1.0.0-alpha.20 (2024-10-16)
v1.0.0-alpha.19
v1.0.0-alpha.18
1.0.0-alpha.18 (2024-10-16)
Features
- Introduce a logging context which holds logs and source lines which allows for log messages to include a summary of the source code which resulted in the log message (eb48a3a)
- Add hooks to compile process for consumers to manipulate TS AST and AWST before compilation (7635894)
- Error when attemping to mutate an immutable tuple type (88b9a10)
- Include --isolated-files option to compile each individual file matched by cli separately (bea7a46)
Bug Fixes
- Builder can be returned as is if ptype is an exact match (a61a2b6)
- Ensure nested assignments use correct lvalue logic (df40d08)
- Make all tuples immutable for now to match puya (441eb2d)
- not node still requires int to be cast to bool (c58728b)
- Patched awst serializer to work with puya's simplified approach to default args. Can be removed once puya has been updated (d9724e0)
- Remove circular dependencies and ensure build fails in future if one is added (20107d2)
- Use correct node type for local state expressions (d1db360)
- Use platform agnostic command name (88a08ee)
- wtype for box_resize (f5e0a4c)