Releases: byjg/php-jwt-session
Releases · byjg/php-jwt-session
Release 4.9.0
Important Notice
- Dropped support for PHP 7.4 and lower.
What's Changed
- Update README.md by @romulorosa in #15
- Upgrade Jwt-Session Packages and Language by @byjg in #16
New Contributors
- @romulorosa made their first contribution in #15
Full Changelog: 2.0.0...4.9.0
Release 2.0.0
Important changes that break compatibility with previous versions:
- Upgrade Jwt-Wrapper component (byjg/php-jwt-wrapper#2)
- Use SessionConfig class instead a lot or arguments
- Removing PHPSESSID based on issue #10
- Moving method
replaceSessionHandler()
toSessionConfig
Examples:
before
<?php
$handler = new \ByJG\Session\JwtSession(
'your.domain.com',
'your super secret key',
null,
null,
'.mydomain.com'
);
$handler->replaceSessionHandler(true);
now
<?php
$sessionConfig = (new \ByJG\Session\SessionConfig('your.domain.com'))
->withSecret('your super secret key')
->withCookie('.mydomain.com', '/')
->replaceSessionHandler();
$handler = new \ByJG\Session\JwtSession($sessionConfig);
Release 1.0.3
Release 1.0.2
Fixed convert object issues
Release 1.0.1
Allow to set cookie domain
Initial Release
Merge pull request #1 from byjg/1.0 1.0