3.0.0 Beta 1
Pre-release
Pre-release
Initial release compatible with AMPHP v3.
As with other libraries compatible with AMPHP v3, most cases of parameters or returns of Promise<ResolutionType> have been replaced with ResolutionType.
Basic usage of this library remains the same as in v2: Add SessionMiddleware as part of your request handler stack and access the Session object using Request::getAttribute(Session::class). The session storage and some behaviors may be customized using the constructor of SessionMiddleware.
- Added
Sessionprefix to interfaces:IdGeneratorrenamed toSessionIdGenerator; implementationDefaultIdGeneratorrenamed toDefaultSessionIdGeneratorStoragerenamed toSessionStorage; implementationsLocalStorageandRedisStoragerenamed toLocalSessionStorageandRedisSessionStorage
Driverrenamed toSessionFactory