All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v2.0.0 - 2023-02-11
Linna\CsrfGuard\Exception
namespaceLinna\CsrfGuard\Exception\BadExpireException
exceptionLinna\CsrfGuard\Exception\BadStorageSizeException
exceptionLinna\CsrfGuard\Exception\BadTokenLenghtException
exceptionLinna\CsrfGuard\Exception\BadExpireTrait
traitLinna\CsrfGuard\Exception\BadStorageSizeTrait
traitLinna\CsrfGuard\Exception\BadTokenLenghtTrait
traitLinna\CsrfGuard\Exception\ExceptionBoundary
classLinna\CsrfGuard\Exception\SessionNotStartedException
exceptionLinna\CsrfGuard\Exception\SessionNotStartedTrait
traitLinna\CsrfGuard\ProviderSimpleFactory
classLinna\CsrfGuard\Provider
namespaceLinna\CsrfGuard\Provider\EncryptionTokenProvider
classLinna\CsrfGuard\Provider\HmacTokenProvider
classLinna\CsrfGuard\Provider\SynchronizerTokenProvider
classLinna\CsrfGuard\Provider\TokenProviderInterface
interface
- namespace of the packet is now
Linna\CsrfGuard
Linna\CsrfGuard
class
v1.4.0 - 2020-11-28
- PHP 8.0 support
getTimedToken()
now$ttl
parameter has a default value of 600 (seconds)cleanStorage()
now$preserve
parameter has a default value of 0 (clean all)- Minor code optimization
- Minimun PHP version: 7.4
v1.3.2 - 2020-02-11
- backslash in front of native functions
- PHP 7.3 support
v1.3.1 - 2018-08-26
RuntimeException
message for instance created without start session- Tests updated as Issue #10
v1.3.0 - 2018-08-25
- Tests updated
- Token storage clean system as Issue #9
garbageCollector()
method as part of token storage clean systemclean()
method as part of token storage clean system
v1.2.0 - 2018-08-13
- Minimun PHP version: 7.1
- Enhance generating token from Pull Request #7
- Tests updated
getHiddenInput()
method
v1.1.2 - 2017-09-08
- Token deletion after validation
- Tests updated
v1.1.1 - 2017-08-21
- Internal token check methods refactor
- Tests updated
v1.1.0 - 2017-08-20
getTimedToken()
method for expiring tokens
validate()
naw can validate for timed tokens- Tests updated
- Internal methods refactor
getHiddenInput()
method
private $session;
docblock
v1.0.0 - 2017-07-26
RuntimeException
throw if you try to createCsrfGuard
instance before start session- Initial commit, class and tests
CHANGELOG.md
links url