Skip to content

Releases: daniel-de-wit/lighthouse-sanctum

Laravel 11 & Santum 4 support

15 Apr 07:31
Compare
Choose a tag to compare

Added support for Laravel 11 and Laravel Sanctum 4

Lighthouse v6

09 May 08:19
04bb07d
Compare
Choose a tag to compare

Add support for Lighthouse v6

Drop support for:

  • Lighthouse <6
  • php <8.1
  • sanctum <3

Laravel 10 support

17 Feb 11:14
48f0251
Compare
Choose a tag to compare
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

04 Aug 07:49
82ef2d3
Compare
Choose a tag to compare
Support Laravel Sanctum ^3.0 (#84)

* Support Laravel Sanctum ^3.0

* Fix GitHub Action Normalize

* Fix UserHasApiTokensIdentifiedByUsernameFactory

* Update README.md

Fix config reference

21 Jun 14:32
a2618ab
Compare
Choose a tag to compare
Merge pull request #81 from xorinzor/master

Wrong config value usage; fixes #80

Ability to customize credential f e.g: email/username

20 Jun 11:12
ac468c8
Compare
Choose a tag to compare

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

06 Mar 08:01
cdbd4b3
Compare
Choose a tag to compare
  • Add Laravel 9 and PHP 8.1 support
  • Removed Laravel <= 8 support

1.4.0

05 Aug 09:22
d8e4962
Compare
Choose a tag to compare

Added

  • Extract the transformation of URL's to a separate method

Changed

  • Add MustVerifyEmail contract to VerifyEmail::createUrlUsing callback in the EmailVerificationService

1.3.0

13 Jul 08:24
d2f0f04
Compare
Choose a tag to compare

Added

  • Add mutation to update the current user's password

1.2.0

21 Jun 15:01
2b6ec4d
Compare
Choose a tag to compare

Added

  • Add mutation to resend email verification link