loaf v0.6.0 Release Notes

Release Date: 2017-10-19 // over 6 years ago
  • ➕ Added

    • ➕ Add new :match option to allow customisation of breadcrumb matching behaviour
    • ➕ Add #current_crumb? for checking if breadcrumb is current in view
    • ➕ Add tests setup for Rails 5.0, 5.1

    🔄 Changed

    • 🔄 Change view helper name from #breadcrumbs to #breadcrumb_trail
    • 🔄 Change Configuration to accept attributes at initilization
    • 🔄 Change Loaf::Railtie to load for both old and new rails versions
    • ✂ Remove Builder class
    • Remove configuration options :root, :last_crumb_linked, :style_classes
    • ✂ Remove #add_breadcrumbs from controller api

    🛠 Fixed

    • 🛠 Fix current page matching logic to allow for inclusive paths
    • 🛠 Fix controller filter to work with new Rails action semantics