Skip to content

v0.2.0-alpha

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 30 Nov 10:05

Warning

Rookery is currently alpha software. Always place Rookery behind TLS when exposing it beyond localhost, back up ROOKERY_DATA_DIR before upgrading, and start write-path testing with disposable units.

Highlights

Real-time UI, PWA & Companion App Readiness

  • Real-time WebSocket broadcasts (/api/ws): Streams units.changed, resources.changed, and nodes.changed envelopes so open tabs and companion clients refresh immediately on mutations and failure transitions.
  • Installable PWA: Added manifest.webmanifest, app icons (192x192, 512x512, Apple touch icon), and a static-only service worker (sw.js, never caching /api/* or /metrics).
  • QR-code companion pairing: Minting a Bearer API token in Settings → Tokens shows a one-time client-side SVG QR code and rookery://pair URI alongside the raw token.
  • Zero-backend WASM Quadlet converter (cmd/quadlet-wasm): make wasm builds Rookery's pure-Go internal/convert package to dist/quadlet-convert.wasm + dist/wasm_exec.js for embedding on static websites.
  • OpenAPI 3.1 spec: Published docs/openapi.yaml documenting the REST and WebSocket API surface.

Multi-Host, Agent & Operations

  • Per-host rookery-agent connector (-agents alias=url, -agent-token): Full read/write parity across system and rootless user scopes — units, lifecycle, logs, unit files, live stats, resources, host metrics, and GPUs. Pairs with rookery-agent v0.4.0 and rookery-agent-api v0.8.0.
  • Typed resource pages & node-scoped fleet control: Dedicated Containers, Pods, Networks, Volumes, and Images pages with live Podman store inspection, unused-image pruning, and a global node picker.
  • Host-side Quadlet validation & safe apply: Validates on the target host (local, SSH, or agent) with inline CodeMirror diagnostics, fresh-disk diff/rebase before saving, and atomic write → daemon-reload → restart flows.
  • Lifecycle contract hardening & host metrics: Consistent enable/disable semantics across local, SSH, and agent scopes plus CPU, memory, disk, and network throughput telemetry on the dashboard.

Security Hardening & Dependency Updates

  • Per-instance random 32-byte share_hmac secret stored in rookery.db (server_secrets, schema v8).
  • Hardened OIDC SSO: S256 PKCE, cookie-bound state (Login CSRF protection), strict email_verified: true, JWKS refresh filtering, EC/RSA key validation, and -trust-proxy-headers gating on X-Forwarded-*.
  • Immediate session revocation on user delete/demote/password reset/onboarding, per-IP auth rate limiting, stdlib crypto/pbkdf2, http.CrossOriginProtection CSRF checks, baseline HTTP security headers, and http.Server timeouts + graceful shutdown.
  • Eliminated SSH option injection, CLI flag injection, Podman API path traversal, rootful user-scope symlink traversal (os.OpenRoot, 0600 unit writes), registry WWW-Authenticate SSRF/credential leaks, and backup/restore SQL column injection & gzip-bomb OOM (atomic VACUUM INTO snapshots + column allowlists).
  • Updated Go toolchain and dependencies (go 1.26, modernc.org/sqlite v1.63.0, rookery-agent-api v0.8.0) and resolved all 8 npm security advisories (npm audit: 0 vulnerabilities).

Key Fixes

  • Viewer accounts can sign out cleanly (POST /api/logout), and GET /metrics enforces first-login onboarding.
  • Agent-backed bulk actions route to the agent cleanly; unsupported agent update paths return 400 instead of panicking.
  • Fail-closed frontend auth with offline retry, class-based React Error Boundary, CSV formula escaping on audit exports, hex node color validation, ?share= URL stripping, deduplicated Context polling, and stable log SSE streams.
  • Fixed local GPU leakage and node mislabeling on remote/agent-backed nodes.

Container Images & Companion Releases

podman pull ghcr.io/rookerylabs/rookery:0.2.0-alpha
podman pull ghcr.io/rookerylabs/rookery-agent:0.4.0

Full Changelog: v0.1.0-alpha...v0.2.0-alpha