rolify v5.3.0 Release Notes
Release Date: 2020-06-01 // 9 months ago-
๐ 5.3.0 will be the last version to support Ruby < 2.5 and Rails < 5.2. Support for these will be dropped in the next major release.
- ๐ Fix deprecation warning in Ruby 2.7
- โ Add Rails 6 support to migration generator
- Significant ActiveRecord performance improvements to add_role and without_role
- ๐ Mongoid fix and performance improvement and to roles_name
- ๐ Make it safe to call Thing.with_role(:admin, user) with new record
Previous changes from v5.2.0
-
- ๐ Fix regression in generator around belongs_to options compatibility
- โก๏ธ Update version of database_cleaner
- Update initializer.rb to include the remove_role_if_empty option and description
- ๐ Allow inverse_of option on rolify method
- ๐ Fix the code-climate-reporter issue that's causing travis to fail
- โ Remove a separate index for the name column
- ๐ Fix migration generator for AR 5.x
- ๐ Fixed ambiguous column error