Skip to content

1.0.4

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Jul 06:30

Release Notes - v1.0.4

This update brings complete data management parity between the DevSwitch desktop application and the CLI. We have added secure profile transfers, database backups, and enhanced activity logging across both interfaces.


What's New

1. Secure Profile Import & Export

You can now export and import your developer profiles between different devices or back them up safely.

  • Encryption Support: Choose to password-protect your exports using AES-256-CBC encryption to keep your SSH keys secure.
  • SSH Key Handling: Decide whether to export private/public keys or skip them. On import, you can choose to restore existing keys or generate fresh ones for all imported profiles.
  • Detailed Import Status: The app now tells you exactly how many profiles were added, updated, or skipped.

2. Database Backup Management

We added a complete backup and restore utility to make sure you never lose your profiles.

  • Auto-Backups: Turn auto-backups on or off. The system automatically maintains a rolling history of your last 5 changes.
  • Manual Snapshots: Create manual backups at any time.
  • Restore & Delete: Restore your entire database from a saved snapshot or delete old backups you no longer need.
  • CLI Support: Run backup operations directly from your terminal using:
    • devswitch backup (creates a backup)
    • devswitch backup list (shows all snapshots, their sizes, and creation dates)
    • devswitch backup delete <filename> (permanently deletes a snapshot)

3. Desktop UI "Backups & Data" Settings

  • Added a new settings tab in the desktop application called Backups & Data.
  • Manage auto-backup toggles, trigger manual backups, and view a history table of all stored backup files.
  • Restore snapshots or delete backup files with a single click.
  • Run password-protected exports and imports via native file dialogs.

4. Richer Activity Logs

  • The audit log now tracks backup creation, backup restoration, backup deletions, profile exports, and profile imports.
  • Shows tags indicating whether the action was run via the Desktop App ([app]) or the CLI ([cli]).

What We Fixed

  • Desktop Backup Load Crash: Fixed a crash where navigating to the settings page in the desktop app threw a backupService.listBackups is not a function error.
  • TypeScript Preload Defs: Fixed a compilation error caused by a mismatch in return types between the main process and preload bridge declarations.
  • CLI Auto-Completion: Updated the shell autocompletion definitions to correctly list the new backup subcommands (list and delete) and backup filenames.