All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
- Fix gitattributes to exclude tests dir from built package
- Support PHP 8.3
- Upgrade tests to PHPUnit 10
- Don't export test code with package
- Support PHP 8.1 and PHP 8.2
- Support PHP8
- Support php7.4
- [DEPRECATION] Deprecate the
isExpired
,isValid
andisTampered
methods on Tokenista itself in favour of using the newvalidate
method to get a more fully -formed result. - Introduce new Tokenista::validate method and a validation result object to simplify flows where the handling of an invalid token is the same but you want to e.g. log an expired token differently to a tampered one.
- Drop support for php5 and test on php7
- Add support for rotating secrets with an
old_secrets
config option - Drop support for PHP <=5.5
- [BUGFIX] Fix composer autoloader for development classes so it doesn't conflict with root project dependencies
- Extract methods for easier stubbing and mocking
- [FEATURE] First release - all the features!