Skip to content

Releases: auth0/laravel-auth0

7.2.0

11 Oct 17:52
Compare
Choose a tag to compare
Laravel.SDK.7.2.mp4

Thank you to tonyfox-disguise, jeovajr and nie7321 for their contributions to this release.

Changed

  • Auth0\Laravel\Store\LaravelSession has been added as the default sessionStorage and transientStorage interfaces for the underlying Auth0-PHP SDK. The SDK now leverages the native Laravel Session APIs by default. #307 (evansims
  • Auth0\Laravel\Cache\LaravelCachePool and Auth0\Laravel\Cache\LaravelCacheItem have been added as the default tokenCache and managementTokenCache interfaces for the underlying Auth0-PHP SDK. The SDK now leverages the native Laravel Cache APIs by default. #307 (evansims)
  • Auth0\Laravel\Auth\Guard now supports the viaRemember method. #306 (tonyfox-disguise)
  • Auth0\Laravel\Http\Middleware\Stateless\Authorize now returns a 401 status instead of 403 for unauthenticated users. #304 (jeovajr)
  • PHP 8.0 is now the minimum supported runtime version. Please review the README for more information on support windows.

¹ This change may require your application's users to re-authenticate. You can avoid this by changing the sessionStorage and transientStorage options in your SDK configuration to their previous default instances of Auth0\SDK\Store\CookieStore, but it is recommended you migrate to the new LaravelSession default.

7.1.0

09 Aug 15:02
65ce48b
Compare
Choose a tag to compare

Full Changelog

Changed

  • [SDK-3576] Return interfaces instead of concrete classes #296 (evansims)
  • Use class names for app() calls #291 (evansims)

Fixed

  • [SDK-3585] Fix: Missing Code error on Callback Route for Octane Customers* #297 (evansims)

*Please note that Octane support is considered experimental and pre-release, and should not be used in production.

7.0.1

02 Jun 00:52
b62e775
Compare
Choose a tag to compare

Full Changelog

Fixed

  • Fixed an issue in Auth0\Laravel\Http\Controller\Stateful\Callback where $errorDescription's value was assigned an incorrect value when an error was encountered. #266 (evansims)

Closed Issues

7.0.0

21 Mar 23:03
06238bd
Compare
Choose a tag to compare

Full Changelog

Auth0 Laravel SDK v7 includes many significant changes over previous versions:

  • Support for Laravel 9.
  • Support for Auth0-PHP SDK 8.
  • New authentication route controllers for plug-and-play login support.
  • Improved authentication middleware for regular web applications.
  • New authorization middleware for token-based backend API applications.

As expected with a major release, Auth0 Laravel SDK v7 includes breaking changes. Please review the upgrade guide thoroughly to understand the changes required to migrate your application to v7.

Breaking Changes Summary

  • Namespace has been updated from Auth0\Login to Auth0\Laravel
  • Auth0-PHP SDK dependency updated to V8
  • New configuration format
  • SDK now self-registers its services and middleware
  • New UserProvider API

7.0.0-BETA2

09 Mar 20:31
bbe1496
Compare
Choose a tag to compare
7.0.0-BETA2 Pre-release
Pre-release

Full Changelog

Please review the BETA1 changelog notes before upgrading your application from 6.x, as 7.0 is a new major containing breaking changes. As with all beta releases, this should not be considered stable or suitable for production use, but your experimentation with and feedback around it is greatly appreciated.

Changes

7.0.0-BETA1

08 Feb 21:24
bc95423
Compare
Choose a tag to compare
7.0.0-BETA1 Pre-release
Pre-release

Full Changelog

Auth0 Laravel SDK v7 includes many significant changes over previous versions:

  • Support for Laravel 9.
  • Support for Auth0-PHP SDK 8.
  • New authentication route controllers for plug-and-play login support.
  • Improved authentication middleware for regular web applications.
  • New authorization middleware for token-based backend API applications.

As expected with a major release, Auth0 Laravel SDK v7 includes breaking changes. Please review the upgrade guide thoroughly to understand the changes required to migrate your application to v7.

Breaking Changes Summary

  • Namespace has been updated from Auth0\Login to Auth0\Laravel
  • Auth0-PHP SDK dependency updated to V8
  • New configuration format
  • SDK now self-registers it's services and middleware

6.5.0

15 Oct 12:55
a324411
Compare
Choose a tag to compare

Full Changelog

Added

  • Add SDK alias methods for passwordless endpoints #228 (evansims)

6.4.1

03 Aug 16:27
ced3933
Compare
Choose a tag to compare

Full Changelog

Fixed

  • Use fully qualified facade class names #215 (Rezouce)
  • Update auth0-PHP dependency #222 (evansims)
  • Pass api_identifier config as audience to Auth0\SDK\Auth0 #214 (iSerter)

6.4.0

25 Mar 22:17
41eba21
Compare
Choose a tag to compare

Full Changelog

Changed

6.3.0

19 Feb 12:58
1b754c6
Compare
Choose a tag to compare

Full Changelog

Changed

  • Store changes made to the user object during the onLogin event hook #206 (evansims)

Fixed

  • Avoid throwing an error when calling getUserByUserInfo() during login callback event when the supplied profile is empty/null #207 (evansims)