Trestle v0.9.4 Release Notes

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