v0.8.0 — Instant verse tooltips: batched prefetch, localized version names, copyright attribution
LatestBible by Midvash 0.8.0 makes verse tooltips feel instant and puts the expanded Midvash Bible API to work — batched prefetching, localized Bible version names, and proper copyright attribution for licensed translations.
Added
- Instant verse tooltips via batched prefetch. Right after a post renders, the plugin now collects every detected Bible reference on the page and prefetches them in a single request through the API's new
/v1/passagesbatch endpoint (up to 60 unique references per page, 20 per upstream call, scheduled off the critical path withrequestIdleCallback). By the time a reader hovers a reference, the verse is already in memory — the tooltip opens instantly. Hovers that land before the prefetch resolves simply fall back to the previous per-verse fetch, so nothing ever blocks or breaks. - Copyright attribution in the tooltip. Licensed Bible translations (NVT, NVI, ESV and friends) now show a discreet attribution line in the tooltip footer, with the full copyright notice on hover. Public-domain texts stay clean. A friendly touch for publishers — and for the plugin's future WordPress.org submission.
- Localized version names in Settings. The Bible version dropdown now shows each translation's name in your site's display language — "Bíblia em Inglês Básico" on a Portuguese site instead of "Bible in Basic English" — powered by the enriched
/v1/versionscatalogue with its 86 versions across 32 languages.
Changed
- The version catalogue is now read from
/v1/versions(cached for 7 days), carrying the newlocalizedNamesandcopyrightmetadata. - The External Services disclosure in
readme.txtdocuments the batched prefetch precisely.
Removed
- Defensive HTTP handling for 429 responses and
X-RateLimit-Resetheaders: the Midvash API now officially documents that it serves without rate limits, so the client keeps only transport-error and 5xx retries. Less code, same resilience.
Verified
- Integration-tested in WordPress Playground against the live API: single verses, ranges (
Genesis 1:1-3), chapter-only and localized references (Salmos 23), plus real copyright metadata. - PHPCS (full WordPress Coding Standards + PHPCompatibilityWP) and PHPStan level 5: zero errors.
- Official WordPress.org Plugin Check on the wp.org build: "Success: Checks complete. No errors found."
📦 Download and docs: midvash.app · Bible reading online: midvash.com
Existing installs receive this version automatically via the built-in update checker.