Enumerize v2.4.0 Release Notes

Release Date: 2020-12-12 // over 1 year ago
  • ✨ enhancements

    • ⚠ Show warning when enumerized value name conflicts with existing object's methods. (by @aki77)
    • ➕ Add RSpec support for shallow scopes. (by @nashby)
    • ⬇️ Drop support for Ruby older than 2.5. Support only Ruby 2.5+. (by @nashby)
    • ⬇️ Drop support for Rails 4. Support only Rails 5.2+. (by @nashby)
    • ➕ Add support for Rails 6.1 (by @y-yagi)

    🐛 bug fix

    • 🛠 Fix exception when using predicate methods on enumerized value transformed into invalid value. (by @guigs)
    • 🛠 Fix issue with RSpec#with_predicates matcher when custom values are used as attribute. (by @nashby)

Previous changes from v2.3.1

  • ✨ enhancements

    • ➕ Add ability to skip validations by passing :skip_validations option. (by @chumakoff)
    • ➕ Add option scope: shallow to extend scopes based on enumerized attribute values (by @moofkit)

    🐛 bug fix

    • 🛠 Fix issue with ActiveRecord and Mongoid reload method when enumberized attributes weren't synced from DB. (by @nashby and @FunkyloverOne)
    • 🛠 Fix issue with ActiveRecord reload method not working for ActiveRecord::Store attributes due to 1b776c. (by @rickcsong)