All Versions
62
Latest Version
Avg Release Cycle
101 days
Latest Release
46 days ago

Changelog History
Page 1

  • v3.1.0

    July 12, 2020
    • #605: Generate inner queries instead of join+distinct. ([@fsateler][])
    • #608: Spec for json column regression. ([@aleksejleonov][])
    • #571: Allows to check ability even the object implements #to_a. ([@mtsmfm][])
    • โš  #612: Suppress keyword arguments warning for Ruby 2.7.0. ([@koic][])
    • #569: Fix accessible_by fires query for rules using association as condition. ([@albb0920][])
    • ๐ŸŒ #594: Support translation of action name. ([@ayumu838][])
  • v3.0.2

    January 17, 2020
    • #590: Fix Rule#inspect when rule is created through a SQL array. ([@frostblooded][])
    • #592: Prevent normalization of through polymorphic associations.([@eloyesp][])
  • 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][])