Skip to content

v0.16.0

Choose a tag to compare

@JustTB JustTB released this 04 Jun 17:59
6b291e3

What's new

Botanical synonym table & canonical names

  • New BotanicalSynonym table replaces the empty synonyms[] array on Crop
  • New Crop.canonicalName field stores the author-stripped botanical name (e.g. Allium L.Allium) for accurate Wikidata/Wikipedia SPARQL lookups
  • Fixes genus-level crops (e.g. Onion / Allium L.) not getting German translations due to author suffix mismatch

Enrichment versioning

  • CropEnrichmentAttempt now tracks version — bumping SCRIPT_VERSION in translate-names.ts automatically retargets stale attempts without --force

Search improvements

  • Crop and relationship search now queries canonicalName and BotanicalSynonym table

Post-deploy steps

pnpm enrich:populate-canonical-names
pnpm enrich:populate-botanical-synonyms
pnpm enrich:translate-names --locale de --source wikipedia