Skip to content

v0.11.0 — Coder-discipline cleanup

Choose a tag to compare

@danktankk danktankk released this 03 Apr 18:22
· 58 commits to main since this release

What changed

Security / Correctness

  • Gate auth (check_gate_answer) extracted from chat.py into dedicated gate.py — auth no longer coupled to the OpenAI chat service
  • enable_workstations flag now enforced on both /api/workstations/report and /api/workstations endpoints (was only reflected in /api/features)
  • chat.py _execute_tool now calls run_scan_locked() instead of run_scan() directly — fixes race with concurrent API-initiated scans

Cleanup / Removed

  • Deleted unused /api/alerts endpoint (raw CrowdSec shape, no frontend callers, duplicate of /api/logs/crowdsec)
  • Removed dead geoip_provider config field — only ip-api is supported; advertising a setting that did nothing was misleading
  • Removed dead _HIGH_KW / seen_critical_ips block in aggregator.get_summary() — computed but never used
  • Removed dead get_kanban() function from aggregator.py
  • Removed dead duplicate imports across multiple backend services

Config

  • geoip_rate_limit is now wired into the actual batch throttle sleep (was defined but ignored)
  • network_scan_all uses urllib.parse.urlparse instead of brittle string-stripping to extract host IPs

Frontend

  • StatusDot, UtilBar, FirmwareBadge extracted from NetworkHealth.jsx into components/ui.jsx
  • NET_GATE_KEY and CHAT_GATE_KEY consolidated as named exports in utils/gate.js — no more inline string literals
  • DiscoveryPanel.tsx + types/discovery.ts renamed to .jsx/deleted — project stays in JS

Agents

  • Added AGENT_VERSION = "0.11.0" to Windows, Linux, and macOS agents