Releases: gitalexcampos/koreader-Highlight-Sync
0.5 Use dedicated settings key for Highlight Sync plugin
Previously, the plugin was incorrectly using the settings key from the KOReader "Statistics" plugin (statistics) to store its sync configuration.
This commit fixes that by introducing a dedicated settings key (highlight_sync_settings) specifically for the Highlight Sync plugin. This avoids potential conflicts or data overwriting, and keeps plugin settings properly separated.
Users' existing configurations will now be stored and loaded independently, improving stability and maintainability.
0.4 Fix crash when saving highlights for the first time
This commit fixes a bug that caused an error when trying to save highlights for a book that had never been synced before.
The issue occurred because the local sync folder or highlight files might not exist on the first run. Now, the plugin ensures the required directory exists before saving and gracefully handles missing files during the initial sync.
This improves the stability of the first-time sync experience and prevents crashes on fresh installations or new books.
0.3 - Improve performance on older devices by switching to RapidJSON
Replaced Lua's built-in dofile-based loading with RapidJSON for reading and writing highlights data. This significantly improves synchronization speed on older or resource-constrained devices.
- Added robust fallback handling for missing or invalid files.
- Improved merge logic efficiency.
- Ensured updated highlights are reloaded correctly in KOReader UI.
This change reduces UI blocking and lag during sync operations, especially on e-readers with slower CPUs.
0.2.1
Fix name function bug
0.2 Beta
Update merge.lua Remove logs and fix function name Merge
0.1
First beta release of plugin