Skip to content

v0.6.0

Choose a tag to compare

@abc3 abc3 released this 17 May 15:27
· 112 commits to main since this release
Immutable release. Only release title and notes can be modified.

HydraSRT v0.6.0

Full changelog: v0.5.2...v0.6.0

Highlights

  • Telegram notifications for route status changes, with Settings UI and REST API
  • Pipeline logging — GStreamer debug output captured in DuckDB, browsable per route in the UI
  • Route status history & analytics — cluster-wide timeline, charts, and new API endpoints

New features

Telegram notifications

  • Configure Telegram bot token and chat ID under Settings → Notifications
  • Route status change events are sent via a dedicated HydraSrt.Notifications.Telegram process (rate-limited per route)

Pipeline logging

  • Native pipeline GST_DEBUG output is parsed, buffered, and stored in DuckDB (pipeline_logs table)
  • Telemetry hooks for pipeline log metrics
  • Per-route Pipeline logs tab in the routes UI with filtering
  • Automatic retention cleanup (default 24 hours) via stats cleaner

Route status history & analytics

  • Route status transitions recorded in DuckDB for historical views
  • Cluster-wide status timeline on the Routes page (live + history modes)
  • Improved analytics charts (custom tooltips, grid styling)

Routes management UI

  • Pagination for route list (page, limit query params; default limit 50, max 500)
  • Bulk actions: start, stop, or delete multiple selected routes
  • Tag filtering and improved route table UX
  • Optimistic UI updates for interface name changes

Improvements

  • Backup/failover config — nested backup_config JSON on routes replaced with top-level columns (backup_mode, backup_switch_after_ms, etc.); migration migrates existing data
  • PHX_CHECK_ORIGIN — configurable comma-separated allowed origins for Phoenix WebSocket checks (docs/envs.md)
  • Dev auth — API_AUTH_USERNAME and API_AUTH_PASSWORD env vars for development login
  • Demo mode UI — signal generation settings shown only when demo mode is active
  • Default gst_debug — migration sets gst_debug to 4 where unset (enables pipeline log capture)
  • Developer tooling — mix credence task for Credence semantic analysis; agent skills under .agents/skills/

Bug fixes

  • Prevent assigning duplicate address/port on endpoints
  • Correct route status updates in handler/UI
  • Remove expensive unused code paths
  • E2E/tests: dynamic ports instead of hardcoded values; interface alias wait helper
  • Drop runtime status / schema_status from route update payloads (avoids persisting transient state)

Database migrations

Run migrations on upgrade (included in mix setup / release boot):

  1. 20260514180000_flatten_route_backup_config — flattens backup_config → columns
  2. 20260516220000_set_gst_debug_default — sets default gst_debug
  3. 20260517120000_create_notifications — notifications table

DuckDB analytics schema is extended automatically for pipeline_logs and status history tables.


Upgrade from v0.5.2

git pull
mix deps.get
mix ecto.migrate
mix compile
# or rebuild release:
MIX_ENV=prod mix release

For Docker deployments, rebuild and redeploy the image tagged for this release.

Optional: Configure Telegram in Settings after upgrade. Set PHX_CHECK_ORIGIN if WebSocket connections fail behind a reverse proxy on a non-default origin.