Releases: algorandfoundation/TEALScript
Releases · algorandfoundation/TEALScript
0.85.0
- remove erroneous
log
from itoa
method generated via toString
- fix
continue
branch location for for
loops
- support
for...of
loops (with continue
and break
support)
- fix error thrown when accessing a value from a box static array stored in a variable
0.84.0
- include all lib files in
dist
Project
from ts-morph is now exported
0.83.1
- prefix compiler-generated labels with
*
to avoid collision with user-defined methods
- fix index of boolean bits in tuples
0.83.0
- method signatures can now be passed to
sendMethodCall
(ie. sendMethodCall<typeof MyApp.prototype.myMethod>
)
len
now takes a type argument to calculate its size without a value (ie. len<MyCustomType>()
)
len
will no longer push anything to the stack (other than the length) for static values
0.82.2
- fixed bug when a contract inherited from multiple other contracts was interpreted as a lsig
- fixed bug with logical expressions (
||
and &&
) being erroneously typed
0.82.1
- fix static array length on non-nested array in variable
- fix source comments in TEAL for
for
loops and forEach
loops
0.82.0
Breaking Changes
ecdsa...
opcodes now take in bytes32
and returns { x: bytes, y: bytes }
Other Changes
- fixes
.length
on static arrays in variables
0.81.0
- fixes nested array methods (ie.
.length
)
- adds support for
bytes<N>
to define byte[N]
- fixes static arrays being erroneously pushed to the stack when calling
.length
0.80.1
- fixes bug that caused byte schema to be returned when attempting to read uint schema
0.80.0
- added AVMv10 global fields to
globals
this.pendingGroup.add...
now has a parameter isFirstTxn
so TEALScript nows when to use itxn_next
and itxn_begin
- Inner ABI method calls now properly use
itxn_begin
/itxn_next