Repository navigation
Releases
Releases · rtmongold/spellkit
0.5.0
0.4.2
[0.4.2] - 2026-11-17
Changed
- Windows COM init uses apartment-threaded mode and balances
CoUninitializefor an owned init - README documents UI-thread /
thread_local!usage for!SendChecker, and Linux build vs runtime Hunspell requirements - Linux Flatpak dictionary search also walks host mounts under
/run/host/usr/share/...
Fixed
- Linux
Checker::new()no longer falls back to English afterInitializationFailedfor the environment locale - Linux
available_locales()only lists stems that have both.affand.dic - Windows spelling error iteration no longer panics or aborts on bad COM ranges; misspelled text is taken from the original UTF-8 string
- macOS allocates
uniqueSpellDocumentTagunder the sharedNSSpellCheckerlock - macOS spelling ranges skip entries that are not valid UTF-8 char boundaries
build.rssurfaces the pkg-config error and reruns whenPKG_CONFIG_PATHchanges
Added
- Regression test for UTF-8 ranges when an astral character precedes a misspelling
v0.4.1
v0.4.0
0.3.0
0.2.1
Added
Checker::is_correct
Changed
- Windows backend now uses the official
windowscrate instead ofwinapi - Bump
cfg-ifto 1.x - macOS backend now uses
objc2/objc2-app-kitinstead ofcocoa/objc Checker::checknow takes&selfinstead of&mut self- Bump to Edition 2024 / MSRV 1.85.
Fixed
- Pass null-terminated dictionary paths to Hunspell on Linux (stops spurious
cannot open …affstderr noise)
0.2.0
Changelog
All notable changes to this project are documented in this file.
This project follows Semantic Versioning.
[Unreleased]
[0.2.0] - 2026-08-06
Breaking
Checker::new()now returnsResult<Self, Error>instead of panicking when
the spellchecker (or hunspell dictionary) is unavailableSpellingErrornow includes UTF-8 bytestart/endoffsets into the
checked text (in addition totext())
Added
Error/Error::Unavailable- Broader Linux dictionary search paths and
en_US/en_GBfallbacks - Word tokenization with offsets on Unix (alphabetic /
'runs) - GitHub Actions CI (Linux, macOS, Windows; fmt; clippy)
- README documentation for the maintained fork and Linux hunspell setup
Checker::with_locale(en_US/en-USboth accepted)Checker::suggestfor spelling suggestions (capped at 10)
Changed
- Edition 2021; dropped
lazy_static/extern crate - macOS uses
OnceLockfor the sharedNSSpellChecker - Windows COM failures map to
Errorwhere creating the checker; UTF-16
indices convert to UTF-8 byte ranges hunspell-sys0.1.3 → 0.3.1 on Linux
Removed
- Travis CI and AppVeyor configs
[0.1.1] - 2020-02-05
Last release from upstream (euclio/spellbound).