Skip to content

Latest commit

 

History

History
514 lines (425 loc) · 24.5 KB

CHANGELOG.md

File metadata and controls

514 lines (425 loc) · 24.5 KB

Changelog

1.7.0

This release replaces Arbre::Pages with a conventional Rails layout and view partials. It also allows and encourages implementing Rails controllers explicitly instead of depending on Active Admin meta-programming.

Enhancements

Major

  • Add Webpacker compatibility with opt-in config switch and installation generator. [#5855] by @sgara

  • Rewrite CoffeeScript components in ES6. #5081 by @javierjulio

  • Rails 7.1 support. #43 by @varyonic

  • Add ActiveAdmin.configure_resource and configure_page. Don't unload manually defined Rails Controller classes. #40, #45 by @varyonic

  • Extract partial breadcrumbs. #39 by @varyonic

  • Add Page#add_page_route, Resource#add_member_route and add_collection_route. #37 by @varyonic

  • Add Resource#set_page_options, add_sidebar_section. #35, #36 by @varyonic

  • Use Arbo in place of Arbre. #31 by @varyonic

  • Extract partial filters_form. #28 by @varyonic

  • Use Rails partial _action_items.html.arb instead of Views::ActionItems component. #27 by @varyonic

  • Add Hotwire support. #25 by @varyonic

  • Make rendering a partial the default behavior for show, new, edit, index as: table and content #19, #20, #21, #22, #23, #33 by @varyonic

  • Use Rails layout for all pages. #16 by @varyonic

Minor

Security Fixes

  • Prevent leaking hashed passwords via user CSV export and adds a config option for sensitive attributes. #5486 by @chrp

1.6.0

Enhancements

Bug Fixes

1.5.2

1.5.1

  • More fixes to support final release of Rails 6.0.

1.5.0

Enhancements

Major

1.4.0

Enhancements

Minor

  • Fix batch_actions.delete_confirmation translation in zh-CN.yml. #5453 by @ShallmentMo
  • Add some missing italian translations. #5433 by @stefsava
  • Enhance some chinese translations. #5413 by @shouya
  • Add missing filter predicate translations to nb. #5357 by @rogerkk
  • Add missing norwegian comment translations. [#5375] by @rogerkk
  • Add missing dutch translations. #5368 by @dennisvdvliet
  • Add missing german translations. #5341 by @eikes
  • Add missing spanish translation. #5336 by @mconiglio
  • Add from and to predicates for russian language. #5330 by @glebtv
  • Fix typo in finnish translation. #5320 by @JiiHu
  • Add missing turkish translations. #5295 by @kobeumut
  • Add missing chinese translations. [#5266] by @jasl
  • Allow proc label in datepicker input. #5408 by @tiagotex
  • Add group attribute to scopes in order to show them in grouped. #5359 by @leio10
  • Add missing polish translations and improve existing ones. [#5537] by @Wowu
  • Add priority option to action_item. [#5334] by @andreslemik

Bug Fixes

  • Fixed "create anoter" checkbox styling. #5324 by @faucct
  • Fix input_html filter option evaluated only once. [#5376] by @kjeldahl
  • Fixed the string representation of the resolved sort_key when no explicit sortable attribute is passed. #5464 by @chumakoff
  • Fixed docs on the column sortable attribute (which actually doesn't have to be explicitly specified when a block is passed to column). #5464 by @chumakoff
  • Add missing I18n for comments. #5458, #5461 by @mauriciopasquier
  • Fixed if: scope option when a lambda is passed. #5501 by @deivid-rodriguez
  • Comment validation adding redundant errors when resource is missing. [#5517] by @deivid-rodriguez
  • Fixed resource filtering by association when the resource has custom primary key. #5446 by @wasifhossain
  • Fix menu item link with method delete. #5583 by @tiagotex

1.3.1

Bug Fixes

  • gemspec should have more permissive ransack dependency. [#5448] by @varyonic

Removals

1.3.0

Enhancements

Major

1.2.1

Bug Fixes

1.2.0

Enhancements

Minor

Bug Fixes

1.1.0

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
  • AA won't work properly with jQuery 1 & 2. Use jQuery 3 instead (#= require jquery3 in active_admin.js.coffee)

Deprecations

  • 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

1.0.0

Breaking Changes

Enhancements

Major

Minor

    controller do
      # Redirects to index page instead of rendering updated resource
      def update
        update!{ collection_path }
      end
    end
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

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"

Previous Changes

Please check 0-6-stable for previous changes.