Skip to content

ChronoBase v0.4.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 14:12
· 20 commits to main since this release

ChronoBase v0.4.0

ChronoBase is the native Rust rewrite of the ChronoBase v1 (Node.js) — a local-first backup manager for PostgreSQL and MongoDB. Zero cloud, tiny footprint, fast startup, and full compatibility with v1 chronobase-data.json files.

What's New in v0.4.0

Added

  • Backup Retention & Auto-Cleanup (chronobase cleanup [--dry-run]): Added pure plan_retention planner, RetentionService::{preview, run}, schema v4 (AppSettings.retention, CleanupFrequency, and per-connection Connection.retention overrides, disabled by default on v1/v3 upgrades), serialized locking against restore/migration, triggers (post-backup, startup, and ScheduleRunner cadence), and Slint Schedules -> Automatic Retention + Connection modal override controls. Retention deletes exclusively through BackupService::delete_backup (canonicalized backups/ path containment), always protects the newest good snapshot per (connection_id, source_kind), and never deletes snapshots under 1 hour old.
  • Scheduled Failure Notifications: ScheduleRunner::execute_schedule now emits UI-free ScheduleFailureEvent broadcasts surfaced as GUI error toasts while preserving structured tracing::error! logs in --headless.

Fixed

  • Backup History Cap Orphan Prevention: BackupRepository::record() now evicts the oldest Failed entries first when exceeding 500 entries and never silently drops Success entries (preventing orphaned backup files/directories on disk).

Downloads & Platform Support

Platform Package / Installer Notes
Windows x64 ChronoBase-windows-x64-setup.exe, ChronoBase-windows-x64.msi, ChronoBase-windows-x64-portable.zip NSIS setup installer, Enterprise MSI, and portable zip
Linux x86_64 ChronoBase-linux-x86_64.tar.gz, ChronoBase-linux-x86_64.deb X11 & Wayland via Slint winit
macOS Apple Silicon ChronoBase-macos-arm64.dmg, ChronoBase-macos-arm64.app.tar.gz Native aarch64-apple-darwin
macOS Intel ChronoBase-macos-x64.dmg, ChronoBase-macos-x64.app.tar.gz Cross-compiled (build-only, not tested on Intel hardware)

Verify Downloads (SHA256SUMS.txt)

Linux / macOS:

sha256sum -c SHA256SUMS.txt --ignore-missing

Windows (PowerShell):

Get-FileHash .\ChronoBase-windows-x64-setup.exe -Algorithm SHA256
Get-FileHash .\ChronoBase-windows-x64.msi -Algorithm SHA256
Get-FileHash .\ChronoBase-windows-x64-portable.zip -Algorithm SHA256

Platform Notes

  • Database CLI tools: pg_dump, psql, mongodump, mongorestore, and mongosh are not bundled. See the Setup section in README.md.
  • Where data lives: If chronobase-data.json exists next to the executable or in the current working directory, ChronoBase runs in portable mode; otherwise it uses your OS user data directory (override with --data-dir or CHRONOBASE_HOME).
  • Windows SmartScreen: Builds are unsigned; click More info -> Run anyway if prompted.
  • macOS Gatekeeper: Right-click -> Open, or run xattr -cr /Applications/ChronoBase.app.
  • Linux dependencies: Requires libfontconfig1, libxkbcommon0, libxkbcommon-x11-0, and libgl1 (for the default OpenGL renderer). Both X11 and Wayland are supported.
  • Headless / Auto-start: Run chronobase --headless from systemd, launchd, or Windows Task Scheduler to execute scheduled backups without opening a window.

Built with Slint.

Full Changelog: https://github.com/Subham-Maity/chronobase/blob/v0.4.0/CHANGELOG.md