Skip to content

v1.2.0

Choose a tag to compare

@yuki24 yuki24 released this 02 Jan 20:49
· 286 commits to master since this release

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