- Supports for PHP 8.0 (thanks to pascalbaljet, #121)
- getImpersonator() when working with multiple guards (thanks to carsso), #120)
- Can't leave impersonation when multi-guard is used (thanks to ctf0, #116)
- Allow guard name in blade directives (thanks to ctf0, #115)
- Documentation about multi-guard usage (thanks to ctf0, #117)
- composer.lock
- Laravel 8.x support
ImpersonateManager@findUserByIdwill now throw aMissingUserProviderexception when guard has no user provider baa722bImpersonateManager@findUserByIdwill now throw aInvalidUserProviderexception when guard has an invalid user provider baa722b
- Helper
can_be_impersonatednow use modelgetAuthIdentifier()instead of hardcodedidcolumn #105 - Git attributes #108
- Laravel 7.x support
- Laravel 5.x support
- Use
Illuminate\Contracts\Auth\Authenticatable@getAuthIdentifierinstead ofIlluminate\Database\Eloquent\Model@getKey#96 - PHPDoc updated
- Events uses
Illuminate\Contracts\Auth\Authenticatableinstead ofIlluminate\Database\Eloquent\Model#92 - PHPDoc and return values for
ImpersonateManager
- Security issue for
symfony/http-foundation(CVE-2019-18888)
can_impersonate()helper- Tests for Blade directives
is_impersonating(),can_impersonate()andcan_be_impersonated()helpers
- Blade directives now use helpers
- Laravel 6.0 dependencies compatibility
- dump() in ImpersonateManager.php
- Allows impersonation through multiple guards (Pull 58)
- Added the public method
getImpersonatortoImpersonateManager(Pull 69)
- Laravel 6.0 compatibility (min version is 5.8)
- The user
remember_tokenis now preserved (Pull 71)
- Laravel 5.8 compatibility (min version)
- Documentation
- Use
getSessionKey()intake()method
- Register Blade directives after resolving
- Blade directives documentation
- PHP version requirement
- Laravel version requirement
- Laravel 5.5 compatibility
- Package auto-discovery
- Custom Session guard driver based on the original Session Guard (c76bb96)
- The Auth events
login,authenticatedandlogoutare not fired anymore when taking or leaving impersonation
- The user remember token is not touched when taking and leaving impersonation (#11)
- New blade directive
canBeImpersonated(#12)