Skip to content

v2.7.0

Choose a tag to compare

@dev-embedthis dev-embedthis released this 15 Jun 23:59
· 214 commits to main since this release

Feature Release

Breaking APIs

  • The openaiResponses() API has added 2 parameters for the agentCallback and arg.
  • The jsonString API now takes a JSON flag to indicate whether the output should be in Json6 or JSON format. Use JSON_PRETTY for Json6 and JSON_STRICT for JSON.
  • The rRun, rVsnprintf, webWriteJson have changed arguments.
  • The rSignal API has been split into rSignal and rSignalSync. The former creates a fiber to run watchers and does not take an argument. The latter is a direct invoke and can pass an argument.

Recommended Action

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

Features

  • Add --sync up|down|both command and ioSync() API for complete db sync
  • Add AI_SHOW to control AI trace.
  • Add dbGet*, jsonGetValue and rGetStackUsage APIs.
  • Add json --js option to emit JSON in a format that can be imported as a JS file.
  • Add jsonSetJsonFmt to allow setting JSON properties to arbitrary JSON.
  • Add OpenAI tracing via AI_SHOW
  • Add support for OpenAI agents (see AI app and patient.html sample)
  • Enable fiber stack overflow checking by default
  • Improve URL client HTTP connect/disconnect trace
  • Integrated API signature processing. Added route "validate" property.
  • Code extensively validated with static analysis and LLM tools.
  • Add web output buffering

Fixes

  • Bad AI responses format string
  • Centralize schemas in dev-schemas pak imported to ./schemas
  • Conditionally export app extension config files
  • Dashboard and Page app designer using grid layout. Now always renders in exact mode after designing.
  • Fix app designer expand widget row
  • Fix C++ compilation issues
  • Fix compiler warnings on some platforms
  • Fix dashboard and page widget alignment when resizing responsive windows
  • Fix database sync boundary conditions with cloud-side removal
  • Fix ioUpdateDevice calling when local
  • Fix json compiler warnings
  • Fix json parsing of non-object input
  • Fix memory leaks on error path in OpenAI
  • Fix missing SyncState table in local schema for update tracking
  • Fix some corner cases when blending JSON arrays
  • Fix SSE receipt of events in HTTP URL client
  • Fix to call ioUpdateDevice in local management mode
  • Improve ioto trace source field
  • Improve Web and Url header validation
  • Iterating json collections that mutate the JSON tree -- add warning
  • Optimize buffer growth algorithms
  • Restructure app makefiles
  • Setting JSON properties to a different type
  • Add const to some DB and Json APIs
  • Fix provisioning / cloud connect sequencing
  • Fix compiler warnings
  • Add device.json for auth/blink/noapp/unit apps
  • Fix minor memory leaks
  • Fix aws shadow updates
  • Fix osdep riscv defintions
  • Fix printf formatting for floating point
  • Fix memory leak in the database module
  • Fix MQTT request/response subscriptions

-end-

See