All Versions
33
Latest Version
Avg Release Cycle
35 days
Latest Release
-

Changelog History
Page 4

  • v1.2.0 Changes

    โœจ Enhancements

    Minor
    • Do not display pagination info when there are no comments. [#5119] by [@alex-bogomolov]
    • โช Revert generated config files to pluralized. [#5120] by [@varyonic], [#5137] by [@deivid-rodriguez]
    • Warn when action definition overwrites controller method. [#5167] by [@aarek]
    • ๐Ÿ‘ Better performance of comments show view. [#5208] by [@dhyegofernando]
    • Mitigate memory bloat [#4118] with CSV exports. [#5251] by [@f1sherman]
    • ๐Ÿ›  Fix issue applying custom decorations. [#5253] by [@faucct]
    • โšก๏ธ Brazilian locale updated. [#5125] by [@renotocn]
    • โšก๏ธ Japanese locale updated. [#5143] by [@5t111111], [#5157] by [@innparusu95]
    • โšก๏ธ Italian locale updated. [#5180] by [@blocknotes]
    • โšก๏ธ Swedish locale updated. [#5187] by [@jawa]
    • โšก๏ธ Vietnamese locale updated. [#5194] by [@Nguyenanh]
    • Esperanto locale added. [#5210] by [@RobinvanderVliet]

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fix a couple of issues rendering filter labels. [#5223] by [@wspurgin]
    • Prevent NameError when filtering on a namespaced association. [#5240] by [@DanielHeath]
    • ๐Ÿ›  Fix undefined method error in Ransack when building filters. [#5238] by [@wspurgin]
    • ๐Ÿ›  Fixed [#5198] Prevent XSS on sidebar's current filter rendering. [#5275] by [@deivid-rodriguez]
    • Sanitize display_name. [#5284] by [@markstory]
  • v1.1.0 Changes

    ๐Ÿ› 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]
  • v1.0.0 Changes

    ๐Ÿ’ฅ Breaking Changes

    • ๐Ÿ“‡ Rename allow_comments to comments for more consistent naming. [#3695] by [@pranas]
    • ๐Ÿšš JavaScript window.AA has been removed, use window.ActiveAdmin. [#3606] by [@timoschilling]
    • ๐Ÿšš f.form_buffers has been removed. [#3486] by [@varyonic]
    • ๐Ÿšš Iconic has been removed. [#3553] by [@timoschilling]
    • config.show_comments_in_menu has been removed, see config.comments_menu. [#4187] by [@drn]
    • ๐Ÿ’Ž Rails 3.2 & Ruby 1.9.3 support has been dropped. [#4848] by [@deivid-rodriguez]
    • ๐Ÿ’Ž Ruby 2.0.0 support has been dropped. [#4851] by [@deivid-rodriguez]
    • ๐Ÿš… Rails 4.0 & 4.1 support has been dropped. [#4870] by [@deivid-rodriguez]

    โœจ Enhancements

    Major
    • Migration from Metasearch to Ransack. [#1979] by [@seanlinsley]
    • ๐Ÿš… Rails 4 support. [#2326] by many people :heart:
    • ๐Ÿš… Rails 4.2 support. [#3731] by [@gonzedge] and [@timoschilling]
    • ๐Ÿš… Rails 5 support. [#4254] by [@seanlinsley]
    • ๐Ÿš… Rails 5.1 support. [#4882] by [@varyonic]
    Minor
    • "Create another" checkbox for the new resource page. [#4477] by [@bolshakov]
    • ๐Ÿ‘ Page supports belongs_to. [#4759] by [@Fivell] and [@zorab47]
    • ๐Ÿ‘Œ Support for custom sorting strategies. [#4768] by [@Fivell]
    • Stream CSV downloads as they're generated. [#3038] by [@craigmcnamara]
    • Disable streaming in development for easier debugging. [#3535] by [@seanlinsley]
    • ๐Ÿ‘Œ Improved code reloading. [#3783] by [@chancancode]
    • Do not auto link to inaccessible actions. [#3686] by [@pranas]
    • ๐Ÿ‘ Allow to enable comments on per-resource basis. [#3695] by [@pranas]
    • Unify DSL for index actions and actions dropdown: true. [#3463] by [@timoschilling]
    • โž• Add DSL method includes for ActiveRecord::Relation#includes. [#3464] by [@timoschilling]
    • ๐Ÿ”ง BOM (byte order mark) configurable for CSV download. [#3519] by [@timoschilling]
    • 0๏ธโƒฃ Column block on table index is now sortable by default. [#3075] by [@dmitry]
    • ๐Ÿ‘ Allow Arbre to be used inside ActiveAdmin forms. [#3486] by [@varyonic]
    • ๐Ÿ‘‰ Make AA ORM-agnostic. [#2545] by [@johnnyshields]
    • Add multi-record support to attributes_table_for. [#2544] by [@zorab47]
    • ๐Ÿ›  Table CSS classes are now prefixed to prevent clashes. [#2532] by [@TimPetricola]
    • ๐Ÿ‘ Allow Inherited Resources shorthand for redirection. [#2001] by [@seanlinsley]
      controller do
        # Redirects to index page instead of rendering updated resource
        def update
          update!{ collection_path }
        end
      end
    
    • Accept block for download links. [#2040] by [@potatosalad]
      index download_links: ->{ can?(:view_all_download_links) || [:pdf] }
    
    • ๐Ÿ”ง Comments menu can be customized via configuration passed to config.comments_menu. [#4187] by [@drn]
    • โž• Added config.route_options to namespace to customize routes. [#4731] by [@stereoscott]

    ๐Ÿ”’ Security Fixes

    • ๐Ÿ‘€ Prevents access to formats that the user not permitted to see. [#4867] by [@Fivell] and [@timoschilling]
    • ๐Ÿ’Ž Prevents potential DOS attack via Ruby symbols. [#1926] by [@seanlinsley]

    ๐Ÿ› Bug Fixes

    • ๐Ÿ›  Fixes filters for has_many :through relationships. [#2541] by [@shekibobo]
    • "New" action item now only shows up on the index page. bf659bc by [@seanlinsley]
    • ๐Ÿ›  Fixes comment creation bug with aliased resources. 9a082486 by [@seanlinsley]
    • ๐Ÿ›  Fixes the deletion of :if and :unless from filters. [#2523] by [@PChambino]

    ๐Ÿ—„ Deprecations

    • ActiveAdmin::Event (ActiveAdmin::EventDispatcher). [#3435] by [@timoschilling] ActiveAdmin::Event will be removed in a future version, ActiveAdmin switched to use ActiveSupport::Notifications NOTE: The blog parameters has changed:
      ActiveSupport::Notifications.subscribe ActiveAdmin::Application::BeforeLoadEvent do |event, *args|
        # some code
      end
    
      ActiveSupport::Notifications.publish ActiveAdmin::Application::BeforeLoadEvent, "some data"
    
    • ๐Ÿšš action_item without a name, to introduce a solution for removing action items (remove_action_item(name)). [#3091] by [@amiel]