ActiveAdmin v1.1.0 Release Notes

  • ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixed [#5093] Handle table prefix & table suffix for ActiveAdminComment model
    • ๐Ÿ›  Fixed [#4173] by including the default Kaminari templates. [#5069] by [@javierjulio]
    • ๐Ÿ›  Fixed [#5043]. Do not crash in sidebar rendering when a default scope is not specified. [#5044] by [@Fivell]
    • ๐Ÿ›  Fixed [#3894]. Make tab's component work with non-ascii titles. [#5046] by [@Fivell]

    Removals

    • ๐Ÿ’Ž Ruby 2.1 support has been dropped. [#5003] by [@deivid-rodriguez]
    • ๐Ÿš… Replaced sass-rails with sass dependency. [#5037] by [@javierjulio]
    • โœ‚ Removed jquery-ui-rails as a dependency. [#5052] by [@javierjulio] The specific jQuery UI assets used are now within the vendor directory. This will be replaced by alternatives and dropped entirely in a major release. Please remove any direct inclusions of //= require jquery-ui. This allows us to upgrade to jquery v3.

    ๐Ÿ—„ Deprecations

    • ๐Ÿ’… Deprecated config.register_stylesheet and config.register_javascript. Import your CSS and JS files in active_admin.scss or active_admin.js. [#5060] by [@javierjulio]
    • ๐Ÿ—„ Deprecated type param from status_tag and related CSS classes [#4989] by [@javierjulio] The method signature has changed from:
      status_tag(status, :ok, class: 'completed', label: 'on')
    

    to:

      status_tag(status, class: 'completed ok', label: 'on')
    

    The following CSS classes have been deprecated and will be removed in the future:

      .status_tag {
        &.ok, &.published, &.complete, &.completed, &.green { background: #8daa92; }
        &.warn, &.warning, &.orange { background: #e29b20; }
        &.error, &.errored, &.red { background: #d45f53; }
      }
    

    โœจ Enhancements

    Minor

    • ๐Ÿ‘Œ Support proc as an input_html option value when declaring filters. [#5029] by [@Fivell]
    • ๐Ÿ‘ Base localization support, better associations handling for active filters sidebar. [#4951] by [@Fivell]
    • ๐Ÿ‘ Allow AA scopes to return paginated collections. [#4996] by [@Fivell]
    • ๐Ÿ‘‰ Added scopes_show_count configuration to setup show_count attribute for scopes globally. [#4950] by [@Fivell]
    • ๐Ÿ‘ Allow custom panel title given with attributes_table. [#4940] by [@ajw725]
    • ๐Ÿ‘ Allow passing a class to action_item block. [#4997] by [@Fivell]
    • โž• Add pagination to the comments section. [#5088] by [@alex-bogomolov]