All Versions
Latest Version
Avg Release Cycle
85 days
Latest Release

Changelog History
Page 1

  • v3.6.0.rc2 Changes

    • ๐Ÿ›  Fix subform crud in subform subgroup when controller is embedded
    • ๐Ÿ›  Fix sorting for mongoid models, broken in 3.6.0.rc1
    • ๐Ÿ‘Œ Improve add_new option, allow to change subform columns (with helper override calling super and add columns to locals argument)
    • ๐Ÿ†• Support add_new option for record_select or radio form_ui
    • ๐Ÿ†• Support add_new option for polymorphic associations (add_new may be array with class names to allow add new, or true to allow add new for any model)
    • ๐Ÿ‘Œ Support description for columns displayed as subform
    • Don't mess with history if current page is not using activescaffold when is loaded
    • ๐Ÿ›  Fix changing sort_by per request when threadsafe is enabled
  • v3.6.0.rc1 Changes

    • ๐Ÿ—„ Cleanup: deprecate ActiveScaffold.set_defaults for ActiveScaffold.defaults, rename some setters
    • ๐Ÿ›  Fix adding new action links on request with threadsafety enabled
    • ๐Ÿ›  Fix iterating in config.columns with threadsafety enabled
    • ๐Ÿ›  Fix changing pagination enabled/disabled with threadsafety enabled
    • ๐Ÿ‘ Allow create action in has_many through singular association
    • โšก๏ธ Display no options in radio form_ui when no option is available, so column can be refreshed with update_columns
    • Add as_main_div_data to override data attributes on main div
    • โž• Add loading indicator to embedded scaffolds, display error if fails
    • ๐Ÿ›  Fix race condition in threadsafe mode with delayed setup
    • Add ActiveScaffold::Config::Core.after_config_callbacks, so custom methods or procs can be added to be called after active_scaffold config block (used by bitfields bridge)
    • Display loading indicator at bottom on auto pagination
    • List rendering speed up
    • โœ‚ Remove font family from CSS, it was preventing from changing it easily in body
    • ๐Ÿ›  Fix search for mongoid models in with threadsafety enabled
    • Keep nested params after calling render_field for column in subform
    • ๐Ÿ›  Fix nested for controllers without list action (for example, for nested create on singular assocations)
    • ๐Ÿ›  Fix delayed setup issues with threads
    • ๐Ÿ›  Fix render_field under nested list for polymorphic association
    • โž• Add foreign_type column to constrained columns in nested list for polymorphic association
    • โž• Add return_to to action links on nested list for singular associations, so forms would return to list
    • Case insensitive search with PostGIS adapter
    • Use clear_storage with around_action and ensure, so empty hash is removed from session storage when exception is raised too
    • โœ‚ Delete search from session when search is reset
    • Add cache_column_counts method to get counts with one query for associations which are not preloaded, query per column is overridable with count_query_for_column
    • ๐Ÿ‘ ActiveStorage support with bridge
    • Add list_row_attributes helper so more HTML attributes can be added to tr.record in list, overriding the helper
    • ๐Ÿ‘Œ Support column!=value param for not equal condition (column!= means column is not null)
    • Don't force to use join for column's includes when sorting by method
    • โž• Add support for range conditions in url params for numeric (integer, decimal, float, bigint) columns too
    • Support include_blank option in :radio form_ui
    • ๐Ÿ†• Add add_new option for :select form_ui in singular associations, in column.options, it adds link to toggle between select and subform
    • ๐Ÿ›  Fix subform crud in subform subgroup, when form is on nested scaffold, when record on first subform is persisted
    • Add association_join_text setting to column, so it can be changed for one column only
    • ๐Ÿ‘‰ Use Arel.sql with sorting.clause before passing to reorder method
  • v3.6.0.pre Changes

    March 25, 2019
    • โž• Added threadsafety as tech preview, enabled with ActiveScaffold.threadsafe! in initializer.
    • Added active_scaffold_config.build_action_columns method to easily create action columns for custom form actions.
    • Replaced each(options) with each_column(options) in ActionColumns
    • Replaced collect_visible(options, &proc) with visible_columns(options).map(&proc) in ActionColumns
    • Replaced names with visible_columns_names in ActionColumns
    • Replaced names_without_auth_check with to_a in ActionColumns
    • ๐Ÿ‘Œ Support rails 5.2, drop support for 4.0 and 4.1
    • ๐Ÿ’Ž Require ruby 2.3.1, drop support for 2.0, 2.1 and 2.2.
    • Fix has_one/belongs_to nested for polymorphic associations, leave rails to build conditions from {assoc_name: record} hash
    • Cast blank into nil for null string columns in conditions_from_params
    • Support multipart with iframe in process_action_link_action default response
    • ๐Ÿ›  Fix hidding and showing columns based on permissions with update_columns on subforms
    • ๐Ÿ›  Fix subform crud in subform subgroup, when form is on nested scaffold
    • ๐Ÿ›  Fix JS when rails-ujs is used instead of jquery_ujs (rails >= 5.1)
    • ๐Ÿ‘‰ Display flash messages only inside create form, when conf.list.always_show_create is enabled, instead of displaying twice (in form and above list).
    • ๐Ÿ›  Fix default autocomplete value for password form_ui, new-password has to be used because off is ignored by browsers in password fields now
  • v3.5.5 Changes

    July 10, 2019
    • ๐Ÿ›  Fix creating new records, when using cancan and allowing access based on id (fixes #617)
  • v3.5.4 Changes

    January 23, 2019
    • ๐Ÿ›  Fix chosen form_ui for plural associations
    • ๐Ÿ‘€ Eager load with includes in association options query, if includes has a hash with own association key, see #612
  • v3.5.3 Changes

    October 19, 2018
    • ๐Ÿ›  Fix :text fields for rails >= 5.1
    • Send empty array in collection associations with select form_ui (checkbox or draggable list) when no option is available
  • v3.5.2 Changes

    July 31, 2018
    • Load chosen on turbolinks:load event
    • ๐Ÿ›  Fix association.blank? when associated_limit=0 and includes=nil
  • v3.5.1 Changes

    May 16, 2018
    • ๐Ÿ›  Fix set false options for date picker
    • ๐Ÿ›  Fix :hidden form_ui for singular associations
    • ๐Ÿ›  Fix sorting by columns not included in list for SQL Server
  • v3.5.0 Changes

    March 23, 2018
    • โž• 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
  • v3.4.43 Changes

    November 30, 2017
    • ๐Ÿ›  Fix human conditions for date and datetime columns, not using date picker