- Bump minimum PHP version to 7.3
- Update PHPUnit to version 9 (ensure Flintstone is compatible with PHP 8)
- Bump minimum PHP version to 7.0
- Update PHPUnit to version 6
- Removed data type validation for storing
- Added param and return types
- Update
Database::writeTempToFile
to correctly close the file pointer and free up memory
- Bump minimum PHP version to 5.6
- Tidy up of Flintstone class, moved some code into
Database
- Added
Line
andValidation
classes - Closed off public methods
Database::openFile
andDatabase::closeFile
- Major refactor, class names have changed and the whole codebase is much more extensible
- Removed the static
load
andunload
methods and theFlinstoneDB
class - The
replace
method is no longer public - The
getFile
method has been removed - Default swap memory limit has been increased to 2MB
- Ability to pass any instance for cache that implements
Flintstone\Cache\CacheInterface
- Added
getAll
method and some refactoring
- Added formatter option so that you can control how data is encoded/decoded (default is serialize but also ships with json)
- Moved from fopen to SplFileObject
- Moved composer loader from PSR-0 to PSR-4
- Code is now PSR-2 compliant
- Added PHP 5.6 to travis
- Updated limits on valid characters in key name and size
- Improved unit tests
- Reduced some internal complexity
- Fixed gzip compression
- Unit tests now running against all options
- Removed
setOptions
method, must be passed into theload
method
- Now using Composer
- Changed the load method to static so that multiple instances can be loaded without conflict (use Flintstone::load now instead of $db->load)
- Exception thrown is now FlintstoneException
- Removed the multibyte unserialize method as it seems to work without
- Added new method getKeys() to return an array of keys in the database
- Initial release