You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Espruino 1v94 has just been released! It features a whole bunch of changes that should improve speed and reliability, on all boards:

    Improvements

    • Tab complete now works for Pins
    • nRF5x/Puck.js: more resilient handling of BLE events when also executing JS code
    • Puck.js: A very long button press at boot (until after the 5 red LED flashes) will now clear out all stored program code from flash
    • nRF5x/Puck.js: Add hardware watchdog timer support with E.enableWatchdog
    • Faster Flat String allocation which now avoids blocking
    • nRF5x/Puck.js: Better error reporting for BLE errors
    • nRF5x/Puck.js: Fix typo so we wake every 4 min for RTC, not 0.25 sec. Improves power consumption!
    • Change order of execution for init - E.on('init',...) now executed before onInit (allowing modules to init before they can be called by the user)
    • Added Error flag to show if a UART overflow has occurred
    • Exceptions with stack traces now thrown in more areas (where untraceable warnings were printed before)
    • Avoid printing interpreter error messages during execution, and report to console on idle when if errors were flagged
    • Increase HTTP server and client version from 1.0 to 1.1 (needed for Websockets on Safari)
    • Stop require dumping filesystem errors as well as 'module not found'
    • Now throw an exception when writing to a closed socket
    • process.memory() now reports time taken for GC and vars GC'd
    • Slightly more aggressive idle GC threshold on most platforms (at 5% free)
    • Add an argument to reset. reset(true) will now cause all Flash memory to be cleared as well.
    • Added support for Seeed's Wio LTE board

    Fixes

    • Fix length calculation for typed arrays with an offset
    • Fix Date.toString for dates before 1970
    • STM32: Fix occasional RTC jumps (wrong month when setting RTC)
    • nRF5x/Puck.js: If a task is in progress, report the task ID in errors
    • nRF52/Puck.js: Report central mode promise errors correctly if returned by the softdevice
    • nRF5x/Puck.js: Don't disable IRQs completely for some things - only disable Espruino ones, which will help reliability
    • ESP8266: Fix load() causes endless loops
    • ESP8266: Fix Wifi library not handling {password: null}
    • Stop require creating an undefined Module entry in the modules list if no module exists
    • Set the internal 'conn' variable to false when a connection closes to avoid confusion
    • Fix issue drawing on right-hand side of rotated graphics where H>W (regression in 1v93)
    • If >1 button, set pin state correctly at boot/reset
    • STM32: Remove the 'utility timer' from the list of available PWM pins, fixing A0/1/2 PWM on F4

    For a full list of changes with their bug numbers, check out https://github.com/espruino/Espruino/blo­b/RELEASE_1V94/ChangeLog

About

Avatar for Gordon @Gordon started