- Add Laravel 11 support
- Fix duplicated property
- Fix some deprecation warnings on PHP 8.2
- Add Laravel 10 support
- Add Laravel 9 support
- Add PHP 8 support
- BC Break: PHP 7.3 is the minimum required PHP version
- BC Break: Laravel 8.0 is the minimum supported Laravel version
- BC Break: PHP 7.2 is the minimum required PHP version
- BC Break: Laravel 7.0 is the minimum supported Laravel version
ADDED
- The
inAnyRole
to be called statically,Sentinel::inAnyRole($role)
FIXED
- A few permissions type retrieval bugs.
FIXED
- A bug on the
addPermission
method of thePermissibleTrait
.
FIXED
- A few return types.
- BC Break: PHP 7.2 is the minimum required PHP version
- BC Break: Laravel 6.0 is the minimum supported Laravel version
- Added PHP 7 Scalar type hints
- Added PHP 7 Return type hints
- Added
Sentinel::getCheckpoints()
method to retrieve all the added Checkpoints - Added
Sentinel::getActivationRepository()->get()
method to retrieve the valid Activation - Added
Sentinel::getReminderRepository()->get()
method to retrieve the valid Reminder - Updated the
Sentinel::getActivationRepository()->exists();
method to always return a boolean - Updated the
Sentinel::getActivationRepository()->completed();
method to always return a boolean - Updated the
Sentinel::getReminderRepository()->exists();
method to always return a boolean - Updated the
findByPersistenceCode()
to return aPersistenceInterface
ornull
instead ofPersistenceInterface
orbool
- Updated the
findUserByPersistenceCode()
to returnUserInterface
ornull
instead ofUserInterface
orbool
- Fixed an issue where a call for EloquentUser::setPersistences was missing during bootstrap
- Fixed an issue where personal permissions were not taking priority over pattern matching
- Fixed an issue where the Throttling repository was not being set properly
- Fixed an issue with the Native Cookie forget method
- Fixed an issue where the events didn't had the payload passed correctly
- Fixed an issue where the global throttles cache was not being cleared
- Removed unnecessary dependencies
- Removed integrations for both CodeIgniter and FuelPHP
- Removed strict comparisons in favour of type hinting
ADDED
- Added support for Larastan
- Added events for logging in and logging out
UPDATED
- Updated the
orWhere
query builder loop to lead with correct boolean constraint - Updated several tests for better coverage and overall quality
FIXED
- Fixed an issue with the throttling threshold not behaving as expected
- Fixed an issue where a model with soft deletes was causing issues when force deleting
- Fixed an issue where the default global threshold value was incorrect
- Fixed an issue with the order of overrides registration on the Laravel service provider
- Fixed an issue with the
checkPermission()
method not behaving not casting some permissions asstring
s - Fixed an issue where the
checkActivation
method on the Activations Checkpoint was not returning the completion status - Fixed a few docblock typos
FIXED
- Incorrect docblock on the Illuminate Reminder Repository.
ADDED
- Null Cookie implementation.
FIXED
- Issue on
get
method onIlluminateCookie
returning incorrect type.
ADDED
- Support for Laravel 5.5 Package Discovery.
REVISED
- Loosened
cartalyst/support
version.
FIXED
- Specify engine on the reminders table.
- Single option on the native bootstrapper.
- A bug causing
inRole
to return false after one iteration. - Use the event dispatcher contract.
ADDED
- Missing Throttle repository getter/setter.
- Laravel 5.3 support.
UPDATED
- Detach the role from users when the role is deleted.
- Pass persistence model from the configuration to the native bootstrapper.
REMOVED
- Removed usage of Laravel helpers.
UPDATED
- Bump
paragonie/random_compat
version. - Use CSPRNG for salts.
UPDATED
- User model to check if the model is being soft deleted.
- Native Session to better check if session is open or closed.
FIXED
- Delete method on the user model not returning parent.
- Removed unused imports on some tests.
- Reference to the stdClass on tests.
- Various docblocks.
UPDATED
- User model to hide the hashed password by default.
FIXED
- Bypassing specific checkpoints.
ADDED
- A new database schema file for MySQL 5.6+.
REVISED
- Use json methods for various cookie implementations.
REVISED
- Added additional check to prevent the first user from being returned when skipping login columns.
UPDATED
composer.json
to fix Composer warnings about migrations.
REVISED
- Using
singleton
in favor ofbindShared
being deprecated on Laravel 5.1 and removed on Laravel 5.2.
UPDATED
.travis.yml
file contents.
FIXED
- Method visibility on the
PermissibleTrait
to avoid warnings on some IDE's.
UPDATED
- License to 3-clause BSD.
- Some other minor tweaks.
FIXED
- Throw an exception when registering with a blank password.
FIXED
- Set the user object on the
Sentinel
class to null after logout. - Detect client ip using symfony's
Request
class on the native bootstrapper.
- Updated for Laravel 5.
REVISED
- Switched to PSR-2.
REVISED
- Use json methods for various cookie implementations.
REVISED
- Added additional check to prevent the first user from being returned when skipping login columns.
UPDATED
composer.json
to fix Composer warnings about migrations.
UPDATED
.travis.yml
file contents.
FIXED
- Method visibility on the
PermissibleTrait
to avoid warnings on some IDE's.
UPDATED
- License to 3-clause BSD.
- Some other minor tweaks.
FIXED
- Throw an exception when registering with a blank password.
FIXED
- Set the user object on the
Sentinel
class to null after logout. - Detect client ip using symfony's
Request
class on the native bootstrapper.
FIXED
- Fixed a bug on the
findByCredentials
method that caused the first user to be returned when an empty array is passed.
ADDED
- Added mysql database schema.
FIXED
- Added the
$hidden
property to the user model with the password field being hidden by default.
FIXED
- Wrap garbageCollect into a try catch block to prevent an exception from being thrown if the database is not setup.
FIXED
- Fixed a minor issue when deleting a user, the method wasn't returning the expected boolean only null.
REVISED
- Improved the requirements to allow the installation on Laravel 5.0.
FIXED
- Updated the updatePermission method signature on the PermissibleInterface due to a PHP bug on older versions.
FIXED
- Fixed some doc blocks typos
REVISED
- Loosened the requirements on the composer.json
ADDED
- Added an IoC Container alias for the Sentinel class.
FIXED
- Addresses a bug where user model overriding was ignored.
- Authentication.
- Authorization.
- Registration.
- Driver based permission system.
- Flexible activation scenarios.
- Reminders. (password reset)
- Inter-account throttling with DDoS protection.
- Roles and role permissions.
- Remember me.
- Interface driven. (your own implementations at will)