Skip to content

ConfigurationsManager 4.9.0

Choose a tag to compare

@vitalyruhl vitalyruhl released this 23 Oct 06:46
· 26 commits to main since this release
2859d7e

ConfigurationsManager 4.9.0 adds independent build switches for Live and Settings, while preserving application configuration, MQTT and OTA safeguards.

  • Set CM_ENABLE_LIVE_UI=0 to remove Live presentation storage, serializers, routes and Vue components from the firmware and embedded page.
  • Set CM_ENABLE_SETTINGS_UI=0 to remove the Settings UI and its configuration endpoints. Application settings, NVS, validators, callbacks, MQTT and alarms remain operational.
  • Both switches default to 1. Settings-only, Live-only and minimal Flash-only interfaces are supported. Define switches globally in the consumer build_flags.
  • Flash remains independently authenticated and follows the existing OTA enable/password/busy protections. A small capabilities endpoint exposes the available UI areas and OTA status.
  • UI generation forwards the feature values to Vue/Vite, excludes disabled JS/CSS, caches matching source/feature/header combinations and rejects mismatched embedded UI flags.
  • Update Vite to 8.3.4, shell-quote to 1.12.0 and brace-expansion to 1.1.21/5.0.12.

Validation: full repository CI, focused compile/host/tooling/browser checks, and a dedicated SIL test ESP with Live disabled and Settings enabled. The Vite 8.3.4 device smoke test observed no panic, reset, HTTP failure or JavaScript error during the requested short run. It is not a long-run hardware qualification of every UI combination.

PlatformIO: vitaly.ruhl/ESP32 Configuration Manager@4.9.0
Feature documentation: https://github.com/vitalyruhl/ConfigurationsManager/blob/v4.9.0/docs/FEATURE_FLAGS.md