Releases: lokthok/file-tracker-template
Releases · lokthok/file-tracker-template
v1.1.0: Hash-based change detection
🎯 What's New
This release introduces hash-based change detection for reliable file tracking, especially when working with cloud sync services like OneDrive, Teams, Dropbox, or Google Drive.
✨ Key Features
- Content-based change detection using MD5 hashing
- No more false positives when re-downloading identical files
- Files are compared by actual content, not timestamps
- Reliable tracking across different devices and cloud services
🔧 Technical Changes
- Added
get_file_hash()function with MD5 implementation - Modified change detection logic to use hash comparison instead of
mtime - Hash stored in
material_inventory.jsonfor each tracked file modifiedtimestamp kept for informational purposes only
📝 Documentation
- Updated README with hash-based detection explanation
- Added CHANGELOG.md for version tracking
- Documented migration behavior for existing users
🐛 Fixes
- Fixed false "changed" reports when re-downloading files from cloud services
- Fixed incorrect change detection due to timestamp updates during file transfers
- Improved reliability with OneDrive/Teams/SharePoint synced folders
⚠️ Migration Note
First scan after update: All existing files will be reported as "changed" once (because old inventory lacks hash field). Subsequent scans will work correctly.
Full Changelog: v1.0.0...v1.1.0
v1.0.0 - Initial Release
🎉 First release of File Tracker Template!
Features:
- Automatic file tracking with JSON inventory
- Daily changelog generation in Markdown
- Python 3.x, no dependencies
- Universal folder structure support