Releases: auth0/laravel-auth0
7.2.0
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 defaultsessionStorage
andtransientStorage
interfaces for the underlying Auth0-PHP SDK. The SDK now leverages the native Laravel Session APIs by default. #307 (evansims)¹Auth0\Laravel\Cache\LaravelCachePool
andAuth0\Laravel\Cache\LaravelCacheItem
have been added as the defaulttokenCache
andmanagementTokenCache
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 theviaRemember
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
7.0.1
7.0.0
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
toAuth0\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
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
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
toAuth0\Laravel
- Auth0-PHP SDK dependency updated to V8
- New configuration format
- SDK now self-registers it's services and middleware