Skip to content

v1.3.3 - GoldenDict-ng cache invalidation fix

Latest

Choose a tag to compare

@ciscoriordan ciscoriordan released this 09 May 05:24

What's new

Fixes the Linux tail of #2: GoldenDict-ng on Linux was still showing stale dictionary metadata after upgrading from v1.3.0 / v1.3.1 to v1.3.2 because GoldenDict-ng caches StarDict metadata by .ifo path and the bundle stem was identical across releases (filed upstream as xiaoyifang/goldendict-ng#2829).

The StarDict bundle directory and inner file basenames now embed the lemma version:

  • old: lemma_greek_en_stardict/lemma_greek_en_stardict.{ifo,idx,dict,syn}
  • new: lemma_greek_en_stardict_v1.3.3/lemma_greek_en_stardict_v1.3.3.{ifo,idx,dict,syn}

A fresh stem on every release forces GoldenDict-ng's cache to miss and re-index from the new .ifo, so the dictionary info panel shows the correct article count (31,143), language pair (Translates from: Greek / Translates to: English), and description. macOS GoldenDict-ng was already invalidating correctly; this fixes the Linux build.

If you previously installed an older Lemma StarDict bundle, remove the old directory before unzipping the new one. The MOBI and EPUB names are unchanged and continue to replace the previous file in place on Kindle.

Also

A wordcount sanity guard now refuses to publish a StarDict bundle below 1000 headwords on full builds (no --limit). v1.3.0 was an accidental 393-entry test build tagged as a real release; this guard prevents a recurrence.

Verification

GoldenDict-ng 26.5.3 (macOS, Qt 6.10.3) loading the new bundle:

Lemma in GoldenDict-ng: Translates from Greek, Translates to English

Dictionary content is byte-identical to v1.3.2 (31,143 articles, 609,175 inflection redirects, CC-BY-SA 4.0 inherited from Wiktionary); only the bundle stem differs.

Files

  • lemma_greek_en.mobi - Kindle dictionary, sideload to documents/dictionaries/
  • lemma_greek_en.epub - source EPUB
  • lemma_greek_en_stardict_v1.3.3.zip - StarDict bundle for GoldenDict-ng, KOReader, sdcv (Kobo, reMarkable, Boox, desktop)