CanCanCan v3.0.0 Release Notes

Release Date: 2019-04-03 // about 5 years ago
  • ๐Ÿ“„ Please read the guide on migrating from CanCanCan 2.x to 3.0

    • ๐Ÿš… #560: Add support for Rails 6.0. ([@coorasse][])
    • ๐Ÿ‘ #489: Drop support for actions without a subject. ([@andrew-aladev][])
    • #474: Allow to add attribute-level rules. ([@phaedryx][])
    • ๐Ÿšš #512: Removed automatic eager loading of associations for ActiveRecord >= 5.0. ([@kaspernj][])
    • #575: Use the rules compressor when generating joins in accessible_by. ([@coorasse][])

    • #444: Allow to use symbols when defining conditions over enums. ([@s-mage][])

    • ๐Ÿ”€ #538: Merge alias actions when merging abilities. ([@Jcambass][])

    • ๐Ÿ‘ #462: Add support to translate the model name in messages. ([@nyamadori][])

    • โœ… #567: Extensively run tests on different databases (sqlite and postgres). ([@coorasse][])

    • #566: Avoid queries on session dumps (speed up error pages). ([@coorasse][])

    • #568: Automatically freeze strings in all files. ([@coorasse][])

    • #577: Normalise rules traversing associations to reduce the number of joins. ([@coorasse][])