報せNews
2026-09-15 報 release. 15 September 2026
kotoshu 1.0.6: four fixes and an honest library
Expired caches resolve instead of raising, the dictionary catalog reaches its repo again, a suggestion crash on tied scores is gone, and every URL the library builds now points somewhere live.
- An expired-but-present cache resolves:
Kotoshu.correct?no longer raisesResourceNotSetupErrorfor a language whose cached dictionary metadata predates bookkeeping, andkotoshu setup --listagrees with resolve. TTL now means refresh-at-setup, never absence-at-read. Dictionaries::Catalogfetches from thev1branch - every catalog download had been a 404 against a branch the dictionary repository abandoned.NgramSuggestno longer crashes withcomparison of Array with Arraywhen tied root scores span mixed dictionary entry shapes; the sort compares scores only. The deprecated dictionaries URL default and a dead model-URL fallback joined the fix.- The typo layer hardened: a prebuilt matrix now carries the sha of the exact full-tier vocabulary it was derived over, and an arm that does not pair with the cached tier derives instead of answering wrong slates. The signature file parses for the first time, all 32 example walkthroughs run, and
kotoshu-lsp0.1.2 floors on the 1.0 engine line.
see also gem on RubyGems CHANGELOG