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']