Trestle v0.9.4 Release Notes
Release Date: 2020-10-27 // over 3 years ago-
- โ Add Vietnamese translations [Derek Nguyen]
- ๐ Implement preliminary support for AJAX pagination
- ๐ Allow access to controller methods (e.g.
current_user
) from within scope blocks - ๐ Allow per-admin translations for scope labels
- ๐ Change form parameter name to unscoped singular admin name
- โก๏ธ Update to jQuery 3.5.1, Bootstrap 4.5.3, FontAwesome 5.15.1, Flatpickr 4.6.6, rails-ujs 6.0.3
- ๐ Fix select field options when passing additional data attributes
- Ensure select fields are disabled when
options[:disabled]
is set - ๐ Fix use of hooks within form blocks
- ๐ Fix form field attributes when
options[:wrapper]
is false - ๐ Fix deprecation warnings in Ruby 2.7
- ๐ Fix file permissions in gem release
Previous changes from v0.9.3
-
- Add
#save_or_dismiss
resource toolbar builder method - โ Add support for passing parameters to hooks
- Implement
selectable_column
checkbox JS and custom checkbox styling - ๐ Deprecated
config.reload
option (admins will now always reload in development mode) - โก๏ธ Update to jQuery 3.5.0
- โก๏ธ Update to FontAwesome 5.13.0, rails-ujs 6.0.2, popper.js 1.16.1, select2 4.0.13, bs-custom-file-input 1.3.4
- โก๏ธ Loosen dependency on kaminari (allow updating to 1.2.x)
- ๐ Fix deprecation warnings when using Zeitwerk
- ๐ Fix focus styles for themed buttons
- ๐ Fix centering of title/logo at mobile breakpoints
- Fix error messages for
has_many
/has_and_belongs_to_many
fields (ending in_ids
) - ๐ Fix JS AJAX events from incorrectly firing on child elements of a Trestle form
- ๐ Fix overriding of table options when embedding within another admin
- ๐ Fix
col
helper to not add barecol
class when explicit column count is given
- Add