Future changelogs have moved to GitHub Releases
3.2.0 ☰
- Backport protect against CSV Injection. [#8167] by @mgrunberg
- Backport support citext column type in string filter. [#8165] by @mgrunberg
- Backport provide detail in DB statement timeout error for filters. [#8163] by @mgrunberg
- Backport make sure menu creation does not modify menu options. [#8166] by @mgrunberg
- Backport ransack error with filters when ActiveStorage is used. [#8164] by @mgrunberg
3.1.0 ☰
- Support Rails 7.1. #8102 by @mgrunberg
- Remove deprecated usage of ActiveSupport::Deprecation singleton. #8106 by @mgrunberg
- Replace to_formatted_s with to_s to convert date to string. #8105 by @mgrunberg
- Remove upper bound dependency limits from gemspec. #8098 by @javierjulio
3.0.0 ☰
- Remove custom Ransack predicates that were MetaSearch backports. #8010 by @javierjulio
- Require Ransack v4. #8009 by @javierjulio
- Use display name fallback if blank display name result. #6342 by @javierjulio
- Improve Swedish translations. #7993 by @carlottostromstedt
2.14.0 ☰
- Add csp_meta_tag to layout. #7986 by @javierjulio
- Update config.register_javascript with options support. #7002 by @lanzhiheng
- Use
csrf_meta_tags
in place of singular version. #7985 by @javierjulio - Allow different new and edit rules in authorization adapters. #6535 by @timwis
- Fix form layout for hints and checkboxes. #7772 by @JewelSam
- Update filters disabled error to include specific action. #6195 by @javawizard
- Fix Comments controller destroy declaration. #6482 by @bliof
- Stop pagination elements from overflowing outside of panel container. #7599 by @ray-curran
- Update vi locale with more translations. #7984 by @rs-phunt
- Update zh-CN locale with multiple corrections. #7944 by @hfl
- Fix typo in Vietnamese locale for filter text. #7920 by @tvziet
- Improve French translation. #7653 by @cprodhomme
- Add more documentation about PORO decorator requirements. #7556 by @sanfrecce-osaka
- Add Load Paths docs to the active_admin.rb template. #7541 by @gabo-cs
- Removes docs from exported gem. #7013 by @brunoarueira
2.13.1 ☰
- Honor load paths order when loading admin files. #7488 by @tf
- Fix passing expected hash payload argument. #7487 by @ispyropoulos
2.13.0 ☰
- Update validation errors documentation to account for deprecated
ActiveModel::Errors#keys
. #7475 by @amit
- Drop rails 6.0 support. #7476 by @deivid-rodriguez
- Fix pundit performance. #7479 by @deivid-rodriguez
2.12.0 ☰
- Don't mention webpacker as the default asset generator in Rails. #7377 by @jaynetics
- Avoid duplicate work when downloading CSV. #7336 by @deivid-rodriguez
2.11.2 ☰
2.11.1 ☰
2.11.0 ☰
- Fix form SCSS variables no longer being defined in the outermost scope, so no longer being accessible. #7341 by @gigorok
2.10.1 ☰
- Apply
box-sizing: border-box
globally. #7349 by @deivid-rodriguez - Vendor normalize 8.0.1. #7350 by @deivid-rodriguez
- Remove deprecation warning using controller filters inside initializer. #7340 by @mgrunberg
- Fix frozen string error when downloading CSV and streaming disabled. #7332 by @deivid-rodriguez
2.10.0 ☰
- Load favicon from Webpacker assets when use_webpacker is set to true. #6954 by @Fs00
- Don't apply sorting to collection until after scoping. #7205 by @agrobbin
- Resolve dart sass deprecation warning for division. #7095 by @tordans
- Use
instrument
from the Notifications API instead of low levelpublish
. #7262 by @sprql - Avoid mutating string literals. #6936 by @tomgilligan
- Include print styles in main stylesheet. #6922 by @deivid-rodriguez
- Use
POST
for OmniAuth links. #6916 by @deivid-rodriguez - Scope new record instantiation by authorization scope. #6884 by @ngouy
- Make
permit_params
andbelongs_to
order independent. #6906 by @deivid-rodriguez - Use collection length instead of running COUNTs for limited collections. #5660 by @MmKolodziej
- Fix Dutch translation for password reset button. #7181 by @mvz
- Add few key to RO pagination.entry. #6915 by @lubosch
- Change misleading Korean translation. #6873 by @1000ship
- Replace deprecated update_attributes! with update!. #6959 by @sergey-alekseev
- Clarify docs on user setup. #6872 by @javawizard
- Drop rails 5.2 support. #7293 by @deivid-rodriguez
- Drop support for Ruby 2.5. #7236 by @alejandroperea
2.9.0 ☰
- Support for Rails 6.1. #6548 by @deivid-rodriguez
- Add ability to override "Remove" button text on has_many forms. #6523 by @littleforest
- Drop git in gemspec. #6462 by @utkarsh2102
- Fix
has_many
syntax in forms documentation. #6583 by @krzcho - Add example of using
default_main_content
in show pages. #6487 by @sjieg
- Remove sassc and sprockets runtime dependencies. #6584 by @deivid-rodriguez
2.8.1 ☰
- Fix
permitted_param
generation forbelongs_to
when:param
is used. #6460 by @deivid-rodriguez - Fix streaming CSV export. #6451 by @deivid-rodriguez
- Fix input string filter no rendering dropdown input when its column name ends with a ransack predicate. #6422 by @Fivell
2.8.0 ☰
- Allow using PORO decorators. #6249 by @brunvez
- Make sure
ActiveAdmin.routes
provides routes in a consistent order. #6124 by @jiikko - Use proper closing tags for HTML in ModalDialog component. #6221 by @javierjulio
- Fix comment layout so regardless of size, each is aligned and spaced evenly. #6393 by @Ivanov-Anton
- Fix several Arabic translations. #6368 by @mshalaby
- Add missing
scope/all
italian translation. #6341 by @fuzziness - Improve Japanese translation. #6315 by @rn0rno
- Fix es and es-MX sign_in and sign_up translation. #6210 by @roramirez
- Fix filter_columns_for_large_association and filter_method_for_large_association examples. #6232 by @ndbroadbent
- Allow formtastic 4. #6318 by @deivid-rodriguez
- Drop Ruby 2.4 support. #6198 by @deivid-rodriguez
2.7.0 ☰
- Extend menu to allow for nested submenus. #5994 by @taralbass
- Add Webpacker compatibility with opt-in config switch and installation generator. #5855 by @sgara
- Fix scopes renderer when resource has only optional scopes and their conditions are false. #6149 by @Looooong
- Fix some missing wrapper markup in "logged out" layout. #6086 by @irmela
- Fix some typos in Vietnamese translation. #6099 by @giapnhdev
2.6.1 ☰
- Fix some ruby 2.7 warnings about keyword args. #6000 by @vcsjones
- Missing
create_another
translation in Vietnamese. #6002 by @imcvampire - Using "destroy" for user facing message is too robotic, prefer "delete". #6047 by @vfonic
- Typo in confirmation message for comment deletion. #6047 by @vfonic
2.6.0 ☰
- Display multiple flash messages in separate elements. #5929 by @mirelon
- Make delete confirmation messages in French & Spanish gender-neutral. #5946 by @cprodhomme
- Export ModalDialog component to re-enable client side usage. #5956 by @sgara
- Use default ActionView options instead of default Formtastic options for DateRangeInput #5957 by @mirelon
- Fix i18n key in docs example to translate scopes. #5943 by @adler99
2.5.0 ☰
- Convert namespace to sym to prevent duplicate namespaces such as :foo and 'foo'. #5931 by @westonganger
- Use filter label when condition has a predicate. #5886 by @ko-lem
- Fix error when routing with array containing symbol. #5870 by @jwesorick
- Fix error when there is a model named
Tag
andmeta_tags
have been configured. #5895 by @micred, @FabioRos and @deivid-rodriguez - Allow specifying custom
input_html
forDateRangeInput
. #5867 by @mirelon - Adjust
#main_content
right margin to take into account possible custom values of$sidebar-width
and$section-padding
. #5887 by @guigs - Improved polymorphic routes generation to avoid problems when multiple
belongs_to
are defined. #5938 by @leio10
- Support for Rails 5.0 and Rails 5.1 has been dropped. #5877 by @deivid-rodriguez
2.4.0 ☰
- Make optimization to not use expensive COUNT queries also work for decorated actions. #5811 by @irmela
- Render a text filter instead of a select for large associations (opt-in). #5548 by @DanielHeath
- Improve German translations. #5874 by @juril33t
2.3.1 ☰
- Revert ransack version pinning because 2.3 has an outstanding bug that affects quite a lot of users. See this ransack issue for more information. #5854 by @deivid-rodriguez
2.3.0 ☰
- Bump minimum ransack requirement to make sure everyone gets a version that works ok with all supported versions of Rails. #5831 by @deivid-rodriguez
- Fix CSVBuilder not respecting
ActiveAdmin.application.csv_options = { humanize_name: false }
setting. #5800 by @HappyKadaver - Fix crash when displaying current filters after filtering by a nested resource. #5816 by @deivid-rodriguez
- Fix pagination when
pagination_total
is false to not show a "Last" link, since it's incorrect because we don't have the total pages information. #5822 by @deivid-rodriguez - Fix optional nested resources causing incorrect routes to be generated, when renamed resources (through
:as
option) are involved. #5826 by @ndbroadbent, @Kris-LIBIS and @deivid-rodriguez - Fix double modal issue in applications using turbolinks 5. #5842 by @sgara
2.2.0 ☰
- The
status_tag
component now supports different labels forfalse
andnil
boolean cases through the locale. Both default to display "No" for backwards compatibility. #5794 by @javierjulio - Add Macedonian locale. #5710 by @violeta-p
- Fix pundit policy retrieving for static pages when the pundit namespace is
:active_admin
. #5777 by @kwent - Fix show page title not being properly escaped if title's content included HTML. #5802 by @deivid-rodriguez
- Revert 21b6138f from #5740 since it actually caused the performance in development to regress. #5801 by @deivid-rodriguez
2.1.0 ☰
- Ensure application gets reloaded only once. #5740 by @jscheid
- Crash when rendering comments from a custom controller block. #5758 by @deivid-rodriguez
- Switch
sass
dependency tosassc-rails
, sincesass
is no longer supported and since it restores support for directly importingcss
files. #5504 by @deivid-rodriguez
- Support for ruby 2.3 has been removed. #5751 by @deivid-rodriguez
2.0.0 ☰
No changes.
2.0.0.rc2 ☰
- Require arbre
~> 1.2, >= 1.2.1
. #5726 by @ionut998, and #5738 by @deivid-rodriguez
2.0.0.rc1 ☰
-
Add your own content to the site
<head>
, like analytics. #5590 by @burenActiveAdmin.setup do |config| config.head = ''.html_safe end
-
Consider authorization when displaying comments in show page. #5555 by @amiuhle
-
Undeprecate
config.register_stylesheet
andconfig.register_javascript
for lack of better solution for including external assets. It might be reevaluated in the future. #5662 by @deivid-rodriguez
- Prevent leaking hashed passwords via user CSV export and adds a config option for sensitive attributes. #5486 by @chrp
- Fix for paginated collections with
per_page: Array, pagination_total: false
. #5627 by @bartoszkopinski - Restrict ransack requirement to >= 2.1.1 to play nice with Rails 5.2.2. #5632 by @deivid-rodriguez
- Bad interpolation variables on pagination keys in Lithuanian translation. #5631 by @deivid-rodriguez
- Tabs are not correctly created when using non-transliteratable characters as title. #5650 by @panasyuk
- Sidebar title internationalization. #5417 by @WaKeMaTTa
filter
labels not allowing aProc
to be passed. #5418 by @WaKeMaTTa
- Rails 4.2 support has been dropped. #5104 by @javierjulio and @deivid-rodriguez
- Dependency on coffee-rails has been removed. #5081 by @javierjulio
If your application uses coffescript but was relying on ActiveAdmin to provide
the dependency, you need to add the
coffee-script
gem to yourGemfile
to restore it. If your only usage of coffescript was theactive_admin.js.coffee
generated by ActiveAdmin's generator, you can also convert that file to plain JS (//= require active_admin/base
if you didn't add any stuff to it). - Devise 3 support has been dropped. #5608 by @deivid-rodriguez and @javierjulio
action_item
without a name has been removed. #5099 by @javierjulio
1.4.3 ☰
- Fix
form
parameter tobatch_action
no longer accepting procs. #5611 by @buren and @deivid-rodriguez - Fix passing a proc to
scope_to
. #5611 by @deivid-rodriguez
1.4.2 ☰
1.4.1 ☰
1.4.0 ☰
- Add missing I18n for comments. #5458, #5461 by @mauriciopasquier
- 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 toaction_item
. #5334 by @andreslemik
- Fixed the string representation of the resolved
sort_key
when no explicitsortable
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 - 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
- Fixed "create another" checkbox styling. #5324 by @faucct
1.3.1 ☰
1.3.0 ☰
1.2.1 ☰
1.2.0 ☰
- 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
- 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
1.1.0 ☰
- 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
- Ruby 2.1 support has been dropped. #5003 by @deivid-rodriguez
- Replaced
sass-rails
withsass
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.
-
Deprecated
config.register_stylesheet
andconfig.register_javascript
. Import your CSS and JS files inactive_admin.scss
oractive_admin.js
. #5060 by @javierjulio -
Deprecated
type
param fromstatus_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; } }
- 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 ☰
- Rename
allow_comments
tocomments
for more consistent naming. #3695 by @pranas - JavaScript
window.AA
has been removed, usewindow.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, seeconfig.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
-
Migration from Metasearch to Ransack. #1979 by @seanlinsley
-
Rails 4 support. #2326 by many people ❤️
-
Rails 4.2 support. #3731 by @gonzedge and @timoschilling
-
Rails 5 support. #4254 by @seanlinsley
-
"Create another" checkbox for the new resource page. #4477 by @bolshakov
-
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
-
Allow to enable comments on per-resource basis. #3695 by @pranas
-
Unify DSL for index
actions
andactions dropdown: true
. #3463 by @timoschilling -
Add DSL method
includes
forActiveRecord::Relation#includes
. #3464 by @timoschilling -
BOM (byte order mark) configurable for CSV download. #3519 by @timoschilling
-
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
- 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
- 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
-
ActiveAdmin::Event
(ActiveAdmin::EventDispatcher
). #3435 by @timoschillingActiveAdmin::Event
will be removed in a future version, ActiveAdmin switched to useActiveSupport::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
Please check 0-6-stable for previous changes.