Skip to content

v2.6.0

Choose a tag to compare

@dev-embedthis dev-embedthis released this 23 Mar 23:58
· 332 commits to main since this release

Feature Release

Recommended Action

  • Optional Upgrade -- Upgrade only if convenient
  • Recommended Upgrade -- Upgrade recommended but not essential
  • Essential Upgrade -- All users strongly advised to upgrade

This release adds WebSocket support for the embedded web server and prototype OpenAI API support.

Features

  • Added WebSockets Library
  • Added WebSocket server to the embedded web server
  • Added Web Socket client
  • Added OpenAI API support
  • Add WebSocket support to the "url" client command with ws:// support
  • Add JSON validation for uploaded display.json files
  • Added AI App under apps/ai
  • Add jsonConvertBuf API
  • Add JSON parsing auto sense of the json variant (strict, json, json5)
  • Add --strict to the json utility command
  • Added rGetFileExt API
  • Added SFMT and SDEF macros to the Safe runtime to make handling literal strings easier.
  • Add update.enable to ioto.json5 config
  • Rename the webserver command to web
  • Improve Documentation
  • Add Windows WSL support
  • Improve web server default route table

Fixes

  • Many smaller improvements
  • URL client and web server handling of finalization
  • Tighten handling of webWrite/urlWrite finalization of requests
  • Ensure HTTP request body is fully read before redirecting requests with 302
  • Web redirects when missing certain URL fields.
  • Improve JSON strict parsing validation
  • Add JSON type sleuthing
  • Fix web server double decode of query string
  • Only invoke ioUpdateDevice when cloud-based management enabled
  • Fix conditional compilation issues
  • Fix web server file upload boundary conditions
  • Fix MQTT connection retries
  • Fix memory leak in URL

-end-

See