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 laravel/passport from 11.10.6 to 12.0.2 #2464

Merged
merged 6 commits into from Apr 8, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2024

Bumps laravel/passport from 11.10.6 to 12.0.2.

Release notes

Sourced from laravel/passport's releases.

v12.0.2

v12.0.1

v12.0.0

Changelog

Sourced from laravel/passport's changelog.

v12.0.2 - 2024-03-21

v12.0.1 - 2024-03-14

v12.0.0 - 2024-03-12

Upgrade guide

Sourced from laravel/passport's upgrade guide.

Upgrade Guide

General Notes

Upgrading To 12.0 From 11.x

Migration Changes

Passport 12.0 no longer automatically loads migrations from its own migrations directory. Instead, you should run the following command to publish Passport's migrations to your application:

php artisan vendor:publish --tag=passport-migrations

Password Grant Type

The password grant type is disabled by default. You may enable it by calling the enablePasswordGrant method in the boot method of your application's App\Providers\AppServiceProvider class:

public function boot(): void
{
    Passport::enablePasswordGrant();
}

Upgrading To 11.0 From 10.x

Minimum PHP Version

PHP 8.0 is now the minimum required version.

Minimum Laravel Version

Laravel 9.0 is now the minimum required version.

Reverting Model DB Connection Customization

PR: laravel/passport#1412

Customizing model database connections through the migration files has been reverted. This was first introduced in this PR.

If you need to customize the database connection for a model you should override the models as explained in the documentation.

Allow Timestamps On Token model

PR: laravel/passport#1425

Timestamps are now allowed on the Token model. If you specifically didn't want these model's timestamps to be updated then you may override the Token model as explained in the documentation.

Refactor Routes To Dedicated File

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Apr 1, 2024
@dependabot dependabot bot force-pushed the dependabot/composer/laravel/passport-12.0.2 branch from 01f57d8 to b692d24 Compare April 1, 2024 17:33
@HerrLevin
Copy link
Member

all migrations have been published in 939d461, not touching AppServiceProvider since we don't use the password grant.

@HerrLevin HerrLevin enabled auto-merge April 1, 2024 17:47
@HerrLevin HerrLevin disabled auto-merge April 2, 2024 13:00
@HerrLevin
Copy link
Member

@dependabot recreate

@dependabot dependabot bot force-pushed the dependabot/composer/laravel/passport-12.0.2 branch from b692d24 to 08e193b Compare April 3, 2024 11:17
Bumps [laravel/passport](https://github.com/laravel/passport) from 11.10.6 to 12.0.2.
- [Release notes](https://github.com/laravel/passport/releases)
- [Changelog](https://github.com/laravel/passport/blob/12.x/CHANGELOG.md)
- [Upgrade guide](https://github.com/laravel/passport/blob/12.x/UPGRADE.md)
- [Commits](laravel/passport@v11.10.6...v12.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/composer/laravel/passport-12.0.2 branch from 08e193b to 6e0e4b8 Compare April 3, 2024 15:04
@MrKrisKrisu
Copy link
Member

All API Tests doesn't work with this upgrade - tested locally.

composer.json Show resolved Hide resolved
@HerrLevin HerrLevin merged commit e35cd48 into develop Apr 8, 2024
8 checks passed
@HerrLevin HerrLevin deleted the dependabot/composer/laravel/passport-12.0.2 branch April 8, 2024 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants