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

[2.x] Add support for laravel/sanctum ^3.0 #57

Merged
merged 5 commits into from Feb 23, 2023
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions README.md
Expand Up @@ -262,6 +262,13 @@ See [cybex-gmbh/collector](https://github.com/cybex-gmbh/collector) for an examp

## Migration guide from Protector v1.x to v2.x

Likelihood of impact: high

- If your app does not explicitly require the laravel/sanctum package, upgrading Protector to version 2.x may also
upgrade Sanctum to version 3.x. This will require you to follow its
[upgrade guide](https://github.com/laravel/sanctum/blob/3.x/UPGRADE.md). Alternatively you can explicitly require
laravel/sanctum ^2.4 in your app to lock its version.

Likelihood of impact: low

- Access to the formerly public methods getGitRevision(), getGitHeadDate() or getGitBranch() is now protected.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -29,7 +29,7 @@
"guzzlehttp/guzzle": "^7.4",
"illuminate/support": "^8.0|^9.0",
"laravel/framework": "^8.0|^9.0",
"laravel/sanctum": "^2.4",
"laravel/sanctum": "^2.4|^3.0",
"ext-pdo": "*"
},
"require-dev": {
Expand Down