Releases: algorandfoundation/TEALScript
Releases · algorandfoundation/TEALScript
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
0.79.1
- fixes bug with undefined forEach frame indexes
- fixes
dup
optimizations causing extra dup
in some scenarios
0.79.0
- enables arithmetic when defining constants
0.78.1
- fix array/object literals in private subroutine calls
- fixes type bug with type casting
0.78.0
- full AVM10 opcode coverage
- support for accessing inner group txns via
this.lastInnerGroup
- adds support for
.length
on static arrays
- fixes arrays in
sendMethodCall
0.77.0
Breaking Changes
- prior
assert
functionality of handling multiple conditions is now handled by a new function asserts
assert
now only takes one condition and an optional message that is shown as a comment above the assert.
- constants can no longer be typed. They MUST be string or numeric literal and are treated as such in code.
Other Changes
- add support for
forEach
on static arrays
- add support for
continue
and break
in for, while, and do-while loops
- A function without a return type is implicitly void
0.76.1
fix: comparison type as bool