Releases: daniel-de-wit/lighthouse-sanctum
Releases · daniel-de-wit/lighthouse-sanctum
Laravel 11 & Santum 4 support
Added support for Laravel 11 and Laravel Sanctum 4
Lighthouse v6
Add support for Lighthouse v6
Drop support for:
- Lighthouse <6
- php <8.1
- sanctum <3
Laravel 10 support
Laravel 10 support (#90) * Laravel 10 support * Fix composer normalize workflow * Stop testing composer --prefer-lowest --------- Co-authored-by: Daniel de Wit <[email protected]>
Support Laravel Sanctum ^3.0
Support Laravel Sanctum ^3.0 (#84) * Support Laravel Sanctum ^3.0 * Fix GitHub Action Normalize * Fix UserHasApiTokensIdentifiedByUsernameFactory * Update README.md
Fix config reference
Merge pull request #81 from xorinzor/master Wrong config value usage; fixes #80
Ability to customize credential f e.g: email/username
A new section is added to config/lighthouse-sanctum.php which allows for custom user identification field to be used when authenticating.
For example, using username
instead of the default email
.
/*
|--------------------------------------------------------------------------
| Identification
|--------------------------------------------------------------------------
|
| Configure the credential fields by which the user will be identified.
| Default: email
*/
'user_identifier_field_name' => 'username',
Update the GraphQL schema accordingly
input LoginInput {
username: String! @rules(apply: ["required"])
}
Add Laravel 9 and PHP 8.1 support
- Add Laravel 9 and PHP 8.1 support
- Removed Laravel <= 8 support