All Versions
33
Latest Version
Avg Release Cycle
150 days
Latest Release
1114 days ago

Changelog History
Page 1

  • v6.0.0 Changes

    April 02, 2021

    ๐Ÿ’ฅ Breaking changes:

    • Support strict with_role queries. Note this changes behaviour of with_role when running in strict mode to behave as previously documented. #543 describes the behaviour change.
    • โฌ‡๏ธ Dropped support for Ruby 2.3 and 2.4

    ๐Ÿ‘Œ Improvements:

    • โšก๏ธ Updated ActiveRecord adapters implementation of in to utilise a subquery instead of two queries
  • v5.3.0 Changes

    June 01, 2020

    ๐Ÿš€ 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
  • v5.2.0 Changes

    December 14, 2017
    • ๐Ÿ›  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
  • v5.1.0 Changes

    March 19, 2016
    • ๐Ÿš… Rails 5 Support (thanks @lorefnon)
    • ๐Ÿ›  Fix user handling in generator (thanks @lorefnon)
    • ๐Ÿ›  Fix quoting issues (thanks @lorefnon)
    • ๐Ÿ‘Œ Improvements to dynamic module loading (thanks to @DmitryKK)
  • v5.0.0 Changes

    November 17, 2015
  • v4.1.1 Changes

    August 06, 2015
    • ๐Ÿ›  Fix a regression in the dynamic method loader.
  • v4.1.0 Changes

    August 04, 2015
    • โž• added without_role method for resources and classes
    • ๐Ÿ›  fix has_role? with :any and an unsaved user
    • rename the with_role method on a resource to find_as
    • โž• add a strict parameter to check only roles that were set without supers.
  • v4.0.0 Changes

    February 12, 2015
    • ๐Ÿšš Increasing version number to 4.0.0 for semantic versioning since has_role was removed in 3.5.0
    • ๐Ÿ›  Fix spec to pass.
    • ๐Ÿ›  Fix dynamic shortcuts being set before migration.
  • v3.5.2 Changes

    January 14, 2015
    • ๐Ÿ›  Fixed regression in RolifyGenerator
    • โšก๏ธ Updated dependencies
  • v3.5.1

    January 14, 2015