What's New
Added
- Configuration file support: Edit
config.jsonto customize compaction parameters without modifying source code - CLI argument overrides: Use
--thresholdand--retainflags 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.logfor 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