Skip to content

November 27, 2020

Choose a tag to compare

@phoddie phoddie released this 28 Nov 07:44
· 7027 commits to public since this release
  • BLE
    • Add addressType to Client and Connection constructor dictionaries
    • Add getter for appearance on advertising data
    • Implement support for bonding on HID devices (mouse and keyboard)
  • Added Resource Iterator as optional patch to Resource module (original request by @wilberforce in #429). To use it, add $(MODDABLE)/modules/files/resourceiterator/manifest.json to include section of your project manifest, then Resource may be used as an iterator. If a mod (archive) is installed, its resources are also returned by the iterator.
import Resource from "Resource"

for (let name of Resource)
	trace(name + "\n");
  • Poco JavaScript API now has close method to release resources immediately, rather than waiting for garbage collector
  • Piu uses an iterative algorithm when marking fonts during garbage collection to reduce worst-case depth of native stack.
  • Wi-Fi scanner on ESP32 has option for passive scan (set active to false in dictionary passed to constructor)
  • Experimental ESP32 support for networking when both station and access point interfaces are active. Clients and servers work as well as mDNS.
  • Fix time calculations in RTC module #498 (reported by @stc1988, fixed by @wilberforce)
  • Add global require function to REPL to allow synchronous import of modules. (requested by @cmidgley)
  • Examples
    • Fixes to webConfigWifi example to eliminate simultaneous connection attempts
    • Wi-Fi continuous scan module example updated to latest API (target parameter removed from callbacks)
  • Tools and build
    • Set baud rate of xsbug connection for mcrun so it works with M5 products that don't use the default baud rate. (from @wilberforce)
    • mcconfig and mcrun manifests now allow multiple path levels in directory targets (requested by @ariznaf)
    • Moddable SDK builds on Raspberry Pi without any patches (thanks to @jins-tkomoda and @diogoviannaaraujo)
    • Moddable SDK on macOS Big Sur works with ESP32 and ESP8266. Getting Started documentation updated.
    • xsbug and mcsim now set the Retina flag for better rendering quality on high resolution displays (suggested by @tbdr)
    • Improved bezel image for 240x240 screens in simulator (from @sveniv)
  • modClock Project
    • Fix build problems
    • Reconnect after disconnect
    • Rework logic for entering and exiting access point mode
    • Static probe method added to RTC modules to eliminate exceptions on start-up when scanning for RTC
    • Sort Wi-Fi access point list
    • Set character encoding of HTML pages to UTF-8 so access points with non-ASCII characters display correctly