Skip to content

v0.4.4-beta — OIDC host canonicalization, light/dark theme, and operator UI fixes

Pre-release
Pre-release

Choose a tag to compare

@Nikolasel Nikolasel released this 20 Sep 11:18
· 67 commits to main since this release
Immutable release. Only release title and notes can be modified.
3beec52

Patch release on v0.4.3-beta. No schema changes.

Highlights

  • 127.0.0.1 no longer breaks login. GET /api/auth/login and SPA document requests whose cookie host (hostname + non-default port) does not match APP_BASE_URL are 302'd to the same path on the configured origin before an auth-state cookie is minted, so a 127.0.0.1 visit cannot start a flow whose callback and host-locked cookies live on localhost — the "invalid or expired login state" failure (#298, #308). Scheme is ignored in the comparison, so a TLS-terminating ingress that presents the public Host over plaintext cannot 302-loop. Redirect destinations are always derived from APP_BASE_URL, never from Host, so a spoofed host is not an open redirect; a missing or malformed APP_BASE_URL fails closed. /healthz and other /api/* routes are not redirected, so probes and service-account callers may still use an IP.
  • Light/dark theme toggle in the header. Flips the dark class on <html> — now a class-based Tailwind variant — persists per browser, and follows the OS preference until the first toggle. Applied before first paint so the initial render does not flash the wrong theme, color-scheme follows so browser chrome matches, and a storage listener keeps multiple open tabs in sync (#292, #293).
  • Scanner Nodes table fits 1280×800. Health and Discovery collapse into one Status column, tags and CIDRs move under Name/Scope, the nuclei version and last-seen fold into the catalog cell, and the action column is pinned with a scroll shadow — Edit / Sync / Delete stay on screen without horizontal scrolling (#299, #307).

Fixes

  • Target Save requires Name and Hosts. Both fields are marked required (visible *, aria-required) and Save stays disabled until they have values, matching backend validation and the node-create form (#300, #306).
  • Custom Templates empty state. The catalog table's filter-oriented copy ("No templates match these filters") is replaced with "No custom templates yet." on the Custom Templates tab, which has no filters (#301, #305).

Development environment

  • Cloud Agent (Cursor) environment. .cursor/environment.json plus install / start / dockerd / logs scripts bring up the docker-compose stack so cloud agents can verify PRs against the real stack. .cursor/ is deliberately not gitignored so that environment stays shared (#302).
  • Local AI-agent state is ignored. .claude, .commandcode, .codex, .gemini, .qwen, .opencode, .crush, .continue, .windsurf, .roo, .kilocode, .junie, .specstory, .aider* can no longer be committed by accident; shared instructions stay in AGENTS.md (#303). CLAUDE.md is now a one-line @AGENTS.md import rather than a symlink, so Cursor does not ingest a second copy (#291).
  • Compose MinIO image moved to Quay (quay.io/minio/minio) — MinIO no longer publishes an anonymously pullable Docker Hub image, so docker compose up would have failed against Docker Hub.
  • Docs refreshed for the above: API.md, ARCHITECTURE.md, DEVELOPMENT.md, README.md, CONTRIBUTING.md, and the admin guide (Authentication / Configuration / Deployment / Troubleshooting).

Maintenance

  • Go toolchain → 1.26; coreos/go-oidc/v3 3.21.0, jackc/pgx/v5 5.11.0, golang.org/x/oauth2 0.37.0, golang.org/x/time 0.16.0.
  • Frontend: React / React DOM 19.3, Vite 8.3, @tanstack/react-query 5.103.1, lucide-react 1.46, react-router-dom 7.18.4, @vitejs/plugin-react 6.1.1.

Merged

  • #291 docs: load agent instructions once via CLAUDE.md @AGENTS.md
  • #293 Add header light/dark theme toggle (#292)
  • #294 chore(deps): bump github.com/coreos/go-oidc/v3 to 3.21.0
  • #295 chore(deps): bump the npm-minor-patch group in /web with 4 updates
  • #296 chore(deps): bump the go-minor-patch group
  • #297 chore(deps): bump the npm-minor-patch group in /web with 5 updates
  • #302 Add Cloud Agent development environment (Docker Compose stack)
  • #303 chore(gitignore): ignore local AI agent state, keep .cursor tracked
  • #305 fix(ui): show a true empty state on Custom Templates (#301)
  • #306 fix(ui): require Name and Hosts before saving a target (#300)
  • #307 fix(ui): keep scanner-node row actions visible at 1280×800 (#299)
  • #308 Redirect 127.0.0.1 onto APP_BASE_URL before OIDC login (#298)
  • #309 chore(deps): bump the npm-minor-patch group in /web with 4 updates

Full changelog: v0.4.3-beta...v0.4.4-beta