ActiveScaffold v3.5.0 Release Notes

Release Date: 2018-03-23 // about 6 years ago
    • โž• add basic support for Mongoid
    • โž• add support for associations between Mongoid and ActiveRecord with ActiveMongoid
    • ๐Ÿ—„ use concerns for routes, deprecate as_routes method
    • โž• add install generator
    • ๐Ÿš… rails 5.0 support and turbolinks 5.0 support, without jquery.turbolinks
    • rename active_scaffold generator as active_scaffold:resource
    • rename active_scaffold_controller generator as active_scaffold:controller
    • remove deprecations from 3.4.x (active_scaffold_includes and using @record in helpers)
    • ๐Ÿ‘‰ check create authorized for create on list (config.list.always_show_create)
    • ๐Ÿ‘ allow to disable inplace_edit for column when update form is enabled
    • add support for aggregated lists to field_search (config.field_search.group_options)
    • โž• add support for range conditions in url params for date and datetime columns
    • โž• add :color form_ui with "No color" checkbox to disable if column may be null
    • โž• add inline_links config to show action, display member links in show action loaded in page
    • โž• add :telephone list_ui displaying formatted phone number with tel: link
    • โž• add global config option to display reason for disabled action, authorized methods must return string with reason, and string is interpreted as not authorized
    • โž• add config.column shortcut to set defaults for column settings with ActiveScaffold.set_defaults
    • stop saving embedded scaffolds info into session, so no more CookieOverflow errors caused by loading many embedded scaffolds
    • add add_association_columns method to config.columns, so columns from has_one or belongs_to association can be added as delegated columns (for list, show, field_search and update_column only)
    • support has_many through singular associations (belongs_to or has_one) in forms
    • โœ‚ remove onsubmit tag in forms and move tinymce related JS to assets
    • ๐Ÿ‘‰ use html5 history api when listing is refreshed
    • ๐Ÿ‘‰ use date, datetime-local and time html5 inputs for date, datetime and time columns without form_ui
    • โž• add month and week form_ui using html5 inputs
    • ๐Ÿ’ป avoid browser mixes html and xhr cache for listing requests, using vary header
    • ๐Ÿ‘Œ improve in_subform? check for subforms, so only reverse association is hidden (needed when subform class has multiple associations to main form's class)
    • ๐Ÿ›  fix select of existing record for nested subform
    • ๐Ÿ›  fix apply constraints to parent (fix update columns on subform on embedded scaffold)
    • ๐Ÿ›  fix for override form field and subform partials on AS controllers which are parent class for AS controllers, so they are shared by children classes
    • ๐Ÿ›  fix translation for ActiveRecord enums
    • fix do_refresh_list on actions with GET route, it used :id and :action from request for sorting and pagination links
    • ๐Ÿ›  fix enabling draggable lists and sliders on new subform records
    • ๐Ÿ›  fix updating column and changing from :hidden form_ui to different one
    • fix searching with :multi_chosen search_ui
    • fix human conditions for :chosen and :multi_chosen search_ui
    • ๐Ÿ›  fix display of association in list when association_limit is nil
    • ๐Ÿ›  fix conversion of i18n date and datetime value, some abbr day and month may be equal in some languages
    • ๐Ÿ’ป fix hidden form_ui for collection associations (has_many, habtm)
    • โฌ‡๏ธ Drop rails 3.2.x and ruby 1.9 support