Skip to content

v2.0.1 Release Notes

Choose a tag to compare

@eleonel eleonel released this 24 Jan 00:24
6a1787a

Performance & Stability

  • Increased JavaScript heap from 48KB to 64KB for larger scripts
  • Increased JS task stack from 16KB to 24KB for complex operations
  • Optimized label_set_text - uses static buffer to prevent heap fragmentation
  • Memory protection - timer callbacks skip execution when memory < 15KB
  • Reduced debug logging - cleaner serial output, faster execution

New Features

  • HTTP support for http_get() - now supports both HTTP and HTTPS URLs
  • HTTP retry mechanism - automatically retries failed requests (up to 2 times)
  • mem_stats() function - returns free heap bytes for debugging
  • draw_rect() improvements - optional color parameter, returns handle

Bug Fixes

  • Fixed nested config keys - /config get settings.wifi.ssid now works
  • Fixed JS error reporting - shows actual error messages instead of generic errors
  • Fixed serial command parsing - improved reliability

API Changes

  • draw_rect(x, y, w, h) → draw_rect(x, y, w, h, color) - color is optional (default: green)
  • show_gif_from_sd(path, x, y) → show_gif_from_sd(filepath) - simplified signature

Documentation

  • Updated API.md with new functions and signatures