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
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.
๐ Deprecations
- ๐
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; } }
โจ 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]
- ๐ Fixed [#5093] Handle table prefix & table suffix for