November 1, 2022
This release contains changes to the Moddable SDK made between October 1, 2022 and November 1, 2022
Highlights of this release include:
- Support for seven more Raspberry Pi Pico dev boards
- ECMA-419 I/O for Raspberry Pi Pico
- Enhanced support for ESP32-C3 and ESP32-S3
- Faster builds
If you have questions or suggestions about anything here, drop by our Gitter to chat, start a new Discussion on our GitHub repository, or contact us on Twitter at @moddabletech.
- Devices
- Raspberry Pi Pico
- Build targets for seven more Pico development boards
- Adafruit ItsyBitsy RP2040
- Adafruit QT Py
- LILYGO T-Display RP240
- Pimoroni PicoSystem
- Pimoroni Tiny 2040
- Seeed Studio XIAO RP2040
- Sparkfun Pro Micro RP2040
- Neopixel support
- Raspberry Pi Pico W LED (resides on Wi-Fi controller) available as Digital pin 32
- Build targets for seven more Pico development boards
- ESP32
- M5StickC Plus device support added (contributed by @kitazaki)
- AI Thinker ESP32 C3-32S-Kit build target – supports 2 MB flash and LEDs
- SPI support for ESP32-C3
- ESP32S3 runs at 240 MHz now by default
- New
resetReason
module to retrieve the value ofesp_reset_reason()
- Raspberry Pi Pico
- Ecma-419
- Modules
- Audio Output
- Fixes for buffer validation
- Mixer option to output to existing buffer
- Guard against invalid host data
- Networking
- TLS (SecureSocket) now queries the native socket to determine space available to write. Avoids write failures due to overflow and under-utilization of available space
- HTTP client supports URL and HTTP headers of arbitrary length
- Wi-Fi accepts WPA PSK on both ESP32 & ESP8266. #870 (Suggested by @MKGaru)
- Outline rendering of arcs with
CanvasPath
no-longer overflow buffer - XPT2046 touch driver supports flipping X & Y axis
- Audio Output
- XS JavaScript engine
- Fixes for stability issues found by fuzz testing
- Yes...
- ...this was an unusually quiet month for XS
- We're hard at work on a very cool new feature that will debut later this month
- Stay tuned!
- Tools
- Faster ESP32 builds on macOS by running tools in parallel
- Faster macOS tools builds by runnings tools in parallel
- Instrumentation in xsbug now shows "turns" for ESP32 and ESP8266, the number of times per second the event loop runs
- TypeScript
- Type definitions added for
deepEqual
andstructuredClone
(contributed by @meganetaaan)
- Type definitions added for
- Documentation
- Added new Raspberry Pi Pico devices
- Tests
- Piu Sound tests added
- audioOut tests fixed to eliminate out-of-memory errors
- HTTP large headers test added
- BLE client tests for scanning and whitelist