Skip to content

v0.4.0

Choose a tag to compare

@ginkgobackup ginkgobackup released this 13 Jun 11:07

v0.4.0

What's New

  • i18n Support (Chinese / English)

    • Added src/i18n.ts internationalization module with zh-CN / en locales
    • All commands, notices, menus, settings, modals, and timeline UI are now translatable
    • Added language selector in settings
  • Large-File Instant-Push Threshold Protection

    • New largeFileThresholdBytes setting, default 5MB
    • StagingManager.isLargeFile() guards modify events, single-file push, and batch pending push
    • Files over the threshold are skipped from instant push and handled by the next full backup
  • main.ts Refactor

    • Added ConnectionManager: connection state, status refresh polling, source detection/configuration, backup progress polling
    • Added StagingManager: modify event listener, hash cache, pending cache, instant push, large-file threshold
    • main.ts is now a thin coordinator for status bar, commands, and settings
  • Bug Fixes

    • Fixed StagingManager.setupAutoBackup unregistering the modify event immediately after registration
    • Replaced progress polling setInterval with recursive setTimeout to prevent request pile-up
    • Fixed auto-detected source ID not being persisted to settings
    • Improved onunload ordering between pending push and cache persistence