Skip to content

Releases: wireui/breadcrumbs

v3.1.1

23 May 14:52
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.1.0...v3.1.1

v3.1.0

15 Mar 03:20
87a5d79
Compare
Choose a tag to compare

What's Changed

  • Laravel 11 support by @PH7-Jack in #8

Full Changelog: v3.0.0...v3.1.0

v3.0.0

19 Feb 06:59
7b17154
Compare
Choose a tag to compare

What's Changed

  • add php 8.3 support by @PH7-Jack in #7

Full Changelog: v2.0.0...v3.0.0

v2.0.0

25 Apr 04:56
0752b62
Compare
Choose a tag to compare

What's Changed

  • v2: refactor breadcrumbs by @PH7-Jack in #4

Breaking Changes

Route Breadcrumb

Previously, we had a method to add breadcrumbs directly into the routes, now it was removed.
This way was removed because of a conflict in the routes caching.

Route::get('/users/create', Index::class)
    ->breadcrumbs(function (Trail $trail) {
        return $trail
            ->push('Users', route('users'))
            ->push('Create');
    })
    ->name('users.create');

To add breadcrumbs for a route, we use the routes/breadcrumbs.php file

Breadcrumbs::for('users.view')
    ->push('Users', route('users'))
    ->push('View')
    ->callback(function (Trail $trail, User $user): Trail {
        return $trail->push($user->name);
    });

Tailwind Content

add the new Tailwind content paths

/** @type {import('tailwindcss').Config} */
module.exports = {
    content: [
        './vendor/wireui/breadcrumbs/src/Components/**/*.php',
        './vendor/wireui/breadcrumbs/src/views/**/*.blade.php',
    ],
}

PHP 8.1 or Laravel 9?

NO. WireUi always uses only the latest versions for new releases.

Old versions will still have support and fixes.

Full Changelog: v1.1.0...v2.0.0

v1.1.0

26 Mar 01:59
4e37e56
Compare
Choose a tag to compare

What's Changed

  • Publishing fix by @PH7-Jack in #3

New Contributors

  • @PH7-Jack made their first contribution in #3

Full Changelog: v1.0.0...v1.1.0

v1.0.0

28 Aug 03:16
8c11270
Compare
Choose a tag to compare

Release v1.0.0