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