Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump diglactic/laravel-breadcrumbs from 6.0.4 to 8.1.0 #318

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 13, 2023

Bumps diglactic/laravel-breadcrumbs from 6.0.4 to 8.1.0.

Release notes

Sourced from diglactic/laravel-breadcrumbs's releases.

v8.1.0

Add support for Laravel 10.x, courtesy of @​SamuelNitsche! 🙌

v8.0.1

Great catch by @​mad-briller for finding a DocBlock still listing the deprecated ::for method 🙌

v8.0.0

A mix between a bug fix and feature change, this release updates how we pull in and pass route parameters to breadcrumb closures to prevent unexpected results when setting parameters via middleware. This is ultimately a breaking change, as it excludes passing parameters set via middleware altogether.

See this PR comment for more details.

Thanks, @​jaulz!

v7.2.0

Allow Blade templates to be published by running php artisan vendor:publish --tag=breadcrumbs-views.

You rock, @​nasrulhazim!

v7.1.1

Add support for Laravel 9.x. Thanks, @​freekmurze!

v7.0.0

Chainable calls are here! Combined with arrow functions in PHP 7.4, you can now use the following elegant syntax:

<?php
use Diglactic\Breadcrumbs\Breadcrumbs;
use Diglactic\Breadcrumbs\Generator as BreadcrumbTrail;
Breadcrumbs::for(
'post',
fn (BreadcrumbTrail $trail, Post $post) => $trail
->parent('blog')
->push($post->title, route('post', $post))
);

Thanks to @​tabuna for the original PR.

7.x also introduces some breaking housekeeping changes. Take a moment to review the upgrade guide.

v6.1.1

  • Informed Composer of incompatibility with davejamesmiller/laravel-breadcrumbs package. Thanks, lloricode! 🚀

v6.1.0

  • Added support for Bootstrap 5. Thanks, Kvaksrud! 🎉
Upgrade guide

Sourced from diglactic/laravel-breadcrumbs's upgrade guide.

Upgrade Guide

Upgrading to 8.x from 7.x

8.x introduces a single breaking change over 7.x by passing request parameters injected by middleware into Breadcrumbs closures. If you're not mutating request parameters in your middleware, you can safely upgrade without any code changes. See #52 for more details.

Upgrading to 7.x from 6.x

7.x introduces some breaking changes from 6.x, mainly, housekeeping items.

If you've already upgraded your code when switching to 5.x, this new version should be relatively seamless.

Upgrading to 6.x from 5.x

These upgrade notes serve to bring you off of the latest version of DaveJamesMiller\Breadcrumbs to this repository. Note that this library requires at least Laravel 6.

Begin by swapping libraries via Composer:

composer remove davejamesmiller/laravel-breadcrumbs
composer require diglactic/laravel-breadcrumbs

Next, you'll need to update the following references. While we've made most classes backwards-compatible and your project should work right away, it's a good idea to update these sooner than later as they'll be removed in a future version.

davejamesmiller/laravel-breadcrumbs diglactic/laravel-breadcrumbs
DaveJamesMiller\Breadcrumbs\BreadcrumbsManager Diglactic\Breadcrumbs\Manager
DaveJamesMiller\Breadcrumbs\BreadcrumbsGenerator Diglactic\Breadcrumbs\Generator
DaveJamesMiller\Breadcrumbs\BreadcrumbsServiceProvider Diglactic\Breadcrumbs\ServiceProvider
DaveJamesMiller\Breadcrumbs\Facades\Breadcrumbs Diglactic\Breadcrumbs\Breadcrumbs

Once you're done, double-check your work by searching for DaveJamesMiller\Breadcrumbs within your application and making any necessary replacements. Note class name changes, like BreadcrumbsManager to Manager. If you've never gone off script, you should be all set.

If you ran into trouble following this upgrade guide, please file an issue. Happy coding!

Commits
  • ce3dfb7 Oops, bump major version in README
  • a188bbf Add deprecation note
  • 28fdfc0 Tweak dependencies
  • 6aa0e6a Attempt to still support Laravel v6
  • 61a81e4 Merge pull request #61 from SamuelNitsche/laravel-10-compatibility
  • f1774df Update workflows
  • b9661cb Remove support for old Laravel versions
  • 5ead849 Fix warning for deprecated method
  • 3d49742 Add support for Laravel 10
  • ae90404 Specify branch on build badge image
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [diglactic/laravel-breadcrumbs](https://github.com/diglactic/laravel-breadcrumbs) from 6.0.4 to 8.1.0.
- [Release notes](https://github.com/diglactic/laravel-breadcrumbs/releases)
- [Upgrade guide](https://github.com/diglactic/laravel-breadcrumbs/blob/main/UPGRADE.md)
- [Commits](diglactic/laravel-breadcrumbs@v6.0.4...v8.1.0)

---
updated-dependencies:
- dependency-name: diglactic/laravel-breadcrumbs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the bug Something isn't working label Feb 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants