-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from leroy-merlin-br/chore/upgrade-mongolid-v4
chore(mongolid-v4): upgrade to mongolid v4 beta
- Loading branch information
Showing
8 changed files
with
113 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
## Upgrading To 11.0 From 10.x | ||
|
||
### Minimum PHP Version | ||
|
||
PHP 7.3 is now the minimum required version. | ||
|
||
### Minimum Laravel Version | ||
|
||
Laravel 8.0 is now the minimum required version. | ||
|
||
### Why this new version | ||
|
||
Mongolid package was upgraded to version 4.x and bring with some breaking changes. | ||
We believe that this changes will not impact the use of mongolid-passport package, but, using this package along with mongolid will may bring the breaking changes to your project, for this reason we are bumpimp up the version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Upgrading To 8.0 From 7.x | ||
|
||
### Minimum & Upgraded Versions | ||
|
||
Commit: https://github.com/laravel/passport/commit/97e3026790d953d7a67fe487e30775cd995e93df | ||
|
||
The minimum Laravel version is now v6.0 and the minimum PHP version is now 7.2. The underlying `league/oauth2-server` has also been updated to v8. | ||
|
||
### Public Clients | ||
|
||
PR: https://github.com/laravel/passport/pull/1065 | ||
|
||
Passport now supports public clients and PCKE. To leverage this feature, you should update the the `secret` column of the `oauth_clients` table to be `nullable`: | ||
|
||
### Renderable Exceptions For OAuth Errors | ||
|
||
PR: https://github.com/laravel/passport/pull/1066 | ||
|
||
OAuth exceptions can now be rendered. They will first be converted to Passport exceptions. If you are explicitly handling `League\OAuth2\Server\Exception\OAuthServerException` in your exception handler's report method you will now need to check for an instance of `Laravel\Passport\Exceptions\OAuthServerException` instead. | ||
|
||
### Fixed Credential Checking | ||
|
||
PR: https://github.com/laravel/passport/pull/1040 | ||
|
||
In the previous versions of Passport, you could pass tokens granted by a different client type to the `CheckClientCredential` and `CheckClientCredentialForAnyScope` middleware. This behavior has been corrected and an exception will be thrown if you attempt to pass a token generated by a different client type. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Upgrading To 10.0 From 9.x | ||
|
||
### Minimum PHP Version | ||
|
||
PHP 7.3 is now the minimum required version. | ||
|
||
### Minimum Laravel Version | ||
|
||
Laravel 8.0 is now the minimum required version. | ||
|
||
### Old Static Personal Client Methods Removed | ||
|
||
PR: https://github.com/laravel/passport/pull/1325 | ||
|
||
The personal client configuration methods have been removed from the `Passport` class since they are no longer necessary. You should remove calls to these methods from your `AuthServiceProvider`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Upgrade Guide | ||
|
||
## General Notes | ||
|
||
### How do it | ||
| Old Version | New Version | | | ||
|-------------|-------------|--------------------------------| | ||
| 10.x | 11.0 | [guide](upgrade-10.x-11.0.md) | | ||
| 9.x | 10.0 | [guide](upgrade-9.x-10.0.md) | | ||
| 8.x | 9.0 | [guide](upgrade-8.x-9.0.md) | | ||
| 7.x | 8.0 | [guide](upgrade-7.x-8.0.md) | |