All Versions
60
Latest Version
Avg Release Cycle
87 days
Latest Release
39 days ago

Changelog History
Page 1

  • v3.0.2

    January 17, 2020
  • v3.0.1

    April 15, 2019
    • #583: Fix regression when using a method reference block. ([@coorasse][])
  • v3.0.0

    April 03, 2019

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

  • v2.3.0

    September 16, 2018
    • 🐎 #528: Compress irrelevant rules before generating a query to optimize performances. ([@coorasse][])
    • 🚚 #529: Remove ruby 2.2 from Travis and add ruby 2.5.1. ([@coorasse][])
    • 👍 #530: Predict associations names to support multiple references to the same table. ([@coorasse][])
    • 👻 #530: Raise a specific exception when using a wrong association name in rules definition. ([@coorasse][])
  • v2.2.0

    April 15, 2018
    • 👻 #482: Include conditions passed to authorize! in AccessDenied exception. ([@kraflab][])
    • ✂ Removed support for dynamic finders. ([@coorasse][])
    • 🚅 #479: Support Rails 5.2. ([@lizzyaustad][])
    • 👉 Use ActiveSupport standard loader. ([@BookOfGreg][])
  • v2.1.4

    April 09, 2018
    • Inject cancancan in ActionController::API and ActionController::Base when they are both defined. ([@arturoherrero][])
  • v2.1.3

    January 16, 2018
    • 🛠 Fix compatibility with Rails 5 API. ([@Eric-Guo][])
  • v2.1.2

    November 22, 2017
    • 🛠 Various bugfixes on version 2.1.0. ([@coorasse][])
  • v2.1.1

    November 13, 2017
  • v2.1.0

    November 10, 2017
    • ➕ Adds support for Rails Api applications. ([@ajgon][])
    • Controller subclasses inherit skip_load_resource from superclass. ([@jpmckinney][])
    • 🛠 Fix instance variable not initialized warnings. ([@sethcharles][])
    • 🛠 Fix build_resource when model name is Action. ([@anilmaurya][])
    • 🐎 Smaller performance improvements. ([@DNNX][])
    • 🛠 Fix i18n lookup for unauthorized message. ([@clemens][])