All Versions
43
Latest Version
Avg Release Cycle
325 days
Latest Release
-

Changelog History
Page 1

  • v1.6.1 Changes

    πŸš€ 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']
    
  • v1.6.0 Changes

    This version has been yanked due to significant and unexpected breaking changes.

  • v1.5.0 Changes

    πŸš€ released at 2020-12-22 05:47:21 UTC

    πŸ”‹ Features

    • Suggest require paths on LoadError (#143)
  • v1.4.0 Changes

    May 09, 2020

    πŸš€ released at 2020-05-09 02:56:43 UTC

    As of Ruby 2.7, the did_you_mean gem has been promoted up to a default gem. I would like to thank @kddeisz for his hard work on making the entire gem easily portable the main ruby/ruby repo (#132, #131, and ruby/ruby#2631).

    πŸ”‹ Features

    πŸ› Bug fixes

    • Fixes a bug where wrong suggestion could be made when string requested on hash and keys are symbols (@localhostdotdev, #134)

    πŸ’₯ Breaking changes

    • Experimental features have been removed (#135)

    Internal changes

    • Replace Travis CI with GitHub Actions (#124)
    • Drop mintiest dependency (#129)
    • Drop delegate dependency (#138)
  • v1.3.1 Changes

    September 29, 2019

    πŸš€ released at 2019-09-29 03:58:46 UTC

    πŸ› Bug fixes

    • πŸ’Ž Fixes a test failure in Ruby core where DYM attempts to mutate immutable strings from Symbol#to_s (#125, @nobu, @eregon, @MSP-Greg)
    • Removes the empty tmp/ directory to comply with rpmlint (#122, @pvalena)
    • Fixes a bug where suggestions are not shown on subsequent errors (#120, @localhostdotdev)
  • v1.3.0 Changes

    December 18, 2018

    πŸš€ released at 2018-12-18 15:37:10 UTC

    Starting version 1.3, the did_you_mean gem will be compatible with 2.6 and 2.5, and we will try to keep all subsequent versions compatible with Ruby 2.5 on an best-effort basis.

    • πŸ”– Version 1.2.0 only has support for Ruby 2.5.0 and later as it uses new features that are only available in 2.5.
    • πŸ”– Versions earlier than 1.1.* will still be maintained until Ruby 2.4 is deprecated.
    • πŸ”– Versions earlier than 1.0.* is still maintained, but are likely to be deprecated as Ruby 2.3 will (probably) be deprecated in 2019.
    • πŸ‘Œ Support for versions below 1.0 has already ended.

    πŸ†• New features

    • Suggest reserved words if there are close matches (2a082a7)

      results = yiedl
      # NameError => undefined local variable or method `yiedl' for ...
      # Did you mean? yield
      

    πŸ› Bug fixes

    • Fixes a bug where name errors can not be dumped (#108, @jessebs)
  • v1.2.2 Changes

    March 09, 2019

    πŸš€ released at 2019-03-09 23:17:22 UTC

    πŸ› Bug fixes

    • Fixes a bug where name errors can not be dumped (#108, @jessebs)
  • v1.2.1 Changes

    April 03, 2018

    πŸš€ released at 2018-04-03 04:44:47 UTC

    πŸ› Bug Fixes

    • Fixed a bug where DYM suggests the same class name in the error message (#102, @schneems)
    • Fixed a bug where the deprecated DidYouMean::Formatter has been removed unexpectedly (#103, 4b5ba32)

    Other Changes

    • Non-production code that has a non-commercial license has been removed from gem releases (#105, @jbotelho2-bb)
  • v1.2.0 Changes

    January 02, 2018

    πŸš€ released at 2018-01-02 20:49:35 UTC

    πŸš€ This version 1.2.0 only has support for Ruby 2.5.0 and later as it uses new features that are only available in 2.5. All future patch releases under 1.2.* will only be compatible with Ruby 2.5.0 and later as well. Versions earlier than 1.1.* will still be maintained until Ruby 2.4 is deprecated. Any other versions below 1.0 will no longer be maintained.

    πŸ†• New features

    • The KeyError name suggestion feature has been promoted to a stable feature and is available by default (acf5945https://bugs.ruby-lang.org/issues/12063)
    • Now suggests true, false or nil if a NameError occurs because of a typo in these names (#94, @styd)
    • New Formatter API: This provides a clean way to customize DidYouMean’s formatter without overriding the default formatter. Please refer to the built-in verbose formatter for how to use it
  • v1.1.3 Changes

    March 09, 2019

    πŸš€ released at 2019-03-09 23:16:54 UTC

    πŸ› Bug fixes

    • Fixes a bug where name errors can not be dumped (#108, @jessebs)
    • Fixed a bug where DYM suggests the same class name in the error message (#102, @schneems)