Did You Mean Versions Save

The gem that has been saving people from typos since 2014

v1.6.3

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ruby/did_you_mean/compare/v1.6.2...v1.6.3

v1.6.2

1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/ruby/did_you_mean/compare/v1.6.1...v1.6.2

v1.5.0

3 years ago

Features

  • Suggest require paths on LoadError (#143)

v1.4.0

3 years ago

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 to the main ruby/ruby repo (https://github.com/ruby/did_you_mean/pull/132, https://github.com/ruby/did_you_mean/pull/131, and https://github.com/ruby/ruby/pull/2631).

Features

Bug fixes

Breaking changes

Internal changes

v1.3.1

4 years ago

Bug fixes

v1.2.2

5 years ago

Bug fixes

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

v1.1.3

5 years ago

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)

v1.0.4

5 years ago

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)

v1.3.0

5 years ago

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 (2a082a71991f5afe2e27ce9538103eac4c428025)

    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.1

6 years ago

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, 4b5ba3215975df1dd8e9c7eacffcf02abfffa92e)

Other Changes

  • Non-production code that has a non-commercial lisence has been removed from gem releases (#105, @jbotelho2-bb)