🚨 CRITICAL HOTFIX
This hotfix resolves a critical regression introduced in v1.3.0 that was causing reading history to be wiped out.
🐛 Bug Fixed
- Issue: When updating existing
user_book_readentries,started_at: nullvalues were being preserved, effectively removing reading start dates and wiping out reading history - Root Cause: The
update_user_book_readmutation was only sendingprogress_secondswithout ensuringstarted_atis properly set - Impact: Users reported that their reading history was disappearing after sync operations
✅ Solution Implemented
- Always set
started_at: When updating existing reads, the system now ensuresstarted_atis set to the current date if it would otherwise be null - Proper
finished_athandling: Also ensuresfinished_atis correctly set when books reach 99%+ completion - Comprehensive testing: Added thorough test coverage for the reading history preservation logic
🚀 Upgrade Urgency: IMMEDIATE
If you're running v1.3.0, please upgrade immediately to prevent further reading history loss.
📋 Full Changelog
Fixed
- 🚨 CRITICAL: Fixed reading history being wiped out when updating existing
user_book_readentries- Issue: When updating progress on existing reads,
started_at: nullwas being preserved, removing reading history - Root Cause:
update_user_book_readmutation was only sendingprogress_secondswithout ensuringstarted_atis set - Fix: Always set
started_atto current date when updating existing reads to prevent null values - Impact: Prevents loss of reading start dates and maintains proper reading history
- Also ensures
finished_atis properly set when books reach 99%+ completion - Added comprehensive test coverage for the reading history fix
- Issue: When updating progress on existing reads,
Docker Images: Available on Docker Hub as drallgood/audiobookshelf-hardcover-sync:v1.3.1 and drallgood/audiobookshelf-hardcover-sync:latest
Previous Release: v1.3.0 - Incremental Sync Feature