did_you_mean v1.6.1 Release Notes
-
๐ released at 2020-12-22 13:22:35 UTC
๐ Deprecations
- ๐ Deprecate custom formatters to reduce complexity for Ractor support.
- ๐ Deprecate access to the
DidYouMean::SPELL_CHECKERS
constant for Ractor support.
๐ Features
- The
did_you_mean
gem is now Ractor-compatible (8faba54b
) - Suggest keys on NoMatchingPatternKeyError (#159, @k-tsj)
- ๐ Make the same name check case-sensitive (#164, @pocke)
Before:
DidYouMean::SpellChecker.new(dictionary: ['Method', 'MEthod']).correct("MEthod") # => ['Method', 'method']
After:
DidYouMean::SpellChecker.new(dictionary: ['Method', 'MEthod']).correct("MEthod") # => ['Method']