Released on 9 April 2021
- Added the slice operator:
list[from..to]. Slices are views into the underlying object. Slices are implemented for Lists, ByteArrays, and strings.
Released on 29 March 2021
--in_placewasn't correctly handled.
Added ByteArray literals. They are started with
#[and can only contain bytes. When declared statically, they are stored in flash and use less RAM.
Improved syntax highlighting for
Array_, thus making it private. This class should not be used by developers.
Ais a constructor call. From now on, constructor calls must be wrapped in parenthesis if they are immediately used as receivers:
ByteArrayis not a
float.stringifynow always emits a string that can be recognized as float. In particular, it will not emit an integer string anymore. For example,
"5"as it used to do.
Remove the requirement that patterns for
directory.mkdtempmust end with "XXXXXX".
The directory streamer now skips "." and ".." entries.
-Iflag of the compiler.
taskwhich prevent the created task from blocking app termination.
Removed empty partitions from flashing when provisioning.
float. Floats can now be rounded to another
--precisionor to an
float.to_intnow throws when outside 64 bit integer range.
We are now based on esp-idf version 4.2
LittleEndian is now named
LITTLE_ENDIANand is used differently (use with import binary).
Driver added for VCNL2020 (movement and light sensor).