Skip to content

BetterDB Monitor v0.3.0

Choose a tag to compare

@KIvanow KIvanow released this 04 Feb 15:51
· 314 commits to master since this release
aff0456

Multi-Database Connection Support

Connect to and monitor multiple Valkey/Redis instances from a single BetterDB Monitor deployment.

  • Connection selector in the UI to switch between databases - all dashboards, analytics, logs, and alerts update to reflect the selected connection
  • Per-connection metrics, alerts, and webhooks - each database is monitored independently
  • X-Connection-Id header for API requests to target specific connections
  • Credential status tracking with clear feedback on connection issues
  • Existing single-database setups continue to work unchanged

Version Update Notifications

Automatic update checking notifies you when a new release is available.

  • Dismissible banner in the UI with direct link to release notes
  • Version info piggybacked on license/telemetry requests

Keyless Community Tier

No license key needed to get started. Community tier users now automatically get early access to upcoming Pro and Enterprise features as they enter beta - try them before they move to paid tiers. Non-blocking background validation and graceful degradation on network failures.

Connection-Scoped Webhooks

Webhooks can now be scoped to specific database connections with proper isolation. Connection context is included in webhook payloads.

Improvements

  • MultiConnectionPoller base class for standardized polling with error isolation between connections
  • Immutable state management prevents subtle bugs from shared object references
  • Configurable encryption salt via ENCRYPTION_KEK_SALT for defense-in-depth
  • Rate limiting on license refresh endpoint (5 requests/minute)
  • Connection-aware AI assistant — chatbot can query specific database connections
  • Zod-based environment validation that fails fast on invalid config at startup
  • PostgreSQL migration safety — constraint additions check for duplicates before applying
  • Docker Compose v2 syntax support

Breaking Changes

  • PUT /webhooks/:id is now PATCH /webhooks/:id — update your API clients accordingly

New Environment Variables

Variable Default Description
ENCRYPTION_KEK_SALT betterdb-kek-salt-v1 Custom salt for encryption key derivation
VERSION_CHECK_INTERVAL_MS 21600000 Version check interval (default: 6 hours)

Upgrade Notes

  1. Backup your data before upgrading
  2. Update API clients to use PATCH instead of PUT for webhook updates
  3. To add additional connections, use the connection selector in the UI or POST /connections

Full Changelog: v0.3.0...v0.4.0