You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Helper methods on ServerRequest to access parsed body, query, and uploaded file parameters. See README for more information.
Full PSR-17 Factory support.
Query params automatically merged into ServerRequest from URI instance.
ext-json no longer required.
Additional test coverage across entire package.
Fixes
ResourceStream properly detaches as well as properly throwing RuntimeException on certain methods as described in interface.
Breaking changes
Response constructor signature change.
ServerRequest::createFromGlobals() moved to ServerRequestFactory::createFromGlobals().
FileStream class renamed to ResourceStream.
ServerRequest will no longer attempt to automatically parse the request body. Best practice is to create a Middleware layer to handle request body parsing and assigning to Request instance via $request->withParsedBody($parsedBody);