Skip to content

Releases: tabuna/breadcrumbs

5.0.0

30 Mar 21:04

Choose a tag to compare

✨ New Features

  • Named parameter resolution for breadcrumbs
    Breadcrumb closures now support resolving parameters by name via Laravel’s container (app()->call()), removing dependency on positional arguments.

    ->breadcrumbs(fn (Trail $trail, Post $post) =>
        $trail->push($post->title, route('post', $post->id))
    );
  • Note parameters resolved by name
    Internal improvements ensure note parameters are consistently resolved using named bindings.

🧪 Testing & Quality Improvements

  • 100% Mutation Testing Coverage (MSI) achieved
    Significant improvements to test suite robustness and reliability.

  • Added test coverage for:

    • Blade component registration
    • Macro overwrite protection (hasMacro guard)
    • Fluent return behavior of breadcrumbs() macro
    • Breadcrumbs::has() with explicit route names
    • Exception handling in Registrar::get() for missing definitions
    • Isolation of generate() from current route parameters
    • Cleanup behavior in BreadcrumbsMiddleware::forgetParameter
  • Refactored:

    • Trail::call() visibility changed from protected → private to enforce stricter encapsulation

Full Changelog: 4.4.0...5.0.0

4.4.0

19 Mar 22:20
120322c

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.3.0...4.4.0

4.3.0

25 Feb 08:20
d3b21ea

Choose a tag to compare

What's Changed

Full Changelog: 4.2.1...4.3.0

4.2.1

27 Nov 08:29
1d90473

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 4.2.0...4.2.1

4.2.0

26 Nov 09:29
2915500

Choose a tag to compare

What's Changed

Full Changelog: 4.1.0...4.2.0

4.1.0

14 Mar 02:03
a8e615b

Choose a tag to compare

What's Changed

Full Changelog: 4.0.0...4.1.0

4.0.0

17 Feb 12:47
ca48c28

Choose a tag to compare

What's Changed

Full Changelog: 3.0.0...4.0.0

3.0.0

10 Feb 08:57
dd19194

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.4.0...3.0.0

2.4.0

20 Oct 01:16
bca3257

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.3.2...2.4.0

2.3.2

30 Aug 19:41

Choose a tag to compare

Added:

  • Detect routes from string