The get_dashboard_data endpoint was missing version information for modules. Updated to include version extraction from package manager (apk/opkg). **Changes:** - Add package and version config variables in get_dashboard_data - Extract real version from apk (OpenWrt 25.12+) or opkg (24.10) - Include version field in JSON output for each module **Dashboard Data Now Includes:** - Module version for installed packages (e.g., "0.3.1") - Default version "0.0.9" for non-installed modules - Consistent version format across all endpoints **Benefits:** - Dashboard can display installed package versions - Users can see which version of each module is running - Consistent with modules endpoint behavior Tested on OpenWrt 25.12.0-rc1 with apk package manager. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| luci.secubox | ||