- Removed support for PHP 5.x
- Added support for PHP 7
- The library was fully refactored
Opis\Session\Storage\File
was 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\Database
andOpis\Session\Storage\Redis
classes were moved into theopis/storages
package- Removed
opis\database
andpredis/predis
dependencies
- Removed some properties form
composer.json
file - Updated
opis/database
library dependency to version^2.1.1
- Added an autoload file.
- Changed how the
regenerate
method inOpis\Session\Session
works. If the argument passed to the method istrue
the the old data are kept, otherwise the old data are deleted. - Updated
predis/predis
library dependency to version1.0.*
- Fixed a bug in
Opis\Session\Storage\Redis
- Updated
opis/database
library dependency to version2.0.*
- Updated
opis/database
library dependency to version1.3.*
- Started changelog
- Removed
Opis\Session\SessionStorage
class - Removed
Opis\Session\SessionInterface
interface - Removed
Opis\Session\Storage\Native
class - Modified
Opis\Session\Session
constructor. 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
set
toOpis\Session\Session
- Added new method
load
toOpis\Session\Session
- Added new method
delete
toOpis\Session\Session
- Deprecated
remember
method inOpis\Session\Session
- Deprecated
forget
method inOpis\Session\Session
- Deprecated
dispose
method inOpis\Session\Session
- Added new method
load
toOpis\Session\Flash