github drallgood/audiobookshelf-hardcover-sync v1.3.1
v1.3.1 - Critical Hotfix: Reading History Preservation

latest releases: v3.0.0, v2.1.0, v2.0.1...
5 months ago

🚨 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_read entries, started_at: null values were being preserved, effectively removing reading start dates and wiping out reading history
  • Root Cause: The update_user_book_read mutation was only sending progress_seconds without ensuring started_at is 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 ensures started_at is set to the current date if it would otherwise be null
  • Proper finished_at handling: Also ensures finished_at is 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_read entries
    • Issue: When updating progress on existing reads, started_at: null was being preserved, removing reading history
    • Root Cause: update_user_book_read mutation was only sending progress_seconds without ensuring started_at is set
    • Fix: Always set started_at to 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_at is properly set when books reach 99%+ completion
    • Added comprehensive test coverage for the reading history fix

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

Don't miss a new audiobookshelf-hardcover-sync release

NewReleases is sending notifications on new releases.