- Removed support for PHP 5.x
- Added support for PHP 7
- The library was fully refactored
Opis\Session\Storage\Filewas modified and now throws an exception if you don't have write permissions or if the specified path does not exist and it can't be created. See issue #7
Opis\Session\Storage\DatabaseandOpis\Session\Storage\Redisclasses were moved into theopis/storagespackage- Removed
opis\databaseandpredis/predisdependencies
- Removed some properties form
composer.jsonfile - Updated
opis/databaselibrary dependency to version^2.1.1
- Added an autoload file.
- Changed how the
regeneratemethod inOpis\Session\Sessionworks. If the argument passed to the method istruethe the old data are kept, otherwise the old data are deleted. - Updated
predis/predislibrary dependency to version1.0.*
- Fixed a bug in
Opis\Session\Storage\Redis
- Updated
opis/databaselibrary dependency to version2.0.*
- Updated
opis/databaselibrary dependency to version1.3.*
- Started changelog
- Removed
Opis\Session\SessionStorageclass - Removed
Opis\Session\SessionInterfaceinterface - Removed
Opis\Session\Storage\Nativeclass - Modified
Opis\Session\Sessionconstructor. You can now set various options like session name, cookie domain, path or cookie lifetime - Added a destructor method to Opis\Session\Session class
- Added new method
settoOpis\Session\Session - Added new method
loadtoOpis\Session\Session - Added new method
deletetoOpis\Session\Session - Deprecated
remembermethod inOpis\Session\Session - Deprecated
forgetmethod inOpis\Session\Session - Deprecated
disposemethod inOpis\Session\Session - Added new method
loadtoOpis\Session\Flash