Added
- Significant performance improvements by eliminating redundant user queries.
- Compatibility support for Laravel Telescope. See docs/Telescope.md for more information.
- A refactored Events API has been introduced. See docs/Events.md for more information.
AUTH0_SESSION_STORAGEandAUTH0_TRANSIENT_STORAGEnow support acookievalue to enable the native Auth0-PHP SDK cookie session handler. See docs/Cookies.md for more information.
Fixed
- Addressed an issue where, under certain circumstances, the first user authentication attempt after a session invalidation could fail.
Changed
- Session regeneration/invalidation has been refactored.
- Discarded sessions are now deleted when they are invalidated by the SDK, rather than wait for Laravel to garbage collect.
- Session storage has been refactored. Session data is now stored as a JSON array in a single
auth0_sessionentry in the Laravel session store, rather than in multiple keys.
Documentation
- A demonstration Eloquent user model and repository implementation has been added to docs/Eloquent.md.
- A new docs/Sessions.md document has been added for guidance on the various session driver options available.