All Versions
32
Latest Version
Avg Release Cycle
131 days
Latest Release
320 days ago

Changelog History
Page 1

  • v2.4.0 Changes

    December 12, 2020

    ✨ 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)
  • v2.3.1 Changes

    May 02, 2019

    ✨ 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)
  • v2.2.2 Changes

    March 06, 2018

    🐛 bug fix

    • 👌 Support non-ActiveModel objects in SimpleForm/Formtastic integration. (by @nashby)
  • v2.2.1 Changes

    February 15, 2018

    🐛 bug fix

    • 🛠 Fix issue with SimpleForm/Formtastic forms without object. (by @nashby)
  • v2.2.0 Changes

    February 13, 2018

    ✨ enhancements

    • ➕ Add integration with active_interaction. (by @runephilosof)
    • 👍 Allow using plugin :enumerize with Sequel. (by @jnylen)
    • 👌 Support ActiveModel::Attributes from Rails 5.2. (by @troter)
    • 👌 Support Sequel 5.2.0. (by @troter)

    🐛 bug fix

    • 🛠 Fix RailsAdmin integration when enumerated field used on edit form and enumerated value wasn't set. (by @nashby)
    • Fallback to a raw passed value instead of nil if AR type can't find value in the attribute. (by @nashby)
  • v2.1.2 Changes

    May 18, 2017

    🐛 bug fix

    • 👌 Support YAML serialization for the custom AR type. (by @lest)
  • v2.1.1 Changes

    May 01, 2017

    ✨ enhancements

    • ✅ Run tests with multiple DBs (SQLite and PostgreSQL). (by tkawa)

    🐛 bug fix

    • 👌 Support deserialize and Rails 4.2 methods in the custom AR::Type class. (by @lest)
    • 👌 Support dumping custom AR type to JSON. (by @lest)
  • v2.1.0 Changes

    March 31, 2017

    ✨ enhancements

    • 👌 Support Active Record types serialization. (by @lest)
  • v2.0.1 Changes

    October 18, 2016

    🐛 bug fix

    • 👌 Support enumerized attributes in #update_all on relation objects. (by @lest)
  • v2.0.0 Changes

    August 10, 2016

    ✨ enhancements

    • ⬇️ Drop support for Ruby older than 2.2. Support only Ruby 2.2+. (by @nashby)
    • ⬇️ Drop support for Rails 4.0 and 4.1. Support only Rails 4.2 and newer. (by @lest)
    • 👌 Support Rails 5.0. (by @nashby and @lest)
    • 👍 Allow to pass enumerize values to ActiveRecord#update_all (by @DmitryTsepelev and @ianwhite)
      User.update_all(status: :blocked)
    

    🐛 bug fix

    • Rescue MissingAttributeError on attribute writing. (by @embs)
    • 🛠 Fix presence validation for multiple attributes when the list contains a blank string. (by @smoriwaki)
    • Replace deprecated alias_method_chain with Module#prepend. (by @koenpunt and @akm)
    • 👉 Make it compatible with globalize gem. (by @falm)
    • 0️⃣ Prevent method getter from being called when no default_value is being set. (by @arjan0307)