Skip to content

Releases: leafsphp/auth

πŸ›‘οΈ Pavise '1'

13 Sep 19:19

Choose a tag to compare

v4.2.1 - 13 Sep 2025

Fixed

  • Only call middleware on init if in a leaf app

πŸ›‘οΈ Pavise

15 Jul 18:36

Choose a tag to compare

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() and client() functions

Fixed

  • Return user in token after successful token verification

Full Changelog: v4.1.1...v4.2

πŸ›‘οΈ Ancile '1'

28 Apr 22:11

Choose a tag to compare

v4.1.1 - 28 Apr 2025

Fixed

  • Patched up PHP 7.4 issues

πŸ›‘οΈ Ancile

07 Apr 18:10

Choose a tag to compare

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

28 Feb 16:47

Choose a tag to compare

v4.0 - 28 Feb 2025

No Changes

🍁 Willow-leaved Sandthorn

06 Feb 21:31

Choose a tag to compare

v3.4.1

Fixed

  • Removed default from text field

🍁 Willow-leaved Sandthorn

15 Jan 19:13

Choose a tag to compare

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'

22 Dec 10:12

Choose a tag to compare

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

15 Dec 18:38

Choose a tag to compare

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

06 Dec 15:51

Choose a tag to compare

v3.2 - 6 Dec 2024

Fixed

  • Rename model get() to table() to avoid confusion with Leaf DB get()

Changed

  • Add overload function to skip calling get() on model