Releases: algorandfoundation/puya-ts
Releases · algorandfoundation/puya-ts
v1.1.0-beta.4
1.1.0-beta.4 (2025-11-20)
Bug Fixes
- Remove internal static PuyaService instance in favour of optional dependency injection for instance re-use (16d96d7)
v1.1.0-beta.3
1.1.0-beta.3 (2025-11-13)
Bug Fixes
- Remove post install script which is throwing security warnings in pnpm (f7b61e3)
v1.1.0-beta.2
1.1.0-beta.2 (2025-11-12)
Bug Fixes
- Smoke test freshly downloaded puya binary before releasing the file lock (253c1b9)
v1.1.0-beta.1
1.1.0-beta.1 (2025-11-10)
Features
- Add generic version of itxnCompose.begin and next, plus methodSelector helper which works with type only imports (bd81564)
v1.0.2-beta.2
1.0.2-beta.2 (2025-11-06)
Bug Fixes
- Bug introduced by uri normalisation when normalising uris that are under the current working directory (9aa19a2)
v1.0.2-beta.1
1.0.2-beta.1 (2025-11-05)
Bug Fixes
- Normalise document uris across the language server to resolve diagnostic responsiveness in webstorm (877ed49)
v1.0.1
1.0.1 (2025-10-30)
If you are migrating from the Algorand TypeScript beta or TEALScript, please check out the migration guides.
⚠ BREAKING CHANGES
- Replace checked boolean on bytes.toFixed method with string enum to make behaviour more explicit
- gtxn.ApplicationTxn renamed to gtxn.ApplicationCallTxn
- itxn.ApplicationInnerTxn renamed to itxn.ApplicationCallInnerTxn
Export gtxn and itxn as sub modules - Incorrect type for transaction oncomplete and transaction type
- Moves OnCompleteAction type out of /arc4 namespace
refactor
- Moves OnCompleteAction type out of /arc4 namespace (c805015)
- Replace checked boolean on bytes.toFixed method with string enum to make behaviour more explicit (3a06892)
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)
- a very simple language server (4043ea5)
- accept abi method reference as a parameter to methodSelector function (#108) (763db73)
- Account now accepts a b32 address string + fix docs to make it clear that bytes value is public key (0c2e8a1)
- add
resourceEncodingproperty to abi method config (27ddabd) - Add arc4EncodedLength helper for getting the fixed encoded size of a type (a9d4ad7)
- Add box.create function for creating a box with zero value (79bd8b1)
- Add convention based abi routing using well-known method names (7ea7d96)
- add dynamic ABI validation (#280) (575635e)
- add dynamic ABI validation (#281) (e820bfe)
- 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 length generic to bytes type for declaring statically sized byte sequences (13292cd)
- add log level configuration for language server (546a8f3)
- Add missing puya parameter for outputting source maps (974da25)
- Add new shorthand readonly decorator and rename arc4EncodedLength to sizeOf (06b555f)
- Add support for box maps with composite key types (a73a743)
- add support for storing tuples into boxes, global and local state (1b82fe3)
- add v11 op code
mimc(b50ab7e) - add validate-abi-values and validate-abi-dynamic-severity CLI options (92515d2)
- Allow arc4 contracts to provide their own approvalProgram implementation, but warn if they don't invoke super.approvalProgram as this would result in no arc4 routing (eccd0ce)
- Allow code to be resolved from virtual files (26ee4b2)
- allow construction of bytes from biguint to be orthogonal to biguint being constructed from bytes (ba23c64)
- Allow number and bigint types to be used when declaring consts (fcb36e2)
- Allow replacement tokens in outpath (d332569)
- Allow resource encoding to be specified at a contract level and update typed c2c logic to respect the chosen encoding (e938010)
- allow resourceEncoding to be passed in as a cli argument (d0d77f0)
- 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)
- Better error messages when invalid types are used in ABI and bare methods (5ce0f22)
- BoxRef.resize (4757566)
- capture options from contract decorator as class property (2821fcb)
- changes to support node 20 (b60d4ba)
- Code fix for arc4 clone and replace == with === (7f9a978)
- Code fixes (37e270f)
- Compile logic signatures and template variables (1e06a3a)
- consistent awst serialization (8522b42)
- consume puya binary (b433b11)
- Default to the build command if no other command is present (ee48e34)
- 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)
- Expand constant expression evaluation to allow for basic math operations on two other constant values at the module level (edec71c)
- export compile option types for stub implementation (02bbad0)
- export compile...
v1.0.0-alpha.99
1.0.0-alpha.99 (2025-10-28)
v1.0.0-alpha.98
1.0.0-alpha.98 (2025-10-28)
Features
- use
--validate-abi-returnoption when getting an ABI result fromabiCall(edc1c78)
Bug Fixes
- Restore relative paths in console output (44c5ae9)