Releases: ruby/did_you_mean
Releases · ruby/did_you_mean
v1.6.3
v1.6.2
What's Changed
- Fix typo in CHANGELOG
DidYouMean::SPELL_CHECKERS
by @yahonda in #169 - Fix
frozen_string_literal is ignored after any tokens
warning. by @casperisfine in #172 - Added dependabot.yml for actions by @hsbt in #173
- Bump actions/checkout from 1 to 3 by @dependabot in #174
- Define Exception#detailed_message instead of clobbering #message by @mame in #177
- Use assert_ractor in
test_ractor_compatible.rb
by @hsbt in #178 - Fixed correction duplicates in VaribaleNameChecker by @makketagg in #176
New Contributors
- @yahonda made their first contribution in #169
- @casperisfine made their first contribution in #172
- @hsbt made their first contribution in #173
- @dependabot made their first contribution in #174
Full Changelog: v1.6.1...v1.6.2
v1.5.0
v1.4.0
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 (#132, #131, and ruby/ruby#2631).
Features
- Add a new tree spell checker (#119, @obromios)
- Add a public API for registering an error (#123, @kddeisz)
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
v1.3.1
Bug fixes
v1.2.2
v1.1.3
v1.0.4
v1.3.0
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
v1.2.1
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 lisence has been removed from gem releases (#105, @jbotelho2-bb)