- backwards incompatible changes
- removed
call_method_or_proc_on
, usemethod_or_proc_on
instead - removed collection batch action as rarely used
- rename table builder option
row_class
torow_html_class
- rename table builder option
cell_class
tocell_html_class
- removed
devise-encryptable
gem - rename AbAdmin#time_format to AbAdmin#datetime_format
- removed
- backwards incompatible changes
- removed fancybox, JCrop without replacement
- removed
:crop
option from uploader - removed
globalize
gem - removed AdminAddition unused methods
- removed User::managers scope
- removed User login generation
- removed User instance methods: init, has_role?, set_default_role
- removed
require_admin
controller helper - controller and view
moderator?
helper returns false foradmin
role now - added
AbAdmim.default_resource_settings
for all resource configuration - removed
AbAdmin.current_index_view
andcurrent_index_view
, usesettings[:current_index_view]
instead - removed
AbAdmin.per_page
andper_page
, usesettings[:per_page]
instead - removed
AbAdmin.max_per_page
andmax_per_page
, usesettings[:max_per_page]
instead - removed
AbAdmin.per_page_variants
, usesettings[:per_page_variants]
instead - removed
AbAdmin.view_default_per_page
, usesettings[:view_default_per_page]
instead - removed
settings[:skip_pagination]
, usesettings[:pagination_index_views]
orsettings[:pagination]
instead - removed
call_method_or_proc_on
, usemethod_or_proc_on
instead - removed
AbAdmin.default_per_page
- use
custom_settings
controller method for settings customization index_view
renamed toindex_views
and allow only array of symbols
- deprecation
- Array#without! is deprecated without replacement
- backwards incompatible changes
- rename
Hash#store_multi
toHash#dig_store
String#to_utc
removed without replacementString#is_int?
removed without replacementString#is_number?
removed without replacementString#mb_downcase
removed without replacementString#mb_upcase
removed without replacementString#clean_text
removed without replacementString::randomize
removed without replacementString#count_words
removed without replacementString#words_count
removed without replacementString#tr_lang
removed without replacementString#capitalize_first
removed without replacementString#lucene_escape
removed without replacementHash#try_keys
removed without replacementNil#val
removed without replacementHash#val
removed without replacementArray#add_or_delete
removed without replacementArray#word_count
removed without replacementArray#map_val
removed without replacementArray#val_detect
removed without replacement
- rename
- backwards incompatible changes
list_sort_link
accept only options Hash as second argumentdeprecated_utils.js
removed without replacementSettings.load_config
is deprecated, useSettings.data
insteadcall_method_or_proc_on
don't accept method name as String, use Symbol insteadcall_method_or_proc_on
usepublic_send
instead ofsent
for method call
- backwards incompatible changes
- removed Asset#format_created_at
- removed Time#formatted_datetime, Time#formatted_date
- date picker format changed to
yyyy-mm-dd
- Deprecated
Hash#no_blank
in favor ofHash#reject_blank
- enhancements
- add setting
search_form: {compact_labels: true}
to use compact labels in search form
- add setting
- backwards incompatible changes
- [MARKUP] Tooltip css class 'do_tooltip' changed to 'js-tooltip', removed default tooltip position
- [MARKUP] Deprecated :wrapper_class option in search form, use
wrapper_html: {class: ''}
instead
-
backwards incompatible changes
- removed custom time and date formats (
:api
,:path
,:compare
,:compare_date
) - remove
russian
gem and related hook, for proper day names addRussian::LOCALIZE_MONTH_NAMES_MATCH = /(%d|%e|%-d)(.*)(%B)/ if defined? Russian
or use gem from github - removed Hash#to_hash method
- removed
capture_block
input, becausesimple_form
provide it natively
- removed custom time and date formats (
-
deprecation
- Deprecated second bool argument in
id_link
helper, useid_link(item, edit: false)
instead
- Deprecated second bool argument in
-
enhancements
- add
cached_alt
andcached_title
columns to Asset model. - Fileupload
- allow to set fileupload container classes via
:container_class
option :unwrapped
to disableinput_set
wrapper
- allow to set fileupload container classes via
- add
-
deprecation
- Deprecated
Structure.with_kind
in favor ofStructure.with_type
- Deprecated
-
backwards incompatible changes
- Structure model: renamed
kind
column tostructure_type_id
andposition
renamed toposition_type_id
- User model: removed
trust_state
column - AdminComment model: renamed
author_id
touser_id
,author_name
touser_name
,user_id
toresource_user_id
- Devise: see
config.clean_up_csrf_token_on_authentication
,config.secret_key
config options - Fileupload
- instead of
:file
,:video
usefile_type: :file
file_type: :video
- instead of
:container
use:theme
to set subdirectory with fileupload templates :file_max_size
option renamed to:max_size
- asset javascripts template id = "#{file_type}_template"
f.input :picture, as: :uploader
instead off.attach_file_field :picture
script_options
removed
- instead of
gon
gem removed, usefv
instead (fv
is an OpenStruct)
- Structure model: renamed