Skip to content

Releases

0.5.0

Choose a tag to compare

@rtmongold rtmongold released this 20 Nov 20:46
6efa03f

Added

  • Persistent learn / unlearn / has_learned
  • examples/learn.rs, examples/ui_integration.rs
  • Error::Io

Changed

  • Expanded rustdoc for ranges, ignore, and soft-fail guidance

0.4.2

Choose a tag to compare

@rtmongold rtmongold released this 17 Nov 19:44
3bf06f2

[0.4.2] - 2026-11-17

Changed

  • Windows COM init uses apartment-threaded mode and balances CoUninitialize for an owned init
  • README documents UI-thread / thread_local! usage for !Send Checker, 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 after InitializationFailed for the environment locale
  • Linux available_locales() only lists stems that have both .aff and .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 uniqueSpellDocumentTag under the shared NSSpellChecker lock
  • macOS spelling ranges skip entries that are not valid UTF-8 char boundaries
  • build.rs surfaces the pkg-config error and reruns when PKG_CONFIG_PATH changes

Added

  • Regression test for UTF-8 ranges when an astral character precedes a misspelling

v0.4.1

Choose a tag to compare

@rtmongold rtmongold released this 29 Oct 02:10

See CHANGELOG.md for details.

Thanks @englut and @luca020400.

v0.4.0

Choose a tag to compare

@rtmongold rtmongold released this 25 Aug 20:52
e7393e5

Breaking

  • Error variants replace Unavailable
  • macOS unknown locales fail closed
  • locale() / available_locales()
  • Binary removed; use examples/

See CHANGELOG.md for full notes.

0.3.0

Choose a tag to compare

@rtmongold rtmongold released this 07 Aug 19:46
12c07a8

[0.3.0] - 2026-08-07

Breaking

  • Renamed the crate from spellbound to spellkit

Changed

  • Document locale and threading caveats in the README
  • Drop obsolete unexpected_cfgs lint (no longer needed after objc2)

0.2.1

Choose a tag to compare

@rtmongold rtmongold released this 07 Aug 15:54
aea9584

Added

  • Checker::is_correct

Changed

  • Windows backend now uses the official windows crate instead of winapi
  • Bump cfg-if to 1.x
  • macOS backend now uses objc2 / objc2-app-kit instead of cocoa / objc
  • Checker::check now takes &self instead of &mut self
  • Bump to Edition 2024 / MSRV 1.85.

Fixed

  • Pass null-terminated dictionary paths to Hunspell on Linux (stops spurious
    cannot open …aff stderr noise)

0.2.0

Choose a tag to compare

@rtmongold rtmongold released this 06 Aug 14:50

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 returns Result<Self, Error> instead of panicking when
    the spellchecker (or hunspell dictionary) is unavailable
  • SpellingError now includes UTF-8 byte start / end offsets into the
    checked text (in addition to text())

Added

  • Error / Error::Unavailable
  • Broader Linux dictionary search paths and en_US / en_GB fallbacks
  • 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-US both accepted)
  • Checker::suggest for spelling suggestions (capped at 10)

Changed

  • Edition 2021; dropped lazy_static / extern crate
  • macOS uses OnceLock for the shared NSSpellChecker
  • Windows COM failures map to Error where creating the checker; UTF-16
    indices convert to UTF-8 byte ranges
  • hunspell-sys 0.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).