Trestle v0.9.4 Release Notes

Release Date: 2020-10-27 // over 1 year 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 bare col class when explicit column count is given