- backwards incompatible changes
- removed
call_method_or_proc_on, usemethod_or_proc_oninstead - removed collection batch action as rarely used
- rename table builder option
row_classtorow_html_class - rename table builder option
cell_classtocell_html_class - removed
devise-encryptablegem - rename AbAdmin#time_format to AbAdmin#datetime_format
- removed
- backwards incompatible changes
- removed fancybox, JCrop without replacement
- removed
:cropoption from uploader - removed
globalizegem - removed AdminAddition unused methods
- removed User::managers scope
- removed User login generation
- removed User instance methods: init, has_role?, set_default_role
- removed
require_admincontroller helper - controller and view
moderator?helper returns false foradminrole now - added
AbAdmim.default_resource_settingsfor all resource configuration - removed
AbAdmin.current_index_viewandcurrent_index_view, usesettings[:current_index_view]instead - removed
AbAdmin.per_pageandper_page, usesettings[:per_page]instead - removed
AbAdmin.max_per_pageandmax_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_oninstead - removed
AbAdmin.default_per_page - use
custom_settingscontroller method for settings customization index_viewrenamed toindex_viewsand allow only array of symbols
- deprecation
- Array#without! is deprecated without replacement
- backwards incompatible changes
- rename
Hash#store_multitoHash#dig_store String#to_utcremoved without replacementString#is_int?removed without replacementString#is_number?removed without replacementString#mb_downcaseremoved without replacementString#mb_upcaseremoved without replacementString#clean_textremoved without replacementString::randomizeremoved without replacementString#count_wordsremoved without replacementString#words_countremoved without replacementString#tr_langremoved without replacementString#capitalize_firstremoved without replacementString#lucene_escaperemoved without replacementHash#try_keysremoved without replacementNil#valremoved without replacementHash#valremoved without replacementArray#add_or_deleteremoved without replacementArray#word_countremoved without replacementArray#map_valremoved without replacementArray#val_detectremoved without replacement
- rename
- backwards incompatible changes
list_sort_linkaccept only options Hash as second argumentdeprecated_utils.jsremoved without replacementSettings.load_configis deprecated, useSettings.datainsteadcall_method_or_proc_ondon't accept method name as String, use Symbol insteadcall_method_or_proc_onusepublic_sendinstead ofsentfor 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_blankin 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
russiangem and related hook, for proper day names addRussian::LOCALIZE_MONTH_NAMES_MATCH = /(%d|%e|%-d)(.*)(%B)/ if defined? Russianor use gem from github - removed Hash#to_hash method
- removed
capture_blockinput, becausesimple_formprovide it natively
- removed custom time and date formats (
-
deprecation
- Deprecated second bool argument in
id_linkhelper, useid_link(item, edit: false)instead
- Deprecated second bool argument in
-
enhancements
- add
cached_altandcached_titlecolumns to Asset model. - Fileupload
- allow to set fileupload container classes via
:container_classoption :unwrappedto disableinput_setwrapper
- allow to set fileupload container classes via
- add
-
deprecation
- Deprecated
Structure.with_kindin favor ofStructure.with_type
- Deprecated
-
backwards incompatible changes
- Structure model: renamed
kindcolumn tostructure_type_idandpositionrenamed toposition_type_id - User model: removed
trust_statecolumn - AdminComment model: renamed
author_idtouser_id,author_nametouser_name,user_idtoresource_user_id - Devise: see
config.clean_up_csrf_token_on_authentication,config.secret_keyconfig options - Fileupload
- instead of
:file,:videousefile_type: :filefile_type: :video - instead of
:containeruse:themeto set subdirectory with fileupload templates :file_max_sizeoption renamed to:max_size- asset javascripts template id = "#{file_type}_template"
f.input :picture, as: :uploaderinstead off.attach_file_field :picturescript_optionsremoved
- instead of
gongem removed, usefvinstead (fvis an OpenStruct)
- Structure model: renamed