Releases: algorandfoundation/puya-ts
Releases · algorandfoundation/puya-ts
v1.0.0-alpha.37
v1.0.0-alpha.36
1.0.0-alpha.36 (2024-12-23)
Features
- export ptypeToArc4EncodedType function needed for stub implementation of encodeArc4, decodeArc4 functions (056f7ef)
v1.0.0-alpha.35
1.0.0-alpha.35 (2024-12-22)
Features
- implement arg, len, appOptedIn op codes via context manager (6cdbd02)
v1.0.0-beta.2
v1.0.0-beta.1
1.0.0-beta.1 (2024-12-19)
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 DynamicBytes and StaticBytes types (607d15f)
- Add hooks to compile process for consumers to manipulate TS AST and AWST before compilation (7635894)
- Add implicit create methods to contracts which don't have an explicit one (7ab8f02)
- Add interpretAsArc4, decodeArc4, and encodeArc4 functions in place of static member functions which are less versatile (c4e53ab)
- Add missing puya parameter for outputting source maps (974da25)
- allow construction of bytes from biguint to be orthogonal to biguint being constructed from bytes (ba23c64)
- Allow replacement tokens in outpath (d332569)
- Allow stateTotals to be specified statically in contract options (d9e3bfe)
- ARC28 emit function (d0bfed7)
- ARC4 Structs (a9d30f9)
- ARC4 Tuples and UFixedNxM (b13fbd1)
- Array indexing + bug fixes (818f1aa)
- Array push, pop, slice, and at (af98954)
- AVM11 Support (2202dce)
- BoxRef.resize (4757566)
- capture options from contract decorator as class property (2821fcb)
- Compile logic signatures and template variables (1e06a3a)
- Error when attemping to mutate an immutable tuple type (88b9a10)
- Expand and implement Bytes and BigUint factory methods (d013fa9)
- Expand arc4 type support (41b7726)
- Expand Bytes factory method to support iterable (ie. uint8array) (88bf321)
- Export encoding util methods (cdce210)
- Handle ARC4 bool and string (ce32257)
- implement AppGlobal via context manager (6e34ad2)
- implement AppLocal via context manager (62143f3)
- implement arc4.methodSelector function (5dbb752)
- implement Box via context manager (11c0c15)
- Implement missing box proxy methods (e0a6fae)
- Include --isolated-files option to compile each individual file matched by cli separately (bea7a46)
- Include option for outputting arc56 json files (dfad42c)
- Parse jsdoc comments where available and include them in AWST (7845ca1)
- Pre-compiled contracts (757e8a4)
- Provide struct definitions to puya for arc4 methods (f1af384)
- Reserved scratch space (942a109)
- Support as casting (c6670f7)
- Support Boolean() with no args (7df6e95)
- support calling bitwiseAnd, bitwiseOr, and bitwiseXor methods of bytes type (dfa9e76)
- Support empty statements (ef5f820)
- support fromBytes and fromLog methods for ARC4Encoded types (08912a1), closes #45
- Support property checks and spreading of arc4 structs (36a1661)
Bug Fixes
- Add missing slice method to bytes interface (11ffcef)
- 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)
- biguint construction from uint64 and conversion to bytes (1312e9d)
- Boolean function generic param count (ce464b4)
- Bug when creating UintN<128> instance with a literal larger than 64bits (674d6b2)
- Bugs in hex decode and b32 encode (af18eb0)
- Builder can be returned as is if ptype is an exact match (a61a2b6)
- bytes.slice and bytes.at not handling negative or missing values correctly (e6b5ba5)
- Calculation of outDir for compilation output + negate boolean cli options which are enabled by default (3569bf4)
- circular dependency (9e300a1)
- Destructuring into iterator items (dcfccab)
- Ensure nested assignments use correct lvalue logic (df40d08)
- Error when parsing an unsafe numeric literal (9747254)
- Expand implicit create method logic to check base contracts and test (7352755)
- Expand supported args for uint64 constructor (df9a59b)
- Export paths for algorand-typescript package (daf87de)
- Generate a name for anonymous types used in ABI methods + stabilise output for SingleEval nodes (49f0cd6)
- Importing consts from external files (d7f0fd5)
- Include new properties required by puya in awst nodes and wtypes ([ccec890](https://github.com/algorandfoundati...
v1.0.0-alpha.34
1.0.0-alpha.34 (2024-12-18)
Features
v1.0.0-alpha.33
1.0.0-alpha.33 (2024-12-17)
v1.0.0-alpha.32
1.0.0-alpha.32 (2024-12-12)
Features
- Add missing puya parameter for outputting source maps (974da25)
v1.0.0-alpha.31
1.0.0-alpha.31 (2024-12-10)
Bug Fixes
- Issue with box value proxy not proxying all members through to proxied builder (59fea44)