Releases: nette/security
Releases · nette/security
Released version 3.1.0
- requires PHP 7.2
- added UserStorage, successor for IUserStorage
- added IdentityHandler
- added Authenticator, successor for IAuthenticator
- added SimpleIdentity, successor for Identity
- removed I prefixes from IAuthorizator, IResource, IRole
- SecurityExtension: 'roles' & 'resources' are deprecated
- User: added method refreshStorage() to clear identity cache. (#46) (#50)
Released version 3.0.5
- compatible with PHP 8.0
- SecurityExtension: detects Tracy by presence of service
@Tracy\Bar
nette/di#245 - improved PHP doc
- Passwords:
hash()
: Password can not be empty. (#47)
For the details you can have a look at the diff.
Released version 3.0.4
Released version 3.0.3
- User: identity and authenticated state are cached, UserStorage is not called repeatedly
- UserPanel: uses capturing
For the details you can have a look at the diff.
Released version 3.0.2
Released version 3.0.0 🎉
- requires PHP 7.1
- uses declare(strict_types=1)
- uses PHP 7.1 scalar and return type hints
- User::setExpiration() changed arguments 84ada18 (BC break with fallback)
- User: added hasAuthenticator() & hasAuthorizator(), deprecated $throw in getAuthenticator() & getAuthorizator()
- Passwords: changed from static to object class (BC break)
- Passwords: BCRYPT changed to default algorithm
- SecurityExtension: added service 'passwords'
- some classes & members marked as final (BC break)
- SecurityExtension: uses configuration Schema
Released version 2.4.4
- SecurityExtension: added service 'passwords'
- Passwords: is not static class (forward compatibility with v3)
- Passwords: simplified checking for invalid hash
For the details you can have a look at the diff.
Released version 2.4.3
- Permission: used native callback invocation
- improved typehints
- SecurityExtension: used
setFactory()
instead of misusedsetClass()
For the details you can have a look at the diff.
Released version 2.4.2
- supports PHP up to 7.2
- coding style: fixes, lowercase true/false/null
For the details you can have a look at the diff.
Released version 2.4.1
- UserStorage: removed BROWSER_CLOSED expiration reason nette/http#112
- @return self -> static
For the details you can have a look at the diff.