Skip to content

v0.2.0 - Configuration & Enhanced Reliability

Latest

Choose a tag to compare

@songoao25 songoao25 released this 16 Aug 02:57
· 3 commits to main since this release

What's New

Added

  • Configuration file support: Edit config.json to customize compaction parameters without modifying source code
  • CLI argument overrides: Use --threshold and --retain flags for temporary parameter changes
  • Timestamped backups: Backup files now include timestamps (.bak-auto-compact-YYYYMMDDTHHmmss) to prevent overwriting
  • Operation logging: All actions logged to ~/.dsh/dsh-auto-compact.log for audit trail
  • Enhanced error handling: YAML validation, graceful failure recovery, detailed error messages
  • Factory preset documentation: Clear instructions in README for using enhanced compaction with factory presets

Changed

  • Updated bilingual README with factory preset usage instructions
  • Improved uninstall script to handle timestamped backups
  • Number formatting fixed (0.20 instead of 0.2)

Testing

  • Added 2 new test cases (10 total, all passing)
  • Verified config file loading, CLI overrides, and backup strategy

Full changelog: See CHANGELOG.md