Skip to content

Releases: joanhey/AdapterMan

v 0.7.1

06 May 09:51
2de6ad6

Choose a tag to compare

Now also work with Workerman/5

Update for 0.7.x to need PHP/8.1 as minimum.

Removed automatic session files clean, now it's manual.
When using debian, PHP autoclean the session files.
As we only need one worker to clean the session, We can create a new Adapterman worker to clean the files.
Or add in our on onWorkerStart :

if ($worker->id === 0) {
        Timer::add(600, function(){
            Http::tryGcSessions();
        });
    }

Remember that:
Workerman/4 use Workerman\Lib\Timer;
Workerman/5 use Workerman\Timer;

Only if we are using the default session in Adapterman.
If we use a framework that manage the sessions (Symfony, Laravel, ...) we don't need to autoclean.

What's Changed

Full Changelog: 0.7.0...0.7.1

v 0.7.0

08 Jan 13:07
f7bd027

Choose a tag to compare

Restructured all the code, now it's easier to change as all it's separated.
Fixes for PHP8.4
It's necessary to change the disabled functions in the .ini

What's Changed

New Contributors

Full Changelog: 0.6.1...0.7.0

v 0.6.1

16 Apr 00:10
0628d42

Choose a tag to compare

Fix multipart/form-data with arrays. By @jhdxr Thanks
And performance changes.

v 0.6.0

13 Mar 10:54
848943a

Choose a tag to compare

Now use a new Http protocol, so will be easier to update.

PD: remember to add headers_sent to disabled functions.

v 0.5.5

23 Dec 02:13
ada51bc

Choose a tag to compare

Update version

v 0.5.4

23 Dec 00:11
91fc786

Choose a tag to compare

Fix setcookie() .
Add alternative signature available as of PHP 7.3.0 (not supported with named parameters)

v 0.4

14 Sep 12:04
3a47fbb

Choose a tag to compare

Fix problem with headers_sent() in cli SAPI

v 0.3

31 Aug 21:07
c5882fb

Choose a tag to compare

V 0.2

29 Aug 12:26
c52f18f

Choose a tag to compare

Initial version

v 0.5.3

22 Oct 09:31
c97e1af

Choose a tag to compare

Added session_regenerate_id() to Workerman and Adapterman.

Remember to add session_regenerate_id to your php.ini disable_functions.