2.0.0 RC4
Pre-release
Pre-release
Note: This is a pre-release, there might be breaking changes in the final stable version.
- Added
Session::unlockAll()that completely unlocks a session, no matter how many times it has been locked (opened). SessionMiddlewareadds a callback usingResponse::onDispose()to callSession::unlockAll(). If the session is locked, this maintains the lock until the response is written or discarded.- Removed a circular reference in
Sessionthat prevented session locks from being released automatically.