Repository navigation
Hardcover Sync 0.4.0
Hardcover Sync 0.4.0 speeds up repeat syncs, adds local performance reports, and fixes HTML-encoded characters in synced note bodies.
- Catalog caching: Book titles, authors, descriptions, covers, genres, and other shared book details are cached for seven days. Reading status, ratings, starred flags, dates, progress, and opted-in reviews are still fetched fresh on every sync. The cache is associated with the authenticated account, survives reloads, and is saved only after a successful sync.
- Explicit refresh: Run Hardcover Sync: Refresh catalog and sync to bypass the cache and apply the latest book details immediately. Missing, invalid, and expired cache entries are fetched automatically.
- Performance reports: Run Measure sync performance (preview only) for a read-only measurement, or Show sync performance after a normal sync. Reports show stage timings, request counts, cache hits, and planned versus completed changes. The latest ten reports stay in memory on the device until the plugin reloads; Copy report copies them only when pressed. Reports contain no credentials, account/book IDs, titles, note paths, or note content and are never uploaded automatically.
- Body text fix: Ordinary ampersands now remain
&instead of being inserted as&. Literal markup remains safely escaped. The next sync repairs affected managed body fields while preserving YAML, personal prose, and existing note headings.
In a live desktop test with 355 books, three unchanged syncs improved from a median 10.267 seconds to 5.862 seconds (42.9% less time), with six GraphQL requests instead of ten. Forced refresh still fetched all catalog batches, and a preview after reloading Obsidian reused all 355 cached entries. Results vary with library size, device, and connection. See the benchmark report.
Existing connections, settings, templates, personal writing, and note locations are preserved. No additional Hardcover permissions are required. The cache is stored in the vault's plugin data and follows any backup or sync of that file. Catalog corrections can remain cached until expiry or explicit refresh. The minimum Obsidian version remains 1.11.5, with desktop and mobile support.
Validation: 55 automated tests, ESLint, TypeScript compilation, production build, release packaging checks, and Lat documentation validation.