CanCanCan v3.0.1 Release Notes

Release Date: 2019-04-15 // 8 months ago
    • #583: Fix regression when using a method reference block. ([@coorasse][])

Previous changes from v3.0.0

  • 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][])