Releases: leafsphp/auth
Releases Β· leafsphp/auth
π‘οΈ Pavise '1'
v4.2.1 - 13 Sep 2025
Fixed
- Only call middleware on init if in a leaf app
π‘οΈ Pavise
v4.2 - 15 Jul 2025
Added
- Added support for token purposes (for safe use outside auth)
- Added support for league based oauth clients
- Added tighter oAuth integration with
fromOAuth() - Added
withGoogle()andclient()functions
Fixed
- Return user in token after successful token verification
Full Changelog: v4.1.1...v4.2
π‘οΈ Ancile '1'
v4.1.1 - 28 Apr 2025
Fixed
- Patched up PHP 7.4 issues
π‘οΈ Ancile
v4.1 - 7 Apr 2025
Added
- Added support for user subscription data with
subscription(),hasActiveSubscription(), ... if billing is available
Fixed
- Patched up
find()not connecting to db by @terrybr - Patched up system ignoring user configured "id.key"
- Resolved return type errors on models
π‘οΈ Aegis
v4.0 - 28 Feb 2025
No Changes
π Willow-leaved Sandthorn
v3.4.1
Fixed
- Removed default from text field
π Willow-leaved Sandthorn
v3.4 - 15 Jan 2025
Added
- Added middleware for checking user email verification status
auth.verified,auth.unverified - Added function to generate verification tokens
auth()->user()->generateVerificationToken() - Added functions to verify tokens and users
auth()->verifyToken(),auth()->user()->verify() - Added functions to check verification status
auth()->user()->isVerified()
π₯ Sea Buckthorn '1'
v3.3.1 - 22 Dec 2024
Fixed
- Fixed checks for preventing assigning the same role multiple times
- Merged duplicates from permission list of multiple roles
π₯ Sea Buckthorn
v3.3 - 15 Dec 2024
Added
- Added support for roles/permissions
- Added
Auth::createUserFor()method - Added
Auth::find()method
Changed
- Added default behaviour for all auth middleware
π₯ Blackthorn
v3.2 - 6 Dec 2024
Fixed
- Rename model
get()totable()to avoid confusion with Leaf DBget()
Changed
- Add overload function to skip calling
get()on model